@optolith/database-schema 0.105.0 → 0.106.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.106.0](https://github.com/Optolith/database-schema/compare/v0.105.0...v0.106.0) (2026-10-16)
6
+
7
+ ### ⚠ BREAKING CHANGES
8
+
9
+ * allow blessed tradition groups as associated traditions for ceremonial items
10
+
11
+ ### Features
12
+
13
+ * allow blessed tradition groups as associated traditions for ceremonial items ([315ddc7](https://github.com/Optolith/database-schema/commit/315ddc7a46ca48511ecee0c448fe0f691a1bc165))
14
+
5
15
  ## [0.105.0](https://github.com/Optolith/database-schema/compare/v0.104.0...v0.105.0) (2026-10-16)
6
16
 
7
17
  ### ⚠ BREAKING CHANGES
package/gen/types.d.ts CHANGED
@@ -24961,7 +24961,7 @@ export interface CeremonialItem {
24961
24961
  /**
24962
24962
  * The deity associated with the equipment item.
24963
24963
  */
24964
- associated_tradition: BlessedTradition_ID
24964
+ associated_tradition: RestrictedToBlessedTraditionsScope
24965
24965
 
24966
24966
  /**
24967
24967
  * The item can also be used either as an improvised weapon or as an armor, although this is not the primary use case of the item.
@@ -101,7 +101,11 @@ export declare const CeremonialItem: DB.Entity<"CeremonialItem", {
101
101
  points: DB.MemberDecl<DB.Integer, true>;
102
102
  }>, []>>>, []>>>;
103
103
  }, []>>, false>;
104
- associated_tradition: DB.MemberDecl<DB.ReferenceIdentifier, true>;
104
+ associated_tradition: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RestrictedToBlessedTraditionsScope", {
105
+ Specific: DB.EnumCase<DB.Array<DB.ReferenceIdentifier>>;
106
+ Church: DB.EnumCase<null>;
107
+ Shamanistic: DB.EnumCase<null>;
108
+ }, []>>, true>;
105
109
  combat_use: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CombatUse", {
106
110
  Weapon: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ImprovisedWeapon", DB.Object<{
107
111
  melee_uses: DB.MemberDecl<DB.NestedEntityMap<string, {
@@ -1,7 +1,6 @@
1
1
  import * as DB from "tsondb/schema/dsl";
2
- import { BlessedTraditionIdentifier } from "../../_Identifier.js";
3
2
  import { src } from "../../source/_PublicationRef.js";
4
- import { CombatUse, Complexity, Cost, DefaultItemTranslations, StructurePoints, Weight, } from "./_Item.js";
3
+ import { CombatUse, Complexity, Cost, DefaultItemTranslations, RestrictedToBlessedTraditionsScope, StructurePoints, Weight, } from "./_Item.js";
5
4
  import { checkWeaponCombatTechniqueIntegrity } from "./_Weapon.js";
6
5
  export const CeremonialItem = DB.Entity(import.meta.url, {
7
6
  name: "CeremonialItem",
@@ -25,7 +24,7 @@ export const CeremonialItem = DB.Entity(import.meta.url, {
25
24
  }),
26
25
  associated_tradition: DB.Required({
27
26
  comment: "The deity associated with the equipment item.",
28
- type: BlessedTraditionIdentifier(),
27
+ type: DB.IncludeIdentifier(RestrictedToBlessedTraditionsScope),
29
28
  }),
30
29
  combat_use: DB.Optional({
31
30
  comment: "The item can also be used either as an improvised weapon or as an armor, although this is not the primary use case of the item.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optolith/database-schema",
3
- "version": "0.105.0",
3
+ "version": "0.106.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",