optolith-database-schema 0.34.11 → 0.34.13

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,20 @@
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.34.13](https://github.com/elyukai/optolith-database-schema/compare/v0.34.12...v0.34.13) (2026-03-11)
6
+
7
+
8
+ ### Features
9
+
10
+ * alchemical poison can be demonic as well ([21e033e](https://github.com/elyukai/optolith-database-schema/commit/21e033e0169c051baf5f3167e070adcde9da76b3))
11
+
12
+ ## [0.34.12](https://github.com/elyukai/optolith-database-schema/compare/v0.34.11...v0.34.12) (2026-03-10)
13
+
14
+
15
+ ### Features
16
+
17
+ * optional language and script for books ([3239e09](https://github.com/elyukai/optolith-database-schema/commit/3239e095392ff91811956ad8f9f022e057fa9763))
18
+
5
19
  ## [0.34.11](https://github.com/elyukai/optolith-database-schema/compare/v0.34.10...v0.34.11) (2026-03-10)
6
20
 
7
21
 
package/gen/types.d.ts CHANGED
@@ -20010,14 +20010,14 @@ export interface BookTranslation {
20010
20010
  secondary_name?: string
20011
20011
 
20012
20012
  /**
20013
- * The language the book is written in.
20013
+ * The language the book is written in, if specified.
20014
20014
  */
20015
- language: string
20015
+ language?: string
20016
20016
 
20017
20017
  /**
20018
- * The script that was used for the book.
20018
+ * The script that was used for the book, if specified.
20019
20019
  */
20020
- script: string
20020
+ script?: string
20021
20021
 
20022
20022
  /**
20023
20023
  * Note text.
@@ -22392,6 +22392,11 @@ export interface AlchemicalPoison {
22392
22392
  */
22393
22393
  intoxicant?: Intoxicant
22394
22394
 
22395
+ /**
22396
+ * Whether the poison is of demonic nature or not.
22397
+ */
22398
+ isDemonic?: boolean
22399
+
22395
22400
  /**
22396
22401
  * All translations for the entry, identified by IETF language tag (BCP47).
22397
22402
  */
@@ -132,8 +132,8 @@ export declare const Book: DB.Entity<"Book", {
132
132
  translations: DB.MemberDecl<DB.NestedEntityMap<"BookTranslation", {
133
133
  name: DB.MemberDecl<DB.String, true>;
134
134
  secondary_name: DB.MemberDecl<DB.String, false>;
135
- language: DB.MemberDecl<DB.String, true>;
136
- script: DB.MemberDecl<DB.String, true>;
135
+ language: DB.MemberDecl<DB.String, false>;
136
+ script: DB.MemberDecl<DB.String, false>;
137
137
  note: DB.MemberDecl<DB.String, false>;
138
138
  rules: DB.MemberDecl<DB.String, false>;
139
139
  errata: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"Errata", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"Erratum", DB.Object<{
@@ -38,12 +38,12 @@ export const Book = DB.Entity(import.meta.url, {
38
38
  comment: "An auxiliary name or label of the item, if available.",
39
39
  type: DB.String({ minLength: 1 }),
40
40
  }),
41
- language: DB.Required({
42
- comment: "The language the book is written in.",
41
+ language: DB.Optional({
42
+ comment: "The language the book is written in, if specified.",
43
43
  type: DB.String({ minLength: 1, isMarkdown: true }),
44
44
  }),
45
- script: DB.Required({
46
- comment: "The script that was used for the book.",
45
+ script: DB.Optional({
46
+ comment: "The script that was used for the book, if specified.",
47
47
  type: DB.String({ minLength: 1, isMarkdown: true }),
48
48
  }),
49
49
  note: DB.Optional({
@@ -128,6 +128,7 @@ export declare const Poison: DB.Entity<"Poison", {
128
128
  special: DB.MemberDecl<DB.String, false>;
129
129
  }>, true>;
130
130
  }>, []>>, false>;
131
+ isDemonic: DB.MemberDecl<DB.Boolean, false>;
131
132
  translations: DB.MemberDecl<DB.NestedEntityMap<"AlchemicalPoisonTranslation", {
132
133
  typical_ingredients: DB.MemberDecl<DB.Array<DB.String>, true>;
133
134
  brewing_process_prerequisites: DB.MemberDecl<DB.String, false>;
@@ -492,6 +493,7 @@ export declare const AlchemicalPoison: DB.TypeAlias<"AlchemicalPoison", DB.Objec
492
493
  special: DB.MemberDecl<DB.String, false>;
493
494
  }>, true>;
494
495
  }>, []>>, false>;
496
+ isDemonic: DB.MemberDecl<DB.Boolean, false>;
495
497
  translations: DB.MemberDecl<DB.NestedEntityMap<"AlchemicalPoisonTranslation", {
496
498
  typical_ingredients: DB.MemberDecl<DB.Array<DB.String>, true>;
497
499
  brewing_process_prerequisites: DB.MemberDecl<DB.String, false>;
@@ -305,6 +305,11 @@ export const AlchemicalPoison = DB.TypeAlias(import.meta.url, {
305
305
  comment: "Additional information if the poison is an intoxicant.",
306
306
  type: DB.IncludeIdentifier(Intoxicant),
307
307
  }),
308
+ isDemonic: DB.Optional({
309
+ displayName: "Is demonic?",
310
+ comment: "Whether the poison is of demonic nature or not.",
311
+ type: DB.Boolean(),
312
+ }),
308
313
  translations: NestedTranslationMap(DB.Required, "AlchemicalPoison", DB.Object({
309
314
  typical_ingredients: DB.Required({
310
315
  comment: "A list of typical ingredients.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optolith-database-schema",
3
- "version": "0.34.11",
3
+ "version": "0.34.13",
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",
@@ -39,19 +39,19 @@
39
39
  "license": "MPL-2.0",
40
40
  "dependencies": {
41
41
  "@elyukai/utils": "^0.3.0",
42
- "tsondb": "^0.19.13",
42
+ "tsondb": "^0.19.18",
43
43
  "yaml": "^2.8.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@eslint/js": "^10.0.1",
47
- "@types/node": "^25.3.5",
47
+ "@types/node": "^25.4.0",
48
48
  "commit-and-tag-version": "^12.6.1",
49
49
  "eslint": "^10.0.3",
50
50
  "globals": "^17.4.0",
51
51
  "nodemon": "^3.1.14",
52
52
  "prettier": "^3.8.1",
53
53
  "typescript": "^5.9.3",
54
- "typescript-eslint": "^8.56.1"
54
+ "typescript-eslint": "^8.57.0"
55
55
  },
56
56
  "repository": "github:elyukai/optolith-database-schema",
57
57
  "bugs": {