@optolith/database-schema 0.110.1 → 0.111.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.111.0](https://github.com/Optolith/database-schema/compare/v0.110.1...v0.111.0) (2026-10-18)
6
+
7
+ ### ⚠ BREAKING CHANGES
8
+
9
+ * some poison do not specify ingestion or effect types
10
+
11
+ ### Bug Fixes
12
+
13
+ * some poison do not specify ingestion or effect types ([b0087e3](https://github.com/Optolith/database-schema/commit/b0087e3bca1a065db1aad2a35abd5c9e05d66bf9))
14
+
5
15
  ## [0.110.1](https://github.com/Optolith/database-schema/compare/v0.110.0...v0.110.1) (2026-10-18)
6
16
 
7
17
  ### Features
package/gen/types.d.ts CHANGED
@@ -6321,7 +6321,7 @@ export interface IntoxicantTranslation {
6321
6321
  /**
6322
6322
  * How to ingest the intoxicant.
6323
6323
  */
6324
- ingestion: string
6324
+ ingestion?: string
6325
6325
 
6326
6326
  /**
6327
6327
  * The intoxicants side effects that always happen, no matter whether the intoxicant has the default or the reduced effect.
@@ -6464,7 +6464,7 @@ export interface PlantPoison {
6464
6464
  /**
6465
6465
  * Effect type(s) of a plant poison.
6466
6466
  */
6467
- effect_types: EffectType[]
6467
+ effect_types?: EffectType[]
6468
6468
 
6469
6469
  /**
6470
6470
  * The poison’s level.
@@ -208,7 +208,7 @@ export declare const Poison: DB.Entity<"Poison", {
208
208
  }>, false>;
209
209
  }>, []>>, false>;
210
210
  translations: DB.MemberDecl<DB.NestedEntityMap<"IntoxicantTranslation", {
211
- ingestion: DB.MemberDecl<DB.String, true>;
211
+ ingestion: DB.MemberDecl<DB.String, false>;
212
212
  side_effect: DB.MemberDecl<DB.String, false>;
213
213
  overdose: DB.MemberDecl<DB.String, false>;
214
214
  special: DB.MemberDecl<DB.String, false>;
@@ -233,7 +233,7 @@ export declare const Poison: DB.Entity<"Poison", {
233
233
  Beneficial: DB.EnumCase<null>;
234
234
  Defensive: DB.EnumCase<null>;
235
235
  Supernatural: DB.EnumCase<null>;
236
- }, []>>>, true>;
236
+ }, []>>>, false>;
237
237
  level: DB.MemberDecl<DB.Integer, true>;
238
238
  intoxicant: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"Intoxicant", DB.Object<{
239
239
  legality: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantLegality", DB.Object<{
@@ -265,7 +265,7 @@ export declare const Poison: DB.Entity<"Poison", {
265
265
  }>, false>;
266
266
  }>, []>>, false>;
267
267
  translations: DB.MemberDecl<DB.NestedEntityMap<"IntoxicantTranslation", {
268
- ingestion: DB.MemberDecl<DB.String, true>;
268
+ ingestion: DB.MemberDecl<DB.String, false>;
269
269
  side_effect: DB.MemberDecl<DB.String, false>;
270
270
  overdose: DB.MemberDecl<DB.String, false>;
271
271
  special: DB.MemberDecl<DB.String, false>;
@@ -659,7 +659,7 @@ export declare const AlchemicalPoison: DB.TypeAlias<"AlchemicalPoison", DB.Objec
659
659
  }>, false>;
660
660
  }>, []>>, false>;
661
661
  translations: DB.MemberDecl<DB.NestedEntityMap<"IntoxicantTranslation", {
662
- ingestion: DB.MemberDecl<DB.String, true>;
662
+ ingestion: DB.MemberDecl<DB.String, false>;
663
663
  side_effect: DB.MemberDecl<DB.String, false>;
664
664
  overdose: DB.MemberDecl<DB.String, false>;
665
665
  special: DB.MemberDecl<DB.String, false>;
@@ -683,7 +683,7 @@ export declare const PlantPoison: DB.TypeAlias<"PlantPoison", DB.Object<{
683
683
  Beneficial: DB.EnumCase<null>;
684
684
  Defensive: DB.EnumCase<null>;
685
685
  Supernatural: DB.EnumCase<null>;
686
- }, []>>>, true>;
686
+ }, []>>>, false>;
687
687
  level: DB.MemberDecl<DB.Integer, true>;
688
688
  intoxicant: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"Intoxicant", DB.Object<{
689
689
  legality: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantLegality", DB.Object<{
@@ -715,7 +715,7 @@ export declare const PlantPoison: DB.TypeAlias<"PlantPoison", DB.Object<{
715
715
  }>, false>;
716
716
  }>, []>>, false>;
717
717
  translations: DB.MemberDecl<DB.NestedEntityMap<"IntoxicantTranslation", {
718
- ingestion: DB.MemberDecl<DB.String, true>;
718
+ ingestion: DB.MemberDecl<DB.String, false>;
719
719
  side_effect: DB.MemberDecl<DB.String, false>;
720
720
  overdose: DB.MemberDecl<DB.String, false>;
721
721
  special: DB.MemberDecl<DB.String, false>;
@@ -772,7 +772,7 @@ export declare const Intoxicant: DB.TypeAlias<"Intoxicant", DB.Object<{
772
772
  }>, false>;
773
773
  }>, []>>, false>;
774
774
  translations: DB.MemberDecl<DB.NestedEntityMap<"IntoxicantTranslation", {
775
- ingestion: DB.MemberDecl<DB.String, true>;
775
+ ingestion: DB.MemberDecl<DB.String, false>;
776
776
  side_effect: DB.MemberDecl<DB.String, false>;
777
777
  overdose: DB.MemberDecl<DB.String, false>;
778
778
  special: DB.MemberDecl<DB.String, false>;
@@ -313,7 +313,7 @@ export const MineralPoison = DB.TypeAlias(import.meta.url, {
313
313
  export const PlantPoison = DB.TypeAlias(import.meta.url, {
314
314
  name: "PlantPoison",
315
315
  type: () => DB.Object({
316
- effect_types: DB.Required({
316
+ effect_types: DB.Optional({
317
317
  comment: "Effect type(s) of a plant poison.",
318
318
  type: DB.Array(DB.IncludeIdentifier(EffectType), { minItems: 1, uniqueItems: true }),
319
319
  }),
@@ -378,7 +378,7 @@ export const Intoxicant = DB.TypeAlias(import.meta.url, {
378
378
  type: DB.IncludeIdentifier(IntoxicantAddiction),
379
379
  }),
380
380
  translations: NestedTranslationMap(DB.Required, "Intoxicant", DB.Object({
381
- ingestion: DB.Required({
381
+ ingestion: DB.Optional({
382
382
  comment: "How to ingest the intoxicant.",
383
383
  type: DB.String({ minLength: 1, markdown: "block" }),
384
384
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optolith/database-schema",
3
- "version": "0.110.1",
3
+ "version": "0.111.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",