@optolith/database-schema 0.109.0 → 0.110.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,22 @@
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.110.0](https://github.com/Optolith/database-schema/compare/v0.109.0...v0.110.0) (2026-10-17)
6
+
7
+ ### ⚠ BREAKING CHANGES
8
+
9
+ * option identifier for advanced by option
10
+ * profession subgroup identifier type
11
+
12
+ ### Features
13
+
14
+ * culture naming rules may feature markdown ([b505295](https://github.com/Optolith/database-schema/commit/b505295d331ce7a1c7142335350d62cc611ccde3))
15
+
16
+ ### Bug Fixes
17
+
18
+ * option identifier for advanced by option ([20b591e](https://github.com/Optolith/database-schema/commit/20b591ee9da7fd144305653542755ecf0c183cbd))
19
+ * profession subgroup identifier type ([0a6c90e](https://github.com/Optolith/database-schema/commit/0a6c90eed94063f88f1c754339455af05df1fe7e))
20
+
5
21
  ## [0.109.0](https://github.com/Optolith/database-schema/compare/v0.108.1...v0.109.0) (2026-10-17)
6
22
 
7
23
  ### ⚠ BREAKING CHANGES
package/gen/types.d.ts CHANGED
@@ -9111,7 +9111,7 @@ export interface MagicalProfessionGroup {
9111
9111
  /**
9112
9112
  * The tradition’s subgroup associated with this magical profession, if any.
9113
9113
  */
9114
- subgroup?: Curriculum_ID
9114
+ subgroup?: MagicalTraditionSubgroup_ID
9115
9115
  }
9116
9116
 
9117
9117
  /**
@@ -9701,6 +9701,32 @@ export interface SpellworkAdjustmentWithBase {
9701
9701
  tradition?: MagicalTradition_ID
9702
9702
  }
9703
9703
 
9704
+ export interface MagicalTraditionSubgroup {
9705
+ /**
9706
+ * The magical tradition this subgroup belongs to.
9707
+ */
9708
+ parent: MagicalTradition_ID
9709
+
9710
+ /**
9711
+ * All translations for the entry, identified by IETF language tag (BCP47).
9712
+ */
9713
+ translations: {
9714
+ [localeId: string]: MagicalTraditionSubgroupTranslation
9715
+ }
9716
+ }
9717
+
9718
+ /**
9719
+ * The entity’s identifier. A UUID or a locale code if it is registered as the locale entity.
9720
+ */
9721
+ export type MagicalTraditionSubgroup_ID = string
9722
+
9723
+ export interface MagicalTraditionSubgroupTranslation {
9724
+ /**
9725
+ * The name of the ceremonial item. This should be the heading used in the respective publication.
9726
+ */
9727
+ name: string
9728
+ }
9729
+
9704
9730
  export interface ReligiousProfessionGroup {
9705
9731
  /**
9706
9732
  * The associated blessed tradition (religion).
@@ -14757,7 +14783,7 @@ export interface AdvancedSpecialAbilityByOptionMapping<Identifier> {
14757
14783
  /**
14758
14784
  * The select option’s identifier.
14759
14785
  */
14760
- option: Patron_ID
14786
+ option: GeneralSelectOption_ID
14761
14787
 
14762
14788
  /**
14763
14789
  * The advanced special ability’s identifier.
@@ -22588,32 +22614,6 @@ export interface InfluenceEffect {
22588
22614
  text: string
22589
22615
  }
22590
22616
 
22591
- export interface MagicalTraditionSubgroup {
22592
- /**
22593
- * The magical tradition this subgroup belongs to.
22594
- */
22595
- parent: MagicalTradition_ID
22596
-
22597
- /**
22598
- * All translations for the entry, identified by IETF language tag (BCP47).
22599
- */
22600
- translations: {
22601
- [localeId: string]: MagicalTraditionSubgroupTranslation
22602
- }
22603
- }
22604
-
22605
- /**
22606
- * The entity’s identifier. A UUID or a locale code if it is registered as the locale entity.
22607
- */
22608
- export type MagicalTraditionSubgroup_ID = string
22609
-
22610
- export interface MagicalTraditionSubgroupTranslation {
22611
- /**
22612
- * The name of the ceremonial item. This should be the heading used in the respective publication.
22613
- */
22614
- name: string
22615
- }
22616
-
22617
22617
  /**
22618
22618
  * Defines how to determine the AP cost of an enhancement.
22619
22619
  */
@@ -378,7 +378,7 @@ const CommonNames = DB.TypeAlias(import.meta.url, {
378
378
  }),
379
379
  naming_rules: DB.Optional({
380
380
  comment: "Special naming rules.",
381
- type: DB.String({ minLength: 1 }),
381
+ type: DB.String({ minLength: 1, markdown: "block" }),
382
382
  }),
383
383
  }, { minProperties: 1 }),
384
384
  });
@@ -2,7 +2,7 @@ import { isNotNullish } from "@elyukai/utils/nullable";
2
2
  import * as DB from "tsondb/schema/dsl";
3
3
  import { verifyOptionsForActivatableEntry } from "./_ActivatableSelectOptions.js";
4
4
  import { CommonnessRatedAdvantageDisadvantage } from "./_CommonnessRatedAdvantageDisadvantage.js";
5
- import { AdvantageIdentifier, BannzeichenOptionIdentifier, BlessedTraditionIdentifier, CantripIdentifier, CurriculumIdentifier, DisadvantageIdentifier, ExperienceLevelIdentifier, MagicalTraditionIdentifier, ProfessionIdentifier, ProfessionPackageIdentifier, ProfessionVersionIdentifier, SkillGroupIdentifier, SkillIdentifier, } from "./_Identifier.js";
5
+ import { AdvantageIdentifier, BannzeichenOptionIdentifier, BlessedTraditionIdentifier, CantripIdentifier, CurriculumIdentifier, DisadvantageIdentifier, ExperienceLevelIdentifier, MagicalTraditionIdentifier, MagicalTraditionSubgroupIdentifier, ProfessionIdentifier, ProfessionPackageIdentifier, ProfessionVersionIdentifier, SkillGroupIdentifier, SkillIdentifier, } from "./_Identifier.js";
6
6
  import { CombatTechniqueIdentifier, LiturgyIdentifier, MagicalActionIdentifier, ProfessionSpecialAbilityIdentifier, RequirableSelectOptionIdentifier, SpecialAbilityIdentifier, SpellworkIdentifier, } from "./_IdentifierGroup.js";
7
7
  import { ProfessionPrerequisites, ProfessionVariantPrerequisites } from "./_Prerequisite.js";
8
8
  import { NestedTranslationMap } from "./Locale.js";
@@ -66,7 +66,7 @@ const MagicalProfessionGroup = DB.TypeAlias(import.meta.url, {
66
66
  }),
67
67
  subgroup: DB.Optional({
68
68
  comment: "The tradition’s subgroup associated with this magical profession, if any.",
69
- type: CurriculumIdentifier(),
69
+ type: MagicalTraditionSubgroupIdentifier(),
70
70
  }),
71
71
  }),
72
72
  });
@@ -129,7 +129,7 @@ const AdvancedSpecialAbilityByOptionMapping = DB.GenTypeAlias(import.meta.url, {
129
129
  type: Identifier => DB.Object({
130
130
  option: DB.Required({
131
131
  comment: "The select option’s identifier.",
132
- type: PatronIdentifier(),
132
+ type: GeneralSelectOptionIdentifier(),
133
133
  }),
134
134
  associatedAdvanced: DB.Required({
135
135
  comment: "The advanced special ability’s identifier.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optolith/database-schema",
3
- "version": "0.109.0",
3
+ "version": "0.110.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",
@@ -39,7 +39,7 @@
39
39
  "license": "MPL-2.0",
40
40
  "dependencies": {
41
41
  "@elyukai/utils": "^0.3.6",
42
- "tsondb": "^0.22.0"
42
+ "tsondb": "^0.23.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@elyukai/oxc-config": "^0.1.0",