optolith-database-schema 0.10.0 → 0.10.1

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 (220) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/lib/config.d.ts +1 -1
  3. package/lib/main.d.ts +3 -3
  4. package/lib/types/Advantage.d.ts +2 -2
  5. package/lib/types/AnimalDisease.d.ts +1 -1
  6. package/lib/types/AnimalType.d.ts +2 -2
  7. package/lib/types/ArcaneBardTradition.d.ts +1 -1
  8. package/lib/types/ArcaneDancerTradition.d.ts +1 -1
  9. package/lib/types/Aspect.d.ts +2 -2
  10. package/lib/types/Attribute.d.ts +2 -2
  11. package/lib/types/Blessing.d.ts +8 -8
  12. package/lib/types/Cantrip.d.ts +14 -14
  13. package/lib/types/Ceremony.d.ts +2 -2
  14. package/lib/types/CombatTechnique_Close.d.ts +3 -3
  15. package/lib/types/CombatTechnique_Ranged.d.ts +3 -3
  16. package/lib/types/Condition.d.ts +2 -2
  17. package/lib/types/Continent.d.ts +2 -2
  18. package/lib/types/Culture.d.ts +21 -21
  19. package/lib/types/DerivedCharacteristic.d.ts +3 -3
  20. package/lib/types/Disadvantage.d.ts +2 -2
  21. package/lib/types/Disease.d.ts +1 -1
  22. package/lib/types/Element.d.ts +2 -2
  23. package/lib/types/ExperienceLevel.d.ts +2 -2
  24. package/lib/types/EyeColor.d.ts +2 -2
  25. package/lib/types/FamiliarsTrick.d.ts +22 -22
  26. package/lib/types/HairColor.d.ts +2 -2
  27. package/lib/types/Kirchenpraegung.d.ts +1 -1
  28. package/lib/types/Lessons_Curriculum.d.ts +18 -18
  29. package/lib/types/Lessons_Guideline.d.ts +2 -2
  30. package/lib/types/LiturgicalChant.d.ts +2 -2
  31. package/lib/types/Locale.d.ts +2 -2
  32. package/lib/types/MetaCondition.d.ts +2 -2
  33. package/lib/types/PactCategory.d.ts +6 -6
  34. package/lib/types/Patron.d.ts +13 -13
  35. package/lib/types/PatronCategory.d.ts +2 -2
  36. package/lib/types/PersonalityTrait.d.ts +3 -3
  37. package/lib/types/Profession.d.ts +41 -41
  38. package/lib/types/Property.d.ts +2 -2
  39. package/lib/types/Race.d.ts +14 -14
  40. package/lib/types/Region.d.ts +2 -2
  41. package/lib/types/Ritual.d.ts +2 -2
  42. package/lib/types/Service.d.ts +2 -2
  43. package/lib/types/SexPractice.d.ts +2 -2
  44. package/lib/types/Skill.d.ts +6 -6
  45. package/lib/types/SkillGroup.d.ts +2 -2
  46. package/lib/types/SkillModificationLevel.d.ts +6 -6
  47. package/lib/types/SocialStatus.d.ts +2 -2
  48. package/lib/types/Spell.d.ts +2 -2
  49. package/lib/types/State.d.ts +2 -2
  50. package/lib/types/Talisman.d.ts +3 -3
  51. package/lib/types/TargetCategory.d.ts +3 -3
  52. package/lib/types/UI.d.ts +1 -1
  53. package/lib/types/_Activatable.d.ts +109 -109
  54. package/lib/types/_ActivatableSelectOptionCategory.d.ts +27 -27
  55. package/lib/types/_ActivatableSkill.d.ts +8 -8
  56. package/lib/types/_ActivatableSkillCastingTime.d.ts +8 -8
  57. package/lib/types/_ActivatableSkillCheckResultBased.d.ts +2 -2
  58. package/lib/types/_ActivatableSkillCost.d.ts +20 -20
  59. package/lib/types/_ActivatableSkillDuration.d.ts +13 -13
  60. package/lib/types/_ActivatableSkillEffect.d.ts +4 -4
  61. package/lib/types/_ActivatableSkillRange.d.ts +6 -6
  62. package/lib/types/_ActivatableSkillTargetCategory.d.ts +4 -4
  63. package/lib/types/_AlternativeNames.d.ts +1 -1
  64. package/lib/types/_ArcaneTradition.d.ts +2 -2
  65. package/lib/types/_Blessed.d.ts +2 -2
  66. package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +1 -1
  67. package/lib/types/_Dice.d.ts +1 -1
  68. package/lib/types/_DiseasePoison.d.ts +4 -4
  69. package/lib/types/_Enhancements.d.ts +3 -3
  70. package/lib/types/_I18n.d.ts +1 -1
  71. package/lib/types/_Identifier.d.ts +132 -132
  72. package/lib/types/_IdentifierGroup.d.ts +20 -20
  73. package/lib/types/_Influence.d.ts +3 -3
  74. package/lib/types/_LocaleMap.d.ts +1 -1
  75. package/lib/types/_NonEmptyString.d.ts +2 -2
  76. package/lib/types/_Prerequisite.d.ts +21 -21
  77. package/lib/types/_ResponsiveText.d.ts +3 -3
  78. package/lib/types/_SimpleReferences.d.ts +44 -44
  79. package/lib/types/_SkillCheck.d.ts +1 -1
  80. package/lib/types/_Spellwork.d.ts +2 -2
  81. package/lib/types/equipment/EquipmentPackage.d.ts +3 -3
  82. package/lib/types/equipment/item/Alchemicum.d.ts +1 -1
  83. package/lib/types/equipment/item/Ammunition.d.ts +2 -2
  84. package/lib/types/equipment/item/Animal.d.ts +1 -1
  85. package/lib/types/equipment/item/AnimalCare.d.ts +5 -5
  86. package/lib/types/equipment/item/Armor.d.ts +11 -11
  87. package/lib/types/equipment/item/BandageOrRemedy.d.ts +1 -1
  88. package/lib/types/equipment/item/Book.d.ts +2 -2
  89. package/lib/types/equipment/item/CeremonialItem.d.ts +1 -1
  90. package/lib/types/equipment/item/Clothes.d.ts +1 -1
  91. package/lib/types/equipment/item/Container.d.ts +1 -1
  92. package/lib/types/equipment/item/Elixir.d.ts +2 -2
  93. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -1
  94. package/lib/types/equipment/item/GemOrPreciousStone.d.ts +2 -2
  95. package/lib/types/equipment/item/IlluminationLightSource.d.ts +3 -3
  96. package/lib/types/equipment/item/IlluminationRefillsOrSupplies.d.ts +1 -1
  97. package/lib/types/equipment/item/Jewelry.d.ts +3 -3
  98. package/lib/types/equipment/item/Liebesspielzeug.d.ts +1 -1
  99. package/lib/types/equipment/item/LuxuryGood.d.ts +1 -1
  100. package/lib/types/equipment/item/MagicalArtifact.d.ts +2 -2
  101. package/lib/types/equipment/item/MusicalInstrument.d.ts +1 -1
  102. package/lib/types/equipment/item/OrienteeringAid.d.ts +1 -1
  103. package/lib/types/equipment/item/Poison.d.ts +26 -26
  104. package/lib/types/equipment/item/RopeOrChain.d.ts +1 -1
  105. package/lib/types/equipment/item/Stationary.d.ts +1 -1
  106. package/lib/types/equipment/item/ThievesTool.d.ts +1 -1
  107. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +3 -3
  108. package/lib/types/equipment/item/TravelGearOrTool.d.ts +1 -1
  109. package/lib/types/equipment/item/Vehicle.d.ts +1 -1
  110. package/lib/types/equipment/item/Weapon.d.ts +9 -9
  111. package/lib/types/equipment/item/WeaponAccessory.d.ts +1 -1
  112. package/lib/types/equipment/item/_Herbary.d.ts +1 -1
  113. package/lib/types/equipment/item/_Item.d.ts +12 -12
  114. package/lib/types/equipment/item/_MeleeWeapon.d.ts +7 -7
  115. package/lib/types/equipment/item/_RangedWeapon.d.ts +6 -6
  116. package/lib/types/equipment/item/_Weapon.d.ts +5 -5
  117. package/lib/types/equipment/item/sub/ArmorType.d.ts +2 -2
  118. package/lib/types/equipment/item/sub/Reach.d.ts +2 -2
  119. package/lib/types/magicalActions/AnimistPower.d.ts +16 -16
  120. package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +2 -2
  121. package/lib/types/magicalActions/Curse.d.ts +10 -10
  122. package/lib/types/magicalActions/DominationRitual.d.ts +9 -9
  123. package/lib/types/magicalActions/ElvenMagicalSong.d.ts +7 -7
  124. package/lib/types/magicalActions/GeodeRitual.d.ts +10 -10
  125. package/lib/types/magicalActions/JesterTrick.d.ts +9 -9
  126. package/lib/types/magicalActions/MagicalDance.d.ts +6 -6
  127. package/lib/types/magicalActions/MagicalMelody.d.ts +6 -6
  128. package/lib/types/magicalActions/MagicalRune.d.ts +22 -22
  129. package/lib/types/magicalActions/ZibiljaRitual.d.ts +3 -3
  130. package/lib/types/magicalActions/_MusicTradition.d.ts +3 -3
  131. package/lib/types/magicalActions/_SkillReference.d.ts +1 -1
  132. package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +1 -1
  133. package/lib/types/prerequisites/DisplayOption.d.ts +2 -2
  134. package/lib/types/prerequisites/PrerequisiteGroups.d.ts +15 -15
  135. package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +1 -1
  136. package/lib/types/prerequisites/single/AncestorBloodPrerequisite.d.ts +1 -1
  137. package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +1 -1
  138. package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +1 -1
  139. package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +4 -4
  140. package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +1 -1
  141. package/lib/types/prerequisites/single/PactPrerequisite.d.ts +1 -1
  142. package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +1 -1
  143. package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +1 -1
  144. package/lib/types/prerequisites/single/RacePrerequisite.d.ts +1 -1
  145. package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +6 -6
  146. package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +1 -1
  147. package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +1 -1
  148. package/lib/types/prerequisites/single/RulePrerequisite.d.ts +1 -1
  149. package/lib/types/prerequisites/single/SexPrerequisite.d.ts +1 -1
  150. package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +1 -1
  151. package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +1 -1
  152. package/lib/types/prerequisites/single/StatePrerequisite.d.ts +1 -1
  153. package/lib/types/prerequisites/single/TextPrerequisite.d.ts +2 -2
  154. package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +2 -2
  155. package/lib/types/rule/CoreRule.d.ts +11 -11
  156. package/lib/types/rule/FocusRule.d.ts +2 -2
  157. package/lib/types/rule/FocusRule_Subject.d.ts +2 -2
  158. package/lib/types/rule/OptionalRule.d.ts +2 -2
  159. package/lib/types/source/Publication.d.ts +2 -2
  160. package/lib/types/source/_Erratum.d.ts +2 -2
  161. package/lib/types/source/_PublicationRef.d.ts +13 -13
  162. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +2 -2
  163. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +2 -2
  164. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +2 -2
  165. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +2 -2
  166. package/lib/types/specialAbility/AncestorGlyph.d.ts +2 -2
  167. package/lib/types/specialAbility/BlessedTradition.d.ts +8 -8
  168. package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +2 -2
  169. package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +2 -2
  170. package/lib/types/specialAbility/CombatSpecialAbility.d.ts +2 -2
  171. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -2
  172. package/lib/types/specialAbility/CommandSpecialAbility.d.ts +1 -1
  173. package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +2 -2
  174. package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +2 -2
  175. package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +2 -2
  176. package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +2 -2
  177. package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +2 -2
  178. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +2 -2
  179. package/lib/types/specialAbility/LycantropicGift.d.ts +2 -2
  180. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +2 -2
  181. package/lib/types/specialAbility/MagicalSign.d.ts +2 -2
  182. package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +2 -2
  183. package/lib/types/specialAbility/MagicalTradition.d.ts +3 -3
  184. package/lib/types/specialAbility/PactGift.d.ts +9 -9
  185. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +2 -2
  186. package/lib/types/specialAbility/Sermon.d.ts +2 -2
  187. package/lib/types/specialAbility/SexSpecialAbility.d.ts +2 -2
  188. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +2 -2
  189. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +2 -2
  190. package/lib/types/specialAbility/VampiricGift.d.ts +2 -2
  191. package/lib/types/specialAbility/Vision.d.ts +2 -2
  192. package/lib/types/specialAbility/_Tradition.d.ts +1 -1
  193. package/lib/types/specialAbility/sub/Language.d.ts +8 -8
  194. package/lib/types/specialAbility/sub/Script.d.ts +2 -2
  195. package/lib/types/specialAbility/sub/TradeSecret.d.ts +2 -2
  196. package/lib/types/specialAbility/sub/_LanguageScript.d.ts +1 -1
  197. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +2 -2
  198. package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +2 -2
  199. package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +2 -2
  200. package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +3 -3
  201. package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +2 -2
  202. package/lib/types/traditionArtifacts/DaggerRitual.d.ts +6 -6
  203. package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +2 -2
  204. package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +2 -2
  205. package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +2 -2
  206. package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +2 -2
  207. package/lib/types/traditionArtifacts/RingEnchantment.d.ts +2 -2
  208. package/lib/types/traditionArtifacts/SickleRitual.d.ts +2 -2
  209. package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +2 -2
  210. package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +2 -2
  211. package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +2 -2
  212. package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +2 -2
  213. package/lib/types/traditionArtifacts/WandEnchantment.d.ts +2 -2
  214. package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +2 -2
  215. package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +4 -4
  216. package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +2 -2
  217. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +2 -2
  218. package/lib/types/traditionArtifacts/sub/Brew.d.ts +2 -2
  219. package/lib/validation/schema.d.ts +5 -5
  220. package/package.json +5 -5
@@ -9,7 +9,7 @@ import { GeneralPrerequisites } from "../../_Prerequisite.js";
9
9
  /**
10
10
  * @title Trade Secret
11
11
  */
12
- export declare type TradeSecret = {
12
+ export type TradeSecret = {
13
13
  /**
14
14
  * The trade secret's identifier. An unique, increasing integer.
15
15
  * @integer
@@ -33,7 +33,7 @@ export declare type TradeSecret = {
33
33
  */
34
34
  translations: LocaleMap<TradeSecretTranslation>;
35
35
  };
36
- export declare type TradeSecretTranslation = {
36
+ export type TradeSecretTranslation = {
37
37
  /**
38
38
  * The name of the trade secret.
39
39
  */
@@ -1,5 +1,5 @@
1
1
  import { ContinentIdentifier } from "../../_Identifier.js";
2
- export declare type AssociatedContinent = {
2
+ export type AssociatedContinent = {
3
3
  /**
4
4
  * The continent's identifier.
5
5
  */
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Arcane Orb Enchantment
11
11
  */
12
- export declare type ArcaneOrbEnchantment = {
12
+ export type ArcaneOrbEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type ArcaneOrbEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<ArcaneOrbEnchantmentTranslation>;
27
27
  };
28
- export declare type ArcaneOrbEnchantmentTranslation = {
28
+ export type ArcaneOrbEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Attire Enchantment
11
11
  */
12
- export declare type AttireEnchantment = {
12
+ export type AttireEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type AttireEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<AttireEnchantmentTranslation>;
27
27
  };
28
- export declare type AttireEnchantmentTranslation = {
28
+ export type AttireEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Bowl Enchantment
11
11
  */
12
- export declare type BowlEnchantment = {
12
+ export type BowlEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type BowlEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<BowlEnchantmentTranslation>;
27
27
  };
28
- export declare type BowlEnchantmentTranslation = {
28
+ export type BowlEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Cauldron Enchantment
11
11
  */
12
- export declare type CauldronEnchantment = {
12
+ export type CauldronEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -30,7 +30,7 @@ export declare type CauldronEnchantment = {
30
30
  */
31
31
  translations: LocaleMap<CauldronEnchantmentTranslation>;
32
32
  };
33
- export declare type BrewReference = {
33
+ export type BrewReference = {
34
34
  /**
35
35
  * The brew's identifier.
36
36
  * @integer
@@ -39,7 +39,7 @@ export declare type BrewReference = {
39
39
  */
40
40
  id: number;
41
41
  };
42
- export declare type CauldronEnchantmentTranslation = {
42
+ export type CauldronEnchantmentTranslation = {
43
43
  name: Activatable.Name;
44
44
  name_in_library?: Activatable.NameInLibrary;
45
45
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Chronicle Enchantment
11
11
  */
12
- export declare type ChronicleEnchantment = {
12
+ export type ChronicleEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type ChronicleEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<ChronicleEnchantmentTranslation>;
27
27
  };
28
- export declare type ChronicleEnchantmentTranslation = {
28
+ export type ChronicleEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -10,7 +10,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
10
10
  /**
11
11
  * @title Dagger Ritual
12
12
  */
13
- export declare type DaggerRitual = {
13
+ export type DaggerRitual = {
14
14
  id: Activatable.Id;
15
15
  levels?: Activatable.Levels;
16
16
  select_options?: Activatable.SelectOptions;
@@ -26,22 +26,22 @@ export declare type DaggerRitual = {
26
26
  */
27
27
  translations: LocaleMap<DaggerRitualTranslation>;
28
28
  };
29
- export declare type DaggerRitualCost = {
29
+ export type DaggerRitualCost = {
30
30
  tag: "ArcaneEnergyCost";
31
31
  arcane_energy_cost: DaggerRitualArcaneEnergyCost;
32
32
  } | {
33
33
  tag: "BindingCost";
34
34
  binding_cost: BindingCost;
35
35
  };
36
- export declare type DaggerRitualArcaneEnergyCost = {
36
+ export type DaggerRitualArcaneEnergyCost = {
37
37
  ae_cost: ArcaneEnergyCost;
38
38
  lp_cost?: LifePointsCost;
39
39
  };
40
- export declare type LifePointsCost = {
40
+ export type LifePointsCost = {
41
41
  tag: "Fixed";
42
42
  fixed: FixedLifePointsCost;
43
43
  };
44
- export declare type FixedLifePointsCost = {
44
+ export type FixedLifePointsCost = {
45
45
  /**
46
46
  * The LP cost value.
47
47
  * @integer
@@ -49,7 +49,7 @@ export declare type FixedLifePointsCost = {
49
49
  */
50
50
  value: number;
51
51
  };
52
- export declare type DaggerRitualTranslation = {
52
+ export type DaggerRitualTranslation = {
53
53
  name: Activatable.Name;
54
54
  name_in_library?: Activatable.NameInLibrary;
55
55
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Fool's Hat Enchantment
11
11
  */
12
- export declare type FoolsHatEnchantment = {
12
+ export type FoolsHatEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type FoolsHatEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<FoolsHatEnchantmentTranslation>;
27
27
  };
28
- export declare type FoolsHatEnchantmentTranslation = {
28
+ export type FoolsHatEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Instrument Enchantment
11
11
  */
12
- export declare type InstrumentEnchantment = {
12
+ export type InstrumentEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type InstrumentEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<InstrumentEnchantmentTranslation>;
27
27
  };
28
- export declare type InstrumentEnchantmentTranslation = {
28
+ export type InstrumentEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Krallenkettenzauber
11
11
  */
12
- export declare type Krallenkettenzauber = {
12
+ export type Krallenkettenzauber = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type Krallenkettenzauber = {
25
25
  */
26
26
  translations: LocaleMap<KrallenkettenzauberTranslation>;
27
27
  };
28
- export declare type KrallenkettenzauberTranslation = {
28
+ export type KrallenkettenzauberTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Orb Enchantment
11
11
  */
12
- export declare type OrbEnchantment = {
12
+ export type OrbEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type OrbEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<OrbEnchantmentTranslation>;
27
27
  };
28
- export declare type OrbEnchantmentTranslation = {
28
+ export type OrbEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Ring Enchantment
11
11
  */
12
- export declare type RingEnchantment = {
12
+ export type RingEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type RingEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<RingEnchantmentTranslation>;
27
27
  };
28
- export declare type RingEnchantmentTranslation = {
28
+ export type RingEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Sickle Ritual
11
11
  */
12
- export declare type SickleRitual = {
12
+ export type SickleRitual = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type SickleRitual = {
25
25
  */
26
26
  translations: LocaleMap<SickleRitualTranslation>;
27
27
  };
28
- export declare type SickleRitualTranslation = {
28
+ export type SickleRitualTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Spell-Sword Enchantment
11
11
  */
12
- export declare type SpellSwordEnchantment = {
12
+ export type SpellSwordEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type SpellSwordEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<SpellSwordEnchantmentTranslation>;
27
27
  };
28
- export declare type SpellSwordEnchantmentTranslation = {
28
+ export type SpellSwordEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -10,7 +10,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
10
10
  /**
11
11
  * @title Staff Enchantment
12
12
  */
13
- export declare type StaffEnchantment = {
13
+ export type StaffEnchantment = {
14
14
  id: Activatable.Id;
15
15
  levels?: Activatable.Levels;
16
16
  select_options?: Activatable.SelectOptions;
@@ -26,7 +26,7 @@ export declare type StaffEnchantment = {
26
26
  */
27
27
  translations: LocaleMap<StaffEnchantmentTranslation>;
28
28
  };
29
- export declare type StaffEnchantmentTranslation = {
29
+ export type StaffEnchantmentTranslation = {
30
30
  name: Activatable.Name;
31
31
  name_in_library?: Activatable.NameInLibrary;
32
32
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Toy Enchantment
11
11
  */
12
- export declare type ToyEnchantment = {
12
+ export type ToyEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type ToyEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<ToyEnchantmentTranslation>;
27
27
  };
28
- export declare type ToyEnchantmentTranslation = {
28
+ export type ToyEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Trinkhornzauber
11
11
  */
12
- export declare type Trinkhornzauber = {
12
+ export type Trinkhornzauber = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type Trinkhornzauber = {
25
25
  */
26
26
  translations: LocaleMap<TrinkhornzauberTranslation>;
27
27
  };
28
- export declare type TrinkhornzauberTranslation = {
28
+ export type TrinkhornzauberTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Wand Enchantment
11
11
  */
12
- export declare type WandEnchantment = {
12
+ export type WandEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -24,7 +24,7 @@ export declare type WandEnchantment = {
24
24
  */
25
25
  translations: LocaleMap<WandEnchantmentTranslation>;
26
26
  };
27
- export declare type WandEnchantmentTranslation = {
27
+ export type WandEnchantmentTranslation = {
28
28
  name: Activatable.Name;
29
29
  name_in_library?: Activatable.NameInLibrary;
30
30
  effect: Activatable.Effect;
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Weapon Enchantment
11
11
  */
12
- export declare type WeaponEnchantment = {
12
+ export type WeaponEnchantment = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -25,7 +25,7 @@ export declare type WeaponEnchantment = {
25
25
  */
26
26
  translations: LocaleMap<WeaponEnchantmentTranslation>;
27
27
  };
28
- export declare type WeaponEnchantmentTranslation = {
28
+ export type WeaponEnchantmentTranslation = {
29
29
  name: Activatable.Name;
30
30
  name_in_library?: Activatable.NameInLibrary;
31
31
  effect: Activatable.Effect;
@@ -6,7 +6,7 @@ import { NonEmptyString } from "../../_NonEmptyString.js";
6
6
  /**
7
7
  * @title Animal Shape
8
8
  */
9
- export declare type AnimalShape = {
9
+ export type AnimalShape = {
10
10
  /**
11
11
  * The animal shape's identifier. An unique, increasing integer.
12
12
  * @integer
@@ -26,7 +26,7 @@ export declare type AnimalShape = {
26
26
  */
27
27
  translations: LocaleMap<AnimalShapeTranslation>;
28
28
  };
29
- export declare type AnimalShapePathReference = {
29
+ export type AnimalShapePathReference = {
30
30
  /**
31
31
  * The identifier of the animal shape's path.
32
32
  * @integer
@@ -34,7 +34,7 @@ export declare type AnimalShapePathReference = {
34
34
  */
35
35
  id: number;
36
36
  };
37
- export declare type AnimalShapeSizeReference = {
37
+ export type AnimalShapeSizeReference = {
38
38
  /**
39
39
  * The identifier of the animal shape's size.
40
40
  * @integer
@@ -42,7 +42,7 @@ export declare type AnimalShapeSizeReference = {
42
42
  */
43
43
  id: number;
44
44
  };
45
- export declare type AnimalShapeTranslation = {
45
+ export type AnimalShapeTranslation = {
46
46
  /**
47
47
  * The animal shape name.
48
48
  */
@@ -6,7 +6,7 @@ import { NonEmptyString } from "../../_NonEmptyString.js";
6
6
  /**
7
7
  * @title Animal Shape Path
8
8
  */
9
- export declare type AnimalShapePath = {
9
+ export type AnimalShapePath = {
10
10
  /**
11
11
  * The animal shape path's identifier. An unique, increasing integer.
12
12
  * @integer
@@ -18,7 +18,7 @@ export declare type AnimalShapePath = {
18
18
  */
19
19
  translations: LocaleMap<AnimalShapePathTranslation>;
20
20
  };
21
- export declare type AnimalShapePathTranslation = {
21
+ export type AnimalShapePathTranslation = {
22
22
  /**
23
23
  * The animal shape path's name.
24
24
  */
@@ -6,7 +6,7 @@ import { NonEmptyString } from "../../_NonEmptyString.js";
6
6
  /**
7
7
  * @title Animal Shape Size
8
8
  */
9
- export declare type AnimalShapeSize = {
9
+ export type AnimalShapeSize = {
10
10
  /**
11
11
  * The animal shape's identifier. An unique, increasing integer.
12
12
  * @integer
@@ -30,7 +30,7 @@ export declare type AnimalShapeSize = {
30
30
  */
31
31
  translations: LocaleMap<AnimalShapeSizeTranslation>;
32
32
  };
33
- export declare type AnimalShapeSizeTranslation = {
33
+ export type AnimalShapeSizeTranslation = {
34
34
  /**
35
35
  * The animal shape size name.
36
36
  */
@@ -6,7 +6,7 @@ import { NonEmptyString } from "../../_NonEmptyString.js";
6
6
  /**
7
7
  * @title Brew
8
8
  */
9
- export declare type Brew = {
9
+ export type Brew = {
10
10
  /**
11
11
  * The brew's identifier. An unique, increasing integer.
12
12
  * @integer
@@ -18,7 +18,7 @@ export declare type Brew = {
18
18
  */
19
19
  translations: LocaleMap<BrewTranslation>;
20
20
  };
21
- export declare type BrewTranslation = {
21
+ export type BrewTranslation = {
22
22
  /**
23
23
  * The brew name.
24
24
  */
@@ -1,22 +1,22 @@
1
1
  import Ajv, { DefinedError } from "ajv";
2
- export declare type FileNameError = {
2
+ export type FileNameError = {
3
3
  keyword: "filename";
4
4
  instancePath: string;
5
5
  message: string;
6
6
  };
7
- export declare type TypeValidationResult<T> = {
7
+ export type TypeValidationResult<T> = {
8
8
  tag: "Ok";
9
9
  value: T;
10
10
  } | {
11
11
  tag: "Error";
12
12
  errors: TypeValidationResultErrors;
13
13
  };
14
- export declare type TypeValidationResultErrors = {
14
+ export type TypeValidationResultErrors = {
15
15
  fileNameError?: FileNameError;
16
16
  schemaErrors: DefinedError[];
17
17
  };
18
- export declare type TypeValidator<T> = (validator: Ajv, data: unknown, filePath: string) => TypeValidationResult<T>;
19
- export declare type TypeValidatorOptions = {
18
+ export type TypeValidator<T> = (validator: Ajv, data: unknown, filePath: string) => TypeValidationResult<T>;
19
+ export type TypeValidatorOptions = {
20
20
  ignoreFileNamePattern?: boolean;
21
21
  };
22
22
  export declare const validateSchemaCreator: <T>(importMetaUrl: string, { ignoreFileNamePattern }?: TypeValidatorOptions) => TypeValidator<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optolith-database-schema",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
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",
@@ -22,15 +22,15 @@
22
22
  "author": "Lukas Obermann",
23
23
  "license": "MPL-2.0",
24
24
  "dependencies": {
25
- "ajv": "^8.11.0",
25
+ "ajv": "^8.12.0",
26
26
  "ajv-formats": "^2.1.1",
27
- "yaml": "^2.1.1"
27
+ "yaml": "^2.2.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/node": "^18.0.0",
30
+ "@types/node": "^18.16.3",
31
31
  "optolith-tsjsonschemamd": "^0.5.20",
32
32
  "standard-version": "^9.5.0",
33
- "typescript": "^4.7.4"
33
+ "typescript": "^5.0.4"
34
34
  },
35
35
  "repository": "github:elyukai/optolith-database-schema",
36
36
  "bugs": {