Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@rdfine/hydra

tpluscode2.2kMIT0.10.6TypeScript support: included

@rdfine/hydra > ### Generated JavaScript types for Hydra Core Vocabulary

rdf, rdfjs, entity, decorator, clownface, graph

readme

@rdfine/hydra

Generated JavaScript types for Hydra Core Vocabulary

npm i --save @rdfine/hydra

For usage see examples.

changelog

Change Log

0.10.6

Patch Changes

0.10.5

Patch Changes

0.10.4

Patch Changes

0.10.3

Patch Changes

  • 9a838dec: Missing Factory.js in package
  • 9a838dec: Added changelog to package
  • Updated dependencies [9a838dec]
  • Updated dependencies [9a838dec]

0.10.2

Patch Changes

0.10.1

Patch Changes

0.10.0

Minor Changes

  • 9d49a7b2: Remove all Partial from mixin types to simplify extending classes

Patch Changes

0.9.0

Minor Changes

  • 6cee88c8: Package is not ESM-only

Patch Changes

0.8.8

Patch Changes

  • a45c89c1: VariableRepresentation#mapValue would be undefined because the extension mixin would not be added to factory

0.8.7

Patch Changes

  • 96e50a57: Support expanding using hydra:variableRepresentation override on individual mapping (re HydraCG/Specifications#244)

0.8.6

Patch Changes

  • 45fa0c98: Again export a factory for "member assertion"

0.8.5

Patch Changes

  • a080452d: Template expansion did not expand against a parent's URI if it was not an direct parent

0.8.4

Patch Changes

  • 153af913: Remove generation of hydra:collection
  • 4ce19cbe: Introduce a more stable order of members, exports and imports
  • f7cfefff: Update @tpluscode/rdf-ns-builders to v2
  • 67d2ebc5: Do not generate for class MemberAssertion, which does not exist in Hydra vocabulary
  • Updated dependencies [4ce19cbe]
  • Updated dependencies [f7cfefff]

0.8.3

Patch Changes

  • c137556e: IriTemplate: add optional base argument to expand any relative template

0.8.2

Patch Changes

0.8.1

Patch Changes

0.8.0

Minor Changes

  • 072263df: Removed generated property getter hydra:apiDocumentation

0.7.2

Patch Changes

  • 45a4be9c: Broken imports or exports of extension modules
  • Updated dependencies [45a4be9c]

0.7.1

Patch Changes

  • c4787718: hydra:manages must return an array

0.7.0

Minor Changes

  • 553f30b2: Update Hydra to latest vocabulary

    • correct name writable used
    • Added memberAssertion. manages kept for now

Patch Changes

0.6.6

Patch Changes

0.6.5

Patch Changes

  • 84eb75b4: Allow multiple inputs to IriTemplate#expand

0.6.4

Patch Changes

  • fb9fe13c: Bring back missing export

0.6.3

Patch Changes

0.6.2

Patch Changes

0.6.1

Patch Changes

  • c341d76b: Add a return type to mixin functions
  • 0d82ae01: Mixins classes implement partial interface
  • e2d18bb7: Add factory method to mixin modules
  • Updated dependencies [c341d76b]
  • Updated dependencies [60a925e4]
  • Updated dependencies [0d82ae01]
  • Updated dependencies [e2d18bb7]

0.6.0

Minor Changes

  • 0db486f2: Move all modules into lib

    This will allow selective imports in node.

    Also remove any star imports between packages

Patch Changes

0.5.5

Patch Changes

  • d13a929: Relax hydra:Collection generic argument

0.5.4

Patch Changes

  • da5dec5: Update es6-url-template which exported cjs instead of esm
  • 9ebb692: Update es6-url-template

0.5.3

Patch Changes

  • 9b15d16: es6-url-template did not import correctly in webpack

0.5.2

Patch Changes

0.5.1

Patch Changes

0.5.0

Minor Changes

  • b45cc9d: hydra:expects must return an array

Patch Changes

0.4.0

Minor Changes

  • 57dfa37: All non-array properties are generated as possibly undefined

Patch Changes

0.3.13

Patch Changes

0.3.12

Patch Changes

0.3.11

Patch Changes

0.3.10

Patch Changes

0.3.9 (2020-08-07)

Note: Version bump only for package @rdfine/hydra

0.3.8 (2020-08-06)

Note: Version bump only for package @rdfine/hydra

0.3.7 (2020-08-04)

Bug Fixes

  • hydra: do not expand variables with no values (98a8ec0)

0.3.6 (2020-08-04)

Features

  • hydra: added template expansion to Hydra IriTemplate (1f3a206)

0.3.5 (2020-07-07)

Note: Version bump only for package @rdfine/hydra

0.3.4 (2020-07-07)

Note: Version bump only for package @rdfine/hydra

0.3.3 (2020-07-06)

Bug Fixes

  • build: exports field did not work in newer node (531da7b)
  • build: typo in main field (70f15dc)

0.3.2 (2020-07-05)

Bug Fixes

  • build: bundles partially missing in package (e8b9816)

0.3.1 (2020-07-03)

Bug Fixes

  • generator: import mixins only from index (5470637)

0.3.0 (2020-07-03)

Features

  • rename dependencies to bundles (d67afbe)

BREAKING CHANGES

  • imports need to be updated

0.2.4 (2020-06-08)

Note: Version bump only for package @rdfine/hydra

0.2.3 (2020-05-06)

Note: Version bump only for package @rdfine/hydra

0.2.2 (2020-05-05)

Features

  • generate mixins for specific rdf type to boost perf (06bf552)

0.2.1 (2020-04-29)

Note: Version bump only for package @rdfine/hydra

0.2.0 (2020-04-29)

Features

  • vocabs: re-generated vocabularies to latest structure (69b526e)

0.1.11 (2020-04-29)

Note: Version bump only for package @rdfine/hydra

0.1.10 (2020-04-28)

Note: Version bump only for package @rdfine/hydra

0.1.9 (2020-04-28)

Note: Version bump only for package @rdfine/hydra

0.1.8 (2020-04-28)

Note: Version bump only for package @rdfine/hydra

0.1.7 (2020-04-25)

Note: Version bump only for package @rdfine/hydra

0.1.6 (2020-04-22)

Note: Version bump only for package @rdfine/hydra

0.1.5 (2020-04-21)

Note: Version bump only for package @rdfine/hydra

0.1.4 (2020-04-21)

Note: Version bump only for package @rdfine/hydra

0.1.3 (2020-04-19)

Note: Version bump only for package @rdfine/hydra

0.1.2 (2020-04-19)

Note: Version bump only for package @rdfine/hydra

0.1.1 (2020-04-18)

Bug Fixes

  • export namespace builder from shared package (f341521)

0.1.0 (2020-04-18)

Bug Fixes

  • generator: avoid conflict with rdf as vocabulary package (090aa5e)