Skip to content

schema-dts & schema-dts-gen v0.4.4

Compare
Choose a tag to compare
@Eyas Eyas released this 04 Nov 15:43

Changelog

Changes in schema-dts

  • Updates Schema.org to version 5.0.

Changes in schema-dts and schema-dts-gen

  • Revamp Enum type generation (PR #43)
    • Now, an enum can be assigned as a string IRI instead of just the TypeScript enum value.
    • An enum, e.g. MedicalOrganizaitonType is now available as that name, rather than MedicalOrganizationTypeEnum. Type and property aliases were added to make the transition easier.

Diff from previous version: https://www.diffchecker.com/4L9ptmk7