Skip to content

Releases: datafoodconsortium/connector-typescript

v1.0.0-beta.1

21 May 10:27
a945e87

Choose a tag to compare

Generated from UML model 3.4.0 using the Connector codegen 1.2.0.

Added

  • Add SuppliedProduct:referenceOf.
  • Add the prepare script to package.json.

Accessors and mutators:

  • Add Agent:socialMedias setter.
  • Add Agent:websites setter.
  • Add Agent:emails setter.
  • Add Catalog:maintainers setter and remover.
  • Add Catalog:items setter.
  • Add CatalogItem:catalogs setter and wrong remover.
  • Add CatalogItem:offers setter and remover.
  • Add CustomerCategory:name setter and remover.
  • Add DefinedProduct:partOrigin setter.
  • Add DefinedProduct:natureOrigin setter.
  • Add DefinedProduct:certifications setter.
  • Add DefinedProduct:catalogItems setter and remover.
  • Add DefinedProduct:images adder, getter, setter and remover.
  • Add DefinedProduct:physicalCharacteristics setter.
  • Add DefinedProduct:nutrientCharacteristics setter.
  • Add DefinedProduct:allergenCharacteristics setter.
  • Add DefinedProduct:claims setter.
  • Add Enterprise:technicalProducts setter and remover.
  • Add Enterprise:catalogItems setter and remover.
  • Add Enterprise:customerCategories setter and remover.
  • Add Enterprise:suppliedProducts setter and remover.
  • Add Order:lines setter and remover.
  • Add Person:affiliatedOrgs setter.
  • Add SaleSession:offers setter and remover.

Creation methods:

  • Add createDeliveryOption.
  • Add createLocalizedProduct.
  • Add createOpeningHoursSpecification.
  • Add createPaymentMethod.
  • Add createPhoneNumber.
  • Add createPhysicalPlace.
  • Add createPhysicalProduct.
  • Add createPickupOption.
  • Add createPlannedLocalTransformation.
  • Add createProductBatch.
  • Add createRealizedTransformation.
  • Add createRealStock.
  • Add createSocialMedia.
  • Add createTechnicalProduct.
  • Add createTheoreticalStock.
  • Add createVirtualPlace.

Fixed

  • Fix Agent:localizations setter.
  • Fix Agent:phoneNumbers setter.
  • Fix CustomerCategory:description constructor parameter.

Changed

  • Rename image property to images (should not break as properties should not be directly accessed).

Removed

  • Remove the Quantity class as there is no such class in the ontology. We should use QuantitativeValue.

v1.0.0-alpha.12

06 May 09:55

Choose a tag to compare

Changed

Breaking changes:

  • Rename hasIncome -> hasInput and hasOutcome -> hasOutput in AsPlannedTransformation.
  • Rename incomeOf > inputOf in AsPlannedConsumptionFlow.
  • Rename outcomeOf -> outpufOf in AsPlannedProductionFlow.

Fixes datafoodconsortium/data-model-uml#30.

v1.0.0-alpha.11

06 May 09:41
7a6819b

Choose a tag to compare

Merge pull request #15 from jgaehring/alpha-10

TypeScript Connector - v1.0.0-alpha-10

v1.0.0-alpha.10

05 May 10:37
7a6819b

Choose a tag to compare

1.0.0-alpha.10 - 2025-04-28

Changed

  • Ensure the entry point, src/index.ts, is always regenerated on fresh builds.
  • Generated from updated UML Model:

Added

  • DefinedProduct:
    • hasVariant
    • isVariantOf

Fixed

  • Fix setters for array properties so that all items are replaced.

v1.0.0-alpha.9

21 Mar 16:05

Choose a tag to compare

Changed

  • Update rdf-ext to version 2.5.1.
  • Update @types/rdf-ext to version 2.5.0.
  • Update @virtual-assembly/semantizer to version alpha.3 (use GitHub repository).
  • Generate the code from the code generator.
  • Generated from the next branch of UML data model edac402.

Added

  • Address:
    • latitute
    • longitude
    • region
  • Agent:
    • logo
  • PlannedConsumptionFlow:
    • quantity
    • consumes
  • PlannedProductionFlow:
    • quantity
    • produces
  • PlannedTransformation:
    • hasIncome
    • hasOutcome
    • hasTransformationType
  • DefinedProduct:
    • image
  • Order:
    • date
    • hasFulfilmentStatus
    • hasOrderStatus
    • hasPaymentStatus
    • orderNumber

See the SUPPORTED.md file comparison from main to next.

v1.0.0-alpha.8 - NOT SYNC WITH CODEGEN

31 Jan 14:26

Choose a tag to compare

Added

  • Add DefinedProduct support for images url.

v1.0.0-alpha.7 - NOT SYNC WITH CODEGEN

31 Jan 14:25

Choose a tag to compare

v1.0.0-alpha.6 - NOT SYNC WITH CODEGEN

31 Jan 14:20

Choose a tag to compare

Fixed

  • Allow to create SKOSConcept in the factory.

v1.0.0-alpha.5

13 Jan 14:35

Choose a tag to compare

1.0.0-alpha.5 - 2024-01-13

Fixed

  • Support loading taxonomies with unknown parsed type (ex: owl:Class).

Changed

  • Use latest taxonomy files in tests.

Added

  • Add vocabulary taxonomy in tests (for later).

v1.0.0-alpha.4

11 Jul 08:08

Choose a tag to compare

Fixed

  • The dfc-b prefix points to the business ontology, not the full model.