optolith-database-schema 0.3.0 → 0.4.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.
Files changed (129) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/config.d.ts +4 -4
  3. package/lib/config.js +4 -4
  4. package/lib/types/Blessing.d.ts +3 -0
  5. package/lib/types/Cantrip.d.ts +3 -0
  6. package/lib/types/Culture.d.ts +18 -22
  7. package/lib/types/Culture.js +38 -0
  8. package/lib/types/Lessons_Curriculum.d.ts +4 -0
  9. package/lib/types/Patron.d.ts +12 -18
  10. package/lib/types/Patron.js +20 -0
  11. package/lib/types/Profession.d.ts +8 -11
  12. package/lib/types/Profession.js +6 -0
  13. package/lib/types/Race.d.ts +5 -7
  14. package/lib/types/Race.js +11 -0
  15. package/lib/types/Service.d.ts +4 -5
  16. package/lib/types/Service.js +5 -0
  17. package/lib/types/Skill.d.ts +10 -14
  18. package/lib/types/Skill.js +19 -0
  19. package/lib/types/Talisman.d.ts +7 -11
  20. package/lib/types/Talisman.js +8 -0
  21. package/lib/types/_Activatable.d.ts +41 -25
  22. package/lib/types/_Activatable.js +44 -1
  23. package/lib/types/_ActivatableSelectOptionCategory.d.ts +21 -18
  24. package/lib/types/_ActivatableSelectOptionCategory.js +8 -1
  25. package/lib/types/_ActivatableSkillCheckResultBased.d.ts +8 -10
  26. package/lib/types/_ActivatableSkillCheckResultBased.js +16 -1
  27. package/lib/types/_ActivatableSkillRange.d.ts +8 -4
  28. package/lib/types/_ActivatableSkillTargetCategory.d.ts +4 -0
  29. package/lib/types/_DiseasePoison.d.ts +5 -7
  30. package/lib/types/_DiseasePoison.js +11 -1
  31. package/lib/types/_Sex.d.ts +4 -5
  32. package/lib/types/_Sex.js +8 -1
  33. package/lib/types/_SkillCheck.d.ts +6 -9
  34. package/lib/types/_SkillCheck.js +11 -1
  35. package/lib/types/_Spellwork.d.ts +1 -0
  36. package/lib/types/equipment/item/Armor.d.ts +4 -4
  37. package/lib/types/equipment/item/BandageOrRemedy.d.ts +33 -3
  38. package/lib/types/equipment/item/CeremonialItem.d.ts +38 -3
  39. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -14
  40. package/lib/types/equipment/item/IlluminationLightSource.d.ts +62 -0
  41. package/lib/types/equipment/item/IlluminationLightSource.js +9 -0
  42. package/lib/types/equipment/item/{HealingHerb.d.ts → IlluminationRefillsOrSupplies.d.ts} +2 -2
  43. package/lib/types/equipment/item/{HealingHerb.js → IlluminationRefillsOrSupplies.js} +1 -1
  44. package/lib/types/equipment/item/LuxuryGood.d.ts +33 -3
  45. package/lib/types/equipment/item/MusicalInstrument.d.ts +3 -8
  46. package/lib/types/equipment/item/Poison.d.ts +11 -9
  47. package/lib/types/equipment/item/Poison.js +7 -0
  48. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +1 -1
  49. package/lib/types/equipment/item/Weapon.d.ts +1 -1
  50. package/lib/types/equipment/item/_Item.d.ts +9 -3
  51. package/lib/types/equipment/item/_MeleeWeapon.d.ts +2 -0
  52. package/lib/types/equipment/item/_RangedWeapon.d.ts +2 -0
  53. package/lib/types/magicalActions/AnimistPower.d.ts +2 -0
  54. package/lib/types/magicalActions/Curse.d.ts +1 -0
  55. package/lib/types/magicalActions/GeodeRitual.d.ts +2 -0
  56. package/lib/types/magicalActions/JesterTrick.d.ts +3 -0
  57. package/lib/types/magicalActions/_MusicTradition.d.ts +8 -10
  58. package/lib/types/magicalActions/_MusicTradition.js +10 -1
  59. package/lib/types/prerequisites/DisplayOption.d.ts +1 -0
  60. package/lib/types/prerequisites/PrerequisiteGroups.d.ts +1 -0
  61. package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +4 -5
  62. package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +5 -1
  63. package/lib/types/prerequisites/single/TextPrerequisite.d.ts +4 -5
  64. package/lib/types/prerequisites/single/TextPrerequisite.js +5 -1
  65. package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +8 -10
  66. package/lib/types/prerequisites/single/TraditionPrerequisite.js +18 -1
  67. package/lib/types/rule/CoreRule.d.ts +63 -5
  68. package/lib/types/rule/CoreRule.js +5 -0
  69. package/lib/types/rule/_Rule.d.ts +1 -0
  70. package/lib/types/source/Publication.d.ts +6 -9
  71. package/lib/types/source/Publication.js +10 -0
  72. package/lib/types/source/_PublicationRef.d.ts +2 -0
  73. package/lib/types/specialAbility/BlessedTradition.d.ts +3 -0
  74. package/lib/types/specialAbility/PactGift.d.ts +8 -10
  75. package/lib/types/specialAbility/PactGift.js +10 -0
  76. package/package.json +2 -2
  77. package/schema/Blessing.schema.json +24 -3
  78. package/schema/Cantrip.schema.json +24 -3
  79. package/schema/Culture.schema.json +21 -113
  80. package/schema/Lessons_Curriculum.schema.json +32 -4
  81. package/schema/Patron.schema.json +10 -98
  82. package/schema/Profession.schema.json +70 -47
  83. package/schema/Race.schema.json +4 -37
  84. package/schema/Service.schema.json +3 -25
  85. package/schema/Skill.schema.json +8 -74
  86. package/schema/Talisman.schema.json +6 -61
  87. package/schema/_Activatable.schema.json +183 -146
  88. package/schema/_ActivatableSelectOptionCategory.schema.json +97 -49
  89. package/schema/_ActivatableSkillCheckResultBased.schema.json +6 -50
  90. package/schema/_ActivatableSkillRange.schema.json +24 -4
  91. package/schema/_ActivatableSkillTargetCategory.schema.json +32 -4
  92. package/schema/_DiseasePoison.schema.json +4 -37
  93. package/schema/_Sex.schema.json +3 -25
  94. package/schema/_SkillCheck.schema.json +5 -49
  95. package/schema/_Spellwork.schema.json +8 -1
  96. package/schema/equipment/item/Armor.schema.json +26 -5
  97. package/schema/equipment/item/BandageOrRemedy.schema.json +44 -1
  98. package/schema/equipment/item/CeremonialItem.schema.json +50 -1
  99. package/schema/equipment/item/EquipmentOfBlessedOnes.schema.json +0 -13
  100. package/schema/equipment/item/IlluminationLightSource.schema.json +122 -0
  101. package/schema/equipment/item/IlluminationRefillsOrSupplies.schema.json +10 -0
  102. package/schema/equipment/item/LuxuryGood.schema.json +44 -1
  103. package/schema/equipment/item/MusicalInstrument.schema.json +4 -9
  104. package/schema/equipment/item/Poison.schema.json +45 -54
  105. package/schema/equipment/item/ToolOfTheTrade.schema.json +0 -1
  106. package/schema/equipment/item/Weapon.schema.json +1 -1
  107. package/schema/equipment/item/_Item.schema.json +52 -10
  108. package/schema/equipment/item/_MeleeWeapon.schema.json +16 -2
  109. package/schema/equipment/item/_RangedWeapon.schema.json +16 -2
  110. package/schema/magicalActions/AnimistPower.schema.json +16 -2
  111. package/schema/magicalActions/Curse.schema.json +8 -1
  112. package/schema/magicalActions/GeodeRitual.schema.json +16 -2
  113. package/schema/magicalActions/JesterTrick.schema.json +24 -3
  114. package/schema/magicalActions/_MusicTradition.schema.json +6 -50
  115. package/schema/prerequisites/DisplayOption.schema.json +8 -1
  116. package/schema/prerequisites/PrerequisiteGroups.schema.json +8 -1
  117. package/schema/prerequisites/single/PrimaryAttributePrerequisite.schema.json +3 -25
  118. package/schema/prerequisites/single/TextPrerequisite.schema.json +3 -25
  119. package/schema/prerequisites/single/TraditionPrerequisite.schema.json +6 -50
  120. package/schema/rule/CoreRule.schema.json +475 -84
  121. package/schema/rule/_Rule.schema.json +8 -1
  122. package/schema/source/Publication.schema.json +5 -49
  123. package/schema/source/_PublicationRef.schema.json +16 -2
  124. package/schema/specialAbility/BlessedTradition.schema.json +24 -3
  125. package/schema/specialAbility/PactGift.schema.json +6 -50
  126. package/lib/types/equipment/item/Illumination.d.ts +0 -6
  127. package/lib/types/equipment/item/Illumination.js +0 -5
  128. package/schema/equipment/item/HealingHerb.schema.json +0 -10
  129. package/schema/equipment/item/Illumination.schema.json +0 -10
@@ -4,30 +4,17 @@
4
4
  import { PublicationRefs } from "../../source/_PublicationRef.js";
5
5
  import { LocaleMap } from "../../_LocaleMap.js";
6
6
  import { BlessedTraditionReference } from "../../_SimpleReferences.js";
7
- import { CombatUse, Complexity, Cost, DefaultItemTranslation, StructurePoints, Weight } from "./_Item.js";
7
+ import { Cost, DefaultItemTranslation, StructurePoints } from "./_Item.js";
8
8
  export declare type EquipmentOfBlessedOnes = {
9
9
  /**
10
10
  * The cost in silverthalers.
11
11
  */
12
12
  cost: Cost;
13
- /**
14
- * The weight in kg.
15
- */
16
- weight: Weight;
17
- /**
18
- * The complexity of crafting the item.
19
- */
20
- complexity?: Complexity;
21
13
  /**
22
14
  * The structure points of the item. Use an array if the item consists of
23
15
  * multiple components that have individual structure points.
24
16
  */
25
17
  structure_points: StructurePoints;
26
- /**
27
- * The item can also be used either as an improvised weapon or as an armor,
28
- * although this is not the primary use case of the item.
29
- */
30
- combat_use?: CombatUse;
31
18
  /**
32
19
  * The deity associated with the equipment item.
33
20
  */
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @main IlluminationLightSource
3
+ */
4
+ import { PublicationRefs } from "../../source/_PublicationRef.js";
5
+ import { LocaleMap } from "../../_LocaleMap.js";
6
+ import { CombatUse, Complexity, Cost, DefaultItemTranslation, StructurePoints, Weight } from "./_Item.js";
7
+ export declare type IlluminationLightSource = {
8
+ /**
9
+ * The cost in silverthalers.
10
+ */
11
+ cost: Cost;
12
+ /**
13
+ * The weight in kg.
14
+ */
15
+ weight: Weight;
16
+ /**
17
+ * The complexity of crafting the item.
18
+ */
19
+ complexity?: Complexity;
20
+ /**
21
+ * The structure points of the item. Use an array if the item consists of
22
+ * multiple components that have individual structure points.
23
+ */
24
+ structure_points: StructurePoints;
25
+ /**
26
+ * The burning time is the time how long the light source can be lit. After
27
+ * that time you have to use a new light source.
28
+ */
29
+ burning_time: BurningTime;
30
+ /**
31
+ * The item can also be used either as an improvised weapon or as an armor,
32
+ * although this is not the primary use case of the item.
33
+ */
34
+ combat_use?: CombatUse;
35
+ src: PublicationRefs;
36
+ /**
37
+ * All translations for the entry, identified by IETF language tag (BCP47).
38
+ */
39
+ translations: LocaleMap<DefaultItemTranslation>;
40
+ };
41
+ export declare type BurningTime = {
42
+ tag: "Unlimited";
43
+ unlimited: {};
44
+ } | {
45
+ tag: "Limited";
46
+ limited: LimitedBurningTime;
47
+ };
48
+ export declare type LimitedBurningTime = {
49
+ /**
50
+ * The (unitless) time value.
51
+ * @exclusiveMinimum 0
52
+ */
53
+ value: number;
54
+ /**
55
+ * The time unit.
56
+ */
57
+ unit: LimitedBurningTimeUnit;
58
+ };
59
+ export declare enum LimitedBurningTimeUnit {
60
+ Hours = "Hours"
61
+ }
62
+ export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<IlluminationLightSource>;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @main IlluminationLightSource
3
+ */
4
+ import { validateSchemaCreator } from "../../../validation/schema.js";
5
+ export var LimitedBurningTimeUnit;
6
+ (function (LimitedBurningTimeUnit) {
7
+ LimitedBurningTimeUnit["Hours"] = "Hours";
8
+ })(LimitedBurningTimeUnit || (LimitedBurningTimeUnit = {}));
9
+ export const validateSchema = validateSchemaCreator(import.meta.url);
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @main HealingHerb
2
+ * @main IlluminationRefillsOrSupplies
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type HealingHerb = DefaultItem;
5
+ export declare type IlluminationRefillsOrSupplies = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @main HealingHerb
2
+ * @main IlluminationRefillsOrSupplies
3
3
  */
4
4
  import { validateSchemaCreator } from "../../../validation/schema.js";
5
5
  export const validateSchema = validateSchemaCreator(import.meta.url);
@@ -1,6 +1,36 @@
1
1
  /**
2
2
  * @main LuxuryGood
3
3
  */
4
- import { DefaultItem } from "./_Item.js";
5
- export declare type LuxuryGood = DefaultItem;
6
- export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
4
+ import { PublicationRefs } from "../../source/_PublicationRef.js";
5
+ import { LocaleMap } from "../../_LocaleMap.js";
6
+ import { CombatUse, Complexity, Cost, DefaultItemTranslation, StructurePoints, Weight } from "./_Item.js";
7
+ export declare type LuxuryGood = {
8
+ /**
9
+ * The cost in silverthalers.
10
+ */
11
+ cost: Cost;
12
+ /**
13
+ * The weight in kg.
14
+ */
15
+ weight: Weight;
16
+ /**
17
+ * The complexity of crafting the item.
18
+ */
19
+ complexity?: Complexity;
20
+ /**
21
+ * The structure points of the item. Use an array if the item consists of
22
+ * multiple components that have individual structure points.
23
+ */
24
+ structure_points?: StructurePoints;
25
+ /**
26
+ * The item can also be used either as an improvised weapon or as an armor,
27
+ * although this is not the primary use case of the item.
28
+ */
29
+ combat_use?: CombatUse;
30
+ src: PublicationRefs;
31
+ /**
32
+ * All translations for the entry, identified by IETF language tag (BCP47).
33
+ */
34
+ translations: LocaleMap<DefaultItemTranslation>;
35
+ };
36
+ export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<LuxuryGood>;
@@ -3,21 +3,16 @@
3
3
  */
4
4
  import { PublicationRefs } from "../../source/_PublicationRef.js";
5
5
  import { LocaleMap } from "../../_LocaleMap.js";
6
- import { Complexity, Cost, DefaultItemTranslation, StructurePoints } from "./_Item.js";
6
+ import { Cost, DefaultItemTranslation, Weight } from "./_Item.js";
7
7
  export declare type MusicalInstrument = {
8
8
  /**
9
9
  * The cost in silverthalers.
10
10
  */
11
11
  cost: Cost;
12
12
  /**
13
- * The complexity of crafting the item.
13
+ * The weight in kg.
14
14
  */
15
- complexity: Complexity;
16
- /**
17
- * The structure points of the item. Use an array if the item consists of
18
- * multiple components that have individual structure points.
19
- */
20
- structure_points: StructurePoints;
15
+ weight: Weight;
21
16
  src: PublicationRefs;
22
17
  /**
23
18
  * All translations for the entry, identified by IETF language tag (BCP47).
@@ -57,6 +57,7 @@ export declare type Poison = {
57
57
  };
58
58
  export declare type PoisonLevel = {
59
59
  tag: "QualityLevel";
60
+ quality_level: {};
60
61
  } | {
61
62
  tag: "Fixed";
62
63
  fixed: FixedPoisonLevel;
@@ -68,21 +69,21 @@ export declare type FixedPoisonLevel = {
68
69
  */
69
70
  value: number;
70
71
  };
71
- export declare type PoisonApplicationType = {
72
- tag: "Weapon";
73
- } | {
74
- tag: "Ingestion";
75
- } | {
76
- tag: "Inhalation";
77
- } | {
78
- tag: "Contact";
79
- };
72
+ export declare enum PoisonApplicationType {
73
+ Weapon = "Weapon",
74
+ Ingestion = "Ingestion",
75
+ Inhalation = "Inhalation",
76
+ Contact = "Contact"
77
+ }
80
78
  export declare type PoisonSourceType = {
81
79
  tag: "AnimalVenom";
80
+ animal_venom: {};
82
81
  } | {
83
82
  tag: "AlchemicalPoison";
83
+ alchemical_poison: {};
84
84
  } | {
85
85
  tag: "MineralPoison";
86
+ mineral_poison: {};
86
87
  } | {
87
88
  tag: "PlantPoison";
88
89
  plant_poison: PlantPoison;
@@ -95,6 +96,7 @@ export declare type PlantPoison = {
95
96
  };
96
97
  export declare type PlantPoisonCategory = {
97
98
  tag: "Default";
99
+ default: {};
98
100
  } | {
99
101
  tag: "Intoxicant";
100
102
  intoxicant: Intoxicant;
@@ -2,4 +2,11 @@
2
2
  * @main Poison
3
3
  */
4
4
  import { validateSchemaCreator } from "../../../validation/schema.js";
5
+ export var PoisonApplicationType;
6
+ (function (PoisonApplicationType) {
7
+ PoisonApplicationType["Weapon"] = "Weapon";
8
+ PoisonApplicationType["Ingestion"] = "Ingestion";
9
+ PoisonApplicationType["Inhalation"] = "Inhalation";
10
+ PoisonApplicationType["Contact"] = "Contact";
11
+ })(PoisonApplicationType || (PoisonApplicationType = {}));
5
12
  export const validateSchema = validateSchemaCreator(import.meta.url);
@@ -23,7 +23,7 @@ export declare type ToolOfTheTrade = {
23
23
  * The structure points of the item. Use an array if the item consists of
24
24
  * multiple components that have individual structure points.
25
25
  */
26
- structure_points: StructurePoints;
26
+ structure_points?: StructurePoints;
27
27
  /**
28
28
  * If the item is a laboratory.
29
29
  */
@@ -76,7 +76,7 @@ export declare type WeaponTranslation = {
76
76
  disadvantage?: NonEmptyMarkdown;
77
77
  errata?: Errata;
78
78
  };
79
- export declare type ImprovisedWeapon = {
79
+ export declare type SecondaryWeapon = {
80
80
  /**
81
81
  * A list of stat blocks for each combat technique this weapon can be used
82
82
  * with.
@@ -3,7 +3,7 @@ import { PublicationRefs } from "../../source/_PublicationRef.js";
3
3
  import { LocaleMap } from "../../_LocaleMap.js";
4
4
  import { NonEmptyMarkdown, NonEmptyString } from "../../_NonEmptyString.js";
5
5
  import { SecondaryArmor } from "./Armor.js";
6
- import { ImprovisedWeapon } from "./Weapon.js";
6
+ import { SecondaryWeapon } from "./Weapon.js";
7
7
  export declare type DefaultItem = {
8
8
  /**
9
9
  * The cost in silverthalers.
@@ -38,8 +38,8 @@ export declare type DefaultItem = {
38
38
  * although this is not the primary use case of the item.
39
39
  */
40
40
  export declare type CombatUse = {
41
- tag: "ImprovisedWeapon";
42
- improvised_weapon: ImprovisedWeapon;
41
+ tag: "Weapon";
42
+ weapon: SecondaryWeapon;
43
43
  } | {
44
44
  tag: "Armor";
45
45
  armor: SecondaryArmor;
@@ -83,12 +83,16 @@ export declare type StructurePointsComponent = {
83
83
  */
84
84
  export declare type Cost = {
85
85
  tag: "Free";
86
+ free: {};
86
87
  } | {
87
88
  tag: "Various";
89
+ various: {};
88
90
  } | {
89
91
  tag: "";
92
+ "": {};
90
93
  } | {
91
94
  tag: "";
95
+ "": {};
92
96
  } | {
93
97
  tag: "Fixed";
94
98
  fixed: FixedCost;
@@ -141,8 +145,10 @@ export declare type Weight = number;
141
145
  */
142
146
  export declare type Complexity = {
143
147
  tag: "Primitive";
148
+ primitive: {};
144
149
  } | {
145
150
  tag: "Simple";
151
+ simple: {};
146
152
  } | {
147
153
  tag: "Complex";
148
154
  complex: ComplexComplexity;
@@ -47,8 +47,10 @@ export declare type MeleeDamage = {
47
47
  */
48
48
  export declare type ShieldSize = {
49
49
  tag: "Small";
50
+ small: {};
50
51
  } | {
51
52
  tag: "Medium";
53
+ medium: {};
52
54
  } | {
53
55
  tag: "Large";
54
56
  large?: LargeShieldSize;
@@ -15,8 +15,10 @@ export declare type RangedDamage = {
15
15
  default: DefaultRangedDamage;
16
16
  } | {
17
17
  tag: "NotApplicable";
18
+ not_applicable: {};
18
19
  } | {
19
20
  tag: "Special";
21
+ special: {};
20
22
  };
21
23
  /**
22
24
  * The damage of a weapon consists of a random part using dice and an optional
@@ -178,6 +178,7 @@ export declare type OneTimeAnimistPowerCostByPrimaryPatron = {
178
178
  };
179
179
  export declare type OneTimeAnimistPowerDuration = {
180
180
  tag: "Immediate";
181
+ immediate: {};
181
182
  } | {
182
183
  tag: "Fixed";
183
184
  fixed: FixedOneTimeDuration;
@@ -232,5 +233,6 @@ export declare type AnimistPowerImprovementCost = {
232
233
  fixed: ImprovementCost;
233
234
  } | {
234
235
  tag: "ByPrimaryPatron";
236
+ by_primary_patron: {};
235
237
  };
236
238
  export declare const validateSchema: import("../../validation/schema.js").TypeValidator<AnimistPower>;
@@ -118,6 +118,7 @@ export declare type FixedCurseCostTranslation = {
118
118
  };
119
119
  export declare type CurseDuration = {
120
120
  tag: "Immediate";
121
+ immediate: {};
121
122
  } | {
122
123
  tag: "Fixed";
123
124
  fixed: FixedCurseDuration;
@@ -141,6 +141,7 @@ export declare type FixedGeodeRitualCost = {
141
141
  };
142
142
  export declare type GeodeRitualRange = {
143
143
  tag: "Self";
144
+ self: {};
144
145
  } | {
145
146
  tag: "Fixed";
146
147
  fixed: FixedGeodeRitualRange;
@@ -155,6 +156,7 @@ export declare type FixedGeodeRitualRange = {
155
156
  };
156
157
  export declare type GeodeRitualDuration = {
157
158
  tag: "Immediate";
159
+ immediate: {};
158
160
  } | {
159
161
  tag: "Fixed";
160
162
  fixed: FixedGeodeRitualDuration;
@@ -135,8 +135,10 @@ export declare type JesterTrickCost = {
135
135
  };
136
136
  export declare type JesterTrickRange = {
137
137
  tag: "Touch";
138
+ touch: {};
138
139
  } | {
139
140
  tag: "Self";
141
+ self: {};
140
142
  } | {
141
143
  tag: "Fixed";
142
144
  fixed: FixedJesterTrickRange;
@@ -151,6 +153,7 @@ export declare type FixedJesterTrickRange = {
151
153
  };
152
154
  export declare type JesterTrickDuration = {
153
155
  tag: "Immediate";
156
+ immediate: {};
154
157
  } | {
155
158
  tag: "Fixed";
156
159
  fixed: FixedJesterTrickDuration;
@@ -26,13 +26,11 @@ export declare type MusicDuration = {
26
26
  length: MusicLength;
27
27
  reusability: MusicReusability;
28
28
  };
29
- export declare type MusicLength = {
30
- tag: "Long";
31
- } | {
32
- tag: "Short";
33
- };
34
- export declare type MusicReusability = {
35
- tag: "OneTime";
36
- } | {
37
- tag: "Sustainable";
38
- };
29
+ export declare enum MusicLength {
30
+ Long = "Long",
31
+ Short = "Short"
32
+ }
33
+ export declare enum MusicReusability {
34
+ OneTime = "OneTime",
35
+ Sustainable = "Sustainable"
36
+ }
@@ -1 +1,10 @@
1
- export {};
1
+ export var MusicLength;
2
+ (function (MusicLength) {
3
+ MusicLength["Long"] = "Long";
4
+ MusicLength["Short"] = "Short";
5
+ })(MusicLength || (MusicLength = {}));
6
+ export var MusicReusability;
7
+ (function (MusicReusability) {
8
+ MusicReusability["OneTime"] = "OneTime";
9
+ MusicReusability["Sustainable"] = "Sustainable";
10
+ })(MusicReusability || (MusicReusability = {}));
@@ -5,6 +5,7 @@ import { NonEmptyString } from "../_NonEmptyString.js";
5
5
  */
6
6
  export declare type DisplayOption = {
7
7
  tag: "Hide";
8
+ hide: {};
8
9
  } | {
9
10
  tag: "ReplaceWith";
10
11
  replace_with: ReplacementDisplayOption;
@@ -95,6 +95,7 @@ export declare type ProfessionPrerequisiteGroup = {
95
95
  };
96
96
  export declare type AdvantageDisadvantagePrerequisiteGroup = {
97
97
  tag: "CommonSuggestedByRCP";
98
+ common_suggested_by_rcp: {};
98
99
  } | {
99
100
  tag: "Sex";
100
101
  sex: SexPrerequisite;
@@ -15,8 +15,7 @@ export declare type PrimaryAttributePrerequisite = {
15
15
  value: number;
16
16
  display_option?: DisplayOption;
17
17
  };
18
- export declare type PrimaryAttributeCategory = {
19
- tag: "Blessed";
20
- } | {
21
- tag: "Magical";
22
- };
18
+ export declare enum PrimaryAttributeCategory {
19
+ Blessed = "Blessed",
20
+ Magical = "Magical"
21
+ }
@@ -1 +1,5 @@
1
- export {};
1
+ export var PrimaryAttributeCategory;
2
+ (function (PrimaryAttributeCategory) {
3
+ PrimaryAttributeCategory["Blessed"] = "Blessed";
4
+ PrimaryAttributeCategory["Magical"] = "Magical";
5
+ })(PrimaryAttributeCategory || (PrimaryAttributeCategory = {}));
@@ -19,9 +19,8 @@ export declare type TextPrerequisite = {
19
19
  */
20
20
  translations: LocaleMap<TextPrerequisiteTranslation>;
21
21
  };
22
- export declare type TextVerificationRule = {
23
- tag: "Pass";
24
- } | {
25
- tag: "Deny";
26
- };
22
+ export declare enum TextVerificationRule {
23
+ Pass = "Pass",
24
+ Deny = "Deny"
25
+ }
27
26
  export declare type TextPrerequisiteTranslation = NonEmptyMarkdown;
@@ -1 +1,5 @@
1
- export {};
1
+ export var TextVerificationRule;
2
+ (function (TextVerificationRule) {
3
+ TextVerificationRule["Pass"] = "Pass";
4
+ TextVerificationRule["Deny"] = "Deny";
5
+ })(TextVerificationRule || (TextVerificationRule = {}));
@@ -14,11 +14,10 @@ export declare type BlessedTraditionPrerequisite = {
14
14
  * The blessed tradition prerequisite may only be satified if the blessed
15
15
  * tradition is either church or shamanistic.
16
16
  */
17
- export declare type BlessedTraditionPrerequisiteRestriction = {
18
- tag: "Church";
19
- } | {
20
- tag: "Shamanistic";
21
- };
17
+ export declare enum BlessedTraditionPrerequisiteRestriction {
18
+ Church = "Church",
19
+ Shamanistic = "Shamanistic"
20
+ }
22
21
  /**
23
22
  * @title Magical Tradition Prerequisite
24
23
  */
@@ -34,8 +33,7 @@ export declare type MagicalTraditionPrerequisite = {
34
33
  * The magical tradition prerequisite may only be satified if the magical
35
34
  * tradition can learn rituals or can bind familiars.
36
35
  */
37
- export declare type MagicalTraditionPrerequisiteRestriction = {
38
- tag: "CanLearnRituals";
39
- } | {
40
- tag: "CanBindFamiliars";
41
- };
36
+ export declare enum MagicalTraditionPrerequisiteRestriction {
37
+ CanLearnRituals = "CanLearnRituals",
38
+ CanBindFamiliars = "CanBindFamiliars"
39
+ }
@@ -1 +1,18 @@
1
- export {};
1
+ /**
2
+ * The blessed tradition prerequisite may only be satified if the blessed
3
+ * tradition is either church or shamanistic.
4
+ */
5
+ export var BlessedTraditionPrerequisiteRestriction;
6
+ (function (BlessedTraditionPrerequisiteRestriction) {
7
+ BlessedTraditionPrerequisiteRestriction["Church"] = "Church";
8
+ BlessedTraditionPrerequisiteRestriction["Shamanistic"] = "Shamanistic";
9
+ })(BlessedTraditionPrerequisiteRestriction || (BlessedTraditionPrerequisiteRestriction = {}));
10
+ /**
11
+ * The magical tradition prerequisite may only be satified if the magical
12
+ * tradition can learn rituals or can bind familiars.
13
+ */
14
+ export var MagicalTraditionPrerequisiteRestriction;
15
+ (function (MagicalTraditionPrerequisiteRestriction) {
16
+ MagicalTraditionPrerequisiteRestriction["CanLearnRituals"] = "CanLearnRituals";
17
+ MagicalTraditionPrerequisiteRestriction["CanBindFamiliars"] = "CanBindFamiliars";
18
+ })(MagicalTraditionPrerequisiteRestriction || (MagicalTraditionPrerequisiteRestriction = {}));