optolith-database-schema 0.18.4 → 0.18.5

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 (275) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/lib/types/Advantage.d.ts +3 -3
  3. package/lib/types/Advantage.js +2 -2
  4. package/lib/types/AnimalDisease.d.ts +1 -1
  5. package/lib/types/AnimalDisease.js +2 -2
  6. package/lib/types/AnimalType.js +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.js +2 -2
  10. package/lib/types/Attribute.js +2 -2
  11. package/lib/types/Blessing.d.ts +1 -1
  12. package/lib/types/Blessing.js +3 -3
  13. package/lib/types/Cantrip.d.ts +1 -1
  14. package/lib/types/Cantrip.js +4 -4
  15. package/lib/types/Ceremony.d.ts +3 -3
  16. package/lib/types/Ceremony.js +2 -2
  17. package/lib/types/CombatTechnique.d.ts +2 -2
  18. package/lib/types/CombatTechnique.js +3 -3
  19. package/lib/types/Condition.d.ts +1 -1
  20. package/lib/types/Condition.js +2 -2
  21. package/lib/types/Continent.js +2 -2
  22. package/lib/types/Culture.d.ts +1 -1
  23. package/lib/types/Culture.js +2 -2
  24. package/lib/types/DerivedCharacteristic.d.ts +1 -1
  25. package/lib/types/DerivedCharacteristic.js +2 -2
  26. package/lib/types/Disadvantage.d.ts +3 -3
  27. package/lib/types/Disadvantage.js +2 -2
  28. package/lib/types/Disease.d.ts +1 -1
  29. package/lib/types/Disease.js +2 -2
  30. package/lib/types/Element.js +2 -2
  31. package/lib/types/ExperienceLevel.js +2 -2
  32. package/lib/types/EyeColor.js +2 -2
  33. package/lib/types/FamiliarsTrick.d.ts +1 -1
  34. package/lib/types/FamiliarsTrick.js +4 -4
  35. package/lib/types/HairColor.js +2 -2
  36. package/lib/types/Lessons.d.ts +1 -1
  37. package/lib/types/Lessons.js +4 -4
  38. package/lib/types/LiturgicalChant.d.ts +2 -2
  39. package/lib/types/LiturgicalChant.js +2 -2
  40. package/lib/types/Locale.d.ts +2 -2
  41. package/lib/types/Locale.js +3 -2
  42. package/lib/types/MetaCondition.d.ts +1 -1
  43. package/lib/types/MetaCondition.js +2 -2
  44. package/lib/types/PactCategory.d.ts +1 -1
  45. package/lib/types/PactCategory.js +4 -4
  46. package/lib/types/Patron.d.ts +1 -1
  47. package/lib/types/Patron.js +2 -2
  48. package/lib/types/PatronCategory.js +2 -2
  49. package/lib/types/PersonalityTrait.d.ts +1 -1
  50. package/lib/types/PersonalityTrait.js +2 -2
  51. package/lib/types/Profession.d.ts +2 -2
  52. package/lib/types/Profession.js +3 -3
  53. package/lib/types/Property.js +2 -2
  54. package/lib/types/Race.d.ts +1 -1
  55. package/lib/types/Race.js +5 -3
  56. package/lib/types/Region.js +2 -2
  57. package/lib/types/Ritual.d.ts +2 -2
  58. package/lib/types/Ritual.js +2 -2
  59. package/lib/types/Service.d.ts +1 -1
  60. package/lib/types/Service.js +2 -2
  61. package/lib/types/SexPractice.d.ts +2 -2
  62. package/lib/types/SexPractice.js +2 -2
  63. package/lib/types/Skill.d.ts +1 -1
  64. package/lib/types/Skill.js +3 -3
  65. package/lib/types/SkillGroup.js +2 -2
  66. package/lib/types/SkillModificationLevel.js +2 -2
  67. package/lib/types/SocialStatus.js +2 -2
  68. package/lib/types/Spell.d.ts +2 -2
  69. package/lib/types/Spell.js +2 -2
  70. package/lib/types/State.d.ts +1 -1
  71. package/lib/types/State.js +2 -2
  72. package/lib/types/Talisman.d.ts +1 -1
  73. package/lib/types/Talisman.js +2 -2
  74. package/lib/types/TargetCategory.js +2 -2
  75. package/lib/types/_Activatable.d.ts +3 -3
  76. package/lib/types/_Activatable.js +16 -16
  77. package/lib/types/_ActivatableSelectOptionCategory.js +2 -2
  78. package/lib/types/_ActivatableSkillCost.js +8 -8
  79. package/lib/types/_ActivatableSkillDuration.js +6 -6
  80. package/lib/types/_ActivatableSkillRange.js +2 -2
  81. package/lib/types/_ActivatableSkillTargetCategory.js +2 -2
  82. package/lib/types/_ArcaneTradition.d.ts +1 -1
  83. package/lib/types/_ArcaneTradition.js +2 -2
  84. package/lib/types/_DiseasePoison.js +2 -2
  85. package/lib/types/_Enhancements.d.ts +2 -2
  86. package/lib/types/_Enhancements.js +2 -2
  87. package/lib/types/_Influence.d.ts +1 -1
  88. package/lib/types/_Influence.js +2 -2
  89. package/lib/types/_Prerequisite.js +2 -2
  90. package/lib/types/equipment/EquipmentPackage.d.ts +1 -1
  91. package/lib/types/equipment/EquipmentPackage.js +2 -2
  92. package/lib/types/equipment/item/Ammunition.d.ts +1 -1
  93. package/lib/types/equipment/item/Ammunition.js +2 -2
  94. package/lib/types/equipment/item/Animal.d.ts +2 -2
  95. package/lib/types/equipment/item/AnimalCare.d.ts +2 -2
  96. package/lib/types/equipment/item/Armor.d.ts +1 -1
  97. package/lib/types/equipment/item/Armor.js +3 -3
  98. package/lib/types/equipment/item/BandageOrRemedy.d.ts +2 -2
  99. package/lib/types/equipment/item/Book.d.ts +1 -1
  100. package/lib/types/equipment/item/Book.js +2 -2
  101. package/lib/types/equipment/item/CeremonialItem.d.ts +2 -2
  102. package/lib/types/equipment/item/Clothes.d.ts +2 -2
  103. package/lib/types/equipment/item/ClothingPackage.d.ts +1 -1
  104. package/lib/types/equipment/item/Container.d.ts +2 -2
  105. package/lib/types/equipment/item/Elixir.d.ts +1 -1
  106. package/lib/types/equipment/item/Elixir.js +2 -2
  107. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +2 -2
  108. package/lib/types/equipment/item/GemOrPreciousStone.d.ts +1 -1
  109. package/lib/types/equipment/item/GemOrPreciousStone.js +2 -2
  110. package/lib/types/equipment/item/IlluminationLightSource.d.ts +2 -2
  111. package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +2 -2
  112. package/lib/types/equipment/item/Jewelry.d.ts +2 -2
  113. package/lib/types/equipment/item/Laboratory.d.ts +2 -2
  114. package/lib/types/equipment/item/Liebesspielzeug.d.ts +2 -2
  115. package/lib/types/equipment/item/LuxuryGood.d.ts +2 -2
  116. package/lib/types/equipment/item/MagicalArtifact.d.ts +2 -2
  117. package/lib/types/equipment/item/MusicalInstrument.d.ts +2 -2
  118. package/lib/types/equipment/item/OrienteeringAid.d.ts +2 -2
  119. package/lib/types/equipment/item/Poison.d.ts +1 -1
  120. package/lib/types/equipment/item/Poison.js +8 -8
  121. package/lib/types/equipment/item/RopeOrChain.d.ts +2 -2
  122. package/lib/types/equipment/item/Stationery.d.ts +2 -2
  123. package/lib/types/equipment/item/ThievesTool.d.ts +2 -2
  124. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +2 -2
  125. package/lib/types/equipment/item/TravelGearOrTool.d.ts +2 -2
  126. package/lib/types/equipment/item/Vehicle.d.ts +2 -2
  127. package/lib/types/equipment/item/Weapon.d.ts +1 -1
  128. package/lib/types/equipment/item/Weapon.js +7 -3
  129. package/lib/types/equipment/item/WeaponAccessory.d.ts +2 -2
  130. package/lib/types/equipment/item/_Item.d.ts +3 -3
  131. package/lib/types/equipment/item/_Item.js +4 -4
  132. package/lib/types/equipment/item/sub/ArmorType.js +2 -2
  133. package/lib/types/equipment/item/sub/Reach.js +2 -2
  134. package/lib/types/magicalActions/AnimistPower.d.ts +2 -2
  135. package/lib/types/magicalActions/AnimistPower.js +4 -4
  136. package/lib/types/magicalActions/AnimistPower_Tribe.js +2 -2
  137. package/lib/types/magicalActions/Curse.d.ts +1 -1
  138. package/lib/types/magicalActions/Curse.js +4 -4
  139. package/lib/types/magicalActions/DominationRitual.d.ts +1 -1
  140. package/lib/types/magicalActions/DominationRitual.js +4 -4
  141. package/lib/types/magicalActions/ElvenMagicalSong.d.ts +1 -1
  142. package/lib/types/magicalActions/ElvenMagicalSong.js +4 -4
  143. package/lib/types/magicalActions/GeodeRitual.d.ts +1 -1
  144. package/lib/types/magicalActions/GeodeRitual.js +2 -2
  145. package/lib/types/magicalActions/JesterTrick.d.ts +1 -1
  146. package/lib/types/magicalActions/JesterTrick.js +2 -2
  147. package/lib/types/magicalActions/MagicalDance.d.ts +2 -2
  148. package/lib/types/magicalActions/MagicalDance.js +4 -4
  149. package/lib/types/magicalActions/MagicalMelody.d.ts +2 -2
  150. package/lib/types/magicalActions/MagicalMelody.js +2 -2
  151. package/lib/types/magicalActions/MagicalRune.d.ts +1 -1
  152. package/lib/types/magicalActions/MagicalRune.js +6 -6
  153. package/lib/types/magicalActions/ZibiljaRitual.d.ts +1 -1
  154. package/lib/types/magicalActions/ZibiljaRitual.js +2 -2
  155. package/lib/types/magicalActions/_MusicTradition.d.ts +1 -1
  156. package/lib/types/magicalActions/_MusicTradition.js +2 -2
  157. package/lib/types/prerequisites/DisplayOption.js +2 -2
  158. package/lib/types/prerequisites/single/TextPrerequisite.js +2 -2
  159. package/lib/types/rule/CoreRule.d.ts +1 -1
  160. package/lib/types/rule/CoreRule.js +4 -4
  161. package/lib/types/rule/FocusRule.d.ts +1 -1
  162. package/lib/types/rule/FocusRule.js +2 -2
  163. package/lib/types/rule/FocusRule_Subject.js +2 -2
  164. package/lib/types/rule/OptionalRule.d.ts +1 -1
  165. package/lib/types/rule/OptionalRule.js +2 -2
  166. package/lib/types/source/Publication.js +2 -2
  167. package/lib/types/source/_PublicationRef.d.ts +5 -5
  168. package/lib/types/source/_PublicationRef.js +19 -11
  169. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +3 -3
  170. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +2 -2
  171. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +3 -3
  172. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +2 -2
  173. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +3 -3
  174. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +2 -2
  175. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +3 -3
  176. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +2 -2
  177. package/lib/types/specialAbility/AncestorGlyph.d.ts +3 -3
  178. package/lib/types/specialAbility/AncestorGlyph.js +2 -2
  179. package/lib/types/specialAbility/BlessedTradition.d.ts +3 -3
  180. package/lib/types/specialAbility/BlessedTradition.js +2 -2
  181. package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +3 -3
  182. package/lib/types/specialAbility/BrawlingSpecialAbility.js +2 -2
  183. package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +3 -3
  184. package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +2 -2
  185. package/lib/types/specialAbility/CombatSpecialAbility.d.ts +3 -3
  186. package/lib/types/specialAbility/CombatSpecialAbility.js +2 -2
  187. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +3 -3
  188. package/lib/types/specialAbility/CombatStyleSpecialAbility.js +2 -2
  189. package/lib/types/specialAbility/CommandSpecialAbility.d.ts +3 -3
  190. package/lib/types/specialAbility/CommandSpecialAbility.js +2 -2
  191. package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +3 -3
  192. package/lib/types/specialAbility/FamiliarSpecialAbility.js +2 -2
  193. package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +3 -3
  194. package/lib/types/specialAbility/FatePointSexSpecialAbility.js +2 -2
  195. package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +3 -3
  196. package/lib/types/specialAbility/FatePointSpecialAbility.js +2 -2
  197. package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +3 -3
  198. package/lib/types/specialAbility/GeneralSpecialAbility.js +2 -2
  199. package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +3 -3
  200. package/lib/types/specialAbility/KarmaSpecialAbility.js +2 -2
  201. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +3 -3
  202. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +2 -2
  203. package/lib/types/specialAbility/LycantropicGift.d.ts +3 -3
  204. package/lib/types/specialAbility/LycantropicGift.js +2 -2
  205. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +3 -3
  206. package/lib/types/specialAbility/MagicStyleSpecialAbility.js +2 -2
  207. package/lib/types/specialAbility/MagicalSign.d.ts +1 -1
  208. package/lib/types/specialAbility/MagicalSign.js +2 -2
  209. package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +3 -3
  210. package/lib/types/specialAbility/MagicalSpecialAbility.js +2 -2
  211. package/lib/types/specialAbility/MagicalTradition.d.ts +3 -3
  212. package/lib/types/specialAbility/MagicalTradition.js +2 -2
  213. package/lib/types/specialAbility/PactGift.d.ts +3 -3
  214. package/lib/types/specialAbility/PactGift.js +2 -2
  215. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +3 -3
  216. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +2 -2
  217. package/lib/types/specialAbility/Sermon.d.ts +3 -3
  218. package/lib/types/specialAbility/Sermon.js +2 -2
  219. package/lib/types/specialAbility/SexSpecialAbility.d.ts +3 -3
  220. package/lib/types/specialAbility/SexSpecialAbility.js +2 -2
  221. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +3 -3
  222. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +2 -2
  223. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +3 -3
  224. package/lib/types/specialAbility/SkillStyleSpecialAbility.js +2 -2
  225. package/lib/types/specialAbility/VampiricGift.d.ts +3 -3
  226. package/lib/types/specialAbility/VampiricGift.js +2 -2
  227. package/lib/types/specialAbility/Vision.d.ts +3 -3
  228. package/lib/types/specialAbility/Vision.js +2 -2
  229. package/lib/types/specialAbility/sub/Language.d.ts +1 -1
  230. package/lib/types/specialAbility/sub/Language.js +4 -4
  231. package/lib/types/specialAbility/sub/Script.d.ts +1 -1
  232. package/lib/types/specialAbility/sub/Script.js +2 -2
  233. package/lib/types/specialAbility/sub/TradeSecret.d.ts +1 -1
  234. package/lib/types/specialAbility/sub/TradeSecret.js +2 -2
  235. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +3 -3
  236. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +2 -2
  237. package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +3 -3
  238. package/lib/types/traditionArtifacts/AttireEnchantment.js +2 -2
  239. package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +3 -3
  240. package/lib/types/traditionArtifacts/BowlEnchantment.js +2 -2
  241. package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +3 -3
  242. package/lib/types/traditionArtifacts/CauldronEnchantment.js +2 -2
  243. package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +3 -3
  244. package/lib/types/traditionArtifacts/ChronicleEnchantment.js +2 -2
  245. package/lib/types/traditionArtifacts/DaggerRitual.d.ts +3 -3
  246. package/lib/types/traditionArtifacts/DaggerRitual.js +2 -2
  247. package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +3 -3
  248. package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +2 -2
  249. package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +3 -3
  250. package/lib/types/traditionArtifacts/InstrumentEnchantment.js +2 -2
  251. package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +3 -3
  252. package/lib/types/traditionArtifacts/Krallenkettenzauber.js +2 -2
  253. package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +3 -3
  254. package/lib/types/traditionArtifacts/OrbEnchantment.js +2 -2
  255. package/lib/types/traditionArtifacts/RingEnchantment.d.ts +3 -3
  256. package/lib/types/traditionArtifacts/RingEnchantment.js +2 -2
  257. package/lib/types/traditionArtifacts/SickleRitual.d.ts +3 -3
  258. package/lib/types/traditionArtifacts/SickleRitual.js +2 -2
  259. package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +3 -3
  260. package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +2 -2
  261. package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +3 -3
  262. package/lib/types/traditionArtifacts/StaffEnchantment.js +2 -2
  263. package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +3 -3
  264. package/lib/types/traditionArtifacts/ToyEnchantment.js +2 -2
  265. package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +3 -3
  266. package/lib/types/traditionArtifacts/Trinkhornzauber.js +2 -2
  267. package/lib/types/traditionArtifacts/WandEnchantment.d.ts +3 -3
  268. package/lib/types/traditionArtifacts/WandEnchantment.js +2 -2
  269. package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +3 -3
  270. package/lib/types/traditionArtifacts/WeaponEnchantment.js +2 -2
  271. package/lib/types/traditionArtifacts/sub/AnimalShape.js +2 -2
  272. package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +2 -2
  273. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +2 -2
  274. package/lib/types/traditionArtifacts/sub/Brew.js +2 -2
  275. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { Entity, IncludeIdentifier, Object, Required, String } from "tsondb/schema/def";
2
2
  import { SkillCheck } from "./_SkillCheck.js";
3
- import { NestedLocaleMap } from "./Locale.js";
3
+ import { NestedTranslationMap } from "./Locale.js";
4
4
  export const SkillGroup = Entity(import.meta.url, {
5
5
  name: "SkillGroup",
6
6
  namePlural: "SkillGroups",
@@ -9,7 +9,7 @@ export const SkillGroup = Entity(import.meta.url, {
9
9
  comment: "The skill group’s skill check attributes",
10
10
  type: IncludeIdentifier(SkillCheck),
11
11
  }),
12
- translations: NestedLocaleMap(Required, "SkillGroupTranslation", Object({
12
+ translations: NestedTranslationMap(Required, "SkillGroup", Object({
13
13
  name: Required({
14
14
  comment: "The skill group’s name.",
15
15
  type: String({ minLength: 1 }),
@@ -2,7 +2,7 @@
2
2
  * @main SkillModificationLevel
3
3
  */
4
4
  import { Entity, Enum, EnumCase, IncludeIdentifier, Integer, Object, Optional, Required, String, TypeAlias, } from "tsondb/schema/def";
5
- import { NestedLocaleMap } from "./Locale.js";
5
+ import { NestedTranslationMap } from "./Locale.js";
6
6
  export const SkillModificationLevel = Entity(import.meta.url, {
7
7
  name: "SkillModificationLevel",
8
8
  namePlural: "SkillModificationLevels",
@@ -15,7 +15,7 @@ export const SkillModificationLevel = Entity(import.meta.url, {
15
15
  comment: "Configuration for this level for slow skills (rituals, ceremonies).",
16
16
  type: IncludeIdentifier(SlowSkillModificationLevelConfig),
17
17
  }),
18
- translations: NestedLocaleMap(Optional, "SkillModificationLevelTranslation", Object({
18
+ translations: NestedTranslationMap(Optional, "SkillModificationLevel", Object({
19
19
  fast: Optional({
20
20
  comment: "Configuration for this level for fast skills (spells, liturgical chants). Values set here override the default generated text.",
21
21
  type: IncludeIdentifier(LevelTypeConfigTranslation),
@@ -1,5 +1,5 @@
1
1
  import { Entity, Integer, Object, Required, String } from "tsondb/schema/def";
2
- import { NestedLocaleMap } from "./Locale.js";
2
+ import { NestedTranslationMap } from "./Locale.js";
3
3
  export const SocialStatus = Entity(import.meta.url, {
4
4
  name: "SocialStatus",
5
5
  namePlural: "SocialStatuses",
@@ -8,7 +8,7 @@ export const SocialStatus = Entity(import.meta.url, {
8
8
  comment: "The social status’ order. The higher the order, the more powerful the social status. This has to be a unique value.",
9
9
  type: Integer({ minimum: 1 }),
10
10
  }),
11
- translations: NestedLocaleMap(Required, "SocialStatusTranslation", Object({
11
+ translations: NestedTranslationMap(Required, "SocialStatus", Object({
12
12
  name: Required({
13
13
  comment: "The social status’ name.",
14
14
  type: String({ minLength: 1 }),
@@ -480,7 +480,7 @@ export declare const Spell: Entity<"Spell", {
480
480
  }, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, []>>, false>;
481
481
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
482
482
  id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
483
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
483
+ occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
484
484
  initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"InitialOccurrence", Object<{
485
485
  printing: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, false>;
486
486
  pages: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PageRange", Object<{
@@ -592,7 +592,7 @@ export declare const Spell: Entity<"Spell", {
592
592
  }, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, []>>, false>;
593
593
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
594
594
  id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
595
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
595
+ occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
596
596
  initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"InitialOccurrence", Object<{
597
597
  printing: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, false>;
598
598
  pages: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PageRange", Object<{
@@ -8,7 +8,7 @@ import { ImprovementCost } from "./_ImprovementCost.js";
8
8
  import { SpellworkPrerequisites } from "./_Prerequisite.js";
9
9
  import { SkillCheck, SkillCheckPenalty } from "./_SkillCheck.js";
10
10
  import { SpellworkTraditions } from "./_Spellwork.js";
11
- import { NestedLocaleMap } from "./Locale.js";
11
+ import { NestedTranslationMap } from "./Locale.js";
12
12
  import { Errata } from "./source/_Erratum.js";
13
13
  import { src } from "./source/_PublicationRef.js";
14
14
  export const Spell = Entity(import.meta.url, {
@@ -48,7 +48,7 @@ export const Spell = Entity(import.meta.url, {
48
48
  type: IncludeIdentifier(SpellworkPrerequisites),
49
49
  }),
50
50
  src,
51
- translations: NestedLocaleMap(Required, "SpellTranslation", Object({
51
+ translations: NestedTranslationMap(Required, "Spell", Object({
52
52
  name: Required({
53
53
  comment: "The spell’s name.",
54
54
  type: String({ minLength: 1 }),
@@ -2,7 +2,7 @@ import { Entity, IncludeIdentifier, Object, String } from "tsondb/schema/def";
2
2
  export declare const State: Entity<"State", {
3
3
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
4
4
  id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
5
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
5
+ occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
6
6
  initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"InitialOccurrence", Object<{
7
7
  printing: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, false>;
8
8
  pages: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PageRange", Object<{
@@ -1,5 +1,5 @@
1
1
  import { Entity, IncludeIdentifier, Object, Optional, Required, String } from "tsondb/schema/def";
2
- import { NestedLocaleMap } from "./Locale.js";
2
+ import { NestedTranslationMap } from "./Locale.js";
3
3
  import { Errata } from "./source/_Erratum.js";
4
4
  import { src } from "./source/_PublicationRef.js";
5
5
  export const State = Entity(import.meta.url, {
@@ -7,7 +7,7 @@ export const State = Entity(import.meta.url, {
7
7
  namePlural: "States",
8
8
  type: () => Object({
9
9
  src,
10
- translations: NestedLocaleMap(Required, "StateTranslation", Object({
10
+ translations: NestedTranslationMap(Required, "State", Object({
11
11
  name: Required({
12
12
  comment: "The state’s name.",
13
13
  type: String({ minLength: 1 }),
@@ -11,7 +11,7 @@ export declare const Talisman: Entity<"Talisman", {
11
11
  ap_value: import("tsondb/schema/def").MemberDecl<Integer, false>;
12
12
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
13
13
  id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
14
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
14
+ occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
15
15
  initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
16
16
  printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
17
17
  pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
@@ -1,6 +1,6 @@
1
1
  import { Array, Entity, Enum, EnumCase, IncludeIdentifier, Integer, Object, Optional, Required, String, TypeAlias, } from "tsondb/schema/def";
2
2
  import { BlessedTraditionIdentifier } from "./_Identifier.js";
3
- import { NestedLocaleMap } from "./Locale.js";
3
+ import { NestedTranslationMap } from "./Locale.js";
4
4
  import { Errata } from "./source/_Erratum.js";
5
5
  import { src } from "./source/_PublicationRef.js";
6
6
  export const Talisman = Entity(import.meta.url, {
@@ -20,7 +20,7 @@ export const Talisman = Entity(import.meta.url, {
20
20
  type: Integer({ minimum: 5, multipleOf: 5 }),
21
21
  }),
22
22
  src,
23
- translations: NestedLocaleMap(Required, "TalismanTranslation", Object({
23
+ translations: NestedTranslationMap(Required, "Talisman", Object({
24
24
  name: Required({
25
25
  comment: "The talisman’s name.",
26
26
  type: String({ minLength: 1 }),
@@ -1,5 +1,5 @@
1
1
  import { Entity, ObjectType, Optional, Required, String } from "tsondb/schema/def";
2
- import { NestedLocaleMap } from "./Locale.js";
2
+ import { NestedTranslationMap } from "./Locale.js";
3
3
  import { TargetCategoryIdentifier } from "./_Identifier.js";
4
4
  export const TargetCategory = Entity(import.meta.url, {
5
5
  name: "TargetCategory",
@@ -9,7 +9,7 @@ export const TargetCategory = Entity(import.meta.url, {
9
9
  comment: "A superordinate target category, if present.",
10
10
  type: TargetCategoryIdentifier(),
11
11
  }),
12
- translations: NestedLocaleMap(Required, "TargetCategoryTranslation", ObjectType({
12
+ translations: NestedTranslationMap(Required, "TargetCategory", ObjectType({
13
13
  name: Required({
14
14
  comment: "The target category’s name.",
15
15
  type: String({ minLength: 1 }),
@@ -700,7 +700,7 @@ export declare const select_options: import("tsondb/schema/def").MemberDecl<Incl
700
700
  ap_value: import("tsondb/schema/def").MemberDecl<Integer, false>;
701
701
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
702
702
  id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
703
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
703
+ occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
704
704
  initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
705
705
  printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
706
706
  pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
@@ -781,7 +781,7 @@ export declare const select_options: import("tsondb/schema/def").MemberDecl<Incl
781
781
  ap_value: import("tsondb/schema/def").MemberDecl<Integer, false>;
782
782
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
783
783
  id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
784
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
784
+ occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
785
785
  initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
786
786
  printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
787
787
  pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
@@ -915,7 +915,7 @@ export declare const GeneralSelectOption: Entity<"GeneralSelectOption", {
915
915
  ap_value: import("tsondb/schema/def").MemberDecl<Integer, false>;
916
916
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
917
917
  id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
918
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
918
+ occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
919
919
  initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
920
920
  printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
921
921
  pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
@@ -2,7 +2,7 @@
2
2
  * General type specifications used by multiple activatable entries.
3
3
  */
4
4
  import { Array, Boolean, Entity, Enum, EnumCase, GenEnum, GenIncludeIdentifier, GenTypeAlias, IncludeIdentifier, Integer, Object, Optional, Param, Required, String, TypeAlias, TypeArgument, } from "tsondb/schema/def";
5
- import { NestedLocaleMap } from "./Locale.js";
5
+ import { NestedTranslationMap } from "./Locale.js";
6
6
  import { SelectOptionCategory } from "./_ActivatableSelectOptionCategory.js";
7
7
  import { DurationUnitValue } from "./_ActivatableSkillDuration.js";
8
8
  import { AspectIdentifier, CloseCombatTechniqueIdentifier, GeneralIdentifier, MagicalTraditionIdentifier, NewSkillApplicationIdentifier, PatronIdentifier, PropertyIdentifier, RaceIdentifier, RangedCombatTechniqueIdentifier, SkillIdentifier, SkillUseIdentifier, WeaponIdentifier, } from "./_Identifier.js";
@@ -97,7 +97,7 @@ export const GeneralSelectOption = Entity(import.meta.url, {
97
97
  type: Integer({ minimum: 1 }),
98
98
  }),
99
99
  src: optionalSrc,
100
- translations: NestedLocaleMap(Required, "GeneralSelectOptionTranslation", Object({
100
+ translations: NestedTranslationMap(Required, "GeneralSelectOption", Object({
101
101
  name: Required({
102
102
  comment: "The name of the select option.",
103
103
  type: String({ minLength: 1 }),
@@ -150,7 +150,7 @@ const ExplicitSkillSelectOption = TypeAlias(import.meta.url, {
150
150
  type: Integer({ minimum: 1 }),
151
151
  }),
152
152
  src: optionalSrc,
153
- translations: NestedLocaleMap(Optional, "ExplicitSkillSelectOptionTranslation", Object({
153
+ translations: NestedTranslationMap(Optional, "ExplicitSkillSelectOption", Object({
154
154
  errata: Optional({
155
155
  type: IncludeIdentifier(Errata),
156
156
  }),
@@ -177,7 +177,7 @@ const ExplicitCombatTechniqueSelectOption = TypeAlias(import.meta.url, {
177
177
  type: Integer({ minimum: 1 }),
178
178
  }),
179
179
  src: optionalSrc,
180
- translations: NestedLocaleMap(Optional, "ExplicitCombatTechniqueSelectOptionTranslation", Object({
180
+ translations: NestedTranslationMap(Optional, "ExplicitCombatTechniqueSelectOption", Object({
181
181
  errata: Optional({
182
182
  type: IncludeIdentifier(Errata),
183
183
  }),
@@ -360,7 +360,7 @@ export const NewSkillApplication = Entity(import.meta.url, {
360
360
  comment: "If an application applies to multiple skills, it may need to ensure the respective skill is on a certain skill rating if the activatable entry cannot ensure this prerequisite.",
361
361
  type: Integer({ minimum: 1 }),
362
362
  }),
363
- translations: NestedLocaleMap(Optional, "NewSkillApplicationTranslation", Object({
363
+ translations: NestedTranslationMap(Optional, "NewSkillApplication", Object({
364
364
  name: Required({
365
365
  comment: "The name of the application if different from the activatable entry’s name.",
366
366
  type: String({ minLength: 1 }),
@@ -392,7 +392,7 @@ export const SkillUse = Entity(import.meta.url, {
392
392
  comment: "If a use applies to multiple skills, it may need to ensure the respective skill is on a certain skill rating if the activatable entry cannot ensure this prerequisite.",
393
393
  type: Integer({ minimum: 1 }),
394
394
  }),
395
- translations: NestedLocaleMap(Optional, "SkillUseTranslation", Object({
395
+ translations: NestedTranslationMap(Optional, "SkillUse", Object({
396
396
  name: Required({
397
397
  comment: "The name of the use if different from the activatable entry’s name.",
398
398
  type: String({ minLength: 1 }),
@@ -651,7 +651,7 @@ const FixedArcaneEnergyCost = TypeAlias(import.meta.url, {
651
651
  comment: "The AE cost are per level of the enchantment. It may either be displayed in a compressed way (e.g. `1 AE per level`) or in a verbose way (e.g. `1 AE for level I; 2 AE for level II`).",
652
652
  type: IncludeIdentifier(FixedArcaneEnergyCostPerLevel),
653
653
  }),
654
- translations: NestedLocaleMap(Optional, "FixedArcaneEnergyCostTranslation", Object({
654
+ translations: NestedTranslationMap(Optional, "FixedArcaneEnergyCost", Object({
655
655
  note: Optional({
656
656
  comment: "A note, appended to the generated option string in parenthesis.",
657
657
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -678,7 +678,7 @@ const ArcaneEnergyCostPerCountable = TypeAlias(import.meta.url, {
678
678
  comment: "If defined, in addition to the cost per entity you have to pay a flat amount, regardless of the entity count.",
679
679
  type: Integer({ minimum: 1 }),
680
680
  }),
681
- translations: NestedLocaleMap(Required, "ArcaneEnergyCostPerCountableTranslation", Object({
681
+ translations: NestedTranslationMap(Required, "ArcaneEnergyCostPerCountable", Object({
682
682
  per: Required({
683
683
  comment: "The cost have to be per a specific countable entity, e.g. `8 AE per person`.",
684
684
  type: IncludeIdentifier(ResponsiveText),
@@ -723,7 +723,7 @@ const IndefiniteArcaneEnergyCost = TypeAlias(import.meta.url, {
723
723
  comment: "Specified if the indefinite AP cost description needs to be modified by a certain value.",
724
724
  type: IncludeIdentifier(IndefiniteArcaneEnergyCostModifier),
725
725
  }),
726
- translations: NestedLocaleMap(Required, "IndefiniteArcaneEnergyCostTranslation", Object({
726
+ translations: NestedTranslationMap(Required, "IndefiniteArcaneEnergyCost", Object({
727
727
  description: Required({
728
728
  comment: "A description of where the cost come from.",
729
729
  type: IncludeIdentifier(ResponsiveText),
@@ -789,7 +789,7 @@ const ArcaneEnergyCostDisjunctionOption = TypeAlias(import.meta.url, {
789
789
  comment: "A possible AE cost value.",
790
790
  type: Integer({ minimum: 1 }),
791
791
  }),
792
- translations: NestedLocaleMap(Optional, "ArcaneEnergyCostDisjunctionOptionTranslation", Object({
792
+ translations: NestedTranslationMap(Optional, "ArcaneEnergyCostDisjunctionOption", Object({
793
793
  note: Optional({
794
794
  comment: "A note, appended to the generated option string in parenthesis.",
795
795
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -800,7 +800,7 @@ const ArcaneEnergyCostDisjunctionOption = TypeAlias(import.meta.url, {
800
800
  const NoArcaneEnergyCost = TypeAlias(import.meta.url, {
801
801
  name: "NoArcaneEnergyCost",
802
802
  type: () => Object({
803
- translations: NestedLocaleMap(Optional, "NoArcaneEnergyCostTranslation", Object({
803
+ translations: NestedTranslationMap(Optional, "NoArcaneEnergyCost", Object({
804
804
  note: Optional({
805
805
  comment: "A note, appended to the generated string in parenthesis.",
806
806
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -908,7 +908,7 @@ This will generate the exact same string as seen above. The associated options a
908
908
  comment: "The possible costs and associated labels.",
909
909
  type: Array(IncludeIdentifier(VolumeMapOption), { minItems: 2 }),
910
910
  }),
911
- translations: NestedLocaleMap(Optional, "VolumeMapTranslation", Object({
911
+ translations: NestedTranslationMap(Optional, "VolumeMap", Object({
912
912
  list_prepend: Optional({
913
913
  comment: "Place a string between the `for` and the grouped map option labels.",
914
914
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -935,7 +935,7 @@ const VolumeMapOption = TypeAlias(import.meta.url, {
935
935
  comment: "Links to the options this volume specification is meant for.",
936
936
  type: Array(IncludeIdentifier(VolumeMapOptionAssociatedOption), { minItems: 1 }),
937
937
  }),
938
- translations: NestedLocaleMap(Optional, "VolumeMapOptionTranslation", Object({
938
+ translations: NestedTranslationMap(Optional, "VolumeMapOption", Object({
939
939
  label: Required({
940
940
  comment: "The description of the option for cost string generation.",
941
941
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -1030,7 +1030,7 @@ This will generate the exact same string as seen above.`,
1030
1030
  comment: "The possible costs and associated labels.",
1031
1031
  type: Array(IncludeIdentifier(BindingCostMapOption), { minItems: 2 }),
1032
1032
  }),
1033
- translations: NestedLocaleMap(Optional, "BindingCostMapTranslation", Object({
1033
+ translations: NestedTranslationMap(Optional, "BindingCostMap", Object({
1034
1034
  list_prepend: Optional({
1035
1035
  comment: "Place a string between the `for` and the grouped map option labels.",
1036
1036
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -1053,7 +1053,7 @@ const BindingCostMapOption = TypeAlias(import.meta.url, {
1053
1053
  comment: "The full permanent AE cost value for this option.",
1054
1054
  type: Integer({ minimum: 1 }),
1055
1055
  }),
1056
- translations: NestedLocaleMap(Optional, "BindingCostMapOptionTranslation", Object({
1056
+ translations: NestedTranslationMap(Optional, "BindingCostMapOption", Object({
1057
1057
  label: Required({
1058
1058
  comment: "The description of the option for cost string generation.",
1059
1059
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -1376,7 +1376,7 @@ const AdventurePointsDerivedFromSelection = TypeAlias(import.meta.url, {
1376
1376
  name: "AdventurePointsDerivedFromSelection",
1377
1377
  comment: "The adventure points value is derived from the selection of the special ability. Its display value may be able to be derived from the given information for the select options. If that is not the case or the generated text would not match the original one, a replacement text can be provided.",
1378
1378
  type: () => Object({
1379
- translations: NestedLocaleMap(Optional, "AdventurePointsDerivedFromSelectionTranslation", Object({
1379
+ translations: NestedTranslationMap(Optional, "AdventurePointsDerivedFromSelection", Object({
1380
1380
  replacement: Optional({
1381
1381
  comment: "A replacement for the generated text if it would not match the original one.",
1382
1382
  type: String({ minLength: 1, isMarkdown: true }),
@@ -1,5 +1,5 @@
1
1
  import { Array, Boolean, Enum, EnumCase, GenEnum, GenIncludeIdentifier, GenTypeAlias, IncludeIdentifier, Integer, Object, Optional, Param, Required, String, TypeAlias, TypeArgument, } from "tsondb/schema/def";
2
- import { NestedLocaleMap } from "./Locale.js";
2
+ import { NestedTranslationMap } from "./Locale.js";
3
3
  import { CeremonyIdentifier, CloseCombatTechniqueIdentifier, ElementIdentifier, LiturgicalChantIdentifier, RangedCombatTechniqueIdentifier, RitualIdentifier, SkillGroupIdentifier, SkillIdentifier, SpellIdentifier, TargetCategoryIdentifier, } from "./_Identifier.js";
4
4
  import { ActivatableIdentifier, CombatTechniqueIdentifier, SkillishIdentifier, } from "./_IdentifierGroup.js";
5
5
  export const SelectOptionCategory = Enum(import.meta.url, {
@@ -219,7 +219,7 @@ const SkillApplicationOrUse = TypeAlias(import.meta.url, {
219
219
  comment: "The application’s or use’s identifier. An entry-unique, increasing integer.",
220
220
  type: Integer({ minimum: 1 }),
221
221
  }),
222
- translations: NestedLocaleMap(Optional, "SkillApplicationOrUseTranslation", Object({
222
+ translations: NestedTranslationMap(Optional, "SkillApplicationOrUse", Object({
223
223
  name: Required({
224
224
  comment: "The name of the application or use if different from the activatable entry’s name.",
225
225
  type: String({ minLength: 1 }),
@@ -2,7 +2,7 @@ import { Array, Boolean, Enum, EnumCase, IncludeIdentifier, Integer, Object, Opt
2
2
  import { DurationUnitValue } from "./_ActivatableSkillDuration.js";
3
3
  import { SkillModificationLevelIdentifier } from "./_Identifier.js";
4
4
  import { ResponsiveText, ResponsiveTextOptional, ResponsiveTextReplace } from "./_ResponsiveText.js";
5
- import { NestedLocaleMap } from "./Locale.js";
5
+ import { NestedTranslationMap } from "./Locale.js";
6
6
  export const OneTimeCost = Enum(import.meta.url, {
7
7
  name: "OneTimeCost",
8
8
  values: () => ({
@@ -37,7 +37,7 @@ const ModifiableOneTimeCost = TypeAlias(import.meta.url, {
37
37
  comment: "The part of the cost value that has to be spent permanently.",
38
38
  type: Integer({ minimum: 1 }),
39
39
  }),
40
- translations: NestedLocaleMap(Optional, "ModifiableOneTimeCostTranslation", Object({
40
+ translations: NestedTranslationMap(Optional, "ModifiableOneTimeCost", Object({
41
41
  replacement: Required({
42
42
  comment: "A replacement string.",
43
43
  type: IncludeIdentifier(ResponsiveTextReplace),
@@ -64,7 +64,7 @@ const NonModifiableOneTimeCost = TypeAlias(import.meta.url, {
64
64
  comment: "The cost have to be per a specific countable entity, e.g. `8 KP per person`.",
65
65
  type: IncludeIdentifier(NonModifiableOneTimeCostPerCountable),
66
66
  }),
67
- translations: NestedLocaleMap(Optional, "NonModifiableOneTimeCostTranslation", Object({
67
+ translations: NestedTranslationMap(Optional, "NonModifiableOneTimeCost", Object({
68
68
  note: Required({
69
69
  comment: "A note, appended to the generated string in parenthesis.",
70
70
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -79,7 +79,7 @@ const NonModifiableOneTimeCostPerCountable = TypeAlias(import.meta.url, {
79
79
  comment: "If defined, the minimum total AE that have to be spent casting the skill.",
80
80
  type: Integer({ minimum: 1 }),
81
81
  }),
82
- translations: NestedLocaleMap(Optional, "NonModifiableOneTimeCostPerCountableTranslation", Object({
82
+ translations: NestedTranslationMap(Optional, "NonModifiableOneTimeCostPerCountable", Object({
83
83
  countable: Required({
84
84
  comment: "The countable entity name.",
85
85
  type: IncludeIdentifier(ResponsiveText),
@@ -90,7 +90,7 @@ const NonModifiableOneTimeCostPerCountable = TypeAlias(import.meta.url, {
90
90
  export const IndefiniteOneTimeCost = TypeAlias(import.meta.url, {
91
91
  name: "IndefiniteOneTimeCost",
92
92
  type: () => Object({
93
- translations: NestedLocaleMap(Required, "IndefiniteOneTimeCostTranslation", Object({
93
+ translations: NestedTranslationMap(Required, "IndefiniteOneTimeCost", Object({
94
94
  description: Required({
95
95
  comment: "A description of where the cost come from.",
96
96
  type: IncludeIdentifier(ResponsiveText),
@@ -123,7 +123,7 @@ This will generate the exact same string as seen above – given it is set for a
123
123
  minItems: 2,
124
124
  }),
125
125
  }),
126
- translations: NestedLocaleMap(Optional, "CostMapTranslation", Object({
126
+ translations: NestedTranslationMap(Optional, "CostMap", Object({
127
127
  list_prepend: Optional({
128
128
  comment: "Place a string between the `for` and the grouped map option labels.",
129
129
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -150,7 +150,7 @@ const CostMapOption = TypeAlias(import.meta.url, {
150
150
  comment: "The part of the `value` that has to be paid permanently.",
151
151
  type: Integer({ minimum: 0 }),
152
152
  }),
153
- translations: NestedLocaleMap(Optional, "CostMapOptionTranslation", Object({
153
+ translations: NestedTranslationMap(Optional, "CostMapOption", Object({
154
154
  label: Required({
155
155
  comment: "The description of the option for cost string generation.",
156
156
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -214,7 +214,7 @@ const NonModifiableSustainedCostPerCountable = TypeAlias(import.meta.url, {
214
214
  comment: "If defined, the minimum total AE that have to be spent casting the skill.",
215
215
  type: Integer({ minimum: 1 }),
216
216
  }),
217
- translations: NestedLocaleMap(Required, "NonModifiableSustainedCostPerCountableTranslation", Object({
217
+ translations: NestedTranslationMap(Required, "NonModifiableSustainedCostPerCountable", Object({
218
218
  countable: Required({
219
219
  comment: "The countable entity name.",
220
220
  type: IncludeIdentifier(ResponsiveText),
@@ -1,7 +1,7 @@
1
1
  import { Boolean, Enum, EnumCase, IncludeIdentifier, Integer, Object, Optional, Required, TypeAlias, } from "tsondb/schema/def";
2
2
  import { CheckResultBasedModifier, CheckResultValue } from "./_ActivatableSkillCheckResultBased.js";
3
3
  import { ResponsiveText, ResponsiveTextReplace } from "./_ResponsiveText.js";
4
- import { NestedLocaleMap } from "./Locale.js";
4
+ import { NestedTranslationMap } from "./Locale.js";
5
5
  export const DurationForOneTime = Enum(import.meta.url, {
6
6
  name: "DurationForOneTime",
7
7
  values: () => ({
@@ -19,7 +19,7 @@ const Immediate = TypeAlias(import.meta.url, {
19
19
  comment: "Specified if the duration has a maximum time span.",
20
20
  type: IncludeIdentifier(DurationUnitValue),
21
21
  }),
22
- translations: NestedLocaleMap(Optional, "ImmediateTranslation", Object({
22
+ translations: NestedTranslationMap(Optional, "Immediate", Object({
23
23
  replacement: Optional({
24
24
  comment: "A replacement string.",
25
25
  type: IncludeIdentifier(ResponsiveTextReplace),
@@ -30,7 +30,7 @@ const Immediate = TypeAlias(import.meta.url, {
30
30
  const PermanentDuration = TypeAlias(import.meta.url, {
31
31
  name: "PermanentDuration",
32
32
  type: () => Object({
33
- translations: NestedLocaleMap(Optional, "PermanentDurationTranslation", Object({
33
+ translations: NestedTranslationMap(Optional, "PermanentDuration", Object({
34
34
  replacement: Optional({
35
35
  comment: "A replacement string.",
36
36
  type: IncludeIdentifier(ResponsiveTextReplace),
@@ -53,7 +53,7 @@ export const FixedDuration = TypeAlias(import.meta.url, {
53
53
  comment: "The duration unit.",
54
54
  type: IncludeIdentifier(DurationUnit),
55
55
  }),
56
- translations: NestedLocaleMap(Optional, "FixedDurationTranslation", Object({
56
+ translations: NestedTranslationMap(Optional, "FixedDuration", Object({
57
57
  replacement: Optional({
58
58
  comment: "A replacement string.",
59
59
  type: IncludeIdentifier(ResponsiveTextReplace),
@@ -80,7 +80,7 @@ export const CheckResultBasedDuration = TypeAlias(import.meta.url, {
80
80
  comment: "The duration unit.",
81
81
  type: IncludeIdentifier(DurationUnit),
82
82
  }),
83
- translations: NestedLocaleMap(Optional, "CheckResultBasedDurationTranslation", Object({
83
+ translations: NestedTranslationMap(Optional, "CheckResultBasedDuration", Object({
84
84
  replacement: Optional({
85
85
  comment: "A replacement string.",
86
86
  type: IncludeIdentifier(ResponsiveTextReplace),
@@ -91,7 +91,7 @@ export const CheckResultBasedDuration = TypeAlias(import.meta.url, {
91
91
  export const IndefiniteDuration = TypeAlias(import.meta.url, {
92
92
  name: "IndefiniteDuration",
93
93
  type: () => Object({
94
- translations: NestedLocaleMap(Required, "IndefiniteDurationTranslation", Object({
94
+ translations: NestedTranslationMap(Required, "IndefiniteDuration", Object({
95
95
  description: Required({
96
96
  comment: "A description of the duration.",
97
97
  type: IncludeIdentifier(ResponsiveText),
@@ -2,7 +2,7 @@ import { Boolean, Enum, EnumCase, IncludeIdentifier, Integer, Object, Optional,
2
2
  import { CheckResultBasedModifier, CheckResultValue } from "./_ActivatableSkillCheckResultBased.js";
3
3
  import { SkillModificationLevelIdentifier } from "./_Identifier.js";
4
4
  import { ResponsiveTextOptional, ResponsiveTextReplace } from "./_ResponsiveText.js";
5
- import { NestedLocaleMap } from "./Locale.js";
5
+ import { NestedTranslationMap } from "./Locale.js";
6
6
  export const Range = TypeAlias(import.meta.url, {
7
7
  name: "Range",
8
8
  type: () => Object({
@@ -10,7 +10,7 @@ export const Range = TypeAlias(import.meta.url, {
10
10
  comment: "The range value.",
11
11
  type: IncludeIdentifier(RangeValue),
12
12
  }),
13
- translations: NestedLocaleMap(Optional, "RangeTranslation", Object({
13
+ translations: NestedTranslationMap(Optional, "Range", Object({
14
14
  note: Optional({
15
15
  comment: "A note, appended to the generated string in parenthesis. If the generated is modified using `replacement`, the note is appended to the modifier string.",
16
16
  type: IncludeIdentifier(ResponsiveTextOptional),
@@ -1,5 +1,5 @@
1
1
  import { Array, Enum, EnumCase, IncludeIdentifier, Object, Optional, Required, String, TypeAlias, } from "tsondb/schema/def";
2
- import { NestedLocaleMap } from "./Locale.js";
2
+ import { NestedTranslationMap } from "./Locale.js";
3
3
  import { TargetCategoryIdentifier } from "./_Identifier.js";
4
4
  export const AffectedTargetCategories = TypeAlias(import.meta.url, {
5
5
  name: "AffectedTargetCategories",
@@ -12,7 +12,7 @@ const SpecificAffectedTargetCategory = TypeAlias(import.meta.url, {
12
12
  name: "SpecificAffectedTargetCategory",
13
13
  type: () => Object({
14
14
  id: Required({ type: IncludeIdentifier(SpecificAffectedTargetCategoryIdentifier) }),
15
- translations: NestedLocaleMap(Optional, "SpecificAffectedTargetCategoryTranslation", Object({
15
+ translations: NestedTranslationMap(Optional, "SpecificAffectedTargetCategory", Object({
16
16
  note: Required({ type: String({ minLength: 1 }) }),
17
17
  })),
18
18
  }),
@@ -24,7 +24,7 @@ export declare const ArcaneTraditionType: <TN extends string>(translationName: T
24
24
  }>, true>;
25
25
  }>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>;
26
26
  }, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, []>>, true>;
27
- translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<TN, {
27
+ translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<`${TN}Translation`, {
28
28
  name: import("tsondb/schema/def").MemberDecl<String, true>;
29
29
  }>, true>;
30
30
  }>;
@@ -1,11 +1,11 @@
1
1
  import { IncludeIdentifier, Object, Required, String } from "tsondb/schema/def";
2
- import { NestedLocaleMap } from "./Locale.js";
2
+ import { NestedTranslationMap } from "./Locale.js";
3
3
  import { ArcaneTraditionPrerequisites } from "./_Prerequisite.js";
4
4
  export const ArcaneTraditionType = (translationName) => () => Object({
5
5
  prerequisites: Required({
6
6
  type: IncludeIdentifier(ArcaneTraditionPrerequisites),
7
7
  }),
8
- translations: NestedLocaleMap(Required, translationName, Object({
8
+ translations: NestedTranslationMap(Required, translationName, Object({
9
9
  name: Required({
10
10
  comment: "The arcane tradition’s name.",
11
11
  type: String({ minLength: 1 }),
@@ -2,7 +2,7 @@
2
2
  * This file defines some shared types for different diseases and poisons.
3
3
  */
4
4
  import { Array, Enum, EnumCase, GenIncludeIdentifier, GenTypeAlias, IncludeIdentifier, Integer, Object, Optional, Param, Required, String, TypeAlias, TypeArgument, } from "tsondb/schema/def";
5
- import { NestedLocaleMap } from "./Locale.js";
5
+ import { NestedTranslationMap } from "./Locale.js";
6
6
  import { AlternativeName } from "./_AlternativeNames.js";
7
7
  import { Errata } from "./source/_Erratum.js";
8
8
  export const level = Required({
@@ -30,7 +30,7 @@ export const Cause = TypeAlias(import.meta.url, {
30
30
  comment: "The chance to get infected by this cause, in percent. Some causes do not have a specific chance.",
31
31
  type: Integer({ minimum: 5, multipleOf: 5, maximum: 100 }),
32
32
  }),
33
- translations: NestedLocaleMap(Required, "CauseTranslation", Object({
33
+ translations: NestedTranslationMap(Required, "Cause", Object({
34
34
  name: Required({
35
35
  comment: "The cause’s name.",
36
36
  type: String({ minLength: 1 }),
@@ -37,7 +37,7 @@ export declare const Enhancements: TypeAlias<"Enhancements", ChildEntities<Entit
37
37
  }, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, []>>, false>;
38
38
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
39
39
  id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
40
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
40
+ occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
41
41
  initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
42
42
  printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
43
43
  pages: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
@@ -119,7 +119,7 @@ export declare const Enhancement: Entity<"Enhancement", {
119
119
  }, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, []>>, false>;
120
120
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
121
121
  id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
122
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
122
+ occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
123
123
  initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
124
124
  printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
125
125
  pages: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
@@ -4,7 +4,7 @@
4
4
  import { ChildEntities, Entity, IncludeIdentifier, Integer, Object, Optional, Required, String, TypeAlias, } from "tsondb/schema/def";
5
5
  import { SkillWithEnhancementsIdentifier } from "./_IdentifierGroup.js";
6
6
  import { EnhancementPrerequisites } from "./_Prerequisite.js";
7
- import { NestedLocaleMap } from "./Locale.js";
7
+ import { NestedTranslationMap } from "./Locale.js";
8
8
  import { Errata } from "./source/_Erratum.js";
9
9
  import { PublicationRefs } from "./source/_PublicationRef.js";
10
10
  export const Enhancements = TypeAlias(import.meta.url, {
@@ -41,7 +41,7 @@ export const Enhancement = Entity(import.meta.url, {
41
41
  comment: "Only defined if different than the associated skill.",
42
42
  type: IncludeIdentifier(PublicationRefs),
43
43
  }),
44
- translations: NestedLocaleMap(Required, "EnhancementTranslation", Object({
44
+ translations: NestedTranslationMap(Required, "Enhancement", Object({
45
45
  name: Required({
46
46
  comment: "The name of the enhancement.",
47
47
  type: String({
@@ -26,7 +26,7 @@ export declare const Influence: Entity<"Influence", {
26
26
  }, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, []>>, false>;
27
27
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
28
28
  id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
29
- occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
29
+ occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
30
30
  initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
31
31
  printing: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, false>;
32
32
  pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{