optolith-database-schema 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/lib/config.d.ts +1 -1
- package/lib/main.d.ts +3 -3
- package/lib/types/Advantage.d.ts +2 -2
- package/lib/types/AnimalDisease.d.ts +1 -1
- package/lib/types/AnimalType.d.ts +2 -2
- package/lib/types/ArcaneBardTradition.d.ts +1 -1
- package/lib/types/ArcaneDancerTradition.d.ts +1 -1
- package/lib/types/Aspect.d.ts +2 -2
- package/lib/types/Attribute.d.ts +2 -2
- package/lib/types/Blessing.d.ts +8 -8
- package/lib/types/Cantrip.d.ts +14 -14
- package/lib/types/Ceremony.d.ts +2 -2
- package/lib/types/CombatTechnique_Close.d.ts +3 -3
- package/lib/types/CombatTechnique_Ranged.d.ts +3 -3
- package/lib/types/Condition.d.ts +2 -2
- package/lib/types/Continent.d.ts +2 -2
- package/lib/types/Culture.d.ts +21 -21
- package/lib/types/DerivedCharacteristic.d.ts +3 -3
- package/lib/types/Disadvantage.d.ts +2 -2
- package/lib/types/Disease.d.ts +1 -1
- package/lib/types/Element.d.ts +2 -2
- package/lib/types/ExperienceLevel.d.ts +2 -2
- package/lib/types/EyeColor.d.ts +2 -2
- package/lib/types/FamiliarsTrick.d.ts +22 -22
- package/lib/types/HairColor.d.ts +2 -2
- package/lib/types/Kirchenpraegung.d.ts +1 -1
- package/lib/types/Lessons_Curriculum.d.ts +18 -18
- package/lib/types/Lessons_Guideline.d.ts +2 -2
- package/lib/types/LiturgicalChant.d.ts +2 -2
- package/lib/types/Locale.d.ts +2 -2
- package/lib/types/MetaCondition.d.ts +2 -2
- package/lib/types/PactCategory.d.ts +6 -6
- package/lib/types/Patron.d.ts +13 -13
- package/lib/types/PatronCategory.d.ts +2 -2
- package/lib/types/PersonalityTrait.d.ts +3 -3
- package/lib/types/Profession.d.ts +41 -41
- package/lib/types/Property.d.ts +2 -2
- package/lib/types/Race.d.ts +14 -14
- package/lib/types/Region.d.ts +2 -2
- package/lib/types/Ritual.d.ts +2 -2
- package/lib/types/Service.d.ts +2 -2
- package/lib/types/SexPractice.d.ts +2 -2
- package/lib/types/Skill.d.ts +6 -6
- package/lib/types/SkillGroup.d.ts +2 -2
- package/lib/types/SkillModificationLevel.d.ts +6 -6
- package/lib/types/SocialStatus.d.ts +2 -2
- package/lib/types/Spell.d.ts +2 -2
- package/lib/types/State.d.ts +2 -2
- package/lib/types/Talisman.d.ts +3 -3
- package/lib/types/TargetCategory.d.ts +3 -3
- package/lib/types/UI.d.ts +1 -1
- package/lib/types/_Activatable.d.ts +109 -109
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +27 -27
- package/lib/types/_ActivatableSkill.d.ts +8 -8
- package/lib/types/_ActivatableSkillCastingTime.d.ts +8 -8
- package/lib/types/_ActivatableSkillCheckResultBased.d.ts +2 -2
- package/lib/types/_ActivatableSkillCost.d.ts +20 -20
- package/lib/types/_ActivatableSkillDuration.d.ts +13 -13
- package/lib/types/_ActivatableSkillEffect.d.ts +4 -4
- package/lib/types/_ActivatableSkillRange.d.ts +6 -6
- package/lib/types/_ActivatableSkillTargetCategory.d.ts +4 -4
- package/lib/types/_AlternativeNames.d.ts +1 -1
- package/lib/types/_ArcaneTradition.d.ts +2 -2
- package/lib/types/_Blessed.d.ts +2 -2
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +1 -1
- package/lib/types/_Dice.d.ts +1 -1
- package/lib/types/_DiseasePoison.d.ts +4 -4
- package/lib/types/_Enhancements.d.ts +3 -3
- package/lib/types/_I18n.d.ts +1 -1
- package/lib/types/_Identifier.d.ts +132 -132
- package/lib/types/_IdentifierGroup.d.ts +20 -20
- package/lib/types/_Influence.d.ts +3 -3
- package/lib/types/_LocaleMap.d.ts +1 -1
- package/lib/types/_NonEmptyString.d.ts +2 -2
- package/lib/types/_Prerequisite.d.ts +21 -21
- package/lib/types/_ResponsiveText.d.ts +3 -3
- package/lib/types/_SimpleReferences.d.ts +44 -44
- package/lib/types/_SkillCheck.d.ts +1 -1
- package/lib/types/_Spellwork.d.ts +2 -2
- package/lib/types/equipment/EquipmentPackage.d.ts +3 -3
- package/lib/types/equipment/item/Alchemicum.d.ts +1 -1
- package/lib/types/equipment/item/Ammunition.d.ts +2 -2
- package/lib/types/equipment/item/Animal.d.ts +1 -1
- package/lib/types/equipment/item/AnimalCare.d.ts +5 -5
- package/lib/types/equipment/item/Armor.d.ts +11 -11
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +1 -1
- package/lib/types/equipment/item/Book.d.ts +2 -2
- package/lib/types/equipment/item/CeremonialItem.d.ts +1 -1
- package/lib/types/equipment/item/Clothes.d.ts +1 -1
- package/lib/types/equipment/item/Container.d.ts +1 -1
- package/lib/types/equipment/item/Elixir.d.ts +2 -2
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -1
- package/lib/types/equipment/item/GemOrPreciousStone.d.ts +2 -2
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +3 -3
- package/lib/types/equipment/item/IlluminationRefillsOrSupplies.d.ts +1 -1
- package/lib/types/equipment/item/Jewelry.d.ts +3 -3
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +1 -1
- package/lib/types/equipment/item/LuxuryGood.d.ts +1 -1
- package/lib/types/equipment/item/MagicalArtifact.d.ts +2 -2
- package/lib/types/equipment/item/MusicalInstrument.d.ts +1 -1
- package/lib/types/equipment/item/OrienteeringAid.d.ts +1 -1
- package/lib/types/equipment/item/Poison.d.ts +26 -26
- package/lib/types/equipment/item/RopeOrChain.d.ts +1 -1
- package/lib/types/equipment/item/Stationary.d.ts +1 -1
- package/lib/types/equipment/item/ThievesTool.d.ts +1 -1
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +3 -3
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +1 -1
- package/lib/types/equipment/item/Vehicle.d.ts +1 -1
- package/lib/types/equipment/item/Weapon.d.ts +9 -9
- package/lib/types/equipment/item/WeaponAccessory.d.ts +1 -1
- package/lib/types/equipment/item/_Herbary.d.ts +1 -1
- package/lib/types/equipment/item/_Item.d.ts +12 -12
- package/lib/types/equipment/item/_MeleeWeapon.d.ts +7 -7
- package/lib/types/equipment/item/_RangedWeapon.d.ts +6 -6
- package/lib/types/equipment/item/_Weapon.d.ts +5 -5
- package/lib/types/equipment/item/sub/ArmorType.d.ts +2 -2
- package/lib/types/equipment/item/sub/Reach.d.ts +2 -2
- package/lib/types/magicalActions/AnimistPower.d.ts +16 -16
- package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +2 -2
- package/lib/types/magicalActions/Curse.d.ts +10 -10
- package/lib/types/magicalActions/DominationRitual.d.ts +9 -9
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +7 -7
- package/lib/types/magicalActions/GeodeRitual.d.ts +10 -10
- package/lib/types/magicalActions/JesterTrick.d.ts +9 -9
- package/lib/types/magicalActions/MagicalDance.d.ts +6 -6
- package/lib/types/magicalActions/MagicalMelody.d.ts +6 -6
- package/lib/types/magicalActions/MagicalRune.d.ts +22 -22
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +3 -3
- package/lib/types/magicalActions/_MusicTradition.d.ts +3 -3
- package/lib/types/magicalActions/_SkillReference.d.ts +1 -1
- package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +1 -1
- package/lib/types/prerequisites/DisplayOption.d.ts +2 -2
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +15 -15
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/AncestorBloodPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +4 -4
- package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/PactPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/RacePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +6 -6
- package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/RulePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/SexPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/StatePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +2 -2
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +2 -2
- package/lib/types/rule/CoreRule.d.ts +11 -11
- package/lib/types/rule/FocusRule.d.ts +2 -2
- package/lib/types/rule/FocusRule_Subject.d.ts +2 -2
- package/lib/types/rule/OptionalRule.d.ts +2 -2
- package/lib/types/source/Publication.d.ts +2 -2
- package/lib/types/source/_Erratum.d.ts +2 -2
- package/lib/types/source/_PublicationRef.d.ts +13 -13
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/AncestorGlyph.d.ts +2 -2
- package/lib/types/specialAbility/BlessedTradition.d.ts +8 -8
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +1 -1
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/LycantropicGift.d.ts +2 -2
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/MagicalSign.d.ts +2 -2
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/MagicalTradition.d.ts +3 -3
- package/lib/types/specialAbility/PactGift.d.ts +9 -9
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/Sermon.d.ts +2 -2
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/VampiricGift.d.ts +2 -2
- package/lib/types/specialAbility/Vision.d.ts +2 -2
- package/lib/types/specialAbility/_Tradition.d.ts +1 -1
- package/lib/types/specialAbility/sub/Language.d.ts +8 -8
- package/lib/types/specialAbility/sub/Script.d.ts +2 -2
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +2 -2
- package/lib/types/specialAbility/sub/_LanguageScript.d.ts +1 -1
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +6 -6
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +2 -2
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +2 -2
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +2 -2
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +2 -2
- package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +4 -4
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +2 -2
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +2 -2
- package/lib/types/traditionArtifacts/sub/Brew.d.ts +2 -2
- package/lib/validation/schema.d.ts +5 -5
- package/package.json +5 -5
|
@@ -9,7 +9,7 @@ import { GeneralPrerequisites } from "../../_Prerequisite.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Trade Secret
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type TradeSecret = {
|
|
13
13
|
/**
|
|
14
14
|
* The trade secret's identifier. An unique, increasing integer.
|
|
15
15
|
* @integer
|
|
@@ -33,7 +33,7 @@ export declare type TradeSecret = {
|
|
|
33
33
|
*/
|
|
34
34
|
translations: LocaleMap<TradeSecretTranslation>;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export type TradeSecretTranslation = {
|
|
37
37
|
/**
|
|
38
38
|
* The name of the trade secret.
|
|
39
39
|
*/
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Arcane Orb Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type ArcaneOrbEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type ArcaneOrbEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<ArcaneOrbEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type ArcaneOrbEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Attire Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type AttireEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type AttireEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<AttireEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type AttireEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Bowl Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type BowlEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type BowlEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<BowlEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type BowlEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Cauldron Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type CauldronEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -30,7 +30,7 @@ export declare type CauldronEnchantment = {
|
|
|
30
30
|
*/
|
|
31
31
|
translations: LocaleMap<CauldronEnchantmentTranslation>;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type BrewReference = {
|
|
34
34
|
/**
|
|
35
35
|
* The brew's identifier.
|
|
36
36
|
* @integer
|
|
@@ -39,7 +39,7 @@ export declare type BrewReference = {
|
|
|
39
39
|
*/
|
|
40
40
|
id: number;
|
|
41
41
|
};
|
|
42
|
-
export
|
|
42
|
+
export type CauldronEnchantmentTranslation = {
|
|
43
43
|
name: Activatable.Name;
|
|
44
44
|
name_in_library?: Activatable.NameInLibrary;
|
|
45
45
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Chronicle Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type ChronicleEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type ChronicleEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<ChronicleEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type ChronicleEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -10,7 +10,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* @title Dagger Ritual
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type DaggerRitual = {
|
|
14
14
|
id: Activatable.Id;
|
|
15
15
|
levels?: Activatable.Levels;
|
|
16
16
|
select_options?: Activatable.SelectOptions;
|
|
@@ -26,22 +26,22 @@ export declare type DaggerRitual = {
|
|
|
26
26
|
*/
|
|
27
27
|
translations: LocaleMap<DaggerRitualTranslation>;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type DaggerRitualCost = {
|
|
30
30
|
tag: "ArcaneEnergyCost";
|
|
31
31
|
arcane_energy_cost: DaggerRitualArcaneEnergyCost;
|
|
32
32
|
} | {
|
|
33
33
|
tag: "BindingCost";
|
|
34
34
|
binding_cost: BindingCost;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export type DaggerRitualArcaneEnergyCost = {
|
|
37
37
|
ae_cost: ArcaneEnergyCost;
|
|
38
38
|
lp_cost?: LifePointsCost;
|
|
39
39
|
};
|
|
40
|
-
export
|
|
40
|
+
export type LifePointsCost = {
|
|
41
41
|
tag: "Fixed";
|
|
42
42
|
fixed: FixedLifePointsCost;
|
|
43
43
|
};
|
|
44
|
-
export
|
|
44
|
+
export type FixedLifePointsCost = {
|
|
45
45
|
/**
|
|
46
46
|
* The LP cost value.
|
|
47
47
|
* @integer
|
|
@@ -49,7 +49,7 @@ export declare type FixedLifePointsCost = {
|
|
|
49
49
|
*/
|
|
50
50
|
value: number;
|
|
51
51
|
};
|
|
52
|
-
export
|
|
52
|
+
export type DaggerRitualTranslation = {
|
|
53
53
|
name: Activatable.Name;
|
|
54
54
|
name_in_library?: Activatable.NameInLibrary;
|
|
55
55
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Fool's Hat Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type FoolsHatEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type FoolsHatEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<FoolsHatEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type FoolsHatEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Instrument Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type InstrumentEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type InstrumentEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<InstrumentEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type InstrumentEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Krallenkettenzauber
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type Krallenkettenzauber = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type Krallenkettenzauber = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<KrallenkettenzauberTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type KrallenkettenzauberTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Orb Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type OrbEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type OrbEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<OrbEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type OrbEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Ring Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type RingEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type RingEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<RingEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type RingEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Sickle Ritual
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type SickleRitual = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type SickleRitual = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<SickleRitualTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type SickleRitualTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Spell-Sword Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type SpellSwordEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type SpellSwordEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<SpellSwordEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type SpellSwordEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -10,7 +10,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* @title Staff Enchantment
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type StaffEnchantment = {
|
|
14
14
|
id: Activatable.Id;
|
|
15
15
|
levels?: Activatable.Levels;
|
|
16
16
|
select_options?: Activatable.SelectOptions;
|
|
@@ -26,7 +26,7 @@ export declare type StaffEnchantment = {
|
|
|
26
26
|
*/
|
|
27
27
|
translations: LocaleMap<StaffEnchantmentTranslation>;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type StaffEnchantmentTranslation = {
|
|
30
30
|
name: Activatable.Name;
|
|
31
31
|
name_in_library?: Activatable.NameInLibrary;
|
|
32
32
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Toy Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type ToyEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type ToyEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<ToyEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type ToyEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Trinkhornzauber
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type Trinkhornzauber = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type Trinkhornzauber = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<TrinkhornzauberTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type TrinkhornzauberTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Wand Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type WandEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -24,7 +24,7 @@ export declare type WandEnchantment = {
|
|
|
24
24
|
*/
|
|
25
25
|
translations: LocaleMap<WandEnchantmentTranslation>;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type WandEnchantmentTranslation = {
|
|
28
28
|
name: Activatable.Name;
|
|
29
29
|
name_in_library?: Activatable.NameInLibrary;
|
|
30
30
|
effect: Activatable.Effect;
|
|
@@ -9,7 +9,7 @@ import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Weapon Enchantment
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type WeaponEnchantment = {
|
|
13
13
|
id: Activatable.Id;
|
|
14
14
|
levels?: Activatable.Levels;
|
|
15
15
|
select_options?: Activatable.SelectOptions;
|
|
@@ -25,7 +25,7 @@ export declare type WeaponEnchantment = {
|
|
|
25
25
|
*/
|
|
26
26
|
translations: LocaleMap<WeaponEnchantmentTranslation>;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type WeaponEnchantmentTranslation = {
|
|
29
29
|
name: Activatable.Name;
|
|
30
30
|
name_in_library?: Activatable.NameInLibrary;
|
|
31
31
|
effect: Activatable.Effect;
|
|
@@ -6,7 +6,7 @@ import { NonEmptyString } from "../../_NonEmptyString.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* @title Animal Shape
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type AnimalShape = {
|
|
10
10
|
/**
|
|
11
11
|
* The animal shape's identifier. An unique, increasing integer.
|
|
12
12
|
* @integer
|
|
@@ -26,7 +26,7 @@ export declare type AnimalShape = {
|
|
|
26
26
|
*/
|
|
27
27
|
translations: LocaleMap<AnimalShapeTranslation>;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type AnimalShapePathReference = {
|
|
30
30
|
/**
|
|
31
31
|
* The identifier of the animal shape's path.
|
|
32
32
|
* @integer
|
|
@@ -34,7 +34,7 @@ export declare type AnimalShapePathReference = {
|
|
|
34
34
|
*/
|
|
35
35
|
id: number;
|
|
36
36
|
};
|
|
37
|
-
export
|
|
37
|
+
export type AnimalShapeSizeReference = {
|
|
38
38
|
/**
|
|
39
39
|
* The identifier of the animal shape's size.
|
|
40
40
|
* @integer
|
|
@@ -42,7 +42,7 @@ export declare type AnimalShapeSizeReference = {
|
|
|
42
42
|
*/
|
|
43
43
|
id: number;
|
|
44
44
|
};
|
|
45
|
-
export
|
|
45
|
+
export type AnimalShapeTranslation = {
|
|
46
46
|
/**
|
|
47
47
|
* The animal shape name.
|
|
48
48
|
*/
|
|
@@ -6,7 +6,7 @@ import { NonEmptyString } from "../../_NonEmptyString.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* @title Animal Shape Path
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type AnimalShapePath = {
|
|
10
10
|
/**
|
|
11
11
|
* The animal shape path's identifier. An unique, increasing integer.
|
|
12
12
|
* @integer
|
|
@@ -18,7 +18,7 @@ export declare type AnimalShapePath = {
|
|
|
18
18
|
*/
|
|
19
19
|
translations: LocaleMap<AnimalShapePathTranslation>;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type AnimalShapePathTranslation = {
|
|
22
22
|
/**
|
|
23
23
|
* The animal shape path's name.
|
|
24
24
|
*/
|
|
@@ -6,7 +6,7 @@ import { NonEmptyString } from "../../_NonEmptyString.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* @title Animal Shape Size
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type AnimalShapeSize = {
|
|
10
10
|
/**
|
|
11
11
|
* The animal shape's identifier. An unique, increasing integer.
|
|
12
12
|
* @integer
|
|
@@ -30,7 +30,7 @@ export declare type AnimalShapeSize = {
|
|
|
30
30
|
*/
|
|
31
31
|
translations: LocaleMap<AnimalShapeSizeTranslation>;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type AnimalShapeSizeTranslation = {
|
|
34
34
|
/**
|
|
35
35
|
* The animal shape size name.
|
|
36
36
|
*/
|
|
@@ -6,7 +6,7 @@ import { NonEmptyString } from "../../_NonEmptyString.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* @title Brew
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type Brew = {
|
|
10
10
|
/**
|
|
11
11
|
* The brew's identifier. An unique, increasing integer.
|
|
12
12
|
* @integer
|
|
@@ -18,7 +18,7 @@ export declare type Brew = {
|
|
|
18
18
|
*/
|
|
19
19
|
translations: LocaleMap<BrewTranslation>;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type BrewTranslation = {
|
|
22
22
|
/**
|
|
23
23
|
* The brew name.
|
|
24
24
|
*/
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import Ajv, { DefinedError } from "ajv";
|
|
2
|
-
export
|
|
2
|
+
export type FileNameError = {
|
|
3
3
|
keyword: "filename";
|
|
4
4
|
instancePath: string;
|
|
5
5
|
message: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type TypeValidationResult<T> = {
|
|
8
8
|
tag: "Ok";
|
|
9
9
|
value: T;
|
|
10
10
|
} | {
|
|
11
11
|
tag: "Error";
|
|
12
12
|
errors: TypeValidationResultErrors;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type TypeValidationResultErrors = {
|
|
15
15
|
fileNameError?: FileNameError;
|
|
16
16
|
schemaErrors: DefinedError[];
|
|
17
17
|
};
|
|
18
|
-
export
|
|
19
|
-
export
|
|
18
|
+
export type TypeValidator<T> = (validator: Ajv, data: unknown, filePath: string) => TypeValidationResult<T>;
|
|
19
|
+
export type TypeValidatorOptions = {
|
|
20
20
|
ignoreFileNamePattern?: boolean;
|
|
21
21
|
};
|
|
22
22
|
export declare const validateSchemaCreator: <T>(importMetaUrl: string, { ignoreFileNamePattern }?: TypeValidatorOptions) => TypeValidator<T>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optolith-database-schema",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Definitions and utilities for the flat-file database of Optolith, a character creation tool for the Pen and Paper RPG “The Dark Eye 5”, and its external integrations into other software.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tde",
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"author": "Lukas Obermann",
|
|
23
23
|
"license": "MPL-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"ajv": "^8.
|
|
25
|
+
"ajv": "^8.12.0",
|
|
26
26
|
"ajv-formats": "^2.1.1",
|
|
27
|
-
"yaml": "^2.
|
|
27
|
+
"yaml": "^2.2.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@types/node": "^18.
|
|
30
|
+
"@types/node": "^18.16.3",
|
|
31
31
|
"optolith-tsjsonschemamd": "^0.5.20",
|
|
32
32
|
"standard-version": "^9.5.0",
|
|
33
|
-
"typescript": "^
|
|
33
|
+
"typescript": "^5.0.4"
|
|
34
34
|
},
|
|
35
35
|
"repository": "github:elyukai/optolith-database-schema",
|
|
36
36
|
"bugs": {
|