optolith-database-schema 0.11.2 → 0.11.4
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 +4 -0
- package/{folders.js → build/config.js} +9 -1
- package/lib/build/config.d.ts +8 -0
- package/lib/build/config.js +16 -0
- package/package.json +2 -2
- package/folders.d.ts +0 -4
- package/lib/config.d.ts +0 -463
- package/lib/config.js +0 -308
- package/lib/errors.d.ts +0 -20
- package/lib/errors.js +0 -33
- package/lib/helpers/array.d.ts +0 -14
- package/lib/helpers/array.js +0 -15
- package/lib/helpers/i18n.d.ts +0 -1
- package/lib/helpers/i18n.js +0 -1
- package/lib/helpers/io.d.ts +0 -29
- package/lib/helpers/io.js +0 -51
- package/lib/helpers/objectPath.d.ts +0 -13
- package/lib/helpers/objectPath.js +0 -3
- package/lib/helpers/pair.d.ts +0 -20
- package/lib/helpers/pair.js +0 -20
- package/lib/helpers/result.d.ts +0 -57
- package/lib/helpers/result.js +0 -45
- package/lib/helpers/typeSafety.d.ts +0 -6
- package/lib/helpers/typeSafety.js +0 -8
- package/lib/main.d.ts +0 -55
- package/lib/main.js +0 -55
- package/lib/typeConfig.d.ts +0 -10
- package/lib/typeConfig.js +0 -1
- package/lib/types/Advantage.d.ts +0 -63
- package/lib/types/Advantage.js +0 -12
- package/lib/types/AnimalDisease.d.ts +0 -59
- package/lib/types/AnimalDisease.js +0 -12
- package/lib/types/AnimalType.d.ts +0 -28
- package/lib/types/AnimalType.js +0 -12
- package/lib/types/ArcaneBardTradition.d.ts +0 -10
- package/lib/types/ArcaneBardTradition.js +0 -12
- package/lib/types/ArcaneDancerTradition.d.ts +0 -10
- package/lib/types/ArcaneDancerTradition.js +0 -12
- package/lib/types/Aspect.d.ts +0 -33
- package/lib/types/Aspect.js +0 -12
- package/lib/types/Attribute.d.ts +0 -36
- package/lib/types/Attribute.js +0 -12
- package/lib/types/Blessing.d.ts +0 -113
- package/lib/types/Blessing.js +0 -12
- package/lib/types/Cantrip.d.ts +0 -183
- package/lib/types/Cantrip.js +0 -12
- package/lib/types/Ceremony.d.ts +0 -113
- package/lib/types/Ceremony.js +0 -12
- package/lib/types/CombatTechnique_Close.d.ts +0 -73
- package/lib/types/CombatTechnique_Close.js +0 -12
- package/lib/types/CombatTechnique_Ranged.d.ts +0 -66
- package/lib/types/CombatTechnique_Ranged.js +0 -12
- package/lib/types/Condition.d.ts +0 -40
- package/lib/types/Condition.js +0 -12
- package/lib/types/Continent.d.ts +0 -30
- package/lib/types/Continent.js +0 -12
- package/lib/types/Culture.d.ts +0 -382
- package/lib/types/Culture.js +0 -50
- package/lib/types/DerivedCharacteristic.d.ts +0 -61
- package/lib/types/DerivedCharacteristic.js +0 -12
- package/lib/types/Disadvantage.d.ts +0 -58
- package/lib/types/Disadvantage.js +0 -12
- package/lib/types/Disease.d.ts +0 -43
- package/lib/types/Disease.js +0 -12
- package/lib/types/Element.d.ts +0 -28
- package/lib/types/Element.js +0 -12
- package/lib/types/ExperienceLevel.d.ts +0 -64
- package/lib/types/ExperienceLevel.js +0 -12
- package/lib/types/EyeColor.d.ts +0 -28
- package/lib/types/EyeColor.js +0 -12
- package/lib/types/FamiliarsTrick.d.ts +0 -266
- package/lib/types/FamiliarsTrick.js +0 -12
- package/lib/types/HairColor.d.ts +0 -28
- package/lib/types/HairColor.js +0 -12
- package/lib/types/Kirchenpraegung.d.ts +0 -10
- package/lib/types/Kirchenpraegung.js +0 -12
- package/lib/types/Lessons_Curriculum.d.ts +0 -236
- package/lib/types/Lessons_Curriculum.js +0 -12
- package/lib/types/Lessons_Guideline.d.ts +0 -34
- package/lib/types/Lessons_Guideline.js +0 -12
- package/lib/types/LiturgicalChant.d.ts +0 -113
- package/lib/types/LiturgicalChant.js +0 -12
- package/lib/types/Locale.d.ts +0 -36
- package/lib/types/Locale.js +0 -12
- package/lib/types/MetaCondition.d.ts +0 -43
- package/lib/types/MetaCondition.js +0 -12
- package/lib/types/PactCategory.d.ts +0 -78
- package/lib/types/PactCategory.js +0 -12
- package/lib/types/Patron.d.ts +0 -207
- package/lib/types/Patron.js +0 -32
- package/lib/types/PatronCategory.d.ts +0 -36
- package/lib/types/PatronCategory.js +0 -12
- package/lib/types/PersonalityTrait.d.ts +0 -67
- package/lib/types/PersonalityTrait.js +0 -12
- package/lib/types/Profession.d.ts +0 -653
- package/lib/types/Profession.js +0 -18
- package/lib/types/Property.d.ts +0 -34
- package/lib/types/Property.js +0 -12
- package/lib/types/Race.d.ts +0 -405
- package/lib/types/Race.js +0 -23
- package/lib/types/Region.d.ts +0 -28
- package/lib/types/Region.js +0 -12
- package/lib/types/Ritual.d.ts +0 -111
- package/lib/types/Ritual.js +0 -12
- package/lib/types/Service.d.ts +0 -46
- package/lib/types/Service.js +0 -17
- package/lib/types/SexPractice.d.ts +0 -47
- package/lib/types/SexPractice.js +0 -12
- package/lib/types/Skill.d.ts +0 -142
- package/lib/types/Skill.js +0 -31
- package/lib/types/SkillGroup.d.ts +0 -37
- package/lib/types/SkillGroup.js +0 -12
- package/lib/types/SkillModificationLevel.d.ts +0 -107
- package/lib/types/SkillModificationLevel.js +0 -17
- package/lib/types/SocialStatus.d.ts +0 -28
- package/lib/types/SocialStatus.js +0 -12
- package/lib/types/Spell.d.ts +0 -111
- package/lib/types/Spell.js +0 -12
- package/lib/types/State.d.ts +0 -36
- package/lib/types/State.js +0 -12
- package/lib/types/Talisman.d.ts +0 -76
- package/lib/types/Talisman.js +0 -20
- package/lib/types/TargetCategory.d.ts +0 -42
- package/lib/types/TargetCategory.js +0 -12
- package/lib/types/UI.d.ts +0 -1062
- package/lib/types/UI.js +0 -12
- package/lib/types/_Activatable.d.ts +0 -1383
- package/lib/types/_Activatable.js +0 -44
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +0 -389
- package/lib/types/_ActivatableSelectOptionCategory.js +0 -8
- package/lib/types/_ActivatableSkill.d.ts +0 -37
- package/lib/types/_ActivatableSkill.js +0 -4
- package/lib/types/_ActivatableSkillCastingTime.d.ts +0 -77
- package/lib/types/_ActivatableSkillCastingTime.js +0 -5
- package/lib/types/_ActivatableSkillCheckResultBased.d.ts +0 -39
- package/lib/types/_ActivatableSkillCheckResultBased.js +0 -16
- package/lib/types/_ActivatableSkillCost.d.ts +0 -255
- package/lib/types/_ActivatableSkillCost.js +0 -1
- package/lib/types/_ActivatableSkillDuration.d.ts +0 -138
- package/lib/types/_ActivatableSkillDuration.js +0 -13
- package/lib/types/_ActivatableSkillEffect.d.ts +0 -68
- package/lib/types/_ActivatableSkillEffect.js +0 -1
- package/lib/types/_ActivatableSkillRange.d.ts +0 -110
- package/lib/types/_ActivatableSkillRange.js +0 -5
- package/lib/types/_ActivatableSkillTargetCategory.d.ts +0 -39
- package/lib/types/_ActivatableSkillTargetCategory.js +0 -1
- package/lib/types/_AlternativeNames.d.ts +0 -11
- package/lib/types/_AlternativeNames.js +0 -1
- package/lib/types/_ArcaneTradition.d.ts +0 -28
- package/lib/types/_ArcaneTradition.js +0 -4
- package/lib/types/_Blessed.d.ts +0 -22
- package/lib/types/_Blessed.js +0 -1
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +0 -10
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.js +0 -1
- package/lib/types/_Dice.d.ts +0 -23
- package/lib/types/_Dice.js +0 -9
- package/lib/types/_DiseasePoison.d.ts +0 -114
- package/lib/types/_DiseasePoison.js +0 -15
- package/lib/types/_Enhancements.d.ts +0 -62
- package/lib/types/_Enhancements.js +0 -4
- package/lib/types/_I18n.d.ts +0 -34
- package/lib/types/_I18n.js +0 -1
- package/lib/types/_Identifier.d.ts +0 -1193
- package/lib/types/_Identifier.js +0 -1
- package/lib/types/_IdentifierGroup.d.ts +0 -28
- package/lib/types/_IdentifierGroup.js +0 -1
- package/lib/types/_ImprovementCost.d.ts +0 -9
- package/lib/types/_ImprovementCost.js +0 -10
- package/lib/types/_Influence.d.ts +0 -49
- package/lib/types/_Influence.js +0 -4
- package/lib/types/_LocaleMap.d.ts +0 -10
- package/lib/types/_LocaleMap.js +0 -1
- package/lib/types/_NonEmptyString.d.ts +0 -9
- package/lib/types/_NonEmptyString.js +0 -1
- package/lib/types/_Prerequisite.d.ts +0 -109
- package/lib/types/_Prerequisite.js +0 -4
- package/lib/types/_ResponsiveText.d.ts +0 -54
- package/lib/types/_ResponsiveText.js +0 -1
- package/lib/types/_Sex.d.ts +0 -10
- package/lib/types/_Sex.js +0 -11
- package/lib/types/_SimpleReferences.d.ts +0 -134
- package/lib/types/_SimpleReferences.js +0 -1
- package/lib/types/_SkillCheck.d.ts +0 -22
- package/lib/types/_SkillCheck.js +0 -13
- package/lib/types/_Spellwork.d.ts +0 -18
- package/lib/types/_Spellwork.js +0 -1
- package/lib/types/equipment/EquipmentPackage.d.ts +0 -51
- package/lib/types/equipment/EquipmentPackage.js +0 -12
- package/lib/types/equipment/item/Alchemicum.d.ts +0 -7
- package/lib/types/equipment/item/Alchemicum.js +0 -12
- package/lib/types/equipment/item/Ammunition.d.ts +0 -32
- package/lib/types/equipment/item/Ammunition.js +0 -12
- package/lib/types/equipment/item/Animal.d.ts +0 -19
- package/lib/types/equipment/item/Animal.js +0 -12
- package/lib/types/equipment/item/AnimalCare.d.ts +0 -49
- package/lib/types/equipment/item/AnimalCare.js +0 -12
- package/lib/types/equipment/item/Armor.d.ts +0 -186
- package/lib/types/equipment/item/Armor.js +0 -12
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +0 -37
- package/lib/types/equipment/item/BandageOrRemedy.js +0 -12
- package/lib/types/equipment/item/Book.d.ts +0 -61
- package/lib/types/equipment/item/Book.js +0 -12
- package/lib/types/equipment/item/CeremonialItem.d.ts +0 -42
- package/lib/types/equipment/item/CeremonialItem.js +0 -12
- package/lib/types/equipment/item/Clothes.d.ts +0 -7
- package/lib/types/equipment/item/Clothes.js +0 -12
- package/lib/types/equipment/item/Container.d.ts +0 -7
- package/lib/types/equipment/item/Container.js +0 -12
- package/lib/types/equipment/item/Elixir.d.ts +0 -76
- package/lib/types/equipment/item/Elixir.js +0 -12
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +0 -29
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +0 -12
- package/lib/types/equipment/item/GemOrPreciousStone.d.ts +0 -44
- package/lib/types/equipment/item/GemOrPreciousStone.js +0 -12
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +0 -63
- package/lib/types/equipment/item/IlluminationLightSource.js +0 -16
- package/lib/types/equipment/item/IlluminationRefillsOrSupplies.d.ts +0 -7
- package/lib/types/equipment/item/IlluminationRefillsOrSupplies.js +0 -12
- package/lib/types/equipment/item/Jewelry.d.ts +0 -61
- package/lib/types/equipment/item/Jewelry.js +0 -12
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +0 -7
- package/lib/types/equipment/item/Liebesspielzeug.js +0 -12
- package/lib/types/equipment/item/LuxuryGood.d.ts +0 -37
- package/lib/types/equipment/item/LuxuryGood.js +0 -12
- package/lib/types/equipment/item/MagicalArtifact.d.ts +0 -40
- package/lib/types/equipment/item/MagicalArtifact.js +0 -12
- package/lib/types/equipment/item/MusicalInstrument.d.ts +0 -23
- package/lib/types/equipment/item/MusicalInstrument.js +0 -12
- package/lib/types/equipment/item/OrienteeringAid.d.ts +0 -7
- package/lib/types/equipment/item/OrienteeringAid.js +0 -12
- package/lib/types/equipment/item/Poison.d.ts +0 -359
- package/lib/types/equipment/item/Poison.js +0 -30
- package/lib/types/equipment/item/RopeOrChain.d.ts +0 -7
- package/lib/types/equipment/item/RopeOrChain.js +0 -12
- package/lib/types/equipment/item/Stationary.d.ts +0 -7
- package/lib/types/equipment/item/Stationary.js +0 -12
- package/lib/types/equipment/item/ThievesTool.d.ts +0 -7
- package/lib/types/equipment/item/ThievesTool.js +0 -12
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +0 -61
- package/lib/types/equipment/item/ToolOfTheTrade.js +0 -12
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +0 -7
- package/lib/types/equipment/item/TravelGearOrTool.js +0 -12
- package/lib/types/equipment/item/Vehicle.d.ts +0 -19
- package/lib/types/equipment/item/Vehicle.js +0 -12
- package/lib/types/equipment/item/Weapon.d.ts +0 -166
- package/lib/types/equipment/item/Weapon.js +0 -12
- package/lib/types/equipment/item/WeaponAccessory.d.ts +0 -7
- package/lib/types/equipment/item/WeaponAccessory.js +0 -12
- package/lib/types/equipment/item/_Herbary.d.ts +0 -31
- package/lib/types/equipment/item/_Herbary.js +0 -22
- package/lib/types/equipment/item/_Item.d.ts +0 -160
- package/lib/types/equipment/item/_Item.js +0 -1
- package/lib/types/equipment/item/_MeleeWeapon.d.ts +0 -108
- package/lib/types/equipment/item/_MeleeWeapon.js +0 -4
- package/lib/types/equipment/item/_RangedWeapon.d.ts +0 -109
- package/lib/types/equipment/item/_RangedWeapon.js +0 -4
- package/lib/types/equipment/item/_Weapon.d.ts +0 -57
- package/lib/types/equipment/item/_Weapon.js +0 -1
- package/lib/types/equipment/item/sub/ArmorType.d.ts +0 -37
- package/lib/types/equipment/item/sub/ArmorType.js +0 -12
- package/lib/types/equipment/item/sub/Reach.d.ts +0 -28
- package/lib/types/equipment/item/sub/Reach.js +0 -12
- package/lib/types/magicalActions/AnimistPower.d.ts +0 -238
- package/lib/types/magicalActions/AnimistPower.js +0 -12
- package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +0 -28
- package/lib/types/magicalActions/AnimistPower_Tribe.js +0 -12
- package/lib/types/magicalActions/Curse.d.ts +0 -162
- package/lib/types/magicalActions/Curse.js +0 -12
- package/lib/types/magicalActions/DominationRitual.d.ts +0 -145
- package/lib/types/magicalActions/DominationRitual.js +0 -12
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +0 -135
- package/lib/types/magicalActions/ElvenMagicalSong.js +0 -12
- package/lib/types/magicalActions/GeodeRitual.d.ts +0 -180
- package/lib/types/magicalActions/GeodeRitual.js +0 -12
- package/lib/types/magicalActions/JesterTrick.d.ts +0 -177
- package/lib/types/magicalActions/JesterTrick.js +0 -12
- package/lib/types/magicalActions/MagicalDance.d.ts +0 -119
- package/lib/types/magicalActions/MagicalDance.js +0 -12
- package/lib/types/magicalActions/MagicalMelody.d.ts +0 -124
- package/lib/types/magicalActions/MagicalMelody.js +0 -12
- package/lib/types/magicalActions/MagicalRune.d.ts +0 -294
- package/lib/types/magicalActions/MagicalRune.js +0 -12
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +0 -102
- package/lib/types/magicalActions/ZibiljaRitual.js +0 -12
- package/lib/types/magicalActions/_MusicTradition.d.ts +0 -36
- package/lib/types/magicalActions/_MusicTradition.js +0 -10
- package/lib/types/magicalActions/_SkillReference.d.ts +0 -14
- package/lib/types/magicalActions/_SkillReference.js +0 -5
- package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +0 -10
- package/lib/types/prerequisites/ConditionalPrerequisites.js +0 -1
- package/lib/types/prerequisites/DisplayOption.d.ts +0 -32
- package/lib/types/prerequisites/DisplayOption.js +0 -1
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +0 -215
- package/lib/types/prerequisites/PrerequisiteGroups.js +0 -1
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +0 -31
- package/lib/types/prerequisites/single/ActivatablePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/AncestorBloodPrerequisite.d.ts +0 -5
- package/lib/types/prerequisites/single/AncestorBloodPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +0 -26
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +0 -13
- package/lib/types/prerequisites/single/CulturePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +0 -39
- package/lib/types/prerequisites/single/EnhancementPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +0 -16
- package/lib/types/prerequisites/single/InfluencePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/PactPrerequisite.d.ts +0 -23
- package/lib/types/prerequisites/single/PactPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +0 -21
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +0 -5
- package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +0 -12
- package/lib/types/prerequisites/single/PublicationPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/RacePrerequisite.d.ts +0 -16
- package/lib/types/prerequisites/single/RacePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +0 -67
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +0 -6
- package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +0 -18
- package/lib/types/prerequisites/single/RatedPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +0 -19
- package/lib/types/prerequisites/single/RatedSumPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/RulePrerequisite.d.ts +0 -9
- package/lib/types/prerequisites/single/RulePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/SexPrerequisite.d.ts +0 -10
- package/lib/types/prerequisites/single/SexPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +0 -11
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +0 -5
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +0 -13
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/StatePrerequisite.d.ts +0 -10
- package/lib/types/prerequisites/single/StatePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +0 -55
- package/lib/types/prerequisites/single/TextPrerequisite.js +0 -10
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +0 -39
- package/lib/types/prerequisites/single/TraditionPrerequisite.js +0 -18
- package/lib/types/rule/CoreRule.d.ts +0 -312
- package/lib/types/rule/CoreRule.js +0 -17
- package/lib/types/rule/FocusRule.d.ts +0 -53
- package/lib/types/rule/FocusRule.js +0 -12
- package/lib/types/rule/FocusRule_Subject.d.ts +0 -29
- package/lib/types/rule/FocusRule_Subject.js +0 -12
- package/lib/types/rule/OptionalRule.d.ts +0 -41
- package/lib/types/rule/OptionalRule.js +0 -12
- package/lib/types/source/Publication.d.ts +0 -75
- package/lib/types/source/Publication.js +0 -22
- package/lib/types/source/_Erratum.d.ts +0 -26
- package/lib/types/source/_Erratum.js +0 -4
- package/lib/types/source/_PublicationRef.d.ts +0 -151
- package/lib/types/source/_PublicationRef.js +0 -4
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +0 -52
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +0 -12
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +0 -12
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +0 -12
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +0 -12
- package/lib/types/specialAbility/AncestorGlyph.d.ts +0 -38
- package/lib/types/specialAbility/AncestorGlyph.js +0 -12
- package/lib/types/specialAbility/BlessedTradition.d.ts +0 -147
- package/lib/types/specialAbility/BlessedTradition.js +0 -12
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +0 -12
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +0 -40
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +0 -12
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +0 -45
- package/lib/types/specialAbility/CombatSpecialAbility.js +0 -12
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +0 -42
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +0 -12
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +0 -38
- package/lib/types/specialAbility/CommandSpecialAbility.js +0 -12
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +0 -32
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +0 -12
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +0 -32
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +0 -12
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +0 -39
- package/lib/types/specialAbility/FatePointSpecialAbility.js +0 -12
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +0 -44
- package/lib/types/specialAbility/GeneralSpecialAbility.js +0 -12
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +0 -37
- package/lib/types/specialAbility/KarmaSpecialAbility.js +0 -12
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +0 -36
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +0 -12
- package/lib/types/specialAbility/LycantropicGift.d.ts +0 -32
- package/lib/types/specialAbility/LycantropicGift.js +0 -12
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +0 -36
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +0 -12
- package/lib/types/specialAbility/MagicalSign.d.ts +0 -39
- package/lib/types/specialAbility/MagicalSign.js +0 -12
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +0 -43
- package/lib/types/specialAbility/MagicalSpecialAbility.js +0 -12
- package/lib/types/specialAbility/MagicalTradition.d.ts +0 -114
- package/lib/types/specialAbility/MagicalTradition.js +0 -12
- package/lib/types/specialAbility/PactGift.d.ts +0 -103
- package/lib/types/specialAbility/PactGift.js +0 -22
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +0 -46
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +0 -12
- package/lib/types/specialAbility/Sermon.d.ts +0 -32
- package/lib/types/specialAbility/Sermon.js +0 -12
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/SexSpecialAbility.js +0 -12
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +0 -37
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +0 -12
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +0 -12
- package/lib/types/specialAbility/VampiricGift.d.ts +0 -37
- package/lib/types/specialAbility/VampiricGift.js +0 -12
- package/lib/types/specialAbility/Vision.d.ts +0 -32
- package/lib/types/specialAbility/Vision.js +0 -12
- package/lib/types/specialAbility/_Tradition.d.ts +0 -12
- package/lib/types/specialAbility/_Tradition.js +0 -1
- package/lib/types/specialAbility/sub/Language.d.ts +0 -117
- package/lib/types/specialAbility/sub/Language.js +0 -12
- package/lib/types/specialAbility/sub/Script.d.ts +0 -60
- package/lib/types/specialAbility/sub/Script.js +0 -12
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +0 -48
- package/lib/types/specialAbility/sub/TradeSecret.js +0 -12
- package/lib/types/specialAbility/sub/_LanguageScript.d.ts +0 -11
- package/lib/types/specialAbility/sub/_LanguageScript.js +0 -1
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/AttireEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/BowlEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +0 -61
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +0 -71
- package/lib/types/traditionArtifacts/DaggerRitual.js +0 -12
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +0 -47
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +0 -12
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/OrbEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/RingEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +0 -47
- package/lib/types/traditionArtifacts/SickleRitual.js +0 -12
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +0 -52
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +0 -57
- package/lib/types/traditionArtifacts/StaffEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/ToyEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +0 -47
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +0 -12
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +0 -42
- package/lib/types/traditionArtifacts/WandEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +0 -52
- package/lib/types/traditionArtifacts/sub/AnimalShape.js +0 -12
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +0 -28
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +0 -12
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +0 -40
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +0 -12
- package/lib/types/traditionArtifacts/sub/Brew.d.ts +0 -28
- package/lib/types/traditionArtifacts/sub/Brew.js +0 -12
- package/lib/validation/builders/integrity.d.ts +0 -57
- package/lib/validation/builders/integrity.js +0 -44
- package/lib/validation/builders/naming.d.ts +0 -13
- package/lib/validation/builders/naming.js +0 -14
- package/lib/validation/builders/schema.d.ts +0 -31
- package/lib/validation/builders/schema.js +0 -32
- package/lib/validation/filename.d.ts +0 -9
- package/lib/validation/filename.js +0 -10
- package/lib/validation/raw.d.ts +0 -9
- package/lib/validation/raw.js +0 -56
- package/lib/validation/schema.d.ts +0 -6
- package/lib/validation/schema.js +0 -33
package/lib/types/_Identifier.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as Identifier from "./_Identifier.js";
|
|
2
|
-
export type ActivatableIdentifier = Identifier.AdvantageIdentifier | Identifier.DisadvantageIdentifier | Identifier.GeneralSpecialAbilityIdentifier | Identifier.FatePointSpecialAbilityIdentifier | Identifier.CombatSpecialAbilityIdentifier | Identifier.MagicalSpecialAbilityIdentifier | Identifier.StaffEnchantmentIdentifier | Identifier.FamiliarSpecialAbilityIdentifier | Identifier.KarmaSpecialAbilityIdentifier | Identifier.ProtectiveWardingCircleSpecialAbilityIdentifier | Identifier.CombatStyleSpecialAbilityIdentifier | Identifier.AdvancedCombatSpecialAbilityIdentifier | Identifier.CommandSpecialAbilityIdentifier | Identifier.MagicStyleSpecialAbilityIdentifier | Identifier.AdvancedMagicalSpecialAbilityIdentifier | Identifier.SpellSwordEnchantmentIdentifier | Identifier.DaggerRitualIdentifier | Identifier.InstrumentEnchantmentIdentifier | Identifier.AttireEnchantmentIdentifier | Identifier.OrbEnchantmentIdentifier | Identifier.WandEnchantmentIdentifier | Identifier.BrawlingSpecialAbilityIdentifier | Identifier.AncestorGlyphIdentifier | Identifier.CeremonialItemSpecialAbilityIdentifier | Identifier.SermonIdentifier | Identifier.LiturgicalStyleSpecialAbilityIdentifier | Identifier.AdvancedKarmaSpecialAbilityIdentifier | Identifier.VisionIdentifier | Identifier.MagicalTraditionIdentifier | Identifier.BlessedTraditionIdentifier | Identifier.PactGiftIdentifier | Identifier.SikaryanDrainSpecialAbilityIdentifier | Identifier.LycantropicGiftIdentifier | Identifier.SkillStyleSpecialAbilityIdentifier | Identifier.AdvancedSkillSpecialAbilityIdentifier | Identifier.ArcaneOrbEnchantmentIdentifier | Identifier.CauldronEnchantmentIdentifier | Identifier.FoolsHatEnchantmentIdentifier | Identifier.ToyEnchantmentIdentifier | Identifier.BowlEnchantmentIdentifier | Identifier.FatePointSexSpecialAbilityIdentifier | Identifier.SexSpecialAbilityIdentifier | Identifier.WeaponEnchantmentIdentifier | Identifier.SickleRitualIdentifier | Identifier.RingEnchantmentIdentifier | Identifier.ChronicleEnchantmentIdentifier | Identifier.KrallenkettenzauberIdentifier | Identifier.TrinkhornzauberIdentifier;
|
|
3
|
-
export type SpecialAbilityIdentifier = Identifier.GeneralSpecialAbilityIdentifier | Identifier.FatePointSpecialAbilityIdentifier | Identifier.CombatSpecialAbilityIdentifier | Identifier.MagicalSpecialAbilityIdentifier | Identifier.StaffEnchantmentIdentifier | Identifier.FamiliarSpecialAbilityIdentifier | Identifier.KarmaSpecialAbilityIdentifier | Identifier.ProtectiveWardingCircleSpecialAbilityIdentifier | Identifier.CombatStyleSpecialAbilityIdentifier | Identifier.AdvancedCombatSpecialAbilityIdentifier | Identifier.CommandSpecialAbilityIdentifier | Identifier.MagicStyleSpecialAbilityIdentifier | Identifier.AdvancedMagicalSpecialAbilityIdentifier | Identifier.SpellSwordEnchantmentIdentifier | Identifier.DaggerRitualIdentifier | Identifier.InstrumentEnchantmentIdentifier | Identifier.AttireEnchantmentIdentifier | Identifier.OrbEnchantmentIdentifier | Identifier.WandEnchantmentIdentifier | Identifier.BrawlingSpecialAbilityIdentifier | Identifier.AncestorGlyphIdentifier | Identifier.CeremonialItemSpecialAbilityIdentifier | Identifier.SermonIdentifier | Identifier.LiturgicalStyleSpecialAbilityIdentifier | Identifier.AdvancedKarmaSpecialAbilityIdentifier | Identifier.VisionIdentifier | Identifier.MagicalTraditionIdentifier | Identifier.BlessedTraditionIdentifier | Identifier.PactGiftIdentifier | Identifier.SikaryanDrainSpecialAbilityIdentifier | Identifier.LycantropicGiftIdentifier | Identifier.SkillStyleSpecialAbilityIdentifier | Identifier.AdvancedSkillSpecialAbilityIdentifier | Identifier.ArcaneOrbEnchantmentIdentifier | Identifier.CauldronEnchantmentIdentifier | Identifier.FoolsHatEnchantmentIdentifier | Identifier.ToyEnchantmentIdentifier | Identifier.BowlEnchantmentIdentifier | Identifier.FatePointSexSpecialAbilityIdentifier | Identifier.SexSpecialAbilityIdentifier | Identifier.WeaponEnchantmentIdentifier | Identifier.SickleRitualIdentifier | Identifier.RingEnchantmentIdentifier | Identifier.ChronicleEnchantmentIdentifier | Identifier.KrallenkettenzauberIdentifier | Identifier.TrinkhornzauberIdentifier;
|
|
4
|
-
export type CombatRelatedSpecialAbilityIdentifier = Identifier.CombatSpecialAbilityIdentifier | Identifier.CombatStyleSpecialAbilityIdentifier | Identifier.AdvancedCombatSpecialAbilityIdentifier | Identifier.CommandSpecialAbilityIdentifier;
|
|
5
|
-
export type TraditionIdentifier = Identifier.MagicalTraditionIdentifier | Identifier.BlessedTraditionIdentifier;
|
|
6
|
-
export type RatedIdentifier = Identifier.AttributeIdentifier | Identifier.SkillIdentifier | Identifier.CloseCombatTechniqueIdentifier | Identifier.RangedCombatTechniqueIdentifier | Identifier.SpellIdentifier | Identifier.RitualIdentifier | Identifier.LiturgicalChantIdentifier | Identifier.CeremonyIdentifier;
|
|
7
|
-
export type SkillIdentifier = Identifier.SkillIdentifier | Identifier.SpellIdentifier | Identifier.RitualIdentifier | Identifier.LiturgicalChantIdentifier | Identifier.CeremonyIdentifier;
|
|
8
|
-
export type AdvancedSpecialAbilityRestrictedOptionIdentifier = Identifier.GeneralIdentifier | Identifier.SkillIdentifier | Identifier.ElementIdentifier | Identifier.AspectIdentifier;
|
|
9
|
-
export type VolumePointsOptionReferenceIdentifier = Identifier.GeneralIdentifier | Identifier.AnimalShapeSizeIdentifier;
|
|
10
|
-
export type CombatTechniqueIdentifier = Identifier.CloseCombatTechniqueIdentifier | Identifier.RangedCombatTechniqueIdentifier;
|
|
11
|
-
export type ExtensionRuleIdentifier = Identifier.FocusRuleIdentifier | Identifier.OptionalRuleIdentifier;
|
|
12
|
-
export type SkillWithEnhancementsIdentifier = Identifier.SpellIdentifier | Identifier.RitualIdentifier | Identifier.LiturgicalChantIdentifier | Identifier.CeremonyIdentifier;
|
|
13
|
-
export type SpellworkIdentifier = Identifier.SpellIdentifier | Identifier.RitualIdentifier;
|
|
14
|
-
export type LiturgyIdentifier = Identifier.LiturgicalChantIdentifier | Identifier.CeremonyIdentifier;
|
|
15
|
-
export type MagicalActionIdentifier = Identifier.CurseIdentifier | Identifier.ElvenMagicalSongIdentifier | Identifier.DominationRitualIdentifier | Identifier.MagicalMelodyIdentifier | Identifier.MagicalDanceIdentifier | Identifier.JesterTrickIdentifier | Identifier.AnimistPowerIdentifier | Identifier.GeodeRitualIdentifier | Identifier.ZibiljaRitualIdentifier;
|
|
16
|
-
export type RequirableSelectOptionIdentifier = Identifier.GeneralIdentifier | Identifier.SkillIdentifier | Identifier.CloseCombatTechniqueIdentifier | Identifier.RangedCombatTechniqueIdentifier;
|
|
17
|
-
export type CoreRuleDerivableContentIdentifier = Identifier.MagicalTraditionIdentifier | Identifier.FamiliarSpecialAbilityIdentifier | Identifier.MagicalSpecialAbilityIdentifier | Identifier.BlessedTraditionIdentifier;
|
|
18
|
-
export type EquipmentIdentifier = Identifier.AlchemicumIdentifier | Identifier.AmmunitionIdentifier | Identifier.AnimalIdentifier | Identifier.AnimalCareIdentifier | Identifier.ArmorIdentifier | Identifier.BandageOrRemedyIdentifier | Identifier.BookIdentifier | Identifier.CeremonialItemIdentifier | Identifier.ClothesIdentifier | Identifier.ContainerIdentifier | Identifier.EquipmentOfBlessedOnesIdentifier | Identifier.GemOrPreciousStoneIdentifier | Identifier.IlluminationLightSourceIdentifier | Identifier.IlluminationRefillsOrSuppliesIdentifier | Identifier.JewelryIdentifier | Identifier.LiebesspielzeugIdentifier | Identifier.LuxuryGoodIdentifier | Identifier.MagicalArtifactIdentifier | Identifier.MusicalInstrumentIdentifier | Identifier.OrienteeringAidIdentifier | Identifier.PoisonIdentifier | Identifier.RopeOrChainIdentifier | Identifier.StationaryIdentifier | Identifier.ThievesToolIdentifier | Identifier.ToolOfTheTradeIdentifier | Identifier.TravelGearOrToolIdentifier | Identifier.VehicleIdentifier | Identifier.WeaponIdentifier | Identifier.WeaponAccessoryIdentifier;
|
|
19
|
-
export type OneOrManyNumericIdentifiers = OneNumericIdentifier | ManyNumericIdentifiers;
|
|
20
|
-
/**
|
|
21
|
-
* @minimum 1
|
|
22
|
-
*/
|
|
23
|
-
type OneNumericIdentifier = number;
|
|
24
|
-
/**
|
|
25
|
-
* @minItems 2
|
|
26
|
-
*/
|
|
27
|
-
type ManyNumericIdentifiers = OneNumericIdentifier[];
|
|
28
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title Improvement Cost
|
|
3
|
-
*/
|
|
4
|
-
export var ImprovementCost;
|
|
5
|
-
(function (ImprovementCost) {
|
|
6
|
-
ImprovementCost["A"] = "A";
|
|
7
|
-
ImprovementCost["B"] = "B";
|
|
8
|
-
ImprovementCost["C"] = "C";
|
|
9
|
-
ImprovementCost["D"] = "D";
|
|
10
|
-
})(ImprovementCost = ImprovementCost || (ImprovementCost = {}));
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @main Influence
|
|
3
|
-
*/
|
|
4
|
-
import { Errata } from "./source/_Erratum.js";
|
|
5
|
-
import { PublicationRefs } from "./source/_PublicationRef.js";
|
|
6
|
-
import { LocaleMap } from "./_LocaleMap.js";
|
|
7
|
-
import { NonEmptyString } from "./_NonEmptyString.js";
|
|
8
|
-
import { InfluencePrerequisites } from "./_Prerequisite.js";
|
|
9
|
-
/**
|
|
10
|
-
* @title Influence
|
|
11
|
-
*/
|
|
12
|
-
export type Influence = {
|
|
13
|
-
/**
|
|
14
|
-
* The influence's identifier. An unique, increasing integer.
|
|
15
|
-
* @integer
|
|
16
|
-
* @minimum 1
|
|
17
|
-
*/
|
|
18
|
-
id: number;
|
|
19
|
-
prerequisites: InfluencePrerequisites;
|
|
20
|
-
src: PublicationRefs;
|
|
21
|
-
/**
|
|
22
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
23
|
-
*/
|
|
24
|
-
translations: LocaleMap<InfluenceTranslation>;
|
|
25
|
-
};
|
|
26
|
-
export type InfluenceTranslation = {
|
|
27
|
-
/**
|
|
28
|
-
* The influence name.
|
|
29
|
-
*/
|
|
30
|
-
name: NonEmptyString;
|
|
31
|
-
/**
|
|
32
|
-
* The effects of the influence. They should be sorted like they are in
|
|
33
|
-
* the book.
|
|
34
|
-
* @minItems 1
|
|
35
|
-
*/
|
|
36
|
-
effects: InfluenceEffect[];
|
|
37
|
-
errata?: Errata;
|
|
38
|
-
};
|
|
39
|
-
export type InfluenceEffect = {
|
|
40
|
-
/**
|
|
41
|
-
* An optional label that is displayed and placed before the actual
|
|
42
|
-
* text.
|
|
43
|
-
*/
|
|
44
|
-
label?: NonEmptyString;
|
|
45
|
-
/**
|
|
46
|
-
* The effect text.
|
|
47
|
-
*/
|
|
48
|
-
text: NonEmptyString;
|
|
49
|
-
};
|
package/lib/types/_Influence.js
DELETED
package/lib/types/_LocaleMap.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title Prerequisites
|
|
3
|
-
*/
|
|
4
|
-
import { DisplayOption } from "./prerequisites/DisplayOption.js";
|
|
5
|
-
import { AdvantageDisadvantagePrerequisiteGroup, AnimistPowerPrerequisiteGroup, ArcaneTraditionPrerequisiteGroup, DerivedCharacteristicPrerequisiteGroup, EnhancementPrerequisiteGroup, GeneralPrerequisiteGroup, GeodeRitualPrerequisiteGroup, InfluencePrerequisiteGroup, LanguagePrerequisiteGroup, LiturgyPrerequisiteGroup, PersonalityTraitPrerequisiteGroup, ProfessionPrerequisiteGroup, PublicationPrerequisiteGroup, SpellworkPrerequisiteGroup } from "./prerequisites/PrerequisiteGroups.js";
|
|
6
|
-
import { LocaleMap } from "./_LocaleMap.js";
|
|
7
|
-
import { NonEmptyString } from "./_NonEmptyString.js";
|
|
8
|
-
/**
|
|
9
|
-
* A prerequisite group has no influence on validation logic. It serves as a
|
|
10
|
-
* single unit for displaying purposes, where the source uses a prerequisites
|
|
11
|
-
* item that cannot be represented as a single prerequisite.
|
|
12
|
-
*/
|
|
13
|
-
export type PrerequisiteGroup<T> = {
|
|
14
|
-
/**
|
|
15
|
-
* @minItems 2
|
|
16
|
-
*/
|
|
17
|
-
list: T[];
|
|
18
|
-
/**
|
|
19
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
20
|
-
*/
|
|
21
|
-
translations: LocaleMap<NonEmptyString>;
|
|
22
|
-
};
|
|
23
|
-
export type PrerequisitesDisjunction<T> = {
|
|
24
|
-
/**
|
|
25
|
-
* @minItems 2
|
|
26
|
-
*/
|
|
27
|
-
list: T[];
|
|
28
|
-
display_option?: DisplayOption;
|
|
29
|
-
};
|
|
30
|
-
export type PrerequisitesElement<T> = {
|
|
31
|
-
tag: "Single";
|
|
32
|
-
single: T;
|
|
33
|
-
} | {
|
|
34
|
-
tag: "Disjunction";
|
|
35
|
-
disjunction: PrerequisitesDisjunction<T>;
|
|
36
|
-
} | {
|
|
37
|
-
tag: "Group";
|
|
38
|
-
group: PrerequisiteGroup<T>;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* @minItems 1
|
|
42
|
-
*/
|
|
43
|
-
export type PlainPrerequisites<T> = PrerequisitesElement<T>[];
|
|
44
|
-
export type PrerequisiteForLevel<T> = {
|
|
45
|
-
/**
|
|
46
|
-
* @integer
|
|
47
|
-
* @minimum 1
|
|
48
|
-
*/
|
|
49
|
-
level: number;
|
|
50
|
-
prerequisite: PrerequisitesElement<T>;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* @minItems 1
|
|
54
|
-
*/
|
|
55
|
-
export type PrerequisitesForLevels<T> = PrerequisiteForLevel<T>[];
|
|
56
|
-
export type DerivedCharacteristicPrerequisites = PlainPrerequisites<DerivedCharacteristicPrerequisiteGroup>;
|
|
57
|
-
export type PublicationPrerequisites = PlainPrerequisites<PublicationPrerequisiteGroup>;
|
|
58
|
-
/**
|
|
59
|
-
* @title Plain General Prerequisites
|
|
60
|
-
*/
|
|
61
|
-
export type PlainGeneralPrerequisites = PlainPrerequisites<GeneralPrerequisiteGroup>;
|
|
62
|
-
/**
|
|
63
|
-
* @title General Prerequisites
|
|
64
|
-
*/
|
|
65
|
-
export type GeneralPrerequisites = PrerequisitesForLevels<GeneralPrerequisiteGroup>;
|
|
66
|
-
/**
|
|
67
|
-
* @title Profession Prerequisites
|
|
68
|
-
*/
|
|
69
|
-
export type ProfessionPrerequisites = PlainPrerequisites<ProfessionPrerequisiteGroup>;
|
|
70
|
-
/**
|
|
71
|
-
* @title Advantage/Disadvantage Prerequisites
|
|
72
|
-
*/
|
|
73
|
-
export type AdvantageDisadvantagePrerequisites = PrerequisitesForLevels<AdvantageDisadvantagePrerequisiteGroup>;
|
|
74
|
-
/**
|
|
75
|
-
* @title Arcane Tradition Prerequisites
|
|
76
|
-
*/
|
|
77
|
-
export type ArcaneTraditionPrerequisites = PlainPrerequisites<ArcaneTraditionPrerequisiteGroup>;
|
|
78
|
-
/**
|
|
79
|
-
* @title Personality Trait Prerequisites
|
|
80
|
-
*/
|
|
81
|
-
export type PersonalityTraitPrerequisites = PlainPrerequisites<PersonalityTraitPrerequisiteGroup>;
|
|
82
|
-
/**
|
|
83
|
-
* @title Spellwork Prerequisites
|
|
84
|
-
*/
|
|
85
|
-
export type SpellworkPrerequisites = PlainPrerequisites<SpellworkPrerequisiteGroup>;
|
|
86
|
-
/**
|
|
87
|
-
* @title Liturgy Prerequisites
|
|
88
|
-
*/
|
|
89
|
-
export type LiturgyPrerequisites = PlainPrerequisites<LiturgyPrerequisiteGroup>;
|
|
90
|
-
/**
|
|
91
|
-
* @title Influence Prerequisites
|
|
92
|
-
*/
|
|
93
|
-
export type InfluencePrerequisites = PlainPrerequisites<InfluencePrerequisiteGroup>;
|
|
94
|
-
/**
|
|
95
|
-
* @title Language Prerequisites
|
|
96
|
-
*/
|
|
97
|
-
export type LanguagePrerequisites = PrerequisitesForLevels<LanguagePrerequisiteGroup>;
|
|
98
|
-
/**
|
|
99
|
-
* @title Animist Power Prerequisites
|
|
100
|
-
*/
|
|
101
|
-
export type AnimistPowerPrerequisites = PlainPrerequisites<AnimistPowerPrerequisiteGroup>;
|
|
102
|
-
/**
|
|
103
|
-
* @title Geode Ritual Prerequisites
|
|
104
|
-
*/
|
|
105
|
-
export type GeodeRitualPrerequisites = PlainPrerequisites<GeodeRitualPrerequisiteGroup>;
|
|
106
|
-
/**
|
|
107
|
-
* @title Enhancement Prerequisites
|
|
108
|
-
*/
|
|
109
|
-
export type EnhancementPrerequisites = PlainPrerequisites<EnhancementPrerequisiteGroup>;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { NonEmptyString } from "./_NonEmptyString.js";
|
|
2
|
-
/**
|
|
3
|
-
* A text from the source that can be also displayed in small areas using a
|
|
4
|
-
* compressed version.
|
|
5
|
-
*/
|
|
6
|
-
export type ResponsiveText = {
|
|
7
|
-
/**
|
|
8
|
-
* The full text from the source.
|
|
9
|
-
*/
|
|
10
|
-
full: NonEmptyString;
|
|
11
|
-
/**
|
|
12
|
-
* A compressed text for use in small areas (e.g. on character sheet).
|
|
13
|
-
*/
|
|
14
|
-
compressed: NonEmptyString;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* A text from the source that can be also displayed in small areas using a
|
|
18
|
-
* compressed version. It is used as a replacement for a generated text while
|
|
19
|
-
* the generated text is still provided and should be used.
|
|
20
|
-
*/
|
|
21
|
-
export type ResponsiveTextReplace = {
|
|
22
|
-
/**
|
|
23
|
-
* The full replacement string. It must contain `$1`, which is going to be
|
|
24
|
-
* replaced with the generated string, so additional information can be
|
|
25
|
-
* provided without duplicating concrete numeric values.
|
|
26
|
-
* @minLength 1
|
|
27
|
-
* @pattern \$1
|
|
28
|
-
*/
|
|
29
|
-
full: string;
|
|
30
|
-
/**
|
|
31
|
-
* A compressed replacement string for use in small areas (e.g. on character
|
|
32
|
-
* sheet). It must contain `$1`, which is going to be replaced with the
|
|
33
|
-
* generated string, so additional information can be provided without
|
|
34
|
-
* duplicating concrete numeric values.
|
|
35
|
-
* @minLength 1
|
|
36
|
-
* @pattern \$1
|
|
37
|
-
*/
|
|
38
|
-
compressed: string;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* A text from the source that can be also displayed in small areas using a
|
|
42
|
-
* compressed version, if available.
|
|
43
|
-
*/
|
|
44
|
-
export type ResponsiveTextOptional = {
|
|
45
|
-
/**
|
|
46
|
-
* The full text from the source.
|
|
47
|
-
*/
|
|
48
|
-
full: NonEmptyString;
|
|
49
|
-
/**
|
|
50
|
-
* A compressed text for use in small areas (e.g. on character sheet). If this
|
|
51
|
-
* is not present, it should not appear in those areas.
|
|
52
|
-
*/
|
|
53
|
-
compressed?: NonEmptyString;
|
|
54
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/types/_Sex.d.ts
DELETED
package/lib/types/_Sex.js
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { AdvantageIdentifier, AnimalTypeIdentifier, AnimistTribeIdentifier, ArmorIdentifier, AspectIdentifier, AttributeIdentifier, BlessedTraditionIdentifier, BlessingIdentifier, CantripIdentifier, CeremonyIdentifier, CloseCombatTechniqueIdentifier, CultureIdentifier, CurriculumIdentifier, DisadvantageIdentifier, ElementIdentifier, EyeColorIdentifier, GuidelineIdentifier, HairColorIdentifier, LanguageIdentifier, LiturgicalChantIdentifier, MagicalTraditionIdentifier, PactCategoryIdentifier, PactDomainIdentifier, PatronCategoryIdentifier, PatronIdentifier, PersonalityTraitIdentifier, ProfessionIdentifier, ProfessionVariantIdentifier, PropertyIdentifier, RaceIdentifier, RangedCombatTechniqueIdentifier, RitualIdentifier, ScriptIdentifier, SkillGroupIdentifier, SkillIdentifier, SocialStatusIdentifier, SpellIdentifier, SubjectIdentifier, TargetCategoryIdentifier, WeaponIdentifier } from "./_Identifier.js";
|
|
2
|
-
import { CombatTechniqueIdentifier, SpellworkIdentifier, TraditionIdentifier } from "./_IdentifierGroup.js";
|
|
3
|
-
export type FocusRuleSubjectReference = {
|
|
4
|
-
id: SubjectIdentifier;
|
|
5
|
-
};
|
|
6
|
-
export type RaceReference = {
|
|
7
|
-
id: RaceIdentifier;
|
|
8
|
-
};
|
|
9
|
-
export type CultureReference = {
|
|
10
|
-
id: CultureIdentifier;
|
|
11
|
-
};
|
|
12
|
-
export type ProfessionReference = {
|
|
13
|
-
id: ProfessionIdentifier;
|
|
14
|
-
};
|
|
15
|
-
export type ProfessionVariantReference = {
|
|
16
|
-
id: ProfessionVariantIdentifier;
|
|
17
|
-
};
|
|
18
|
-
export type AttributeReference = {
|
|
19
|
-
id: AttributeIdentifier;
|
|
20
|
-
};
|
|
21
|
-
export type SkillReference = {
|
|
22
|
-
id: SkillIdentifier;
|
|
23
|
-
};
|
|
24
|
-
export type SkillGroupReference = {
|
|
25
|
-
id: SkillGroupIdentifier;
|
|
26
|
-
};
|
|
27
|
-
export type CombatTechniqueReference = {
|
|
28
|
-
id: CombatTechniqueIdentifier;
|
|
29
|
-
};
|
|
30
|
-
export type CloseCombatTechniqueReference = {
|
|
31
|
-
id: CloseCombatTechniqueIdentifier;
|
|
32
|
-
};
|
|
33
|
-
export type RangedCombatTechniqueReference = {
|
|
34
|
-
id: RangedCombatTechniqueIdentifier;
|
|
35
|
-
};
|
|
36
|
-
export type MagicalTraditionReference = {
|
|
37
|
-
id: MagicalTraditionIdentifier;
|
|
38
|
-
};
|
|
39
|
-
export type CantripReference = {
|
|
40
|
-
id: CantripIdentifier;
|
|
41
|
-
};
|
|
42
|
-
export type SpellReference = {
|
|
43
|
-
id: SpellIdentifier;
|
|
44
|
-
};
|
|
45
|
-
export type RitualReference = {
|
|
46
|
-
id: RitualIdentifier;
|
|
47
|
-
};
|
|
48
|
-
export type SpellworkReference = {
|
|
49
|
-
id: SpellworkIdentifier;
|
|
50
|
-
};
|
|
51
|
-
export type PropertyReference = {
|
|
52
|
-
id: PropertyIdentifier;
|
|
53
|
-
};
|
|
54
|
-
export type BlessedTraditionReference = {
|
|
55
|
-
id: BlessedTraditionIdentifier;
|
|
56
|
-
};
|
|
57
|
-
export type BlessingReference = {
|
|
58
|
-
id: BlessingIdentifier;
|
|
59
|
-
};
|
|
60
|
-
export type LiturgicalChantReference = {
|
|
61
|
-
id: LiturgicalChantIdentifier;
|
|
62
|
-
};
|
|
63
|
-
export type CeremonyReference = {
|
|
64
|
-
id: CeremonyIdentifier;
|
|
65
|
-
};
|
|
66
|
-
export type AspectReference = {
|
|
67
|
-
id: AspectIdentifier;
|
|
68
|
-
};
|
|
69
|
-
export type AdvantageReference = {
|
|
70
|
-
id: AdvantageIdentifier;
|
|
71
|
-
};
|
|
72
|
-
export type DisadvantageReference = {
|
|
73
|
-
id: DisadvantageIdentifier;
|
|
74
|
-
};
|
|
75
|
-
export type AdvancedSpecialAbilityReference<Identifier> = {
|
|
76
|
-
id: Identifier;
|
|
77
|
-
};
|
|
78
|
-
export type LanguageReference = {
|
|
79
|
-
id: LanguageIdentifier;
|
|
80
|
-
};
|
|
81
|
-
export type ScriptReference = {
|
|
82
|
-
id: ScriptIdentifier;
|
|
83
|
-
};
|
|
84
|
-
export type SocialStatusReference = {
|
|
85
|
-
id: SocialStatusIdentifier;
|
|
86
|
-
};
|
|
87
|
-
export type CurriculumReference = {
|
|
88
|
-
id: CurriculumIdentifier;
|
|
89
|
-
};
|
|
90
|
-
export type GuidelineReference = {
|
|
91
|
-
id: GuidelineIdentifier;
|
|
92
|
-
};
|
|
93
|
-
export type AnimalTypeReference = {
|
|
94
|
-
id: AnimalTypeIdentifier;
|
|
95
|
-
};
|
|
96
|
-
export type TargetCategoryReference = {
|
|
97
|
-
id: TargetCategoryIdentifier;
|
|
98
|
-
};
|
|
99
|
-
export type PatronCategoryReference = {
|
|
100
|
-
id: PatronCategoryIdentifier;
|
|
101
|
-
};
|
|
102
|
-
export type PersonalityTraitReference = {
|
|
103
|
-
id: PersonalityTraitIdentifier;
|
|
104
|
-
};
|
|
105
|
-
export type HairColorReference = {
|
|
106
|
-
id: HairColorIdentifier;
|
|
107
|
-
};
|
|
108
|
-
export type EyeColorReference = {
|
|
109
|
-
id: EyeColorIdentifier;
|
|
110
|
-
};
|
|
111
|
-
export type PactCategoryReference = {
|
|
112
|
-
id: PactCategoryIdentifier;
|
|
113
|
-
};
|
|
114
|
-
export type PactDomainReference = {
|
|
115
|
-
id: PactDomainIdentifier;
|
|
116
|
-
};
|
|
117
|
-
export type PatronReference = {
|
|
118
|
-
id: PatronIdentifier;
|
|
119
|
-
};
|
|
120
|
-
export type AnimistTribeReference = {
|
|
121
|
-
id: AnimistTribeIdentifier;
|
|
122
|
-
};
|
|
123
|
-
export type ElementReference = {
|
|
124
|
-
id: ElementIdentifier;
|
|
125
|
-
};
|
|
126
|
-
export type WeaponReference = {
|
|
127
|
-
id: WeaponIdentifier;
|
|
128
|
-
};
|
|
129
|
-
export type ArmorReference = {
|
|
130
|
-
id: ArmorIdentifier;
|
|
131
|
-
};
|
|
132
|
-
export type TraditionReference = {
|
|
133
|
-
id: TraditionIdentifier;
|
|
134
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { AttributeReference } from "./_SimpleReferences.js";
|
|
2
|
-
/**
|
|
3
|
-
* The attributes' identifiers of the skill check.
|
|
4
|
-
* @title Skill Check
|
|
5
|
-
*/
|
|
6
|
-
export type SkillCheck = [
|
|
7
|
-
AttributeReference,
|
|
8
|
-
AttributeReference,
|
|
9
|
-
AttributeReference
|
|
10
|
-
];
|
|
11
|
-
/**
|
|
12
|
-
* A specific value that represents a penalty for the associated skill check.
|
|
13
|
-
* @title Skill Check Penalty
|
|
14
|
-
*/
|
|
15
|
-
export declare enum SkillCheckPenalty {
|
|
16
|
-
Spirit = "Spirit",
|
|
17
|
-
HalfOfSpirit = "HalfOfSpirit",
|
|
18
|
-
Toughness = "Toughness",
|
|
19
|
-
HigherOfSpiritAndToughness = "HigherOfSpiritAndToughness",
|
|
20
|
-
SummoningDifficulty = "SummoningDifficulty",
|
|
21
|
-
CreationDifficulty = "CreationDifficulty"
|
|
22
|
-
}
|
package/lib/types/_SkillCheck.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A specific value that represents a penalty for the associated skill check.
|
|
3
|
-
* @title Skill Check Penalty
|
|
4
|
-
*/
|
|
5
|
-
export var SkillCheckPenalty;
|
|
6
|
-
(function (SkillCheckPenalty) {
|
|
7
|
-
SkillCheckPenalty["Spirit"] = "Spirit";
|
|
8
|
-
SkillCheckPenalty["HalfOfSpirit"] = "HalfOfSpirit";
|
|
9
|
-
SkillCheckPenalty["Toughness"] = "Toughness";
|
|
10
|
-
SkillCheckPenalty["HigherOfSpiritAndToughness"] = "HigherOfSpiritAndToughness";
|
|
11
|
-
SkillCheckPenalty["SummoningDifficulty"] = "SummoningDifficulty";
|
|
12
|
-
SkillCheckPenalty["CreationDifficulty"] = "CreationDifficulty";
|
|
13
|
-
})(SkillCheckPenalty = SkillCheckPenalty || (SkillCheckPenalty = {}));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { MagicalTraditionIdentifier } from "./_Identifier.js";
|
|
2
|
-
/**
|
|
3
|
-
* The tradition(s) the ritual is available for. It may be *generally*
|
|
4
|
-
* available to all traditions or it may be only familiar in specific
|
|
5
|
-
* traditions.
|
|
6
|
-
*/
|
|
7
|
-
export type Traditions = {
|
|
8
|
-
tag: "General";
|
|
9
|
-
general: {};
|
|
10
|
-
} | {
|
|
11
|
-
tag: "Specific";
|
|
12
|
-
specific: SpecificTraditions;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* A list of specific traditions.
|
|
16
|
-
* @minItems 1
|
|
17
|
-
*/
|
|
18
|
-
export type SpecificTraditions = MagicalTraditionIdentifier[];
|
package/lib/types/_Spellwork.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @main EquipmentPackage
|
|
3
|
-
*/
|
|
4
|
-
import { TypeConfig } from "../../typeConfig.js";
|
|
5
|
-
import { EquipmentIdentifier } from "../_IdentifierGroup.js";
|
|
6
|
-
import { LocaleMap } from "../_LocaleMap.js";
|
|
7
|
-
import { NonEmptyString } from "../_NonEmptyString.js";
|
|
8
|
-
import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
9
|
-
/**
|
|
10
|
-
* @title Equipment Package
|
|
11
|
-
*/
|
|
12
|
-
export type EquipmentPackage = {
|
|
13
|
-
/**
|
|
14
|
-
* The equipment package's identifier. An unique, increasing integer.
|
|
15
|
-
* @integer
|
|
16
|
-
* @minimum 1
|
|
17
|
-
*/
|
|
18
|
-
id: number;
|
|
19
|
-
/**
|
|
20
|
-
* All items in the package. You have to provide the item (template)
|
|
21
|
-
* identifier and you can optionally provide the number of how often an item
|
|
22
|
-
* is included in the package.
|
|
23
|
-
* @minItems 2
|
|
24
|
-
*/
|
|
25
|
-
items: EquipmentPackageItem[];
|
|
26
|
-
src: PublicationRefs;
|
|
27
|
-
/**
|
|
28
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
29
|
-
*/
|
|
30
|
-
translations: LocaleMap<EquipmentPackageTranslation>;
|
|
31
|
-
};
|
|
32
|
-
export type EquipmentPackageItem = {
|
|
33
|
-
/**
|
|
34
|
-
* The item's identifier.
|
|
35
|
-
*/
|
|
36
|
-
id: EquipmentIdentifier;
|
|
37
|
-
/**
|
|
38
|
-
* The number of how often the item is included in the package.
|
|
39
|
-
* @integer
|
|
40
|
-
* @minimum 2
|
|
41
|
-
* @default 1
|
|
42
|
-
*/
|
|
43
|
-
number?: number;
|
|
44
|
-
};
|
|
45
|
-
export type EquipmentPackageTranslation = {
|
|
46
|
-
/**
|
|
47
|
-
* The name of the equipment package.
|
|
48
|
-
*/
|
|
49
|
-
name: NonEmptyString;
|
|
50
|
-
};
|
|
51
|
-
export declare const config: TypeConfig<EquipmentPackage>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @main EquipmentPackage
|
|
3
|
-
*/
|
|
4
|
-
import { todo } from "../../validation/builders/integrity.js";
|
|
5
|
-
import { createSchemaValidator } from "../../validation/builders/schema.js";
|
|
6
|
-
import { getFIlenamePrefixAsNumericId } from "../../validation/filename.js";
|
|
7
|
-
export const config = {
|
|
8
|
-
name: "EquipmentPackage",
|
|
9
|
-
id: getFIlenamePrefixAsNumericId,
|
|
10
|
-
integrityValidator: todo("EquipmentPackage"),
|
|
11
|
-
schemaValidator: createSchemaValidator(import.meta.url),
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @main Alchemicum
|
|
3
|
-
*/
|
|
4
|
-
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
|
-
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
6
|
-
import { getFIlenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
7
|
-
export const config = {
|
|
8
|
-
name: "Alchemicum",
|
|
9
|
-
id: getFIlenamePrefixAsNumericId,
|
|
10
|
-
integrityValidator: todo("Alchemicum"),
|
|
11
|
-
schemaValidator: createSchemaValidator(import.meta.url),
|
|
12
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @main Ammunition
|
|
3
|
-
*/
|
|
4
|
-
import { TypeConfig } from "../../../typeConfig.js";
|
|
5
|
-
import { LocaleMap } from "../../_LocaleMap.js";
|
|
6
|
-
import { NonEmptyString } from "../../_NonEmptyString.js";
|
|
7
|
-
import { Errata } from "../../source/_Erratum.js";
|
|
8
|
-
import { PublicationRefs } from "../../source/_PublicationRef.js";
|
|
9
|
-
import { Cost } from "./_Item.js";
|
|
10
|
-
export type Ammunition = {
|
|
11
|
-
/**
|
|
12
|
-
* The cost in silverthalers.
|
|
13
|
-
*/
|
|
14
|
-
cost: Cost;
|
|
15
|
-
src: PublicationRefs;
|
|
16
|
-
/**
|
|
17
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
18
|
-
*/
|
|
19
|
-
translations: LocaleMap<AmmunitionTranslation>;
|
|
20
|
-
};
|
|
21
|
-
export type AmmunitionTranslation = {
|
|
22
|
-
/**
|
|
23
|
-
* The name of the item.
|
|
24
|
-
*/
|
|
25
|
-
name: NonEmptyString;
|
|
26
|
-
/**
|
|
27
|
-
* An auxiliary name or label of the item, if available.
|
|
28
|
-
*/
|
|
29
|
-
secondary_name?: NonEmptyString;
|
|
30
|
-
errata?: Errata;
|
|
31
|
-
};
|
|
32
|
-
export declare const config: TypeConfig<Ammunition>;
|