optolith-database-schema 0.12.1 → 0.13.0
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 +21 -0
- package/lib/cache/newApplicationsAndUses.d.ts +17 -0
- package/lib/cache/newApplicationsAndUses.js +67 -0
- package/lib/cacheConfig.d.ts +4 -0
- package/lib/cacheConfig.js +1 -0
- package/lib/config/cache.d.ts +7 -0
- package/lib/config/cache.js +4 -0
- package/lib/main.d.ts +27 -0
- package/lib/main.js +33 -0
- package/lib/types/Advantage.js +2 -2
- package/lib/types/AnimalDisease.js +2 -2
- package/lib/types/AnimalType.js +2 -2
- package/lib/types/ArcaneBardTradition.js +2 -2
- package/lib/types/ArcaneDancerTradition.js +2 -2
- package/lib/types/Aspect.js +2 -2
- package/lib/types/Attribute.js +3 -3
- package/lib/types/Blessing.js +2 -2
- package/lib/types/Cantrip.js +2 -2
- package/lib/types/Ceremony.js +2 -2
- package/lib/types/CombatTechnique_Close.js +2 -2
- package/lib/types/CombatTechnique_Ranged.js +2 -2
- package/lib/types/Condition.js +2 -2
- package/lib/types/Continent.js +2 -2
- package/lib/types/Culture.d.ts +4 -17
- package/lib/types/Culture.js +2 -40
- package/lib/types/DerivedCharacteristic.js +2 -2
- package/lib/types/Disadvantage.js +2 -2
- package/lib/types/Disease.js +2 -2
- package/lib/types/Element.js +2 -2
- package/lib/types/ExperienceLevel.js +2 -2
- package/lib/types/EyeColor.js +2 -2
- package/lib/types/FamiliarsTrick.js +2 -2
- package/lib/types/HairColor.js +2 -2
- package/lib/types/Kirchenpraegung.js +2 -2
- package/lib/types/Lessons_Curriculum.js +2 -2
- package/lib/types/Lessons_Guideline.js +2 -2
- package/lib/types/LiturgicalChant.js +2 -2
- package/lib/types/MetaCondition.js +2 -2
- package/lib/types/PactCategory.js +2 -2
- package/lib/types/Patron.d.ts +2 -12
- package/lib/types/Patron.js +2 -22
- package/lib/types/PatronCategory.js +2 -2
- package/lib/types/PersonalityTrait.js +2 -2
- package/lib/types/Profession.d.ts +1 -5
- package/lib/types/Profession.js +2 -8
- package/lib/types/Property.js +2 -2
- package/lib/types/Race.d.ts +68 -134
- package/lib/types/Race.js +2 -13
- package/lib/types/Region.js +2 -2
- package/lib/types/Ritual.js +2 -2
- package/lib/types/Service.d.ts +1 -4
- package/lib/types/Service.js +2 -7
- package/lib/types/SexPractice.js +2 -2
- package/lib/types/Skill.d.ts +2 -10
- package/lib/types/Skill.js +2 -21
- package/lib/types/SkillGroup.js +2 -2
- package/lib/types/SkillModificationLevel.d.ts +1 -4
- package/lib/types/SkillModificationLevel.js +2 -7
- package/lib/types/SocialStatus.js +2 -2
- package/lib/types/Spell.js +2 -2
- package/lib/types/State.js +2 -2
- package/lib/types/Talisman.d.ts +1 -7
- package/lib/types/Talisman.js +3 -11
- package/lib/types/TargetCategory.js +3 -3
- package/lib/types/UI.d.ts +171 -128
- package/lib/types/_Activatable.d.ts +5 -19
- package/lib/types/_Activatable.js +1 -40
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +1 -4
- package/lib/types/_ActivatableSelectOptionCategory.js +1 -8
- package/lib/types/_ActivatableSkillCastingTime.d.ts +1 -4
- package/lib/types/_ActivatableSkillCastingTime.js +1 -5
- package/lib/types/_ActivatableSkillCheckResultBased.d.ts +2 -8
- package/lib/types/_ActivatableSkillCheckResultBased.js +1 -16
- package/lib/types/_ActivatableSkillDuration.d.ts +1 -12
- package/lib/types/_ActivatableSkillDuration.js +1 -13
- package/lib/types/_ActivatableSkillRange.d.ts +1 -4
- package/lib/types/_ActivatableSkillRange.js +1 -5
- package/lib/types/_Dice.d.ts +1 -5
- package/lib/types/_Dice.js +1 -9
- package/lib/types/_DiseasePoison.d.ts +2 -6
- package/lib/types/_DiseasePoison.js +1 -11
- package/lib/types/_ImprovementCost.d.ts +1 -6
- package/lib/types/_ImprovementCost.js +1 -10
- package/lib/types/_Sex.d.ts +1 -4
- package/lib/types/_Sex.js +1 -8
- package/lib/types/_SkillCheck.d.ts +1 -8
- package/lib/types/_SkillCheck.js +1 -13
- package/lib/types/equipment/EquipmentPackage.js +2 -2
- package/lib/types/equipment/item/Alchemicum.js +2 -2
- package/lib/types/equipment/item/Ammunition.js +2 -2
- package/lib/types/equipment/item/Animal.js +2 -2
- package/lib/types/equipment/item/AnimalCare.js +2 -2
- package/lib/types/equipment/item/Armor.js +2 -2
- package/lib/types/equipment/item/BandageOrRemedy.js +2 -2
- package/lib/types/equipment/item/Book.js +2 -2
- package/lib/types/equipment/item/CeremonialItem.js +2 -2
- package/lib/types/equipment/item/Clothes.js +2 -2
- package/lib/types/equipment/item/Container.js +2 -2
- package/lib/types/equipment/item/Elixir.js +2 -2
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +2 -2
- package/lib/types/equipment/item/GemOrPreciousStone.js +2 -2
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +1 -3
- package/lib/types/equipment/item/IlluminationLightSource.js +2 -6
- package/lib/types/equipment/item/IlluminationRefillsOrSupplies.js +2 -2
- package/lib/types/equipment/item/Jewelry.js +2 -2
- package/lib/types/equipment/item/Liebesspielzeug.js +2 -2
- package/lib/types/equipment/item/LuxuryGood.js +2 -2
- package/lib/types/equipment/item/MagicalArtifact.js +2 -2
- package/lib/types/equipment/item/MusicalInstrument.js +2 -2
- package/lib/types/equipment/item/OrienteeringAid.js +2 -2
- package/lib/types/equipment/item/Poison.d.ts +3 -15
- package/lib/types/equipment/item/Poison.js +2 -20
- package/lib/types/equipment/item/RopeOrChain.js +2 -2
- package/lib/types/equipment/item/Stationary.js +2 -2
- package/lib/types/equipment/item/ThievesTool.js +2 -2
- package/lib/types/equipment/item/ToolOfTheTrade.js +2 -2
- package/lib/types/equipment/item/TravelGearOrTool.js +2 -2
- package/lib/types/equipment/item/Vehicle.js +2 -2
- package/lib/types/equipment/item/Weapon.js +2 -2
- package/lib/types/equipment/item/WeaponAccessory.js +2 -2
- package/lib/types/equipment/item/_Herbary.d.ts +2 -14
- package/lib/types/equipment/item/_Herbary.js +1 -19
- package/lib/types/equipment/item/sub/ArmorType.js +2 -2
- package/lib/types/equipment/item/sub/Reach.js +2 -2
- package/lib/types/magicalActions/AnimistPower.js +2 -2
- package/lib/types/magicalActions/AnimistPower_Tribe.js +2 -2
- package/lib/types/magicalActions/Curse.js +2 -2
- package/lib/types/magicalActions/DominationRitual.js +2 -2
- package/lib/types/magicalActions/ElvenMagicalSong.js +2 -2
- package/lib/types/magicalActions/GeodeRitual.js +2 -2
- package/lib/types/magicalActions/JesterTrick.js +2 -2
- package/lib/types/magicalActions/MagicalDance.js +2 -2
- package/lib/types/magicalActions/MagicalMelody.js +2 -2
- package/lib/types/magicalActions/MagicalRune.js +2 -2
- package/lib/types/magicalActions/ZibiljaRitual.js +2 -2
- package/lib/types/magicalActions/_MusicTradition.d.ts +2 -8
- package/lib/types/magicalActions/_MusicTradition.js +1 -10
- package/lib/types/magicalActions/_SkillReference.d.ts +1 -4
- package/lib/types/magicalActions/_SkillReference.js +1 -5
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +1 -4
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +1 -5
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +1 -5
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +1 -6
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +1 -4
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +1 -5
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +2 -8
- package/lib/types/prerequisites/single/TextPrerequisite.js +1 -10
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +2 -8
- package/lib/types/prerequisites/single/TraditionPrerequisite.js +1 -18
- package/lib/types/rule/CoreRule.d.ts +1 -4
- package/lib/types/rule/CoreRule.js +2 -7
- package/lib/types/rule/FocusRule.js +2 -2
- package/lib/types/rule/FocusRule_Subject.js +2 -2
- package/lib/types/rule/OptionalRule.js +2 -2
- package/lib/types/source/Publication.d.ts +1 -6
- package/lib/types/source/Publication.js +2 -12
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +2 -2
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +2 -2
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +2 -2
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +2 -2
- package/lib/types/specialAbility/AncestorGlyph.js +2 -2
- package/lib/types/specialAbility/BlessedTradition.js +2 -2
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +2 -2
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +2 -2
- package/lib/types/specialAbility/CombatSpecialAbility.js +2 -2
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +2 -2
- package/lib/types/specialAbility/CommandSpecialAbility.js +2 -2
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +2 -2
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +2 -2
- package/lib/types/specialAbility/FatePointSpecialAbility.js +2 -2
- package/lib/types/specialAbility/GeneralSpecialAbility.js +2 -2
- package/lib/types/specialAbility/KarmaSpecialAbility.js +2 -2
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +2 -2
- package/lib/types/specialAbility/LycantropicGift.js +2 -2
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +2 -2
- package/lib/types/specialAbility/MagicalSign.js +2 -2
- package/lib/types/specialAbility/MagicalSpecialAbility.js +2 -2
- package/lib/types/specialAbility/MagicalTradition.js +2 -2
- package/lib/types/specialAbility/PactGift.d.ts +2 -8
- package/lib/types/specialAbility/PactGift.js +2 -12
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +2 -2
- package/lib/types/specialAbility/Sermon.js +2 -2
- package/lib/types/specialAbility/SexSpecialAbility.js +2 -2
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +2 -2
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +2 -2
- package/lib/types/specialAbility/VampiricGift.js +2 -2
- package/lib/types/specialAbility/Vision.js +2 -2
- package/lib/types/specialAbility/sub/Language.js +2 -2
- package/lib/types/specialAbility/sub/Script.js +2 -2
- package/lib/types/specialAbility/sub/TradeSecret.js +2 -2
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/AttireEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/BowlEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/DaggerRitual.js +2 -2
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +2 -2
- package/lib/types/traditionArtifacts/OrbEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/RingEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/SickleRitual.js +2 -2
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/StaffEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/ToyEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +2 -2
- package/lib/types/traditionArtifacts/WandEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +2 -2
- package/lib/types/traditionArtifacts/sub/AnimalShape.js +2 -2
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +2 -2
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +2 -2
- package/lib/types/traditionArtifacts/sub/Brew.js +2 -2
- package/lib/validation/filename.d.ts +1 -1
- package/lib/validation/filename.js +1 -1
- package/package.json +2 -2
- package/schema/Culture.schema.json +31 -13
- package/schema/Patron.schema.json +26 -10
- package/schema/Profession.schema.json +10 -4
- package/schema/Race.schema.json +79 -208
- package/schema/Service.schema.json +7 -3
- package/schema/Skill.schema.json +20 -8
- package/schema/SkillModificationLevel.schema.json +7 -3
- package/schema/Talisman.schema.json +16 -6
- package/schema/UI.schema.json +502 -304
- package/schema/_Activatable.schema.json +32 -14
- package/schema/_ActivatableSelectOptionCategory.schema.json +7 -3
- package/schema/_ActivatableSkillCastingTime.schema.json +7 -3
- package/schema/_ActivatableSkillCheckResultBased.schema.json +14 -6
- package/schema/_ActivatableSkillDuration.schema.json +31 -11
- package/schema/_ActivatableSkillRange.schema.json +7 -3
- package/schema/_Dice.schema.json +10 -4
- package/schema/_DiseasePoison.schema.json +10 -4
- package/schema/_ImprovementCost.schema.json +13 -5
- package/schema/_Sex.schema.json +7 -3
- package/schema/_SkillCheck.schema.json +19 -7
- package/schema/equipment/item/IlluminationLightSource.schema.json +4 -2
- package/schema/equipment/item/Poison.schema.json +30 -12
- package/schema/equipment/item/_Herbary.schema.json +32 -12
- package/schema/magicalActions/_MusicTradition.schema.json +14 -6
- package/schema/magicalActions/_SkillReference.schema.json +7 -3
- package/schema/prerequisites/single/PrimaryAttributePrerequisite.schema.json +7 -3
- package/schema/prerequisites/single/RatedMinimumNumberPrerequisite.schema.json +10 -4
- package/schema/prerequisites/single/SexualCharacteristicPrerequisite.schema.json +7 -3
- package/schema/prerequisites/single/TextPrerequisite.schema.json +14 -6
- package/schema/prerequisites/single/TraditionPrerequisite.schema.json +14 -6
- package/schema/rule/CoreRule.schema.json +7 -3
- package/schema/source/Publication.schema.json +13 -5
- package/schema/specialAbility/PactGift.schema.json +14 -6
|
@@ -112,18 +112,7 @@ export type DurationForSustained = {
|
|
|
112
112
|
*/
|
|
113
113
|
maximum: DurationUnitValue;
|
|
114
114
|
};
|
|
115
|
-
export
|
|
116
|
-
Seconds = "Seconds",
|
|
117
|
-
Minutes = "Minutes",
|
|
118
|
-
Hours = "Hours",
|
|
119
|
-
Days = "Days",
|
|
120
|
-
Weeks = "Weeks",
|
|
121
|
-
Months = "Months",
|
|
122
|
-
Years = "Years",
|
|
123
|
-
Centuries = "Centuries",
|
|
124
|
-
Actions = "Actions",
|
|
125
|
-
CombatRounds = "CombatRounds"
|
|
126
|
-
}
|
|
115
|
+
export type DurationUnit = "Seconds" | "Minutes" | "Hours" | "Days" | "Weeks" | "Months" | "Years" | "Centuries" | "Actions" | "CombatRounds";
|
|
127
116
|
export type DurationUnitValue = {
|
|
128
117
|
/**
|
|
129
118
|
* The (unitless) duration value.
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
(function (DurationUnit) {
|
|
3
|
-
DurationUnit["Seconds"] = "Seconds";
|
|
4
|
-
DurationUnit["Minutes"] = "Minutes";
|
|
5
|
-
DurationUnit["Hours"] = "Hours";
|
|
6
|
-
DurationUnit["Days"] = "Days";
|
|
7
|
-
DurationUnit["Weeks"] = "Weeks";
|
|
8
|
-
DurationUnit["Months"] = "Months";
|
|
9
|
-
DurationUnit["Years"] = "Years";
|
|
10
|
-
DurationUnit["Centuries"] = "Centuries";
|
|
11
|
-
DurationUnit["Actions"] = "Actions";
|
|
12
|
-
DurationUnit["CombatRounds"] = "CombatRounds";
|
|
13
|
-
})(DurationUnit = DurationUnit || (DurationUnit = {}));
|
|
1
|
+
export {};
|
package/lib/types/_Dice.d.ts
CHANGED
package/lib/types/_Dice.js
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Number of sides on every dice. Example: 6 in 2D6.
|
|
3
|
-
*/
|
|
4
|
-
export var DieType;
|
|
5
|
-
(function (DieType) {
|
|
6
|
-
DieType[DieType["D3"] = 3] = "D3";
|
|
7
|
-
DieType[DieType["D6"] = 6] = "D6";
|
|
8
|
-
DieType[DieType["D20"] = 20] = "D20";
|
|
9
|
-
})(DieType = DieType || (DieType = {}));
|
|
1
|
+
export {};
|
|
@@ -2,20 +2,16 @@
|
|
|
2
2
|
* This file defines some shared types for different diseases and poisons.
|
|
3
3
|
* @title Disease (shared)
|
|
4
4
|
*/
|
|
5
|
-
import { Errata } from "./source/_Erratum.js";
|
|
6
5
|
import { AlternativeName } from "./_AlternativeNames.js";
|
|
7
6
|
import { LocaleMap } from "./_LocaleMap.js";
|
|
8
7
|
import { NonEmptyMarkdown, NonEmptyString } from "./_NonEmptyString.js";
|
|
8
|
+
import { Errata } from "./source/_Erratum.js";
|
|
9
9
|
/**
|
|
10
10
|
* Depending on the disease, apply Spirit or Toughness as a penalty to the
|
|
11
11
|
* disease roll. It may also happen that the lower of both is applied as a
|
|
12
12
|
* penalty.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
15
|
-
Spirit = "Spirit",
|
|
16
|
-
Toughness = "Toughness",
|
|
17
|
-
LowerOfSpiritAndToughness = "LowerOfSpiritAndToughness"
|
|
18
|
-
}
|
|
14
|
+
export type Resistance = "Spirit" | "Toughness" | "LowerOfSpiritAndToughness";
|
|
19
15
|
/**
|
|
20
16
|
* What causes the disease? The GM rolls 1D20 to see if a character gets
|
|
21
17
|
* infected. If the infection check succeeds, the GM makes a disease check to
|
|
@@ -2,14 +2,4 @@
|
|
|
2
2
|
* This file defines some shared types for different diseases and poisons.
|
|
3
3
|
* @title Disease (shared)
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
* Depending on the disease, apply Spirit or Toughness as a penalty to the
|
|
7
|
-
* disease roll. It may also happen that the lower of both is applied as a
|
|
8
|
-
* penalty.
|
|
9
|
-
*/
|
|
10
|
-
export var Resistance;
|
|
11
|
-
(function (Resistance) {
|
|
12
|
-
Resistance["Spirit"] = "Spirit";
|
|
13
|
-
Resistance["Toughness"] = "Toughness";
|
|
14
|
-
Resistance["LowerOfSpiritAndToughness"] = "LowerOfSpiritAndToughness";
|
|
15
|
-
})(Resistance = Resistance || (Resistance = {}));
|
|
5
|
+
export {};
|
|
@@ -1,10 +1 @@
|
|
|
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
|
+
export {};
|
package/lib/types/_Sex.d.ts
CHANGED
package/lib/types/_Sex.js
CHANGED
|
@@ -12,11 +12,4 @@ export type SkillCheck = [
|
|
|
12
12
|
* A specific value that represents a penalty for the associated skill check.
|
|
13
13
|
* @title Skill Check Penalty
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
16
|
-
Spirit = "Spirit",
|
|
17
|
-
HalfOfSpirit = "HalfOfSpirit",
|
|
18
|
-
Toughness = "Toughness",
|
|
19
|
-
HigherOfSpiritAndToughness = "HigherOfSpiritAndToughness",
|
|
20
|
-
SummoningDifficulty = "SummoningDifficulty",
|
|
21
|
-
CreationDifficulty = "CreationDifficulty"
|
|
22
|
-
}
|
|
15
|
+
export type SkillCheckPenalty = "Spirit" | "HalfOfSpirit" | "Toughness" | "HigherOfSpiritAndToughness" | "SummoningDifficulty" | "CreationDifficulty";
|
package/lib/types/_SkillCheck.js
CHANGED
|
@@ -1,13 +1 @@
|
|
|
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
|
+
export {};
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "EquipmentPackage",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("EquipmentPackage"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Alchemicum",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Alchemicum"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Ammunition",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Ammunition"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Animal",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Animal"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "AnimalCare",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("AnimalCare"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Armor",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Armor"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "BandageOrRemedy",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("BandageOrRemedy"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Book",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Book"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "CeremonialItem",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("CeremonialItem"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Clothes",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Clothes"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Container",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Container"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Elixir",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Elixir"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "EquipmentOfBlessedOnes",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("EquipmentOfBlessedOnes"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "GemOrPreciousStone",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("GemOrPreciousStone"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -57,7 +57,5 @@ export type LimitedBurningTime = {
|
|
|
57
57
|
*/
|
|
58
58
|
unit: LimitedBurningTimeUnit;
|
|
59
59
|
};
|
|
60
|
-
export
|
|
61
|
-
Hours = "Hours"
|
|
62
|
-
}
|
|
60
|
+
export type LimitedBurningTimeUnit = "Hours";
|
|
63
61
|
export declare const config: TypeConfig<IlluminationLightSource>;
|
|
@@ -4,14 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
8
|
-
export var LimitedBurningTimeUnit;
|
|
9
|
-
(function (LimitedBurningTimeUnit) {
|
|
10
|
-
LimitedBurningTimeUnit["Hours"] = "Hours";
|
|
11
|
-
})(LimitedBurningTimeUnit = LimitedBurningTimeUnit || (LimitedBurningTimeUnit = {}));
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
12
8
|
export const config = {
|
|
13
9
|
name: "IlluminationLightSource",
|
|
14
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
15
11
|
integrityValidator: todo("IlluminationLightSource"),
|
|
16
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
17
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "IlluminationRefillsOrSupplies",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("IlluminationRefillsOrSupplies"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Jewelry",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Jewelry"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Liebesspielzeug",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Liebesspielzeug"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "LuxuryGood",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("LuxuryGood"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "MagicalArtifact",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("MagicalArtifact"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "MusicalInstrument",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("MusicalInstrument"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "OrienteeringAid",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("OrienteeringAid"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -60,12 +60,7 @@ export type Poison = {
|
|
|
60
60
|
*/
|
|
61
61
|
translations: LocaleMap<PoisonTranslation>;
|
|
62
62
|
};
|
|
63
|
-
export
|
|
64
|
-
Weapon = "Weapon",
|
|
65
|
-
Ingestion = "Ingestion",
|
|
66
|
-
Inhalation = "Inhalation",
|
|
67
|
-
Contact = "Contact"
|
|
68
|
-
}
|
|
63
|
+
export type PoisonApplicationType = "Weapon" | "Ingestion" | "Inhalation" | "Contact";
|
|
69
64
|
export type PoisonStart = {
|
|
70
65
|
tag: "Immediate";
|
|
71
66
|
immediate: {};
|
|
@@ -94,12 +89,7 @@ export type DiceBasedPoisonTime = {
|
|
|
94
89
|
dice: Dice;
|
|
95
90
|
unit: PoisonTimeUnit;
|
|
96
91
|
};
|
|
97
|
-
export
|
|
98
|
-
CombatRounds = "CombatRounds",
|
|
99
|
-
Minutes = "Minutes",
|
|
100
|
-
Hours = "Hours",
|
|
101
|
-
Days = "Days"
|
|
102
|
-
}
|
|
92
|
+
export type PoisonTimeUnit = "CombatRounds" | "Minutes" | "Hours" | "Days";
|
|
103
93
|
export type IndefinitePoisonTime = {
|
|
104
94
|
/**
|
|
105
95
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
@@ -235,9 +225,7 @@ export type DemonicPoisonLevel = {
|
|
|
235
225
|
export type QualityLevelDemonicPoisonLevel = {
|
|
236
226
|
source: QualityLevelDemonicPoisonLevelSource;
|
|
237
227
|
};
|
|
238
|
-
export
|
|
239
|
-
Spellwork = "Spellwork"
|
|
240
|
-
}
|
|
228
|
+
export type QualityLevelDemonicPoisonLevelSource = "Spellwork";
|
|
241
229
|
export type ConstantDemonicPoisonLevel = {
|
|
242
230
|
/**
|
|
243
231
|
* The poison’s level.
|
|
@@ -4,28 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
8
|
-
export var PoisonApplicationType;
|
|
9
|
-
(function (PoisonApplicationType) {
|
|
10
|
-
PoisonApplicationType["Weapon"] = "Weapon";
|
|
11
|
-
PoisonApplicationType["Ingestion"] = "Ingestion";
|
|
12
|
-
PoisonApplicationType["Inhalation"] = "Inhalation";
|
|
13
|
-
PoisonApplicationType["Contact"] = "Contact";
|
|
14
|
-
})(PoisonApplicationType = PoisonApplicationType || (PoisonApplicationType = {}));
|
|
15
|
-
export var PoisonTimeUnit;
|
|
16
|
-
(function (PoisonTimeUnit) {
|
|
17
|
-
PoisonTimeUnit["CombatRounds"] = "CombatRounds";
|
|
18
|
-
PoisonTimeUnit["Minutes"] = "Minutes";
|
|
19
|
-
PoisonTimeUnit["Hours"] = "Hours";
|
|
20
|
-
PoisonTimeUnit["Days"] = "Days";
|
|
21
|
-
})(PoisonTimeUnit = PoisonTimeUnit || (PoisonTimeUnit = {}));
|
|
22
|
-
export var QualityLevelDemonicPoisonLevelSource;
|
|
23
|
-
(function (QualityLevelDemonicPoisonLevelSource) {
|
|
24
|
-
QualityLevelDemonicPoisonLevelSource["Spellwork"] = "Spellwork";
|
|
25
|
-
})(QualityLevelDemonicPoisonLevelSource = QualityLevelDemonicPoisonLevelSource || (QualityLevelDemonicPoisonLevelSource = {}));
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
26
8
|
export const config = {
|
|
27
9
|
name: "Poison",
|
|
28
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
29
11
|
integrityValidator: todo("Poison"),
|
|
30
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
31
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "RopeOrChain",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("RopeOrChain"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { todo } from "../../../validation/builders/integrity.js";
|
|
5
5
|
import { validateEntityFileName } from "../../../validation/builders/naming.js";
|
|
6
6
|
import { createSchemaValidator } from "../../../validation/builders/schema.js";
|
|
7
|
-
import {
|
|
7
|
+
import { getFilenamePrefixAsNumericId } from "../../../validation/filename.js";
|
|
8
8
|
export const config = {
|
|
9
9
|
name: "Stationary",
|
|
10
|
-
id:
|
|
10
|
+
id: getFilenamePrefixAsNumericId,
|
|
11
11
|
integrityValidator: todo("Stationary"),
|
|
12
12
|
schemaValidator: createSchemaValidator(import.meta.url),
|
|
13
13
|
fileNameValidator: validateEntityFileName,
|