@optolith/database-schema 0.106.1 → 0.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [0.107.0](https://github.com/Optolith/database-schema/compare/v0.106.1...v0.107.0) (2026-10-16)
6
+
7
+ ### ⚠ BREAKING CHANGES
8
+
9
+ * optional animal care weight
10
+
11
+ ### Features
12
+
13
+ * optional animal care weight ([8b1b1a4](https://github.com/Optolith/database-schema/commit/8b1b1a4195016b6606ebae13862674b7455bc956))
14
+
5
15
  ## [0.106.1](https://github.com/Optolith/database-schema/compare/v0.106.0...v0.106.1) (2026-10-16)
6
16
 
7
17
  ### Features
package/gen/types.d.ts CHANGED
@@ -23877,7 +23877,7 @@ export interface GeneralAnimalCare {
23877
23877
  /**
23878
23878
  * The weight in kg.
23879
23879
  */
23880
- weight: Weight
23880
+ weight?: Weight
23881
23881
  }
23882
23882
 
23883
23883
  export interface AnimalFeed {
@@ -24,7 +24,7 @@ export declare const AnimalCare: DB.Entity<"AnimalCare", {
24
24
  }>, false>;
25
25
  }>, []>>>;
26
26
  }, []>>, true>;
27
- weight: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"Weight", DB.Float, []>>, true>;
27
+ weight: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"Weight", DB.Float, []>>, false>;
28
28
  }>, []>>>;
29
29
  Feed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AnimalFeed", DB.Object<{
30
30
  cost: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"AnimalFeedCost", {
@@ -44,7 +44,7 @@ const GeneralAnimalCare = DB.TypeAlias(import.meta.url, {
44
44
  comment: "The cost in silverthalers.",
45
45
  type: DB.IncludeIdentifier(Cost),
46
46
  }),
47
- weight: DB.Required({
47
+ weight: DB.Optional({
48
48
  comment: "The weight in kg.",
49
49
  type: DB.IncludeIdentifier(Weight),
50
50
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optolith/database-schema",
3
- "version": "0.106.1",
3
+ "version": "0.107.0",
4
4
  "description": "Definitions and utilities for the flat-file database of Optolith, a character creation tool for the Pen and Paper RPG “The Dark Eye 5”, and its external integrations into other software.",
5
5
  "keywords": [
6
6
  "tde",