@optolith/database-schema 0.72.0 → 0.73.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 +14 -0
- package/gen/types.d.ts +6 -1
- package/lib/types/equipment/item/Ammunition.d.ts +1 -1
- package/lib/types/equipment/item/Animal.d.ts +1 -1
- package/lib/types/equipment/item/AnimalCare.d.ts +1 -1
- package/lib/types/equipment/item/Armor.d.ts +1 -1
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +1 -1
- package/lib/types/equipment/item/Book.d.ts +2 -2
- package/lib/types/equipment/item/CeremonialItem.d.ts +1 -1
- package/lib/types/equipment/item/Clothes.d.ts +1 -1
- package/lib/types/equipment/item/ClothingPackage.d.ts +1 -1
- package/lib/types/equipment/item/Container.d.ts +1 -1
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -1
- package/lib/types/equipment/item/GemOrPreciousStone.d.ts +1 -1
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +1 -1
- package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +1 -1
- package/lib/types/equipment/item/Laboratory.d.ts +1 -1
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +1 -1
- package/lib/types/equipment/item/LuxuryGood.d.ts +1 -1
- package/lib/types/equipment/item/MagicalArtifact.d.ts +1 -1
- package/lib/types/equipment/item/MusicalInstrument.d.ts +1 -1
- package/lib/types/equipment/item/Newspaper.d.ts +1 -1
- package/lib/types/equipment/item/OrienteeringAid.d.ts +1 -1
- package/lib/types/equipment/item/Poison.d.ts +1 -1
- package/lib/types/equipment/item/RopeOrChain.d.ts +1 -1
- package/lib/types/equipment/item/Stationery.d.ts +1 -1
- package/lib/types/equipment/item/ThievesTool.d.ts +1 -1
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +1 -1
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +1 -1
- package/lib/types/equipment/item/Vehicle.d.ts +1 -1
- package/lib/types/equipment/item/Weapon.d.ts +1 -1
- package/lib/types/equipment/item/WeaponAccessory.d.ts +1 -1
- package/lib/types/equipment/item/WorkingSupernaturalCreature.d.ts +1 -1
- package/lib/types/equipment/item/_Item.d.ts +3 -3
- package/lib/types/equipment/item/_Item.js +1 -1
- package/lib/types/specialAbility/BlessedTradition.d.ts +1 -0
- package/lib/types/specialAbility/BlessedTradition.js +4 -0
- package/package.json +1 -1
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.73.0](https://github.com/Optolith/database-schema/compare/v0.72.1...v0.73.0) (2026-09-29)
|
|
6
|
+
|
|
7
|
+
### ⚠ BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
* cost range may have an open upper bound
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* cost range may have an open upper bound ([ec66a99](https://github.com/Optolith/database-schema/commit/ec66a991b4493185c3f7941be802fa1a9054e78b))
|
|
14
|
+
## [0.72.1](https://github.com/Optolith/database-schema/compare/v0.72.0...v0.72.1) (2026-09-28)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* add name of god translation option to blessed tradition ([8363f99](https://github.com/Optolith/database-schema/commit/8363f99ebcaf0e0f634aa686746c956907e933b3))
|
|
5
19
|
## [0.72.0](https://github.com/Optolith/database-schema/compare/v0.71.0...v0.72.0) (2026-09-28)
|
|
6
20
|
|
|
7
21
|
### ⚠ BREAKING CHANGES
|
package/gen/types.d.ts
CHANGED
|
@@ -6464,7 +6464,7 @@ export interface CostRange {
|
|
|
6464
6464
|
/**
|
|
6465
6465
|
* The upper bound of the cost in silverthalers.
|
|
6466
6466
|
*/
|
|
6467
|
-
to
|
|
6467
|
+
to?: number
|
|
6468
6468
|
|
|
6469
6469
|
/**
|
|
6470
6470
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
@@ -7829,6 +7829,11 @@ export interface BlessedTraditionTranslation {
|
|
|
7829
7829
|
*/
|
|
7830
7830
|
nameOfBlessedOnes: string
|
|
7831
7831
|
|
|
7832
|
+
/**
|
|
7833
|
+
* The name of the god of this tradition, if it has one. Defaults to the name of the tradition if not set.
|
|
7834
|
+
*/
|
|
7835
|
+
nameOfGod?: string
|
|
7836
|
+
|
|
7832
7837
|
/**
|
|
7833
7838
|
* The special rules of the tradition. They should be sorted like they are in the book.
|
|
7834
7839
|
*/
|
|
@@ -12,7 +12,7 @@ export declare const Ammunition: DB.Entity<"Ammunition", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const Animal: DB.Entity<"Animal", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -14,7 +14,7 @@ export declare const AnimalCare: DB.Entity<"AnimalCare", {
|
|
|
14
14
|
}>, []>>>;
|
|
15
15
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
16
16
|
from: DB.MemberDecl<DB.Float, true>;
|
|
17
|
-
to: DB.MemberDecl<DB.Float,
|
|
17
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
18
18
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
19
19
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
20
20
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const Armor: DB.Entity<"Armor", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const BandageOrRemedy: DB.Entity<"BandageOrRemedy", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -28,7 +28,7 @@ export declare const Book: DB.Entity<"Book", {
|
|
|
28
28
|
}>, []>>>;
|
|
29
29
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
30
30
|
from: DB.MemberDecl<DB.Float, true>;
|
|
31
|
-
to: DB.MemberDecl<DB.Float,
|
|
31
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
32
32
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
33
33
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
34
34
|
}>, false>;
|
|
@@ -59,7 +59,7 @@ export declare const Book: DB.Entity<"Book", {
|
|
|
59
59
|
}>, []>>>;
|
|
60
60
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
61
61
|
from: DB.MemberDecl<DB.Float, true>;
|
|
62
|
-
to: DB.MemberDecl<DB.Float,
|
|
62
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
63
63
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
64
64
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
65
65
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const CeremonialItem: DB.Entity<"CeremonialItem", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const Clothes: DB.Entity<"Clothes", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const ClothingPackage: DB.Entity<"ClothingPackage", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const Container: DB.Entity<"Container", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const EquipmentOfBlessedOnes: DB.Entity<"EquipmentOfBlessedOnes",
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const GemOrPreciousStone: DB.Entity<"GemOrPreciousStone", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const IlluminationLightSource: DB.Entity<"IlluminationLightSource
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const IlluminationRefillOrSupply: DB.Entity<"IlluminationRefillOr
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const Laboratory: DB.Entity<"Laboratory", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const Liebesspielzeug: DB.Entity<"Liebesspielzeug", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const LuxuryGood: DB.Entity<"LuxuryGood", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const MagicalArtifact: DB.Entity<"MagicalArtifact", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const MusicalInstrument: DB.Entity<"MusicalInstrument", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const Newspaper: DB.Entity<"Newspaper", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -11,7 +11,7 @@ export declare const OrienteeringAid: import("tsondb/schema/dsl").Entity<string,
|
|
|
11
11
|
}>, []>>>;
|
|
12
12
|
Range: import("tsondb/schema/dsl").EnumCase<import("tsondb/schema/dsl").IncludeIdentifier<[], import("tsondb/schema/dsl").TypeAlias<"CostRange", import("tsondb/schema/dsl").Object<{
|
|
13
13
|
from: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float, true>;
|
|
14
|
-
to: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float,
|
|
14
|
+
to: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float, false>;
|
|
15
15
|
translations: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").NestedEntityMap<"CostRangeTranslation", {
|
|
16
16
|
wrap_in_text: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").String, true>;
|
|
17
17
|
}>, false>;
|
|
@@ -334,7 +334,7 @@ export declare const Poison: DB.Entity<"Poison", {
|
|
|
334
334
|
}>, []>>>;
|
|
335
335
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
336
336
|
from: DB.MemberDecl<DB.Float, true>;
|
|
337
|
-
to: DB.MemberDecl<DB.Float,
|
|
337
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
338
338
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
339
339
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
340
340
|
}>, false>;
|
|
@@ -11,7 +11,7 @@ export declare const RopeOrChain: import("tsondb/schema/dsl").Entity<string, {
|
|
|
11
11
|
}>, []>>>;
|
|
12
12
|
Range: import("tsondb/schema/dsl").EnumCase<import("tsondb/schema/dsl").IncludeIdentifier<[], import("tsondb/schema/dsl").TypeAlias<"CostRange", import("tsondb/schema/dsl").Object<{
|
|
13
13
|
from: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float, true>;
|
|
14
|
-
to: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float,
|
|
14
|
+
to: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float, false>;
|
|
15
15
|
translations: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").NestedEntityMap<"CostRangeTranslation", {
|
|
16
16
|
wrap_in_text: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").String, true>;
|
|
17
17
|
}>, false>;
|
|
@@ -11,7 +11,7 @@ export declare const Stationery: import("tsondb/schema/dsl").Entity<string, {
|
|
|
11
11
|
}>, []>>>;
|
|
12
12
|
Range: import("tsondb/schema/dsl").EnumCase<import("tsondb/schema/dsl").IncludeIdentifier<[], import("tsondb/schema/dsl").TypeAlias<"CostRange", import("tsondb/schema/dsl").Object<{
|
|
13
13
|
from: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float, true>;
|
|
14
|
-
to: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float,
|
|
14
|
+
to: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float, false>;
|
|
15
15
|
translations: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").NestedEntityMap<"CostRangeTranslation", {
|
|
16
16
|
wrap_in_text: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").String, true>;
|
|
17
17
|
}>, false>;
|
|
@@ -11,7 +11,7 @@ export declare const ThievesTool: import("tsondb/schema/dsl").Entity<string, {
|
|
|
11
11
|
}>, []>>>;
|
|
12
12
|
Range: import("tsondb/schema/dsl").EnumCase<import("tsondb/schema/dsl").IncludeIdentifier<[], import("tsondb/schema/dsl").TypeAlias<"CostRange", import("tsondb/schema/dsl").Object<{
|
|
13
13
|
from: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float, true>;
|
|
14
|
-
to: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float,
|
|
14
|
+
to: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").Float, false>;
|
|
15
15
|
translations: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").NestedEntityMap<"CostRangeTranslation", {
|
|
16
16
|
wrap_in_text: import("tsondb/schema/dsl").MemberDecl<import("tsondb/schema/dsl").String, true>;
|
|
17
17
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const ToolOfTheTrade: DB.Entity<"ToolOfTheTrade", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const TravelGearOrTool: DB.Entity<"TravelGearOrTool", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const Vehicle: DB.Entity<"Vehicle", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const Weapon: DB.Entity<"Weapon", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const WeaponAccessory: DB.Entity<"WeaponAccessory", {
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const WorkingSupernaturalCreature: DB.Entity<"WorkingSupernatural
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -12,7 +12,7 @@ export declare const DefaultItem: (sourceUrl: string, singularName: string, plur
|
|
|
12
12
|
}>, []>>>;
|
|
13
13
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
14
14
|
from: DB.MemberDecl<DB.Float, true>;
|
|
15
|
-
to: DB.MemberDecl<DB.Float,
|
|
15
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
16
16
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
17
17
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
18
18
|
}>, false>;
|
|
@@ -383,7 +383,7 @@ export declare const Cost: DB.Enum<"Cost", {
|
|
|
383
383
|
}>, []>>>;
|
|
384
384
|
Range: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CostRange", DB.Object<{
|
|
385
385
|
from: DB.MemberDecl<DB.Float, true>;
|
|
386
|
-
to: DB.MemberDecl<DB.Float,
|
|
386
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
387
387
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
388
388
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
389
389
|
}>, false>;
|
|
@@ -397,7 +397,7 @@ export declare const FixedCost: DB.TypeAlias<"FixedCost", DB.Object<{
|
|
|
397
397
|
}>, []>;
|
|
398
398
|
export declare const CostRange: DB.TypeAlias<"CostRange", DB.Object<{
|
|
399
399
|
from: DB.MemberDecl<DB.Float, true>;
|
|
400
|
-
to: DB.MemberDecl<DB.Float,
|
|
400
|
+
to: DB.MemberDecl<DB.Float, false>;
|
|
401
401
|
translations: DB.MemberDecl<DB.NestedEntityMap<"CostRangeTranslation", {
|
|
402
402
|
wrap_in_text: DB.MemberDecl<DB.String, true>;
|
|
403
403
|
}>, false>;
|
|
@@ -130,7 +130,7 @@ export const CostRange = DB.TypeAlias(import.meta.url, {
|
|
|
130
130
|
comment: "The lower bound of the cost in silverthalers.",
|
|
131
131
|
type: DB.Float({ minimum: { value: 0, isExclusive: true } }),
|
|
132
132
|
}),
|
|
133
|
-
to: DB.
|
|
133
|
+
to: DB.Optional({
|
|
134
134
|
comment: "The upper bound of the cost in silverthalers.",
|
|
135
135
|
type: DB.Float({ minimum: { value: 0, isExclusive: true } }),
|
|
136
136
|
}),
|
|
@@ -1182,6 +1182,7 @@ export declare const BlessedTradition: DB.Entity<"BlessedTradition", {
|
|
|
1182
1182
|
name_compressed: DB.MemberDecl<DB.String, false>;
|
|
1183
1183
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1184
1184
|
nameOfBlessedOnes: DB.MemberDecl<DB.String, true>;
|
|
1185
|
+
nameOfGod: DB.MemberDecl<DB.String, false>;
|
|
1185
1186
|
special_rules: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SpecialRule", DB.Object<{
|
|
1186
1187
|
label: DB.MemberDecl<DB.String, false>;
|
|
1187
1188
|
text: DB.MemberDecl<DB.String, true>;
|
|
@@ -67,6 +67,10 @@ export const BlessedTradition = DB.Entity(import.meta.url, {
|
|
|
67
67
|
comment: "The name of Blessed Ones of this tradition.",
|
|
68
68
|
type: DB.String({ minLength: 1 }),
|
|
69
69
|
}),
|
|
70
|
+
nameOfGod: DB.Optional({
|
|
71
|
+
comment: "The name of the god of this tradition, if it has one. Defaults to the name of the tradition if not set.",
|
|
72
|
+
type: DB.String({ minLength: 1 }),
|
|
73
|
+
}),
|
|
70
74
|
special_rules: DB.Required({
|
|
71
75
|
comment: "The special rules of the tradition. They should be sorted like they are in the book.",
|
|
72
76
|
type: DB.Array(DB.IncludeIdentifier(SpecialRule), { minItems: 1 }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optolith/database-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.73.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",
|