optolith-database-schema 0.28.0 → 0.28.2

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 (452) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen/types.d.ts +5 -0
  3. package/lib/main.d.ts +1 -1
  4. package/lib/types/Advantage.d.ts +1055 -1053
  5. package/lib/types/Advantage.js +12 -12
  6. package/lib/types/AnimalDisease.d.ts +70 -69
  7. package/lib/types/AnimalDisease.js +8 -8
  8. package/lib/types/AnimalType.d.ts +4 -4
  9. package/lib/types/AnimalType.js +6 -6
  10. package/lib/types/ArcaneBardTradition.d.ts +23 -23
  11. package/lib/types/ArcaneBardTradition.js +2 -2
  12. package/lib/types/ArcaneDancerTradition.d.ts +23 -23
  13. package/lib/types/ArcaneDancerTradition.js +2 -2
  14. package/lib/types/Aspect.d.ts +5 -5
  15. package/lib/types/Aspect.js +8 -8
  16. package/lib/types/Attribute.d.ts +7 -7
  17. package/lib/types/Attribute.js +12 -12
  18. package/lib/types/Blessing.d.ts +79 -78
  19. package/lib/types/Blessing.js +43 -43
  20. package/lib/types/Cantrip.d.ts +98 -97
  21. package/lib/types/Cantrip.js +69 -69
  22. package/lib/types/Ceremony.d.ts +501 -499
  23. package/lib/types/Ceremony.js +38 -38
  24. package/lib/types/CombatTechnique.d.ts +113 -111
  25. package/lib/types/CombatTechnique.js +52 -50
  26. package/lib/types/Condition.d.ts +38 -37
  27. package/lib/types/Condition.js +12 -12
  28. package/lib/types/Continent.d.ts +4 -4
  29. package/lib/types/Continent.js +6 -6
  30. package/lib/types/Culture.d.ts +119 -118
  31. package/lib/types/Culture.js +157 -157
  32. package/lib/types/DerivedCharacteristic.d.ts +58 -57
  33. package/lib/types/DerivedCharacteristic.js +22 -22
  34. package/lib/types/Disadvantage.d.ts +989 -987
  35. package/lib/types/Disadvantage.js +14 -14
  36. package/lib/types/Disease.d.ts +84 -83
  37. package/lib/types/Disease.js +6 -6
  38. package/lib/types/Element.d.ts +4 -4
  39. package/lib/types/Element.js +6 -6
  40. package/lib/types/ExperienceLevel.d.ts +11 -11
  41. package/lib/types/ExperienceLevel.js +20 -20
  42. package/lib/types/EyeColor.d.ts +4 -4
  43. package/lib/types/EyeColor.js +6 -6
  44. package/lib/types/FamiliarsTrick.d.ts +141 -140
  45. package/lib/types/FamiliarsTrick.js +92 -88
  46. package/lib/types/HairColor.d.ts +4 -4
  47. package/lib/types/HairColor.js +6 -6
  48. package/lib/types/HomunculusType.d.ts +4 -4
  49. package/lib/types/HomunculusType.js +6 -6
  50. package/lib/types/Lessons.d.ts +129 -128
  51. package/lib/types/Lessons.js +98 -92
  52. package/lib/types/LiturgicalChant.d.ts +501 -499
  53. package/lib/types/LiturgicalChant.js +38 -38
  54. package/lib/types/Locale.d.ts +10 -10
  55. package/lib/types/Locale.js +16 -15
  56. package/lib/types/MetaCondition.d.ts +38 -37
  57. package/lib/types/MetaCondition.js +12 -12
  58. package/lib/types/PactCategory.d.ts +52 -51
  59. package/lib/types/PactCategory.js +24 -24
  60. package/lib/types/Patron.d.ts +74 -73
  61. package/lib/types/Patron.js +86 -83
  62. package/lib/types/PatronCategory.d.ts +5 -5
  63. package/lib/types/PatronCategory.js +8 -8
  64. package/lib/types/PersonalityTrait.d.ts +60 -59
  65. package/lib/types/PersonalityTrait.js +22 -22
  66. package/lib/types/Profession.d.ts +1835 -1833
  67. package/lib/types/Profession.js +259 -255
  68. package/lib/types/Property.d.ts +5 -5
  69. package/lib/types/Property.js +8 -8
  70. package/lib/types/Race.d.ts +156 -155
  71. package/lib/types/Race.js +130 -129
  72. package/lib/types/Region.d.ts +4 -4
  73. package/lib/types/Region.js +6 -6
  74. package/lib/types/Ritual.d.ts +503 -501
  75. package/lib/types/Ritual.js +37 -37
  76. package/lib/types/Service.d.ts +40 -39
  77. package/lib/types/Service.js +15 -15
  78. package/lib/types/SexPractice.d.ts +37 -36
  79. package/lib/types/SexPractice.js +14 -14
  80. package/lib/types/Skill.d.ts +84 -83
  81. package/lib/types/Skill.js +51 -51
  82. package/lib/types/SkillGroup.d.ts +7 -7
  83. package/lib/types/SkillGroup.js +12 -12
  84. package/lib/types/SkillModificationLevel.d.ts +22 -22
  85. package/lib/types/SkillModificationLevel.js +41 -41
  86. package/lib/types/SocialStatus.d.ts +5 -5
  87. package/lib/types/SocialStatus.js +8 -8
  88. package/lib/types/Spell.d.ts +503 -501
  89. package/lib/types/Spell.js +37 -37
  90. package/lib/types/State.d.ts +37 -36
  91. package/lib/types/State.js +10 -10
  92. package/lib/types/Talisman.d.ts +81 -80
  93. package/lib/types/Talisman.js +50 -48
  94. package/lib/types/TargetCategory.d.ts +5 -5
  95. package/lib/types/TargetCategory.js +7 -7
  96. package/lib/types/_Activatable.d.ts +9 -9
  97. package/lib/types/_Activatable.js +17 -17
  98. package/lib/types/_ActivatableAdvanced.d.ts +41 -41
  99. package/lib/types/_ActivatableAdvanced.js +48 -44
  100. package/lib/types/_ActivatableAdventurePointsValue.d.ts +146 -146
  101. package/lib/types/_ActivatableAdventurePointsValue.js +62 -62
  102. package/lib/types/_ActivatableAutomatic.d.ts +67 -67
  103. package/lib/types/_ActivatableAutomatic.js +30 -30
  104. package/lib/types/_ActivatableCombat.d.ts +94 -94
  105. package/lib/types/_ActivatableCombat.js +180 -174
  106. package/lib/types/_ActivatableNonMundane.d.ts +301 -301
  107. package/lib/types/_ActivatableNonMundane.js +204 -202
  108. package/lib/types/_ActivatableSelectOptionCategory.d.ts +1256 -1256
  109. package/lib/types/_ActivatableSelectOptionCategory.js +250 -226
  110. package/lib/types/_ActivatableSelectOptions.d.ts +960 -958
  111. package/lib/types/_ActivatableSelectOptions.js +34 -34
  112. package/lib/types/_ActivatableSkill.d.ts +880 -880
  113. package/lib/types/_ActivatableSkill.js +47 -43
  114. package/lib/types/_ActivatableSkillApplicationsAndUses.d.ts +97 -97
  115. package/lib/types/_ActivatableSkillApplicationsAndUses.js +27 -27
  116. package/lib/types/_ActivatableSkillCastingTime.d.ts +52 -52
  117. package/lib/types/_ActivatableSkillCastingTime.js +40 -40
  118. package/lib/types/_ActivatableSkillCheckResultBased.d.ts +18 -18
  119. package/lib/types/_ActivatableSkillCheckResultBased.js +19 -19
  120. package/lib/types/_ActivatableSkillCost.d.ts +208 -208
  121. package/lib/types/_ActivatableSkillCost.js +113 -113
  122. package/lib/types/_ActivatableSkillDuration.d.ts +159 -159
  123. package/lib/types/_ActivatableSkillDuration.js +69 -69
  124. package/lib/types/_ActivatableSkillEffect.d.ts +12 -12
  125. package/lib/types/_ActivatableSkillEffect.js +28 -28
  126. package/lib/types/_ActivatableSkillRange.d.ts +46 -46
  127. package/lib/types/_ActivatableSkillRange.js +50 -50
  128. package/lib/types/_ActivatableSkillTargetCategory.d.ts +11 -11
  129. package/lib/types/_ActivatableSkillTargetCategory.js +15 -15
  130. package/lib/types/_AlternativeNames.d.ts +4 -4
  131. package/lib/types/_AlternativeNames.js +7 -7
  132. package/lib/types/_ArcaneTradition.d.ts +23 -23
  133. package/lib/types/_ArcaneTradition.js +7 -7
  134. package/lib/types/_Blessed.d.ts +6 -6
  135. package/lib/types/_Blessed.js +9 -9
  136. package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +6 -6
  137. package/lib/types/_CommonnessRatedAdvantageDisadvantage.js +9 -9
  138. package/lib/types/_Dice.d.ts +5 -5
  139. package/lib/types/_Dice.js +9 -9
  140. package/lib/types/_DiseasePoison.d.ts +47 -47
  141. package/lib/types/_DiseasePoison.js +50 -50
  142. package/lib/types/_Enhancements.d.ts +125 -123
  143. package/lib/types/_Enhancements.js +22 -22
  144. package/lib/types/_Identifier.d.ts +1 -1
  145. package/lib/types/_Identifier.js +1 -1
  146. package/lib/types/_IdentifierGroup.d.ts +328 -328
  147. package/lib/types/_IdentifierGroup.js +328 -328
  148. package/lib/types/_ImprovementCost.d.ts +6 -6
  149. package/lib/types/_ImprovementCost.js +6 -6
  150. package/lib/types/_Influence.d.ts +58 -57
  151. package/lib/types/_Influence.js +18 -18
  152. package/lib/types/_MathExpression.d.ts +5 -5
  153. package/lib/types/_MathExpression.js +12 -12
  154. package/lib/types/_Prerequisite.d.ts +333 -333
  155. package/lib/types/_Prerequisite.js +89 -73
  156. package/lib/types/_ResponsiveText.d.ts +10 -10
  157. package/lib/types/_ResponsiveText.js +23 -17
  158. package/lib/types/_Sex.d.ts +4 -4
  159. package/lib/types/_Sex.js +4 -4
  160. package/lib/types/_SizeCategory.d.ts +14 -14
  161. package/lib/types/_SizeCategory.js +15 -15
  162. package/lib/types/_SkillCheck.d.ts +10 -10
  163. package/lib/types/_SkillCheck.js +11 -11
  164. package/lib/types/_Spellwork.d.ts +12 -12
  165. package/lib/types/_Spellwork.js +15 -15
  166. package/lib/types/equipment/EquipmentPackage.d.ts +68 -67
  167. package/lib/types/equipment/EquipmentPackage.js +14 -14
  168. package/lib/types/equipment/item/Ammunition.d.ts +52 -51
  169. package/lib/types/equipment/item/Ammunition.js +16 -16
  170. package/lib/types/equipment/item/Animal.d.ts +52 -51
  171. package/lib/types/equipment/item/Animal.js +5 -5
  172. package/lib/types/equipment/item/AnimalCare.d.ts +61 -60
  173. package/lib/types/equipment/item/AnimalCare.js +20 -20
  174. package/lib/types/equipment/item/Armor.d.ts +122 -121
  175. package/lib/types/equipment/item/Armor.js +79 -79
  176. package/lib/types/equipment/item/BandageOrRemedy.d.ts +143 -142
  177. package/lib/types/equipment/item/BandageOrRemedy.js +13 -13
  178. package/lib/types/equipment/item/Book.d.ts +103 -102
  179. package/lib/types/equipment/item/Book.js +65 -65
  180. package/lib/types/equipment/item/CeremonialItem.d.ts +144 -143
  181. package/lib/types/equipment/item/CeremonialItem.js +14 -14
  182. package/lib/types/equipment/item/Clothes.d.ts +143 -142
  183. package/lib/types/equipment/item/Clothes.js +13 -13
  184. package/lib/types/equipment/item/ClothingPackage.d.ts +45 -44
  185. package/lib/types/equipment/item/ClothingPackage.js +6 -6
  186. package/lib/types/equipment/item/Container.d.ts +143 -142
  187. package/lib/types/equipment/item/Container.js +13 -13
  188. package/lib/types/equipment/item/Elixir.d.ts +80 -79
  189. package/lib/types/equipment/item/Elixir.js +35 -32
  190. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +152 -151
  191. package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +11 -11
  192. package/lib/types/equipment/item/GemOrPreciousStone.d.ts +54 -53
  193. package/lib/types/equipment/item/GemOrPreciousStone.js +20 -20
  194. package/lib/types/equipment/item/IlluminationLightSource.d.ts +149 -148
  195. package/lib/types/equipment/item/IlluminationLightSource.js +26 -26
  196. package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +143 -142
  197. package/lib/types/equipment/item/IlluminationRefillOrSupply.js +13 -13
  198. package/lib/types/equipment/item/Jewelry.d.ts +56 -55
  199. package/lib/types/equipment/item/Jewelry.js +17 -17
  200. package/lib/types/equipment/item/Laboratory.d.ts +59 -58
  201. package/lib/types/equipment/item/Laboratory.js +11 -11
  202. package/lib/types/equipment/item/Liebesspielzeug.d.ts +143 -142
  203. package/lib/types/equipment/item/Liebesspielzeug.js +13 -13
  204. package/lib/types/equipment/item/LuxuryGood.d.ts +143 -142
  205. package/lib/types/equipment/item/LuxuryGood.js +13 -13
  206. package/lib/types/equipment/item/MagicalArtifact.d.ts +146 -145
  207. package/lib/types/equipment/item/MagicalArtifact.js +30 -30
  208. package/lib/types/equipment/item/MusicalInstrument.d.ts +143 -142
  209. package/lib/types/equipment/item/MusicalInstrument.js +13 -13
  210. package/lib/types/equipment/item/Newspaper.d.ts +48 -47
  211. package/lib/types/equipment/item/Newspaper.js +12 -12
  212. package/lib/types/equipment/item/OrienteeringAid.d.ts +142 -141
  213. package/lib/types/equipment/item/Poison.d.ts +428 -427
  214. package/lib/types/equipment/item/Poison.js +215 -210
  215. package/lib/types/equipment/item/RopeOrChain.d.ts +142 -141
  216. package/lib/types/equipment/item/Stationery.d.ts +142 -141
  217. package/lib/types/equipment/item/ThievesTool.d.ts +142 -141
  218. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +60 -59
  219. package/lib/types/equipment/item/ToolOfTheTrade.js +11 -11
  220. package/lib/types/equipment/item/TravelGearOrTool.d.ts +143 -142
  221. package/lib/types/equipment/item/TravelGearOrTool.js +13 -13
  222. package/lib/types/equipment/item/Vehicle.d.ts +58 -57
  223. package/lib/types/equipment/item/Vehicle.js +9 -9
  224. package/lib/types/equipment/item/Weapon.d.ts +160 -159
  225. package/lib/types/equipment/item/Weapon.js +53 -49
  226. package/lib/types/equipment/item/WeaponAccessory.d.ts +143 -142
  227. package/lib/types/equipment/item/WeaponAccessory.js +13 -13
  228. package/lib/types/equipment/item/_Herbary.d.ts +34 -34
  229. package/lib/types/equipment/item/_Herbary.js +19 -19
  230. package/lib/types/equipment/item/_Item.d.ts +294 -293
  231. package/lib/types/equipment/item/_Item.js +102 -102
  232. package/lib/types/equipment/item/_MeleeWeapon.d.ts +47 -47
  233. package/lib/types/equipment/item/_MeleeWeapon.js +43 -43
  234. package/lib/types/equipment/item/_RangedWeapon.d.ts +25 -25
  235. package/lib/types/equipment/item/_RangedWeapon.js +39 -39
  236. package/lib/types/equipment/item/_Weapon.d.ts +10 -9
  237. package/lib/types/equipment/item/_Weapon.js +19 -19
  238. package/lib/types/equipment/item/sub/ArmorType.d.ts +5 -5
  239. package/lib/types/equipment/item/sub/ArmorType.js +8 -8
  240. package/lib/types/equipment/item/sub/Reach.d.ts +4 -4
  241. package/lib/types/equipment/item/sub/Reach.js +6 -6
  242. package/lib/types/magicalActions/AnimistPower.d.ts +228 -226
  243. package/lib/types/magicalActions/AnimistPower.js +79 -77
  244. package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +23 -23
  245. package/lib/types/magicalActions/AnimistPower_Tribe.js +8 -8
  246. package/lib/types/magicalActions/Curse.d.ts +163 -162
  247. package/lib/types/magicalActions/Curse.js +54 -54
  248. package/lib/types/magicalActions/DominationRitual.d.ts +153 -152
  249. package/lib/types/magicalActions/DominationRitual.js +53 -53
  250. package/lib/types/magicalActions/ElvenMagicalSong.d.ts +92 -91
  251. package/lib/types/magicalActions/ElvenMagicalSong.js +45 -45
  252. package/lib/types/magicalActions/GeodeRitual.d.ts +165 -164
  253. package/lib/types/magicalActions/GeodeRitual.js +57 -57
  254. package/lib/types/magicalActions/JesterTrick.d.ts +231 -230
  255. package/lib/types/magicalActions/JesterTrick.js +67 -67
  256. package/lib/types/magicalActions/MagicalDance.d.ts +89 -88
  257. package/lib/types/magicalActions/MagicalDance.js +46 -46
  258. package/lib/types/magicalActions/MagicalMelody.d.ts +86 -85
  259. package/lib/types/magicalActions/MagicalMelody.js +44 -44
  260. package/lib/types/magicalActions/MagicalRune.d.ts +213 -212
  261. package/lib/types/magicalActions/MagicalRune.js +122 -117
  262. package/lib/types/magicalActions/ZibiljaRitual.d.ts +301 -300
  263. package/lib/types/magicalActions/ZibiljaRitual.js +36 -34
  264. package/lib/types/magicalActions/_MusicTradition.d.ts +12 -12
  265. package/lib/types/magicalActions/_MusicTradition.js +19 -19
  266. package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +16 -16
  267. package/lib/types/prerequisites/ConditionalPrerequisites.js +3 -3
  268. package/lib/types/prerequisites/DisplayOption.d.ts +9 -9
  269. package/lib/types/prerequisites/DisplayOption.js +11 -11
  270. package/lib/types/prerequisites/PrerequisiteGroups.d.ts +1099 -1099
  271. package/lib/types/prerequisites/PrerequisiteGroups.js +94 -86
  272. package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +100 -100
  273. package/lib/types/prerequisites/single/ActivatablePrerequisite.js +15 -15
  274. package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +13 -13
  275. package/lib/types/prerequisites/single/AnimistPowerPrerequisite.js +10 -10
  276. package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +11 -11
  277. package/lib/types/prerequisites/single/CulturePrerequisite.js +6 -6
  278. package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +3 -3
  279. package/lib/types/prerequisites/single/EnhancementPrerequisite.js +4 -4
  280. package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +12 -12
  281. package/lib/types/prerequisites/single/InfluencePrerequisite.js +8 -8
  282. package/lib/types/prerequisites/single/PactPrerequisite.d.ts +13 -13
  283. package/lib/types/prerequisites/single/PactPrerequisite.js +10 -10
  284. package/lib/types/prerequisites/single/PersonalityTraitPrerequisite.d.ts +12 -12
  285. package/lib/types/prerequisites/single/PersonalityTraitPrerequisite.js +8 -8
  286. package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +14 -14
  287. package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +12 -12
  288. package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +11 -11
  289. package/lib/types/prerequisites/single/PublicationPrerequisite.js +6 -6
  290. package/lib/types/prerequisites/single/RacePrerequisite.d.ts +12 -12
  291. package/lib/types/prerequisites/single/RacePrerequisite.js +8 -8
  292. package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +35 -35
  293. package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +38 -36
  294. package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +20 -20
  295. package/lib/types/prerequisites/single/RatedPrerequisite.js +9 -9
  296. package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +12 -12
  297. package/lib/types/prerequisites/single/RatedSumPrerequisite.js +9 -9
  298. package/lib/types/prerequisites/single/RulePrerequisite.d.ts +13 -13
  299. package/lib/types/prerequisites/single/RulePrerequisite.js +7 -7
  300. package/lib/types/prerequisites/single/SexPrerequisite.d.ts +13 -13
  301. package/lib/types/prerequisites/single/SexPrerequisite.js +7 -7
  302. package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +5 -5
  303. package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +8 -8
  304. package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +11 -11
  305. package/lib/types/prerequisites/single/SocialStatusPrerequisite.js +6 -6
  306. package/lib/types/prerequisites/single/StatePrerequisite.d.ts +11 -11
  307. package/lib/types/prerequisites/single/StatePrerequisite.js +6 -6
  308. package/lib/types/prerequisites/single/TextPrerequisite.d.ts +14 -14
  309. package/lib/types/prerequisites/single/TextPrerequisite.js +18 -18
  310. package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +25 -25
  311. package/lib/types/prerequisites/single/TraditionPrerequisite.js +19 -19
  312. package/lib/types/rule/AlternativeRule.d.ts +39 -38
  313. package/lib/types/rule/AlternativeRule.js +14 -14
  314. package/lib/types/rule/AlternativeRule_PlayerType.d.ts +4 -4
  315. package/lib/types/rule/AlternativeRule_PlayerType.js +6 -6
  316. package/lib/types/rule/CoreRule.d.ts +117 -116
  317. package/lib/types/rule/CoreRule.js +108 -106
  318. package/lib/types/rule/FocusRule.d.ts +59 -58
  319. package/lib/types/rule/FocusRule.js +17 -17
  320. package/lib/types/rule/FocusRule_Subject.d.ts +4 -4
  321. package/lib/types/rule/FocusRule_Subject.js +6 -6
  322. package/lib/types/rule/OptionalRule.d.ts +58 -57
  323. package/lib/types/rule/OptionalRule.js +16 -16
  324. package/lib/types/source/Publication.d.ts +41 -41
  325. package/lib/types/source/Publication.js +28 -28
  326. package/lib/types/source/_Erratum.d.ts +7 -7
  327. package/lib/types/source/_Erratum.js +9 -9
  328. package/lib/types/source/_PublicationRef.d.ts +117 -113
  329. package/lib/types/source/_PublicationRef.js +62 -58
  330. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +1075 -1073
  331. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +8 -8
  332. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +985 -983
  333. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +8 -8
  334. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +985 -983
  335. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +8 -8
  336. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +985 -983
  337. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +8 -8
  338. package/lib/types/specialAbility/AncestorGlyph.d.ts +938 -936
  339. package/lib/types/specialAbility/AncestorGlyph.js +10 -10
  340. package/lib/types/specialAbility/BlessedTradition.d.ts +1008 -1006
  341. package/lib/types/specialAbility/BlessedTradition.js +52 -52
  342. package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +990 -988
  343. package/lib/types/specialAbility/BrawlingSpecialAbility.js +8 -8
  344. package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +986 -984
  345. package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +8 -8
  346. package/lib/types/specialAbility/CombatSpecialAbility.d.ts +1076 -1074
  347. package/lib/types/specialAbility/CombatSpecialAbility.js +8 -8
  348. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +1117 -1115
  349. package/lib/types/specialAbility/CombatStyleSpecialAbility.js +8 -8
  350. package/lib/types/specialAbility/CommandSpecialAbility.d.ts +990 -988
  351. package/lib/types/specialAbility/CommandSpecialAbility.js +8 -8
  352. package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +937 -935
  353. package/lib/types/specialAbility/FamiliarSpecialAbility.js +8 -8
  354. package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +937 -935
  355. package/lib/types/specialAbility/FatePointSexSpecialAbility.js +8 -8
  356. package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +985 -983
  357. package/lib/types/specialAbility/FatePointSpecialAbility.js +8 -8
  358. package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +986 -984
  359. package/lib/types/specialAbility/GeneralSpecialAbility.js +8 -8
  360. package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +937 -935
  361. package/lib/types/specialAbility/KarmaSpecialAbility.js +8 -8
  362. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +1025 -1023
  363. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +8 -8
  364. package/lib/types/specialAbility/LycantropicGift.d.ts +937 -935
  365. package/lib/types/specialAbility/LycantropicGift.js +8 -8
  366. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +1025 -1023
  367. package/lib/types/specialAbility/MagicStyleSpecialAbility.js +8 -8
  368. package/lib/types/specialAbility/MagicalSign.d.ts +91 -90
  369. package/lib/types/specialAbility/MagicalSign.js +21 -21
  370. package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +986 -984
  371. package/lib/types/specialAbility/MagicalSpecialAbility.js +8 -8
  372. package/lib/types/specialAbility/MagicalTradition.d.ts +1004 -1002
  373. package/lib/types/specialAbility/MagicalTradition.js +40 -40
  374. package/lib/types/specialAbility/PactGift.d.ts +1008 -1006
  375. package/lib/types/specialAbility/PactGift.js +23 -21
  376. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +939 -937
  377. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +14 -14
  378. package/lib/types/specialAbility/Sermon.d.ts +937 -935
  379. package/lib/types/specialAbility/Sermon.js +8 -8
  380. package/lib/types/specialAbility/SexSpecialAbility.d.ts +985 -983
  381. package/lib/types/specialAbility/SexSpecialAbility.js +8 -8
  382. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +937 -935
  383. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +8 -8
  384. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +977 -975
  385. package/lib/types/specialAbility/SkillStyleSpecialAbility.js +8 -8
  386. package/lib/types/specialAbility/VampiricGift.d.ts +937 -935
  387. package/lib/types/specialAbility/VampiricGift.js +8 -8
  388. package/lib/types/specialAbility/Vision.d.ts +937 -935
  389. package/lib/types/specialAbility/Vision.js +8 -8
  390. package/lib/types/specialAbility/_Tradition.d.ts +4 -4
  391. package/lib/types/specialAbility/_Tradition.js +7 -7
  392. package/lib/types/specialAbility/sub/Language.d.ts +80 -79
  393. package/lib/types/specialAbility/sub/Language.js +37 -37
  394. package/lib/types/specialAbility/sub/Script.d.ts +45 -44
  395. package/lib/types/specialAbility/sub/Script.js +18 -18
  396. package/lib/types/specialAbility/sub/TradeSecret.d.ts +859 -857
  397. package/lib/types/specialAbility/sub/TradeSecret.js +26 -26
  398. package/lib/types/specialAbility/sub/_LanguageScript.d.ts +4 -4
  399. package/lib/types/specialAbility/sub/_LanguageScript.js +6 -6
  400. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +1105 -1103
  401. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +8 -8
  402. package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +1105 -1103
  403. package/lib/types/traditionArtifacts/AttireEnchantment.js +8 -8
  404. package/lib/types/traditionArtifacts/Beutelzauber.d.ts +1105 -1103
  405. package/lib/types/traditionArtifacts/Beutelzauber.js +8 -8
  406. package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +1105 -1103
  407. package/lib/types/traditionArtifacts/BowlEnchantment.js +8 -8
  408. package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +1106 -1104
  409. package/lib/types/traditionArtifacts/CauldronEnchantment.js +9 -9
  410. package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +1105 -1103
  411. package/lib/types/traditionArtifacts/ChronicleEnchantment.js +8 -8
  412. package/lib/types/traditionArtifacts/DaggerRitual.d.ts +1112 -1110
  413. package/lib/types/traditionArtifacts/DaggerRitual.js +25 -25
  414. package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +1105 -1103
  415. package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +8 -8
  416. package/lib/types/traditionArtifacts/Haubenzauber.d.ts +1105 -1103
  417. package/lib/types/traditionArtifacts/Haubenzauber.js +8 -8
  418. package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +1105 -1103
  419. package/lib/types/traditionArtifacts/InstrumentEnchantment.js +8 -8
  420. package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +1105 -1103
  421. package/lib/types/traditionArtifacts/Krallenkettenzauber.js +8 -8
  422. package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +1105 -1103
  423. package/lib/types/traditionArtifacts/Kristallkugelzauber.js +8 -8
  424. package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +1105 -1103
  425. package/lib/types/traditionArtifacts/OrbEnchantment.js +8 -8
  426. package/lib/types/traditionArtifacts/RingEnchantment.d.ts +1105 -1103
  427. package/lib/types/traditionArtifacts/RingEnchantment.js +8 -8
  428. package/lib/types/traditionArtifacts/SickleRitual.d.ts +1105 -1103
  429. package/lib/types/traditionArtifacts/SickleRitual.js +8 -8
  430. package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +1105 -1103
  431. package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +8 -8
  432. package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +1108 -1106
  433. package/lib/types/traditionArtifacts/StaffEnchantment.js +10 -10
  434. package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +1105 -1103
  435. package/lib/types/traditionArtifacts/ToyEnchantment.js +8 -8
  436. package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +1105 -1103
  437. package/lib/types/traditionArtifacts/Trinkhornzauber.js +8 -8
  438. package/lib/types/traditionArtifacts/WandEnchantment.d.ts +1071 -1069
  439. package/lib/types/traditionArtifacts/WandEnchantment.js +8 -8
  440. package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +1105 -1103
  441. package/lib/types/traditionArtifacts/WeaponEnchantment.js +8 -8
  442. package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +6 -6
  443. package/lib/types/traditionArtifacts/sub/AnimalShape.js +8 -8
  444. package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +4 -4
  445. package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +6 -6
  446. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +6 -6
  447. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +10 -10
  448. package/lib/types/traditionArtifacts/sub/Brew.d.ts +4 -4
  449. package/lib/types/traditionArtifacts/sub/Brew.js +6 -6
  450. package/package.json +2 -2
  451. package/lib/types/_I18n.d.ts +0 -14
  452. package/lib/types/_I18n.js +0 -55
@@ -1,100 +1,101 @@
1
- import { Array, Entity, Enum, EnumCase, IncludeIdentifier, Integer, Object, String, TypeAlias } from "tsondb/schema/def";
2
- export declare const Patron: Entity<"Patron", {
3
- category: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
4
- skills: import("tsondb/schema/def").MemberDecl<Array<import("tsondb/schema/def").ReferenceIdentifierType>, true>;
5
- culture: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PatronCulture", Object<{
6
- set: import("tsondb/schema/def").MemberDecl<Array<import("tsondb/schema/def").ReferenceIdentifierType>, true>;
7
- operation: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"PatronCultureOperation", {
8
- Intersection: EnumCase<null>;
9
- Difference: EnumCase<null>;
1
+ import * as DB from "tsondb/schema/dsl";
2
+ export declare const Patron: DB.Entity<"Patron", {
3
+ category: DB.MemberDecl<DB.ReferenceIdentifier, true>;
4
+ skills: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
5
+ culture: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PatronCulture", DB.Object<{
6
+ set: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
7
+ operation: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"PatronCultureOperation", {
8
+ Intersection: DB.EnumCase<null>;
9
+ Difference: DB.EnumCase<null>;
10
10
  }, []>>, false>;
11
11
  }>, []>>, true>;
12
- powers: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"AnimalPowers", Object<{
13
- level1: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"AnimalPowersLevel1", Array<IncludeIdentifier<[], Enum<"AnimalPowerLevel1", {
14
- Advantage: EnumCase<IncludeIdentifier<[], TypeAlias<"AdvantageAnimalPower", Object<{
15
- id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
16
- level: import("tsondb/schema/def").MemberDecl<Integer, false>;
17
- option: import("tsondb/schema/def").MemberDecl<Integer, false>;
12
+ powers: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"AnimalPowers", DB.Object<{
13
+ level1: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"AnimalPowersLevel1", DB.Array<DB.IncludeIdentifier<[], DB.Enum<"AnimalPowerLevel1", {
14
+ Advantage: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantageAnimalPower", DB.Object<{
15
+ id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
16
+ level: DB.MemberDecl<DB.Integer, false>;
17
+ option: DB.MemberDecl<DB.Integer, false>;
18
18
  }>, []>>>;
19
- Skill: EnumCase<IncludeIdentifier<[], TypeAlias<"SkillAnimalPower", Object<{
20
- id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
21
- points: import("tsondb/schema/def").MemberDecl<Integer, true>;
19
+ Skill: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"SkillAnimalPower", DB.Object<{
20
+ id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
21
+ points: DB.MemberDecl<DB.Integer, true>;
22
22
  }>, []>>>;
23
23
  }, []>>>, []>>, true>;
24
- level2: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"AnimalPowersLevel2", Array<IncludeIdentifier<[], Enum<"AnimalPowerLevel2", {
25
- Combat: EnumCase<IncludeIdentifier<[], TypeAlias<"CombatAnimalPower", Object<{
26
- id: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"CombatAnimalPowerType", {
27
- Attack: EnumCase<null>;
28
- Parry: EnumCase<null>;
29
- RangedCombat: EnumCase<null>;
30
- Dodge: EnumCase<null>;
31
- DamagePoints: EnumCase<null>;
32
- Protection: EnumCase<null>;
24
+ level2: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"AnimalPowersLevel2", DB.Array<DB.IncludeIdentifier<[], DB.Enum<"AnimalPowerLevel2", {
25
+ Combat: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CombatAnimalPower", DB.Object<{
26
+ id: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CombatAnimalPowerType", {
27
+ Attack: DB.EnumCase<null>;
28
+ Parry: DB.EnumCase<null>;
29
+ RangedCombat: DB.EnumCase<null>;
30
+ Dodge: DB.EnumCase<null>;
31
+ DamagePoints: DB.EnumCase<null>;
32
+ Protection: DB.EnumCase<null>;
33
33
  }, []>>, true>;
34
- value: import("tsondb/schema/def").MemberDecl<Integer, false>;
34
+ value: DB.MemberDecl<DB.Integer, false>;
35
35
  }>, []>>>;
36
36
  }, []>>>, []>>, true>;
37
- level3: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"AnimalPowersLevel3", Array<IncludeIdentifier<[], Enum<"AnimalPowerLevel3", {
38
- Attribute: EnumCase<IncludeIdentifier<[], TypeAlias<"AttributeAnimalPower", Object<{
39
- id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
40
- value: import("tsondb/schema/def").MemberDecl<Integer, true>;
37
+ level3: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"AnimalPowersLevel3", DB.Array<DB.IncludeIdentifier<[], DB.Enum<"AnimalPowerLevel3", {
38
+ Attribute: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AttributeAnimalPower", DB.Object<{
39
+ id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
40
+ value: DB.MemberDecl<DB.Integer, true>;
41
41
  }>, []>>>;
42
42
  }, []>>>, []>>, true>;
43
43
  }>, []>>, false>;
44
- ae_cost: import("tsondb/schema/def").MemberDecl<Integer, false>;
45
- improvement_cost: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"ImprovementCost", {
46
- A: EnumCase<null>;
47
- B: EnumCase<null>;
48
- C: EnumCase<null>;
49
- D: EnumCase<null>;
44
+ ae_cost: DB.MemberDecl<DB.Integer, false>;
45
+ improvement_cost: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ImprovementCost", {
46
+ A: DB.EnumCase<null>;
47
+ B: DB.EnumCase<null>;
48
+ C: DB.EnumCase<null>;
49
+ D: DB.EnumCase<null>;
50
50
  }, []>>, false>;
51
- common_advantages: import("tsondb/schema/def").MemberDecl<Array<import("tsondb/schema/def").ReferenceIdentifierType>, false>;
52
- common_disadvantages: import("tsondb/schema/def").MemberDecl<Array<import("tsondb/schema/def").ReferenceIdentifierType>, false>;
53
- common_spellworks: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"SpellworkIdentifier", {
54
- Spell: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
55
- Ritual: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
51
+ common_advantages: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, false>;
52
+ common_disadvantages: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, false>;
53
+ common_spellworks: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"SpellworkIdentifier", {
54
+ Spell: DB.EnumCase<DB.ReferenceIdentifier>;
55
+ Ritual: DB.EnumCase<DB.ReferenceIdentifier>;
56
56
  }, []>>>, false>;
57
- src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
58
- id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
59
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
60
- initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
61
- printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
62
- pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
63
- first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
64
- InsideCoverFront: EnumCase<null>;
65
- InsideCoverBack: EnumCase<null>;
66
- Numbered: EnumCase<Integer>;
57
+ src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
58
+ id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
59
+ occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
60
+ initial: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"InitialOccurrence", DB.Object<{
61
+ printing: DB.MemberDecl<DB.Integer, false>;
62
+ pages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PageRange", DB.Object<{
63
+ first_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
64
+ InsideCoverFront: DB.EnumCase<null>;
65
+ InsideCoverBack: DB.EnumCase<null>;
66
+ Numbered: DB.EnumCase<DB.Integer>;
67
67
  }, []>>, true>;
68
- last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
69
- InsideCoverFront: EnumCase<null>;
70
- InsideCoverBack: EnumCase<null>;
71
- Numbered: EnumCase<Integer>;
68
+ last_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
69
+ InsideCoverFront: DB.EnumCase<null>;
70
+ InsideCoverBack: DB.EnumCase<null>;
71
+ Numbered: DB.EnumCase<DB.Integer>;
72
72
  }, []>>, false>;
73
73
  }>, []>>>, true>;
74
+ isRemoved: DB.MemberDecl<DB.Boolean, false>;
74
75
  }>, []>>, false>;
75
- revisions: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"Revision", {
76
- Since: EnumCase<IncludeIdentifier<[], TypeAlias<"Since", Object<{
77
- printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
78
- pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
79
- first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
80
- InsideCoverFront: EnumCase<null>;
81
- InsideCoverBack: EnumCase<null>;
82
- Numbered: EnumCase<Integer>;
76
+ revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
77
+ Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
78
+ printing: DB.MemberDecl<DB.Integer, true>;
79
+ pages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PageRange", DB.Object<{
80
+ first_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
81
+ InsideCoverFront: DB.EnumCase<null>;
82
+ InsideCoverBack: DB.EnumCase<null>;
83
+ Numbered: DB.EnumCase<DB.Integer>;
83
84
  }, []>>, true>;
84
- last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
85
- InsideCoverFront: EnumCase<null>;
86
- InsideCoverBack: EnumCase<null>;
87
- Numbered: EnumCase<Integer>;
85
+ last_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
86
+ InsideCoverFront: DB.EnumCase<null>;
87
+ InsideCoverBack: DB.EnumCase<null>;
88
+ Numbered: DB.EnumCase<DB.Integer>;
88
89
  }, []>>, false>;
89
90
  }>, []>>>, true>;
90
91
  }>, []>>>;
91
- Deprecated: EnumCase<IncludeIdentifier<[], TypeAlias<"Deprecation", Object<{
92
- printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
92
+ Deprecated: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Deprecation", DB.Object<{
93
+ printing: DB.MemberDecl<DB.Integer, true>;
93
94
  }>, []>>>;
94
95
  }, []>>>, false>;
95
96
  }>, true>;
96
97
  }>, []>>>, []>>, true>;
97
- translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"PatronTranslation", {
98
- name: import("tsondb/schema/def").MemberDecl<String, true>;
98
+ translations: DB.MemberDecl<DB.NestedEntityMap<"PatronTranslation", {
99
+ name: DB.MemberDecl<DB.String, true>;
99
100
  }>, true>;
100
101
  }, undefined>;
@@ -1,60 +1,63 @@
1
- import { Array, Entity, Enum, EnumCase, IncludeIdentifier, Integer, Object, Optional, Required, String, TypeAlias, } from "tsondb/schema/def";
1
+ import * as DB from "tsondb/schema/dsl";
2
2
  import { AdvantageIdentifier, AttributeIdentifier, DisadvantageIdentifier, PatronCategoryIdentifier, SkillIdentifier, TribeIdentifier, } from "./_Identifier.js";
3
3
  import { SpellworkIdentifier } from "./_IdentifierGroup.js";
4
4
  import { ImprovementCost } from "./_ImprovementCost.js";
5
5
  import { NestedTranslationMap } from "./Locale.js";
6
6
  import { src } from "./source/_PublicationRef.js";
7
- export const Patron = Entity(import.meta.url, {
7
+ export const Patron = DB.Entity(import.meta.url, {
8
8
  name: "Patron",
9
9
  namePlural: "Patrons",
10
- type: () => Object({
11
- category: Required({
10
+ type: () => DB.Object({
11
+ category: DB.Required({
12
12
  comment: "The patron’s category.",
13
13
  type: PatronCategoryIdentifier(),
14
14
  }),
15
- skills: Required({
15
+ skills: DB.Required({
16
16
  comment: "The patron-specific skills.",
17
- type: Array(SkillIdentifier(), { minItems: 3, maxItems: 3 }),
17
+ type: DB.Array(SkillIdentifier(), { minItems: 3, maxItems: 3 }),
18
18
  }),
19
- culture: Required({
19
+ culture: DB.Required({
20
20
  comment: "The patron is only available to a certain set of cultures. It may be available to all, it may be available to only specific ones (intersection) and it may be available to all except specific ones to the listed cultures (difference).",
21
- type: IncludeIdentifier(PatronCulture),
21
+ type: DB.IncludeIdentifier(PatronCulture),
22
22
  }),
23
- powers: Optional({
23
+ powers: DB.Optional({
24
24
  comment: "The patron-specific powers. Used by animist power Animal Powers I–III and should only be present on animal patrons.",
25
- type: IncludeIdentifier(AnimalPowers),
25
+ type: DB.IncludeIdentifier(AnimalPowers),
26
26
  }),
27
- ae_cost: Optional({
27
+ ae_cost: DB.Optional({
28
28
  comment: "The patron-specific AE cost. Used by several animist forces for animal patrons.",
29
- type: Integer({ minimum: 2, multipleOf: 2 }),
29
+ type: DB.Integer({ minimum: 2, multipleOf: 2 }),
30
30
  }),
31
- improvement_cost: Optional({
31
+ improvement_cost: DB.Optional({
32
32
  comment: "The patron-specific improvement cost. Used by several animist forces for animal patrons.",
33
- type: IncludeIdentifier(ImprovementCost),
33
+ type: DB.IncludeIdentifier(ImprovementCost),
34
34
  }),
35
- common_advantages: Optional({
35
+ common_advantages: DB.Optional({
36
36
  comment: `The patron may grant common advantages that are taken into account during character creation.
37
37
 
38
38
  *Source:* Geisterwald & Knochenklippen, p. 6-7`,
39
- type: Array(AdvantageIdentifier(), { minItems: 1, uniqueItems: true }),
39
+ type: DB.Array(AdvantageIdentifier(), { minItems: 1, uniqueItems: true }),
40
40
  }),
41
- common_disadvantages: Optional({
41
+ common_disadvantages: DB.Optional({
42
42
  comment: `The patron may grant common disadvantages that are taken into account during character creation.
43
43
 
44
44
  *Source:* Geisterwald & Knochenklippen, p. 6-7`,
45
- type: Array(DisadvantageIdentifier(), { minItems: 1, uniqueItems: true }),
45
+ type: DB.Array(DisadvantageIdentifier(), { minItems: 1, uniqueItems: true }),
46
46
  }),
47
- common_spellworks: Optional({
47
+ common_spellworks: DB.Optional({
48
48
  comment: `The animist may learn spellworks common for this patron.
49
49
 
50
50
  *Source:* Geisterwald & Knochenklippen, p. 6-7`,
51
- type: Array(IncludeIdentifier(SpellworkIdentifier), { minItems: 1, uniqueItems: true }),
51
+ type: DB.Array(DB.IncludeIdentifier(SpellworkIdentifier), {
52
+ minItems: 1,
53
+ uniqueItems: true,
54
+ }),
52
55
  }),
53
56
  src,
54
- translations: NestedTranslationMap(Required, "Patron", Object({
55
- name: Required({
57
+ translations: NestedTranslationMap(DB.Required, "Patron", DB.Object({
58
+ name: DB.Required({
56
59
  comment: "The patron’s name.",
57
- type: String({ minLength: 1 }),
60
+ type: DB.String({ minLength: 1 }),
58
61
  }),
59
62
  })),
60
63
  }),
@@ -66,135 +69,135 @@ export const Patron = Entity(import.meta.url, {
66
69
  },
67
70
  ],
68
71
  });
69
- const PatronCulture = TypeAlias(import.meta.url, {
72
+ const PatronCulture = DB.TypeAlias(import.meta.url, {
70
73
  name: "PatronCulture",
71
74
  comment: "The patron cultures the patron is or is not part of. If the patron is part of all patron cultures, the set should be empty and the operation should be difference.",
72
- type: () => Object({
73
- set: Required({
74
- type: Array(TribeIdentifier(), { uniqueItems: true }),
75
+ type: () => DB.Object({
76
+ set: DB.Required({
77
+ type: DB.Array(TribeIdentifier(), { uniqueItems: true }),
75
78
  }),
76
- operation: Optional({
77
- type: IncludeIdentifier(PatronCultureOperation),
79
+ operation: DB.Optional({
80
+ type: DB.IncludeIdentifier(PatronCultureOperation),
78
81
  }),
79
82
  }),
80
83
  });
81
- const PatronCultureOperation = Enum(import.meta.url, {
84
+ const PatronCultureOperation = DB.Enum(import.meta.url, {
82
85
  name: "PatronCultureOperation",
83
86
  comment: "The set operation to combine the set of all patron cultures with the specified set of patron cultures: If they should intersect, the patron is only part of the given cultures. If they should differ, the patron is only part of the cultures that are not given.",
84
87
  values: () => ({
85
- Intersection: EnumCase({ type: null }),
86
- Difference: EnumCase({ type: null }),
88
+ Intersection: DB.EnumCase({ type: null }),
89
+ Difference: DB.EnumCase({ type: null }),
87
90
  }),
88
91
  });
89
- const AnimalPowers = TypeAlias(import.meta.url, {
92
+ const AnimalPowers = DB.TypeAlias(import.meta.url, {
90
93
  name: "AnimalPowers",
91
- type: () => Object({
92
- level1: Required({
93
- type: IncludeIdentifier(AnimalPowersLevel1),
94
+ type: () => DB.Object({
95
+ level1: DB.Required({
96
+ type: DB.IncludeIdentifier(AnimalPowersLevel1),
94
97
  }),
95
- level2: Required({
96
- type: IncludeIdentifier(AnimalPowersLevel2),
98
+ level2: DB.Required({
99
+ type: DB.IncludeIdentifier(AnimalPowersLevel2),
97
100
  }),
98
- level3: Required({
99
- type: IncludeIdentifier(AnimalPowersLevel3),
101
+ level3: DB.Required({
102
+ type: DB.IncludeIdentifier(AnimalPowersLevel3),
100
103
  }),
101
104
  }),
102
105
  });
103
- const AdvantageAnimalPower = TypeAlias(import.meta.url, {
106
+ const AdvantageAnimalPower = DB.TypeAlias(import.meta.url, {
104
107
  name: "AdvantageAnimalPower",
105
- type: () => Object({
106
- id: Required({
108
+ type: () => DB.Object({
109
+ id: DB.Required({
107
110
  comment: "The advantage’s identifier.",
108
111
  type: AdvantageIdentifier(),
109
112
  }),
110
- level: Optional({
113
+ level: DB.Optional({
111
114
  comment: "It grants a higher level of the advantage.",
112
- type: Integer({ minimum: 2 }),
115
+ type: DB.Integer({ minimum: 2 }),
113
116
  }),
114
- option: Optional({
117
+ option: DB.Optional({
115
118
  comment: "It grants a specific general option of the advantage.",
116
- type: Integer({ minimum: 1 }),
119
+ type: DB.Integer({ minimum: 1 }),
117
120
  }),
118
121
  }),
119
122
  });
120
- const SkillAnimalPower = TypeAlias(import.meta.url, {
123
+ const SkillAnimalPower = DB.TypeAlias(import.meta.url, {
121
124
  name: "SkillAnimalPower",
122
- type: () => Object({
123
- id: Required({
125
+ type: () => DB.Object({
126
+ id: DB.Required({
124
127
  comment: "The skill’s identifier.",
125
128
  type: SkillIdentifier(),
126
129
  }),
127
- points: Required({
130
+ points: DB.Required({
128
131
  comment: "The points that gets added to the skill’s rating.",
129
- type: Integer({ minimum: 1 }),
132
+ type: DB.Integer({ minimum: 1 }),
130
133
  }),
131
134
  }),
132
135
  });
133
- const AnimalPowerLevel1 = Enum(import.meta.url, {
136
+ const AnimalPowerLevel1 = DB.Enum(import.meta.url, {
134
137
  name: "AnimalPowerLevel1",
135
138
  values: () => ({
136
- Advantage: EnumCase({ type: IncludeIdentifier(AdvantageAnimalPower) }),
137
- Skill: EnumCase({ type: IncludeIdentifier(SkillAnimalPower) }),
139
+ Advantage: DB.EnumCase({ type: DB.IncludeIdentifier(AdvantageAnimalPower) }),
140
+ Skill: DB.EnumCase({ type: DB.IncludeIdentifier(SkillAnimalPower) }),
138
141
  }),
139
142
  });
140
- const AnimalPowersLevel1 = TypeAlias(import.meta.url, {
143
+ const AnimalPowersLevel1 = DB.TypeAlias(import.meta.url, {
141
144
  name: "AnimalPowersLevel1",
142
- type: () => Array(IncludeIdentifier(AnimalPowerLevel1), { minItems: 1, uniqueItems: true }),
145
+ type: () => DB.Array(DB.IncludeIdentifier(AnimalPowerLevel1), { minItems: 1, uniqueItems: true }),
143
146
  });
144
- const CombatAnimalPower = TypeAlias(import.meta.url, {
147
+ const CombatAnimalPower = DB.TypeAlias(import.meta.url, {
145
148
  name: "CombatAnimalPower",
146
- type: () => Object({
147
- id: Required({
149
+ type: () => DB.Object({
150
+ id: DB.Required({
148
151
  comment: "The combat value.",
149
- type: IncludeIdentifier(CombatAnimalPowerType),
152
+ type: DB.IncludeIdentifier(CombatAnimalPowerType),
150
153
  }),
151
- value: Optional({
154
+ value: DB.Optional({
152
155
  comment: "The value that gets added to the combat value.",
153
- type: Integer({ minimum: 1 }),
156
+ type: DB.Integer({ minimum: 1 }),
154
157
  }),
155
158
  }),
156
159
  });
157
- const CombatAnimalPowerType = Enum(import.meta.url, {
160
+ const CombatAnimalPowerType = DB.Enum(import.meta.url, {
158
161
  name: "CombatAnimalPowerType",
159
162
  values: () => ({
160
- Attack: EnumCase({ type: null }),
161
- Parry: EnumCase({ type: null }),
162
- RangedCombat: EnumCase({ type: null }),
163
- Dodge: EnumCase({ type: null }),
164
- DamagePoints: EnumCase({ type: null }),
165
- Protection: EnumCase({ type: null }),
163
+ Attack: DB.EnumCase({ type: null }),
164
+ Parry: DB.EnumCase({ type: null }),
165
+ RangedCombat: DB.EnumCase({ type: null }),
166
+ Dodge: DB.EnumCase({ type: null }),
167
+ DamagePoints: DB.EnumCase({ type: null }),
168
+ Protection: DB.EnumCase({ type: null }),
166
169
  }),
167
170
  });
168
- const AnimalPowerLevel2 = Enum(import.meta.url, {
171
+ const AnimalPowerLevel2 = DB.Enum(import.meta.url, {
169
172
  name: "AnimalPowerLevel2",
170
173
  values: () => ({
171
- Combat: EnumCase({ type: IncludeIdentifier(CombatAnimalPower) }),
174
+ Combat: DB.EnumCase({ type: DB.IncludeIdentifier(CombatAnimalPower) }),
172
175
  }),
173
176
  });
174
- const AnimalPowersLevel2 = TypeAlias(import.meta.url, {
177
+ const AnimalPowersLevel2 = DB.TypeAlias(import.meta.url, {
175
178
  name: "AnimalPowersLevel2",
176
- type: () => Array(IncludeIdentifier(AnimalPowerLevel2), { minItems: 1, uniqueItems: true }),
179
+ type: () => DB.Array(DB.IncludeIdentifier(AnimalPowerLevel2), { minItems: 1, uniqueItems: true }),
177
180
  });
178
- const AttributeAnimalPower = TypeAlias(import.meta.url, {
181
+ const AttributeAnimalPower = DB.TypeAlias(import.meta.url, {
179
182
  name: "AttributeAnimalPower",
180
- type: () => Object({
181
- id: Required({
183
+ type: () => DB.Object({
184
+ id: DB.Required({
182
185
  comment: "The attribute’s identifier.",
183
186
  type: AttributeIdentifier(),
184
187
  }),
185
- value: Required({
188
+ value: DB.Required({
186
189
  comment: "The value that gets added to the attribute.",
187
- type: Integer({ minimum: 1 }),
190
+ type: DB.Integer({ minimum: 1 }),
188
191
  }),
189
192
  }),
190
193
  });
191
- const AnimalPowerLevel3 = Enum(import.meta.url, {
194
+ const AnimalPowerLevel3 = DB.Enum(import.meta.url, {
192
195
  name: "AnimalPowerLevel3",
193
196
  values: () => ({
194
- Attribute: EnumCase({ type: IncludeIdentifier(AttributeAnimalPower) }),
197
+ Attribute: DB.EnumCase({ type: DB.IncludeIdentifier(AttributeAnimalPower) }),
195
198
  }),
196
199
  });
197
- const AnimalPowersLevel3 = TypeAlias(import.meta.url, {
200
+ const AnimalPowersLevel3 = DB.TypeAlias(import.meta.url, {
198
201
  name: "AnimalPowersLevel3",
199
- type: () => Array(IncludeIdentifier(AnimalPowerLevel3), { minItems: 1, uniqueItems: true }),
202
+ type: () => DB.Array(DB.IncludeIdentifier(AnimalPowerLevel3), { minItems: 1, uniqueItems: true }),
200
203
  });
@@ -1,7 +1,7 @@
1
- import { Array, Entity, String } from "tsondb/schema/def";
2
- export declare const PatronCategory: Entity<"PatronCategory", {
3
- primary_patron_cultures: import("tsondb/schema/def").MemberDecl<Array<import("tsondb/schema/def").ReferenceIdentifierType>, true>;
4
- translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"PatronCategoryTranslation", {
5
- name: import("tsondb/schema/def").MemberDecl<String, true>;
1
+ import * as DB from "tsondb/schema/dsl";
2
+ export declare const PatronCategory: DB.Entity<"PatronCategory", {
3
+ primary_patron_cultures: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
4
+ translations: DB.MemberDecl<DB.NestedEntityMap<"PatronCategoryTranslation", {
5
+ name: DB.MemberDecl<DB.String, true>;
6
6
  }>, true>;
7
7
  }, undefined>;
@@ -1,18 +1,18 @@
1
- import { Array, Entity, Object, Required, String } from "tsondb/schema/def";
1
+ import * as DB from "tsondb/schema/dsl";
2
2
  import { NestedTranslationMap } from "./Locale.js";
3
3
  import { CultureIdentifier } from "./_Identifier.js";
4
- export const PatronCategory = Entity(import.meta.url, {
4
+ export const PatronCategory = DB.Entity(import.meta.url, {
5
5
  name: "PatronCategory",
6
6
  namePlural: "PatronCategories",
7
- type: () => Object({
8
- primary_patron_cultures: Required({
7
+ type: () => DB.Object({
8
+ primary_patron_cultures: DB.Required({
9
9
  comment: "The list of cultures where patrons from this category can be the primary patron of.",
10
- type: Array(CultureIdentifier(), { minItems: 1, uniqueItems: true }),
10
+ type: DB.Array(CultureIdentifier(), { minItems: 1, uniqueItems: true }),
11
11
  }),
12
- translations: NestedTranslationMap(Required, "PatronCategory", Object({
13
- name: Required({
12
+ translations: NestedTranslationMap(DB.Required, "PatronCategory", DB.Object({
13
+ name: DB.Required({
14
14
  comment: "The patron category’s name.",
15
- type: String({ minLength: 1 }),
15
+ type: DB.String({ minLength: 1 }),
16
16
  }),
17
17
  })),
18
18
  }),