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.
- package/CHANGELOG.md +16 -0
- package/gen/types.d.ts +5 -0
- package/lib/main.d.ts +1 -1
- package/lib/types/Advantage.d.ts +1055 -1053
- package/lib/types/Advantage.js +12 -12
- package/lib/types/AnimalDisease.d.ts +70 -69
- package/lib/types/AnimalDisease.js +8 -8
- package/lib/types/AnimalType.d.ts +4 -4
- package/lib/types/AnimalType.js +6 -6
- package/lib/types/ArcaneBardTradition.d.ts +23 -23
- package/lib/types/ArcaneBardTradition.js +2 -2
- package/lib/types/ArcaneDancerTradition.d.ts +23 -23
- package/lib/types/ArcaneDancerTradition.js +2 -2
- package/lib/types/Aspect.d.ts +5 -5
- package/lib/types/Aspect.js +8 -8
- package/lib/types/Attribute.d.ts +7 -7
- package/lib/types/Attribute.js +12 -12
- package/lib/types/Blessing.d.ts +79 -78
- package/lib/types/Blessing.js +43 -43
- package/lib/types/Cantrip.d.ts +98 -97
- package/lib/types/Cantrip.js +69 -69
- package/lib/types/Ceremony.d.ts +501 -499
- package/lib/types/Ceremony.js +38 -38
- package/lib/types/CombatTechnique.d.ts +113 -111
- package/lib/types/CombatTechnique.js +52 -50
- package/lib/types/Condition.d.ts +38 -37
- package/lib/types/Condition.js +12 -12
- package/lib/types/Continent.d.ts +4 -4
- package/lib/types/Continent.js +6 -6
- package/lib/types/Culture.d.ts +119 -118
- package/lib/types/Culture.js +157 -157
- package/lib/types/DerivedCharacteristic.d.ts +58 -57
- package/lib/types/DerivedCharacteristic.js +22 -22
- package/lib/types/Disadvantage.d.ts +989 -987
- package/lib/types/Disadvantage.js +14 -14
- package/lib/types/Disease.d.ts +84 -83
- package/lib/types/Disease.js +6 -6
- package/lib/types/Element.d.ts +4 -4
- package/lib/types/Element.js +6 -6
- package/lib/types/ExperienceLevel.d.ts +11 -11
- package/lib/types/ExperienceLevel.js +20 -20
- package/lib/types/EyeColor.d.ts +4 -4
- package/lib/types/EyeColor.js +6 -6
- package/lib/types/FamiliarsTrick.d.ts +141 -140
- package/lib/types/FamiliarsTrick.js +92 -88
- package/lib/types/HairColor.d.ts +4 -4
- package/lib/types/HairColor.js +6 -6
- package/lib/types/HomunculusType.d.ts +4 -4
- package/lib/types/HomunculusType.js +6 -6
- package/lib/types/Lessons.d.ts +129 -128
- package/lib/types/Lessons.js +98 -92
- package/lib/types/LiturgicalChant.d.ts +501 -499
- package/lib/types/LiturgicalChant.js +38 -38
- package/lib/types/Locale.d.ts +10 -10
- package/lib/types/Locale.js +16 -15
- package/lib/types/MetaCondition.d.ts +38 -37
- package/lib/types/MetaCondition.js +12 -12
- package/lib/types/PactCategory.d.ts +52 -51
- package/lib/types/PactCategory.js +24 -24
- package/lib/types/Patron.d.ts +74 -73
- package/lib/types/Patron.js +86 -83
- package/lib/types/PatronCategory.d.ts +5 -5
- package/lib/types/PatronCategory.js +8 -8
- package/lib/types/PersonalityTrait.d.ts +60 -59
- package/lib/types/PersonalityTrait.js +22 -22
- package/lib/types/Profession.d.ts +1835 -1833
- package/lib/types/Profession.js +259 -255
- package/lib/types/Property.d.ts +5 -5
- package/lib/types/Property.js +8 -8
- package/lib/types/Race.d.ts +156 -155
- package/lib/types/Race.js +130 -129
- package/lib/types/Region.d.ts +4 -4
- package/lib/types/Region.js +6 -6
- package/lib/types/Ritual.d.ts +503 -501
- package/lib/types/Ritual.js +37 -37
- package/lib/types/Service.d.ts +40 -39
- package/lib/types/Service.js +15 -15
- package/lib/types/SexPractice.d.ts +37 -36
- package/lib/types/SexPractice.js +14 -14
- package/lib/types/Skill.d.ts +84 -83
- package/lib/types/Skill.js +51 -51
- package/lib/types/SkillGroup.d.ts +7 -7
- package/lib/types/SkillGroup.js +12 -12
- package/lib/types/SkillModificationLevel.d.ts +22 -22
- package/lib/types/SkillModificationLevel.js +41 -41
- package/lib/types/SocialStatus.d.ts +5 -5
- package/lib/types/SocialStatus.js +8 -8
- package/lib/types/Spell.d.ts +503 -501
- package/lib/types/Spell.js +37 -37
- package/lib/types/State.d.ts +37 -36
- package/lib/types/State.js +10 -10
- package/lib/types/Talisman.d.ts +81 -80
- package/lib/types/Talisman.js +50 -48
- package/lib/types/TargetCategory.d.ts +5 -5
- package/lib/types/TargetCategory.js +7 -7
- package/lib/types/_Activatable.d.ts +9 -9
- package/lib/types/_Activatable.js +17 -17
- package/lib/types/_ActivatableAdvanced.d.ts +41 -41
- package/lib/types/_ActivatableAdvanced.js +48 -44
- package/lib/types/_ActivatableAdventurePointsValue.d.ts +146 -146
- package/lib/types/_ActivatableAdventurePointsValue.js +62 -62
- package/lib/types/_ActivatableAutomatic.d.ts +67 -67
- package/lib/types/_ActivatableAutomatic.js +30 -30
- package/lib/types/_ActivatableCombat.d.ts +94 -94
- package/lib/types/_ActivatableCombat.js +180 -174
- package/lib/types/_ActivatableNonMundane.d.ts +301 -301
- package/lib/types/_ActivatableNonMundane.js +204 -202
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +1256 -1256
- package/lib/types/_ActivatableSelectOptionCategory.js +250 -226
- package/lib/types/_ActivatableSelectOptions.d.ts +960 -958
- package/lib/types/_ActivatableSelectOptions.js +34 -34
- package/lib/types/_ActivatableSkill.d.ts +880 -880
- package/lib/types/_ActivatableSkill.js +47 -43
- package/lib/types/_ActivatableSkillApplicationsAndUses.d.ts +97 -97
- package/lib/types/_ActivatableSkillApplicationsAndUses.js +27 -27
- package/lib/types/_ActivatableSkillCastingTime.d.ts +52 -52
- package/lib/types/_ActivatableSkillCastingTime.js +40 -40
- package/lib/types/_ActivatableSkillCheckResultBased.d.ts +18 -18
- package/lib/types/_ActivatableSkillCheckResultBased.js +19 -19
- package/lib/types/_ActivatableSkillCost.d.ts +208 -208
- package/lib/types/_ActivatableSkillCost.js +113 -113
- package/lib/types/_ActivatableSkillDuration.d.ts +159 -159
- package/lib/types/_ActivatableSkillDuration.js +69 -69
- package/lib/types/_ActivatableSkillEffect.d.ts +12 -12
- package/lib/types/_ActivatableSkillEffect.js +28 -28
- package/lib/types/_ActivatableSkillRange.d.ts +46 -46
- package/lib/types/_ActivatableSkillRange.js +50 -50
- package/lib/types/_ActivatableSkillTargetCategory.d.ts +11 -11
- package/lib/types/_ActivatableSkillTargetCategory.js +15 -15
- package/lib/types/_AlternativeNames.d.ts +4 -4
- package/lib/types/_AlternativeNames.js +7 -7
- package/lib/types/_ArcaneTradition.d.ts +23 -23
- package/lib/types/_ArcaneTradition.js +7 -7
- package/lib/types/_Blessed.d.ts +6 -6
- package/lib/types/_Blessed.js +9 -9
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +6 -6
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.js +9 -9
- package/lib/types/_Dice.d.ts +5 -5
- package/lib/types/_Dice.js +9 -9
- package/lib/types/_DiseasePoison.d.ts +47 -47
- package/lib/types/_DiseasePoison.js +50 -50
- package/lib/types/_Enhancements.d.ts +125 -123
- package/lib/types/_Enhancements.js +22 -22
- package/lib/types/_Identifier.d.ts +1 -1
- package/lib/types/_Identifier.js +1 -1
- package/lib/types/_IdentifierGroup.d.ts +328 -328
- package/lib/types/_IdentifierGroup.js +328 -328
- package/lib/types/_ImprovementCost.d.ts +6 -6
- package/lib/types/_ImprovementCost.js +6 -6
- package/lib/types/_Influence.d.ts +58 -57
- package/lib/types/_Influence.js +18 -18
- package/lib/types/_MathExpression.d.ts +5 -5
- package/lib/types/_MathExpression.js +12 -12
- package/lib/types/_Prerequisite.d.ts +333 -333
- package/lib/types/_Prerequisite.js +89 -73
- package/lib/types/_ResponsiveText.d.ts +10 -10
- package/lib/types/_ResponsiveText.js +23 -17
- package/lib/types/_Sex.d.ts +4 -4
- package/lib/types/_Sex.js +4 -4
- package/lib/types/_SizeCategory.d.ts +14 -14
- package/lib/types/_SizeCategory.js +15 -15
- package/lib/types/_SkillCheck.d.ts +10 -10
- package/lib/types/_SkillCheck.js +11 -11
- package/lib/types/_Spellwork.d.ts +12 -12
- package/lib/types/_Spellwork.js +15 -15
- package/lib/types/equipment/EquipmentPackage.d.ts +68 -67
- package/lib/types/equipment/EquipmentPackage.js +14 -14
- package/lib/types/equipment/item/Ammunition.d.ts +52 -51
- package/lib/types/equipment/item/Ammunition.js +16 -16
- package/lib/types/equipment/item/Animal.d.ts +52 -51
- package/lib/types/equipment/item/Animal.js +5 -5
- package/lib/types/equipment/item/AnimalCare.d.ts +61 -60
- package/lib/types/equipment/item/AnimalCare.js +20 -20
- package/lib/types/equipment/item/Armor.d.ts +122 -121
- package/lib/types/equipment/item/Armor.js +79 -79
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +143 -142
- package/lib/types/equipment/item/BandageOrRemedy.js +13 -13
- package/lib/types/equipment/item/Book.d.ts +103 -102
- package/lib/types/equipment/item/Book.js +65 -65
- package/lib/types/equipment/item/CeremonialItem.d.ts +144 -143
- package/lib/types/equipment/item/CeremonialItem.js +14 -14
- package/lib/types/equipment/item/Clothes.d.ts +143 -142
- package/lib/types/equipment/item/Clothes.js +13 -13
- package/lib/types/equipment/item/ClothingPackage.d.ts +45 -44
- package/lib/types/equipment/item/ClothingPackage.js +6 -6
- package/lib/types/equipment/item/Container.d.ts +143 -142
- package/lib/types/equipment/item/Container.js +13 -13
- package/lib/types/equipment/item/Elixir.d.ts +80 -79
- package/lib/types/equipment/item/Elixir.js +35 -32
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +152 -151
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +11 -11
- package/lib/types/equipment/item/GemOrPreciousStone.d.ts +54 -53
- package/lib/types/equipment/item/GemOrPreciousStone.js +20 -20
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +149 -148
- package/lib/types/equipment/item/IlluminationLightSource.js +26 -26
- package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +143 -142
- package/lib/types/equipment/item/IlluminationRefillOrSupply.js +13 -13
- package/lib/types/equipment/item/Jewelry.d.ts +56 -55
- package/lib/types/equipment/item/Jewelry.js +17 -17
- package/lib/types/equipment/item/Laboratory.d.ts +59 -58
- package/lib/types/equipment/item/Laboratory.js +11 -11
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +143 -142
- package/lib/types/equipment/item/Liebesspielzeug.js +13 -13
- package/lib/types/equipment/item/LuxuryGood.d.ts +143 -142
- package/lib/types/equipment/item/LuxuryGood.js +13 -13
- package/lib/types/equipment/item/MagicalArtifact.d.ts +146 -145
- package/lib/types/equipment/item/MagicalArtifact.js +30 -30
- package/lib/types/equipment/item/MusicalInstrument.d.ts +143 -142
- package/lib/types/equipment/item/MusicalInstrument.js +13 -13
- package/lib/types/equipment/item/Newspaper.d.ts +48 -47
- package/lib/types/equipment/item/Newspaper.js +12 -12
- package/lib/types/equipment/item/OrienteeringAid.d.ts +142 -141
- package/lib/types/equipment/item/Poison.d.ts +428 -427
- package/lib/types/equipment/item/Poison.js +215 -210
- package/lib/types/equipment/item/RopeOrChain.d.ts +142 -141
- package/lib/types/equipment/item/Stationery.d.ts +142 -141
- package/lib/types/equipment/item/ThievesTool.d.ts +142 -141
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +60 -59
- package/lib/types/equipment/item/ToolOfTheTrade.js +11 -11
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +143 -142
- package/lib/types/equipment/item/TravelGearOrTool.js +13 -13
- package/lib/types/equipment/item/Vehicle.d.ts +58 -57
- package/lib/types/equipment/item/Vehicle.js +9 -9
- package/lib/types/equipment/item/Weapon.d.ts +160 -159
- package/lib/types/equipment/item/Weapon.js +53 -49
- package/lib/types/equipment/item/WeaponAccessory.d.ts +143 -142
- package/lib/types/equipment/item/WeaponAccessory.js +13 -13
- package/lib/types/equipment/item/_Herbary.d.ts +34 -34
- package/lib/types/equipment/item/_Herbary.js +19 -19
- package/lib/types/equipment/item/_Item.d.ts +294 -293
- package/lib/types/equipment/item/_Item.js +102 -102
- package/lib/types/equipment/item/_MeleeWeapon.d.ts +47 -47
- package/lib/types/equipment/item/_MeleeWeapon.js +43 -43
- package/lib/types/equipment/item/_RangedWeapon.d.ts +25 -25
- package/lib/types/equipment/item/_RangedWeapon.js +39 -39
- package/lib/types/equipment/item/_Weapon.d.ts +10 -9
- package/lib/types/equipment/item/_Weapon.js +19 -19
- package/lib/types/equipment/item/sub/ArmorType.d.ts +5 -5
- package/lib/types/equipment/item/sub/ArmorType.js +8 -8
- package/lib/types/equipment/item/sub/Reach.d.ts +4 -4
- package/lib/types/equipment/item/sub/Reach.js +6 -6
- package/lib/types/magicalActions/AnimistPower.d.ts +228 -226
- package/lib/types/magicalActions/AnimistPower.js +79 -77
- package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +23 -23
- package/lib/types/magicalActions/AnimistPower_Tribe.js +8 -8
- package/lib/types/magicalActions/Curse.d.ts +163 -162
- package/lib/types/magicalActions/Curse.js +54 -54
- package/lib/types/magicalActions/DominationRitual.d.ts +153 -152
- package/lib/types/magicalActions/DominationRitual.js +53 -53
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +92 -91
- package/lib/types/magicalActions/ElvenMagicalSong.js +45 -45
- package/lib/types/magicalActions/GeodeRitual.d.ts +165 -164
- package/lib/types/magicalActions/GeodeRitual.js +57 -57
- package/lib/types/magicalActions/JesterTrick.d.ts +231 -230
- package/lib/types/magicalActions/JesterTrick.js +67 -67
- package/lib/types/magicalActions/MagicalDance.d.ts +89 -88
- package/lib/types/magicalActions/MagicalDance.js +46 -46
- package/lib/types/magicalActions/MagicalMelody.d.ts +86 -85
- package/lib/types/magicalActions/MagicalMelody.js +44 -44
- package/lib/types/magicalActions/MagicalRune.d.ts +213 -212
- package/lib/types/magicalActions/MagicalRune.js +122 -117
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +301 -300
- package/lib/types/magicalActions/ZibiljaRitual.js +36 -34
- package/lib/types/magicalActions/_MusicTradition.d.ts +12 -12
- package/lib/types/magicalActions/_MusicTradition.js +19 -19
- package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +16 -16
- package/lib/types/prerequisites/ConditionalPrerequisites.js +3 -3
- package/lib/types/prerequisites/DisplayOption.d.ts +9 -9
- package/lib/types/prerequisites/DisplayOption.js +11 -11
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +1099 -1099
- package/lib/types/prerequisites/PrerequisiteGroups.js +94 -86
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +100 -100
- package/lib/types/prerequisites/single/ActivatablePrerequisite.js +15 -15
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +13 -13
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.js +10 -10
- package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +11 -11
- package/lib/types/prerequisites/single/CulturePrerequisite.js +6 -6
- package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +3 -3
- package/lib/types/prerequisites/single/EnhancementPrerequisite.js +4 -4
- package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +12 -12
- package/lib/types/prerequisites/single/InfluencePrerequisite.js +8 -8
- package/lib/types/prerequisites/single/PactPrerequisite.d.ts +13 -13
- package/lib/types/prerequisites/single/PactPrerequisite.js +10 -10
- package/lib/types/prerequisites/single/PersonalityTraitPrerequisite.d.ts +12 -12
- package/lib/types/prerequisites/single/PersonalityTraitPrerequisite.js +8 -8
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +14 -14
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +12 -12
- package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +11 -11
- package/lib/types/prerequisites/single/PublicationPrerequisite.js +6 -6
- package/lib/types/prerequisites/single/RacePrerequisite.d.ts +12 -12
- package/lib/types/prerequisites/single/RacePrerequisite.js +8 -8
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +35 -35
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +38 -36
- package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +20 -20
- package/lib/types/prerequisites/single/RatedPrerequisite.js +9 -9
- package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +12 -12
- package/lib/types/prerequisites/single/RatedSumPrerequisite.js +9 -9
- package/lib/types/prerequisites/single/RulePrerequisite.d.ts +13 -13
- package/lib/types/prerequisites/single/RulePrerequisite.js +7 -7
- package/lib/types/prerequisites/single/SexPrerequisite.d.ts +13 -13
- package/lib/types/prerequisites/single/SexPrerequisite.js +7 -7
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +5 -5
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +8 -8
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +11 -11
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.js +6 -6
- package/lib/types/prerequisites/single/StatePrerequisite.d.ts +11 -11
- package/lib/types/prerequisites/single/StatePrerequisite.js +6 -6
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +14 -14
- package/lib/types/prerequisites/single/TextPrerequisite.js +18 -18
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +25 -25
- package/lib/types/prerequisites/single/TraditionPrerequisite.js +19 -19
- package/lib/types/rule/AlternativeRule.d.ts +39 -38
- package/lib/types/rule/AlternativeRule.js +14 -14
- package/lib/types/rule/AlternativeRule_PlayerType.d.ts +4 -4
- package/lib/types/rule/AlternativeRule_PlayerType.js +6 -6
- package/lib/types/rule/CoreRule.d.ts +117 -116
- package/lib/types/rule/CoreRule.js +108 -106
- package/lib/types/rule/FocusRule.d.ts +59 -58
- package/lib/types/rule/FocusRule.js +17 -17
- package/lib/types/rule/FocusRule_Subject.d.ts +4 -4
- package/lib/types/rule/FocusRule_Subject.js +6 -6
- package/lib/types/rule/OptionalRule.d.ts +58 -57
- package/lib/types/rule/OptionalRule.js +16 -16
- package/lib/types/source/Publication.d.ts +41 -41
- package/lib/types/source/Publication.js +28 -28
- package/lib/types/source/_Erratum.d.ts +7 -7
- package/lib/types/source/_Erratum.js +9 -9
- package/lib/types/source/_PublicationRef.d.ts +117 -113
- package/lib/types/source/_PublicationRef.js +62 -58
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +1075 -1073
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +8 -8
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +985 -983
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +8 -8
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +985 -983
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +8 -8
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +985 -983
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +8 -8
- package/lib/types/specialAbility/AncestorGlyph.d.ts +938 -936
- package/lib/types/specialAbility/AncestorGlyph.js +10 -10
- package/lib/types/specialAbility/BlessedTradition.d.ts +1008 -1006
- package/lib/types/specialAbility/BlessedTradition.js +52 -52
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +990 -988
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +8 -8
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +986 -984
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +8 -8
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +1076 -1074
- package/lib/types/specialAbility/CombatSpecialAbility.js +8 -8
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +1117 -1115
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +8 -8
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +990 -988
- package/lib/types/specialAbility/CommandSpecialAbility.js +8 -8
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +937 -935
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +8 -8
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +937 -935
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +8 -8
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +985 -983
- package/lib/types/specialAbility/FatePointSpecialAbility.js +8 -8
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +986 -984
- package/lib/types/specialAbility/GeneralSpecialAbility.js +8 -8
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +937 -935
- package/lib/types/specialAbility/KarmaSpecialAbility.js +8 -8
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +1025 -1023
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +8 -8
- package/lib/types/specialAbility/LycantropicGift.d.ts +937 -935
- package/lib/types/specialAbility/LycantropicGift.js +8 -8
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +1025 -1023
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +8 -8
- package/lib/types/specialAbility/MagicalSign.d.ts +91 -90
- package/lib/types/specialAbility/MagicalSign.js +21 -21
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +986 -984
- package/lib/types/specialAbility/MagicalSpecialAbility.js +8 -8
- package/lib/types/specialAbility/MagicalTradition.d.ts +1004 -1002
- package/lib/types/specialAbility/MagicalTradition.js +40 -40
- package/lib/types/specialAbility/PactGift.d.ts +1008 -1006
- package/lib/types/specialAbility/PactGift.js +23 -21
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +939 -937
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +14 -14
- package/lib/types/specialAbility/Sermon.d.ts +937 -935
- package/lib/types/specialAbility/Sermon.js +8 -8
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +985 -983
- package/lib/types/specialAbility/SexSpecialAbility.js +8 -8
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +937 -935
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +8 -8
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +977 -975
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +8 -8
- package/lib/types/specialAbility/VampiricGift.d.ts +937 -935
- package/lib/types/specialAbility/VampiricGift.js +8 -8
- package/lib/types/specialAbility/Vision.d.ts +937 -935
- package/lib/types/specialAbility/Vision.js +8 -8
- package/lib/types/specialAbility/_Tradition.d.ts +4 -4
- package/lib/types/specialAbility/_Tradition.js +7 -7
- package/lib/types/specialAbility/sub/Language.d.ts +80 -79
- package/lib/types/specialAbility/sub/Language.js +37 -37
- package/lib/types/specialAbility/sub/Script.d.ts +45 -44
- package/lib/types/specialAbility/sub/Script.js +18 -18
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +859 -857
- package/lib/types/specialAbility/sub/TradeSecret.js +26 -26
- package/lib/types/specialAbility/sub/_LanguageScript.d.ts +4 -4
- package/lib/types/specialAbility/sub/_LanguageScript.js +6 -6
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/AttireEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/Beutelzauber.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/Beutelzauber.js +8 -8
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/BowlEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +1106 -1104
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +9 -9
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +1112 -1110
- package/lib/types/traditionArtifacts/DaggerRitual.js +25 -25
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/Haubenzauber.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/Haubenzauber.js +8 -8
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +8 -8
- package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/Kristallkugelzauber.js +8 -8
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/OrbEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/RingEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/SickleRitual.js +8 -8
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +1108 -1106
- package/lib/types/traditionArtifacts/StaffEnchantment.js +10 -10
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/ToyEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +8 -8
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +1071 -1069
- package/lib/types/traditionArtifacts/WandEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +6 -6
- package/lib/types/traditionArtifacts/sub/AnimalShape.js +8 -8
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +4 -4
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +6 -6
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +6 -6
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +10 -10
- package/lib/types/traditionArtifacts/sub/Brew.d.ts +4 -4
- package/lib/types/traditionArtifacts/sub/Brew.js +6 -6
- package/package.json +2 -2
- package/lib/types/_I18n.d.ts +0 -14
- package/lib/types/_I18n.js +0 -55
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import
|
|
2
|
-
export const ActivatableSkillEffect = Enum(import.meta.url, {
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export const ActivatableSkillEffect = DB.Enum(import.meta.url, {
|
|
3
3
|
name: "ActivatableSkillEffect",
|
|
4
4
|
comment: "The effect description may be either a plain text or a text that is divided by a list of effects for each quality level. It may also be a list for each two quality levels.",
|
|
5
5
|
values: () => ({
|
|
6
|
-
Plain: EnumCase({
|
|
7
|
-
type: IncludeIdentifier(ActivatableSkillPlainEffect),
|
|
6
|
+
Plain: DB.EnumCase({
|
|
7
|
+
type: DB.IncludeIdentifier(ActivatableSkillPlainEffect),
|
|
8
8
|
}),
|
|
9
|
-
ForEachQualityLevel: EnumCase({
|
|
10
|
-
type: IncludeIdentifier(ActivatableSkillEffectForEachQualityLevel),
|
|
9
|
+
ForEachQualityLevel: DB.EnumCase({
|
|
10
|
+
type: DB.IncludeIdentifier(ActivatableSkillEffectForEachQualityLevel),
|
|
11
11
|
}),
|
|
12
|
-
ForEachTwoQualityLevels: EnumCase({
|
|
13
|
-
type: IncludeIdentifier(ActivatableSkillEffectForEachTwoQualityLevels),
|
|
12
|
+
ForEachTwoQualityLevels: DB.EnumCase({
|
|
13
|
+
type: DB.IncludeIdentifier(ActivatableSkillEffectForEachTwoQualityLevels),
|
|
14
14
|
}),
|
|
15
15
|
}),
|
|
16
16
|
});
|
|
17
|
-
const ActivatableSkillPlainEffect = TypeAlias(import.meta.url, {
|
|
17
|
+
const ActivatableSkillPlainEffect = DB.TypeAlias(import.meta.url, {
|
|
18
18
|
name: "ActivatableSkillPlainEffect",
|
|
19
|
-
type: () => Object({
|
|
20
|
-
text: Required({
|
|
19
|
+
type: () => DB.Object({
|
|
20
|
+
text: DB.Required({
|
|
21
21
|
comment: "The effect description.",
|
|
22
|
-
type: String({ minLength: 1, isMarkdown: true }),
|
|
22
|
+
type: DB.String({ minLength: 1, isMarkdown: true }),
|
|
23
23
|
}),
|
|
24
24
|
}),
|
|
25
25
|
});
|
|
26
|
-
const ActivatableSkillEffectForEachQualityLevel = TypeAlias(import.meta.url, {
|
|
26
|
+
const ActivatableSkillEffectForEachQualityLevel = DB.TypeAlias(import.meta.url, {
|
|
27
27
|
name: "ActivatableSkillEffectForEachQualityLevel",
|
|
28
|
-
type: () => Object({
|
|
29
|
-
text_before: Required({
|
|
28
|
+
type: () => DB.Object({
|
|
29
|
+
text_before: DB.Required({
|
|
30
30
|
comment: "The effect description before the list of effects for each quality level.",
|
|
31
|
-
type: String({ minLength: 1, isMarkdown: true }),
|
|
31
|
+
type: DB.String({ minLength: 1, isMarkdown: true }),
|
|
32
32
|
}),
|
|
33
|
-
quality_levels: Required({
|
|
33
|
+
quality_levels: DB.Required({
|
|
34
34
|
comment: "The list of effects for each quality level. The first element represents QL 1, the second element QL 2, and so on.",
|
|
35
|
-
type: Array(String({ minLength: 1, isMarkdown: true }), {
|
|
35
|
+
type: DB.Array(DB.String({ minLength: 1, isMarkdown: true }), {
|
|
36
36
|
minItems: 6,
|
|
37
37
|
maxItems: 6,
|
|
38
38
|
}),
|
|
39
39
|
}),
|
|
40
|
-
text_after: Optional({
|
|
40
|
+
text_after: DB.Optional({
|
|
41
41
|
comment: "The effect description after the list of effects for each quality level.",
|
|
42
|
-
type: String({ minLength: 1, isMarkdown: true }),
|
|
42
|
+
type: DB.String({ minLength: 1, isMarkdown: true }),
|
|
43
43
|
}),
|
|
44
44
|
}),
|
|
45
45
|
});
|
|
46
|
-
const ActivatableSkillEffectForEachTwoQualityLevels = TypeAlias(import.meta.url, {
|
|
46
|
+
const ActivatableSkillEffectForEachTwoQualityLevels = DB.TypeAlias(import.meta.url, {
|
|
47
47
|
name: "ActivatableSkillEffectForEachTwoQualityLevels",
|
|
48
|
-
type: () => Object({
|
|
49
|
-
text_before: Required({
|
|
48
|
+
type: () => DB.Object({
|
|
49
|
+
text_before: DB.Required({
|
|
50
50
|
comment: "The effect description before the list of effects for each quality level.",
|
|
51
|
-
type: String({ minLength: 1, isMarkdown: true }),
|
|
51
|
+
type: DB.String({ minLength: 1, isMarkdown: true }),
|
|
52
52
|
}),
|
|
53
|
-
quality_levels: Required({
|
|
53
|
+
quality_levels: DB.Required({
|
|
54
54
|
comment: "The list of effects for each two quality levels. The first element represents QL 1–2, the second element QL 3–4 and the third element QL 5–6.",
|
|
55
|
-
type: Array(String({ minLength: 1, isMarkdown: true }), {
|
|
55
|
+
type: DB.Array(DB.String({ minLength: 1, isMarkdown: true }), {
|
|
56
56
|
minItems: 3,
|
|
57
57
|
maxItems: 3,
|
|
58
58
|
}),
|
|
59
59
|
}),
|
|
60
|
-
text_after: Optional({
|
|
60
|
+
text_after: DB.Optional({
|
|
61
61
|
comment: "The effect description after the list of effects for each quality level.",
|
|
62
|
-
type: String({ minLength: 1, isMarkdown: true }),
|
|
62
|
+
type: DB.String({ minLength: 1, isMarkdown: true }),
|
|
63
63
|
}),
|
|
64
64
|
}),
|
|
65
65
|
});
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const Range: TypeAlias<"Range", Object<{
|
|
3
|
-
value:
|
|
4
|
-
Modifiable: EnumCase<IncludeIdentifier<[], TypeAlias<"ModifiableRange", Object<{
|
|
5
|
-
is_maximum:
|
|
6
|
-
initial_modification_level:
|
|
7
|
-
is_radius:
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const Range: DB.TypeAlias<"Range", DB.Object<{
|
|
3
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeValue", {
|
|
4
|
+
Modifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ModifiableRange", DB.Object<{
|
|
5
|
+
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
6
|
+
initial_modification_level: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
7
|
+
is_radius: DB.MemberDecl<DB.Boolean, false>;
|
|
8
8
|
}>, []>>>;
|
|
9
|
-
Sight: EnumCase<null>;
|
|
10
|
-
Self: EnumCase<null>;
|
|
11
|
-
Global: EnumCase<null>;
|
|
12
|
-
Touch: EnumCase<null>;
|
|
13
|
-
Fixed: EnumCase<IncludeIdentifier<[], TypeAlias<"FixedRange", Object<{
|
|
14
|
-
is_maximum:
|
|
15
|
-
value:
|
|
16
|
-
unit:
|
|
17
|
-
Steps: EnumCase<null>;
|
|
18
|
-
Miles: EnumCase<null>;
|
|
9
|
+
Sight: DB.EnumCase<null>;
|
|
10
|
+
Self: DB.EnumCase<null>;
|
|
11
|
+
Global: DB.EnumCase<null>;
|
|
12
|
+
Touch: DB.EnumCase<null>;
|
|
13
|
+
Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedRange", DB.Object<{
|
|
14
|
+
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
15
|
+
value: DB.MemberDecl<DB.Integer, true>;
|
|
16
|
+
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
|
|
17
|
+
Steps: DB.EnumCase<null>;
|
|
18
|
+
Miles: DB.EnumCase<null>;
|
|
19
19
|
}, []>>, true>;
|
|
20
|
-
is_radius:
|
|
20
|
+
is_radius: DB.MemberDecl<DB.Boolean, false>;
|
|
21
21
|
}>, []>>>;
|
|
22
|
-
CheckResultBased: EnumCase<IncludeIdentifier<[], TypeAlias<"CheckResultBasedRange", Object<{
|
|
23
|
-
is_maximum:
|
|
24
|
-
base:
|
|
25
|
-
QualityLevels: EnumCase<null>;
|
|
26
|
-
SkillPoints: EnumCase<null>;
|
|
22
|
+
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedRange", DB.Object<{
|
|
23
|
+
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
24
|
+
base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
|
|
25
|
+
QualityLevels: DB.EnumCase<null>;
|
|
26
|
+
SkillPoints: DB.EnumCase<null>;
|
|
27
27
|
}, []>>, true>;
|
|
28
|
-
modifier:
|
|
29
|
-
arithmetic:
|
|
30
|
-
Multiply: EnumCase<null>;
|
|
31
|
-
Divide: EnumCase<null>;
|
|
28
|
+
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
29
|
+
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
30
|
+
Multiply: DB.EnumCase<null>;
|
|
31
|
+
Divide: DB.EnumCase<null>;
|
|
32
32
|
}, []>>, true>;
|
|
33
|
-
value:
|
|
33
|
+
value: DB.MemberDecl<DB.Integer, true>;
|
|
34
34
|
}>, []>>, false>;
|
|
35
|
-
unit:
|
|
36
|
-
Steps: EnumCase<null>;
|
|
37
|
-
Miles: EnumCase<null>;
|
|
35
|
+
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
|
|
36
|
+
Steps: DB.EnumCase<null>;
|
|
37
|
+
Miles: DB.EnumCase<null>;
|
|
38
38
|
}, []>>, true>;
|
|
39
|
-
is_radius:
|
|
39
|
+
is_radius: DB.MemberDecl<DB.Boolean, false>;
|
|
40
40
|
}>, []>>>;
|
|
41
41
|
}, []>>, true>;
|
|
42
|
-
translations:
|
|
43
|
-
note:
|
|
44
|
-
full:
|
|
45
|
-
compressed:
|
|
42
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"RangeTranslation", {
|
|
43
|
+
note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
44
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
45
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
46
46
|
}>, []>>, false>;
|
|
47
|
-
replacement:
|
|
48
|
-
full:
|
|
49
|
-
compressed:
|
|
47
|
+
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
48
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
49
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
50
50
|
}>, []>>, false>;
|
|
51
51
|
}>, false>;
|
|
52
52
|
}>, []>;
|
|
53
|
-
export declare const FixedRange: TypeAlias<"FixedRange", Object<{
|
|
54
|
-
is_maximum:
|
|
55
|
-
value:
|
|
56
|
-
unit:
|
|
57
|
-
Steps: EnumCase<null>;
|
|
58
|
-
Miles: EnumCase<null>;
|
|
53
|
+
export declare const FixedRange: DB.TypeAlias<"FixedRange", DB.Object<{
|
|
54
|
+
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
55
|
+
value: DB.MemberDecl<DB.Integer, true>;
|
|
56
|
+
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
|
|
57
|
+
Steps: DB.EnumCase<null>;
|
|
58
|
+
Miles: DB.EnumCase<null>;
|
|
59
59
|
}, []>>, true>;
|
|
60
|
-
is_radius:
|
|
60
|
+
is_radius: DB.MemberDecl<DB.Boolean, false>;
|
|
61
61
|
}>, []>;
|
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { CheckResultBasedModifier, CheckResultValue } from "./_ActivatableSkillCheckResultBased.js";
|
|
3
3
|
import { SkillModificationLevelIdentifier } from "./_Identifier.js";
|
|
4
4
|
import { ResponsiveTextOptional, ResponsiveTextReplace } from "./_ResponsiveText.js";
|
|
5
5
|
import { NestedTranslationMap } from "./Locale.js";
|
|
6
|
-
export const Range = TypeAlias(import.meta.url, {
|
|
6
|
+
export const Range = DB.TypeAlias(import.meta.url, {
|
|
7
7
|
name: "Range",
|
|
8
|
-
type: () => Object({
|
|
9
|
-
value: Required({
|
|
8
|
+
type: () => DB.Object({
|
|
9
|
+
value: DB.Required({
|
|
10
10
|
comment: "The range value.",
|
|
11
|
-
type: IncludeIdentifier(RangeValue),
|
|
11
|
+
type: DB.IncludeIdentifier(RangeValue),
|
|
12
12
|
}),
|
|
13
|
-
translations: NestedTranslationMap(Optional, "Range", Object({
|
|
14
|
-
note: Optional({
|
|
13
|
+
translations: NestedTranslationMap(DB.Optional, "Range", DB.Object({
|
|
14
|
+
note: DB.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
|
-
type: IncludeIdentifier(ResponsiveTextOptional),
|
|
16
|
+
type: DB.IncludeIdentifier(ResponsiveTextOptional),
|
|
17
17
|
}),
|
|
18
|
-
replacement: Optional({
|
|
18
|
+
replacement: DB.Optional({
|
|
19
19
|
comment: "A replacement string. If `note` is provided, it is appended to the replaced string.",
|
|
20
|
-
type: IncludeIdentifier(ResponsiveTextReplace),
|
|
20
|
+
type: DB.IncludeIdentifier(ResponsiveTextReplace),
|
|
21
21
|
}),
|
|
22
22
|
}, { minProperties: 1 })),
|
|
23
23
|
}),
|
|
24
24
|
});
|
|
25
|
-
const RangeValue = Enum(import.meta.url, {
|
|
25
|
+
const RangeValue = DB.Enum(import.meta.url, {
|
|
26
26
|
name: "RangeValue",
|
|
27
27
|
values: () => ({
|
|
28
|
-
Modifiable: EnumCase({ type: IncludeIdentifier(ModifiableRange) }),
|
|
29
|
-
Sight: EnumCase({ type: null }),
|
|
30
|
-
Self: EnumCase({ type: null }),
|
|
31
|
-
Global: EnumCase({ comment: "German: *dereumfassend*", type: null }),
|
|
32
|
-
Touch: EnumCase({ type: null }),
|
|
33
|
-
Fixed: EnumCase({ type: IncludeIdentifier(FixedRange) }),
|
|
34
|
-
CheckResultBased: EnumCase({ type: IncludeIdentifier(CheckResultBasedRange) }),
|
|
28
|
+
Modifiable: DB.EnumCase({ type: DB.IncludeIdentifier(ModifiableRange) }),
|
|
29
|
+
Sight: DB.EnumCase({ type: null }),
|
|
30
|
+
Self: DB.EnumCase({ type: null }),
|
|
31
|
+
Global: DB.EnumCase({ comment: "German: *dereumfassend*", type: null }),
|
|
32
|
+
Touch: DB.EnumCase({ type: null }),
|
|
33
|
+
Fixed: DB.EnumCase({ type: DB.IncludeIdentifier(FixedRange) }),
|
|
34
|
+
CheckResultBased: DB.EnumCase({ type: DB.IncludeIdentifier(CheckResultBasedRange) }),
|
|
35
35
|
}),
|
|
36
36
|
});
|
|
37
|
-
const ModifiableRange = TypeAlias(import.meta.url, {
|
|
37
|
+
const ModifiableRange = DB.TypeAlias(import.meta.url, {
|
|
38
38
|
name: "ModifiableRange",
|
|
39
|
-
type: () => Object({
|
|
40
|
-
is_maximum: Optional({
|
|
39
|
+
type: () => DB.Object({
|
|
40
|
+
is_maximum: DB.Optional({
|
|
41
41
|
comment: "If `true`, the range is a maximum range.",
|
|
42
|
-
type: Boolean(),
|
|
42
|
+
type: DB.Boolean(),
|
|
43
43
|
}),
|
|
44
|
-
initial_modification_level: Required({
|
|
44
|
+
initial_modification_level: DB.Required({
|
|
45
45
|
comment: "The initial skill modification identifier/level.",
|
|
46
46
|
type: SkillModificationLevelIdentifier(),
|
|
47
47
|
}),
|
|
48
|
-
is_radius: Optional({
|
|
48
|
+
is_radius: DB.Optional({
|
|
49
49
|
comment: "If `true`, the range is a radius.",
|
|
50
|
-
type: Boolean(),
|
|
50
|
+
type: DB.Boolean(),
|
|
51
51
|
}),
|
|
52
52
|
}),
|
|
53
53
|
});
|
|
54
|
-
export const FixedRange = TypeAlias(import.meta.url, {
|
|
54
|
+
export const FixedRange = DB.TypeAlias(import.meta.url, {
|
|
55
55
|
name: "FixedRange",
|
|
56
|
-
type: () => Object({
|
|
57
|
-
is_maximum: Optional({
|
|
56
|
+
type: () => DB.Object({
|
|
57
|
+
is_maximum: DB.Optional({
|
|
58
58
|
comment: "If `true`, the range is a maximum range.",
|
|
59
|
-
type: Boolean(),
|
|
59
|
+
type: DB.Boolean(),
|
|
60
60
|
}),
|
|
61
|
-
value: Required({
|
|
61
|
+
value: DB.Required({
|
|
62
62
|
comment: "The (unitless) range value.",
|
|
63
|
-
type: Integer({ minimum: 1 }),
|
|
63
|
+
type: DB.Integer({ minimum: 1 }),
|
|
64
64
|
}),
|
|
65
|
-
unit: Required({
|
|
65
|
+
unit: DB.Required({
|
|
66
66
|
comment: "The unit of the `value`.",
|
|
67
|
-
type: IncludeIdentifier(RangeUnit),
|
|
67
|
+
type: DB.IncludeIdentifier(RangeUnit),
|
|
68
68
|
}),
|
|
69
|
-
is_radius: Optional({
|
|
69
|
+
is_radius: DB.Optional({
|
|
70
70
|
comment: "If `true`, the range is a radius.",
|
|
71
|
-
type: Boolean(),
|
|
71
|
+
type: DB.Boolean(),
|
|
72
72
|
}),
|
|
73
73
|
}),
|
|
74
74
|
});
|
|
75
|
-
const CheckResultBasedRange = TypeAlias(import.meta.url, {
|
|
75
|
+
const CheckResultBasedRange = DB.TypeAlias(import.meta.url, {
|
|
76
76
|
name: "CheckResultBasedRange",
|
|
77
|
-
type: () => Object({
|
|
78
|
-
is_maximum: Optional({
|
|
77
|
+
type: () => DB.Object({
|
|
78
|
+
is_maximum: DB.Optional({
|
|
79
79
|
comment: "If the range is the maximum range.",
|
|
80
|
-
type: Boolean(),
|
|
80
|
+
type: DB.Boolean(),
|
|
81
81
|
}),
|
|
82
|
-
base: Required({
|
|
82
|
+
base: DB.Required({
|
|
83
83
|
comment: "The base value that is derived from the check result.",
|
|
84
|
-
type: IncludeIdentifier(CheckResultValue),
|
|
84
|
+
type: DB.IncludeIdentifier(CheckResultValue),
|
|
85
85
|
}),
|
|
86
|
-
modifier: Optional({
|
|
86
|
+
modifier: DB.Optional({
|
|
87
87
|
comment: "If defined, it modifies the base value.",
|
|
88
|
-
type: IncludeIdentifier(CheckResultBasedModifier),
|
|
88
|
+
type: DB.IncludeIdentifier(CheckResultBasedModifier),
|
|
89
89
|
}),
|
|
90
|
-
unit: Required({
|
|
90
|
+
unit: DB.Required({
|
|
91
91
|
comment: "The duration unit.",
|
|
92
|
-
type: IncludeIdentifier(RangeUnit),
|
|
92
|
+
type: DB.IncludeIdentifier(RangeUnit),
|
|
93
93
|
}),
|
|
94
|
-
is_radius: Optional({
|
|
94
|
+
is_radius: DB.Optional({
|
|
95
95
|
comment: "If `true`, the range is a radius.",
|
|
96
|
-
type: Boolean(),
|
|
96
|
+
type: DB.Boolean(),
|
|
97
97
|
}),
|
|
98
98
|
}),
|
|
99
99
|
});
|
|
100
|
-
const RangeUnit = Enum(import.meta.url, {
|
|
100
|
+
const RangeUnit = DB.Enum(import.meta.url, {
|
|
101
101
|
name: "RangeUnit",
|
|
102
102
|
values: () => ({
|
|
103
|
-
Steps: EnumCase({ type: null }),
|
|
104
|
-
Miles: EnumCase({ type: null }),
|
|
103
|
+
Steps: DB.EnumCase({ type: null }),
|
|
104
|
+
Miles: DB.EnumCase({ type: null }),
|
|
105
105
|
}),
|
|
106
106
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const AffectedTargetCategories: TypeAlias<"AffectedTargetCategories", Array<IncludeIdentifier<[], TypeAlias<"SpecificAffectedTargetCategory", Object<{
|
|
3
|
-
id:
|
|
4
|
-
Self: EnumCase<null>;
|
|
5
|
-
Zone: EnumCase<null>;
|
|
6
|
-
LiturgicalChantsAndCeremonies: EnumCase<null>;
|
|
7
|
-
Cantrips: EnumCase<null>;
|
|
8
|
-
Spellworks: EnumCase<null>;
|
|
9
|
-
Predefined: EnumCase<
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const AffectedTargetCategories: DB.TypeAlias<"AffectedTargetCategories", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SpecificAffectedTargetCategory", DB.Object<{
|
|
3
|
+
id: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SpecificAffectedTargetCategoryIdentifier", {
|
|
4
|
+
Self: DB.EnumCase<null>;
|
|
5
|
+
Zone: DB.EnumCase<null>;
|
|
6
|
+
LiturgicalChantsAndCeremonies: DB.EnumCase<null>;
|
|
7
|
+
Cantrips: DB.EnumCase<null>;
|
|
8
|
+
Spellworks: DB.EnumCase<null>;
|
|
9
|
+
Predefined: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
10
10
|
}, []>>, true>;
|
|
11
|
-
translations:
|
|
12
|
-
note:
|
|
11
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"SpecificAffectedTargetCategoryTranslation", {
|
|
12
|
+
note: DB.MemberDecl<DB.String, true>;
|
|
13
13
|
}>, false>;
|
|
14
14
|
}>, []>>>, []>;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { NestedTranslationMap } from "./Locale.js";
|
|
3
3
|
import { TargetCategoryIdentifier } from "./_Identifier.js";
|
|
4
|
-
export const AffectedTargetCategories = TypeAlias(import.meta.url, {
|
|
4
|
+
export const AffectedTargetCategories = DB.TypeAlias(import.meta.url, {
|
|
5
5
|
name: "AffectedTargetCategories",
|
|
6
6
|
comment: `The target category – the kind of creature or object – the skill affects.
|
|
7
7
|
|
|
8
8
|
If no target categories are given, the skill applies to all target categories.`,
|
|
9
|
-
type: () => Array(IncludeIdentifier(SpecificAffectedTargetCategory)),
|
|
9
|
+
type: () => DB.Array(DB.IncludeIdentifier(SpecificAffectedTargetCategory)),
|
|
10
10
|
});
|
|
11
|
-
const SpecificAffectedTargetCategory = TypeAlias(import.meta.url, {
|
|
11
|
+
const SpecificAffectedTargetCategory = DB.TypeAlias(import.meta.url, {
|
|
12
12
|
name: "SpecificAffectedTargetCategory",
|
|
13
|
-
type: () => Object({
|
|
14
|
-
id: Required({ type: IncludeIdentifier(SpecificAffectedTargetCategoryIdentifier) }),
|
|
15
|
-
translations: NestedTranslationMap(Optional, "SpecificAffectedTargetCategory", Object({
|
|
16
|
-
note: Required({ type: String({ minLength: 1 }) }),
|
|
13
|
+
type: () => DB.Object({
|
|
14
|
+
id: DB.Required({ type: DB.IncludeIdentifier(SpecificAffectedTargetCategoryIdentifier) }),
|
|
15
|
+
translations: NestedTranslationMap(DB.Optional, "SpecificAffectedTargetCategory", DB.Object({
|
|
16
|
+
note: DB.Required({ type: DB.String({ minLength: 1 }) }),
|
|
17
17
|
})),
|
|
18
18
|
}),
|
|
19
19
|
});
|
|
20
|
-
const SpecificAffectedTargetCategoryIdentifier = Enum(import.meta.url, {
|
|
20
|
+
const SpecificAffectedTargetCategoryIdentifier = DB.Enum(import.meta.url, {
|
|
21
21
|
name: "SpecificAffectedTargetCategoryIdentifier",
|
|
22
22
|
values: () => ({
|
|
23
|
-
Self: EnumCase({ type: null }),
|
|
24
|
-
Zone: EnumCase({ type: null }),
|
|
25
|
-
LiturgicalChantsAndCeremonies: EnumCase({ type: null }),
|
|
26
|
-
Cantrips: EnumCase({ type: null }),
|
|
27
|
-
Spellworks: EnumCase({ type: null }),
|
|
28
|
-
Predefined: EnumCase({ type: TargetCategoryIdentifier() }),
|
|
23
|
+
Self: DB.EnumCase({ type: null }),
|
|
24
|
+
Zone: DB.EnumCase({ type: null }),
|
|
25
|
+
LiturgicalChantsAndCeremonies: DB.EnumCase({ type: null }),
|
|
26
|
+
Cantrips: DB.EnumCase({ type: null }),
|
|
27
|
+
Spellworks: DB.EnumCase({ type: null }),
|
|
28
|
+
Predefined: DB.EnumCase({ type: TargetCategoryIdentifier() }),
|
|
29
29
|
}),
|
|
30
30
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const AlternativeName: TypeAlias<"AlternativeName", Object<{
|
|
3
|
-
name:
|
|
4
|
-
region:
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const AlternativeName: DB.TypeAlias<"AlternativeName", DB.Object<{
|
|
3
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
4
|
+
region: DB.MemberDecl<DB.String, false>;
|
|
5
5
|
}>, []>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
export const AlternativeName = TypeAlias(import.meta.url, {
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export const AlternativeName = DB.TypeAlias(import.meta.url, {
|
|
3
3
|
name: "AlternativeName",
|
|
4
|
-
type: () => Object({
|
|
5
|
-
name: Required({
|
|
4
|
+
type: () => DB.Object({
|
|
5
|
+
name: DB.Required({
|
|
6
6
|
comment: "An alternative name of the disease.",
|
|
7
|
-
type: String({ minLength: 1 }),
|
|
7
|
+
type: DB.String({ minLength: 1 }),
|
|
8
8
|
}),
|
|
9
|
-
region: Optional({
|
|
9
|
+
region: DB.Optional({
|
|
10
10
|
comment: "The region where this alternative name is used.",
|
|
11
|
-
type: String({ minLength: 1 }),
|
|
11
|
+
type: DB.String({ minLength: 1 }),
|
|
12
12
|
}),
|
|
13
13
|
}),
|
|
14
14
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const ArcaneTraditionType: <TN extends string>(translationName: TN) => () => Object<{
|
|
3
|
-
prerequisites:
|
|
4
|
-
Single:
|
|
5
|
-
Disjunction:
|
|
6
|
-
list:
|
|
7
|
-
display_option:
|
|
8
|
-
Hide:
|
|
9
|
-
ReplaceWith:
|
|
10
|
-
sentence_type:
|
|
11
|
-
Standalone:
|
|
12
|
-
Connected:
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const ArcaneTraditionType: <TN extends string>(translationName: TN) => () => DB.Object<{
|
|
3
|
+
prerequisites: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ArcaneTraditionPrerequisites", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PlainPrerequisites", DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"PrerequisitesElement", {
|
|
4
|
+
Single: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
5
|
+
Disjunction: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesDisjunction", DB.Object<{
|
|
6
|
+
list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
|
|
7
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
8
|
+
Hide: DB.EnumCase<null>;
|
|
9
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
10
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
11
|
+
Standalone: DB.EnumCase<null>;
|
|
12
|
+
Connected: DB.EnumCase<null>;
|
|
13
13
|
}, []>>, false>;
|
|
14
|
-
translations:
|
|
15
|
-
replacement:
|
|
14
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
15
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
16
16
|
}>, true>;
|
|
17
17
|
}>, []>>>;
|
|
18
18
|
}, []>>, false>;
|
|
19
|
-
}>, [T:
|
|
20
|
-
Group:
|
|
21
|
-
list:
|
|
22
|
-
translations:
|
|
23
|
-
text:
|
|
19
|
+
}>, [T: DB.Param<"T", DB.Type>]>>>;
|
|
20
|
+
Group: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteGroup", DB.Object<{
|
|
21
|
+
list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
|
|
22
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"PrerequisiteGroupTranslation", {
|
|
23
|
+
text: DB.MemberDecl<DB.String, true>;
|
|
24
24
|
}>, true>;
|
|
25
|
-
}>, [T:
|
|
26
|
-
}, [T:
|
|
27
|
-
translations:
|
|
28
|
-
name:
|
|
25
|
+
}>, [T: DB.Param<"T", DB.Type>]>>>;
|
|
26
|
+
}, [T: DB.Param<"T", DB.Type>]>>>, [T: DB.Param<"T", DB.Type>]>>, []>>, true>;
|
|
27
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<`${TN}Translation`, {
|
|
28
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
29
29
|
}>, true>;
|
|
30
30
|
}>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { NestedTranslationMap } from "./Locale.js";
|
|
3
3
|
import { ArcaneTraditionPrerequisites } from "./_Prerequisite.js";
|
|
4
|
-
export const ArcaneTraditionType = (translationName) => () => Object({
|
|
5
|
-
prerequisites: Required({
|
|
6
|
-
type: IncludeIdentifier(ArcaneTraditionPrerequisites),
|
|
4
|
+
export const ArcaneTraditionType = (translationName) => () => DB.Object({
|
|
5
|
+
prerequisites: DB.Required({
|
|
6
|
+
type: DB.IncludeIdentifier(ArcaneTraditionPrerequisites),
|
|
7
7
|
}),
|
|
8
|
-
translations: NestedTranslationMap(Required, translationName, Object({
|
|
9
|
-
name: Required({
|
|
8
|
+
translations: NestedTranslationMap(DB.Required, translationName, DB.Object({
|
|
9
|
+
name: DB.Required({
|
|
10
10
|
comment: "The arcane tradition’s name.",
|
|
11
|
-
type: String({ minLength: 1 }),
|
|
11
|
+
type: DB.String({ minLength: 1 }),
|
|
12
12
|
}),
|
|
13
13
|
})),
|
|
14
14
|
});
|
package/lib/types/_Blessed.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const LiturgyTradition: Enum<"LiturgyTradition", {
|
|
3
|
-
GeneralAspect: EnumCase<
|
|
4
|
-
Tradition: EnumCase<IncludeIdentifier<[], TypeAlias<"LiturgyTraditionWithAspects", Object<{
|
|
5
|
-
tradition:
|
|
6
|
-
aspects:
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const LiturgyTradition: DB.Enum<"LiturgyTradition", {
|
|
3
|
+
GeneralAspect: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
4
|
+
Tradition: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"LiturgyTraditionWithAspects", DB.Object<{
|
|
5
|
+
tradition: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
6
|
+
aspects: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, false>;
|
|
7
7
|
}>, []>>>;
|
|
8
8
|
}, []>;
|
package/lib/types/_Blessed.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { AspectIdentifier, BlessedTraditionIdentifier } from "./_Identifier.js";
|
|
3
|
-
export const LiturgyTradition = Enum(import.meta.url, {
|
|
3
|
+
export const LiturgyTradition = DB.Enum(import.meta.url, {
|
|
4
4
|
name: "LiturgyTradition",
|
|
5
5
|
values: () => ({
|
|
6
|
-
GeneralAspect: EnumCase({ type: AspectIdentifier() }),
|
|
7
|
-
Tradition: EnumCase({ type: IncludeIdentifier(LiturgyTraditionWithAspects) }),
|
|
6
|
+
GeneralAspect: DB.EnumCase({ type: AspectIdentifier() }),
|
|
7
|
+
Tradition: DB.EnumCase({ type: DB.IncludeIdentifier(LiturgyTraditionWithAspects) }),
|
|
8
8
|
}),
|
|
9
9
|
});
|
|
10
|
-
const LiturgyTraditionWithAspects = TypeAlias(import.meta.url, {
|
|
10
|
+
const LiturgyTraditionWithAspects = DB.TypeAlias(import.meta.url, {
|
|
11
11
|
name: "LiturgyTraditionWithAspects",
|
|
12
|
-
type: () => Object({
|
|
13
|
-
tradition: Required({
|
|
12
|
+
type: () => DB.Object({
|
|
13
|
+
tradition: DB.Required({
|
|
14
14
|
comment: "The blessed tradition.",
|
|
15
15
|
type: BlessedTraditionIdentifier(),
|
|
16
16
|
}),
|
|
17
|
-
aspects: Optional({
|
|
17
|
+
aspects: DB.Optional({
|
|
18
18
|
comment: "The aspect(s) from the tradition the ceremony belongs to. Note that not all traditions have aspects. Traditions with aspects must have at least one aspect specified.",
|
|
19
|
-
type: Array(AspectIdentifier(), { minItems: 1, maxItems: 2 }),
|
|
19
|
+
type: DB.Array(AspectIdentifier(), { minItems: 1, maxItems: 2 }),
|
|
20
20
|
}),
|
|
21
21
|
}),
|
|
22
22
|
});
|