Commit Graph
7 Commits
Author SHA1 Message Date
Lukas Obermann f865a34058 style: remove line breaks in documentation paragraphs 2024-11-16 16:58:45 +01:00
Lukas Obermann 829da0079a fix: resolve intersection types
Intersections dont work when setting the "allowAdditionalProperties" parser option to false.
2024-01-18 22:16:27 +01:00
Lukas Obermann 6c4d0a354f build(deps): upgrade optolith-tsjsonschemamd to 0.10.0 and rebuild assets 2023-11-09 21:49:03 +01:00
Lukas Obermann fe5aa116f8 refactor!: replace all enums with union types to enable type-only usage
Enums require the library to be included in a bundle, which can be difficult in web environments.
2023-06-15 19:58:17 +02:00
Lukas Obermann 89ab7dd343 feat!: explicit identifier tags, simpler prerequisites, multiple small changes 2022-11-28 23:36:56 +01:00
Lukas Obermann a4685e3499 refactor!: streamline enums with and without associated values
Enums where no case has associated values are transformed into actual TypeScript
enums.

Enums where at least one case has associated values are kept as union types, but
cases without associated values receive a nested property in snake case as well.
Such an enum case without associated values must have an empty object as the
value of the nested property.
2022-08-01 12:50:59 +02:00
Lukas Obermann 0f3d815ea1 refactor!: rework "top-level" data types 2022-07-20 14:47:45 +02:00