optolith-database-schema 0.28.2 → 0.29.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 +15 -0
- package/gen/types.d.ts +7 -612
- package/lib/cache/activatableSelectOptions.d.ts +18 -0
- package/lib/cache/activatableSelectOptions.js +761 -0
- package/lib/cache/ancestorBloodAdvantages.d.ts +4 -0
- package/lib/cache/ancestorBloodAdvantages.js +13 -0
- package/lib/cache/index.d.ts +31 -0
- package/lib/cache/index.js +22 -0
- package/lib/cache/internal.d.ts +4 -0
- package/lib/cache/internal.js +1 -0
- package/lib/cache/magicalAndBlessedAdvantagesAndDisadvantages.d.ts +3 -0
- package/lib/cache/magicalAndBlessedAdvantagesAndDisadvantages.js +103 -0
- package/lib/cache/newApplicationsAndUses.d.ts +22 -0
- package/lib/cache/newApplicationsAndUses.js +12 -0
- package/lib/types/Advantage.d.ts +3 -3
- package/lib/types/AnimalDisease.d.ts +1 -1
- package/lib/types/Blessing.d.ts +1 -1
- package/lib/types/Cantrip.d.ts +1 -1
- package/lib/types/Ceremony.d.ts +2 -2
- package/lib/types/CombatTechnique.d.ts +2 -2
- package/lib/types/Condition.d.ts +1 -1
- package/lib/types/Culture.d.ts +1 -1
- package/lib/types/DerivedCharacteristic.d.ts +1 -1
- package/lib/types/Disadvantage.d.ts +3 -3
- package/lib/types/Disease.d.ts +1 -1
- package/lib/types/FamiliarsTrick.d.ts +1 -1
- package/lib/types/Lessons.d.ts +1 -1
- package/lib/types/LiturgicalChant.d.ts +2 -2
- package/lib/types/Locale.d.ts +5 -0
- package/lib/types/Locale.js +9 -0
- package/lib/types/MetaCondition.d.ts +1 -1
- package/lib/types/PactCategory.d.ts +1 -1
- package/lib/types/Patron.d.ts +1 -1
- package/lib/types/PersonalityTrait.d.ts +1 -1
- package/lib/types/Profession.d.ts +2 -2
- package/lib/types/Race.d.ts +1 -1
- package/lib/types/Ritual.d.ts +2 -2
- package/lib/types/Service.d.ts +1 -1
- package/lib/types/SexPractice.d.ts +1 -1
- package/lib/types/Skill.d.ts +1 -1
- package/lib/types/Spell.d.ts +2 -2
- package/lib/types/State.d.ts +1 -1
- package/lib/types/Talisman.d.ts +1 -1
- package/lib/types/_ActivatableSelectOptions.d.ts +2 -2
- package/lib/types/_Enhancements.d.ts +2 -2
- package/lib/types/_Influence.d.ts +1 -1
- package/lib/types/equipment/EquipmentPackage.d.ts +1 -1
- package/lib/types/equipment/item/Ammunition.d.ts +1 -1
- package/lib/types/equipment/item/Animal.d.ts +1 -1
- package/lib/types/equipment/item/AnimalCare.d.ts +1 -1
- package/lib/types/equipment/item/Armor.d.ts +1 -1
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +1 -1
- package/lib/types/equipment/item/Book.d.ts +1 -1
- 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/ClothingPackage.d.ts +1 -1
- package/lib/types/equipment/item/Container.d.ts +1 -1
- package/lib/types/equipment/item/Elixir.d.ts +1 -1
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -1
- package/lib/types/equipment/item/GemOrPreciousStone.d.ts +1 -1
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +1 -1
- package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +1 -1
- package/lib/types/equipment/item/Jewelry.d.ts +1 -1
- package/lib/types/equipment/item/Laboratory.d.ts +1 -1
- 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 +1 -1
- package/lib/types/equipment/item/MusicalInstrument.d.ts +1 -1
- package/lib/types/equipment/item/Newspaper.d.ts +1 -1
- package/lib/types/equipment/item/OrienteeringAid.d.ts +1 -1
- package/lib/types/equipment/item/Poison.d.ts +1 -1
- package/lib/types/equipment/item/RopeOrChain.d.ts +1 -1
- package/lib/types/equipment/item/Stationery.d.ts +1 -1
- package/lib/types/equipment/item/ThievesTool.d.ts +1 -1
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +1 -1
- 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 +1 -1
- package/lib/types/equipment/item/WeaponAccessory.d.ts +1 -1
- package/lib/types/equipment/item/_Item.d.ts +1 -1
- package/lib/types/magicalActions/AnimistPower.d.ts +2 -2
- package/lib/types/magicalActions/Curse.d.ts +1 -1
- package/lib/types/magicalActions/DominationRitual.d.ts +1 -1
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +1 -1
- package/lib/types/magicalActions/GeodeRitual.d.ts +1 -1
- package/lib/types/magicalActions/JesterTrick.d.ts +1 -1
- package/lib/types/magicalActions/MagicalDance.d.ts +1 -1
- package/lib/types/magicalActions/MagicalMelody.d.ts +1 -1
- package/lib/types/magicalActions/MagicalRune.d.ts +1 -1
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +1 -1
- package/lib/types/rule/AlternativeRule.d.ts +1 -1
- package/lib/types/rule/CoreRule.d.ts +1 -1
- package/lib/types/rule/FocusRule.d.ts +1 -1
- package/lib/types/rule/OptionalRule.d.ts +1 -1
- package/lib/types/source/_PublicationRef.d.ts +4 -4
- package/lib/types/source/_PublicationRef.js +34 -30
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/AncestorGlyph.d.ts +3 -3
- package/lib/types/specialAbility/BlessedTradition.d.ts +4 -4
- package/lib/types/specialAbility/BlessedTradition.js +2 -2
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/LycantropicGift.d.ts +3 -3
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/MagicalSign.d.ts +1 -1
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/MagicalTradition.d.ts +3 -3
- package/lib/types/specialAbility/PactGift.d.ts +3 -3
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/Sermon.d.ts +3 -3
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +3 -3
- package/lib/types/specialAbility/VampiricGift.d.ts +3 -3
- package/lib/types/specialAbility/Vision.d.ts +3 -3
- package/lib/types/specialAbility/sub/Language.d.ts +1 -1
- package/lib/types/specialAbility/sub/Script.d.ts +1 -1
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +3 -3
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/Beutelzauber.d.ts +3 -3
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +3 -3
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/Haubenzauber.d.ts +3 -3
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +3 -3
- package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +3 -3
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +3 -3
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +3 -3
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +3 -3
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +3 -3
- package/package.json +7 -10
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const buildAncestorBloodAdvantagesCache = database => database
|
|
2
|
+
.getAllInstanceContainersOfEntity("Advantage")
|
|
3
|
+
.filter(({ content }) => content.prerequisites?.some(p => {
|
|
4
|
+
switch (p.prerequisite.kind) {
|
|
5
|
+
case "Single":
|
|
6
|
+
return p.prerequisite.Single.kind === "NoOtherAncestorBloodAdvantage";
|
|
7
|
+
case "Disjunction":
|
|
8
|
+
return p.prerequisite.Disjunction.list.some(d => d.kind === "NoOtherAncestorBloodAdvantage");
|
|
9
|
+
case "Group":
|
|
10
|
+
return p.prerequisite.Group.list.some(g => g.kind === "NoOtherAncestorBloodAdvantage");
|
|
11
|
+
}
|
|
12
|
+
}))
|
|
13
|
+
.map(({ id }) => id);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { TSONDB } from "tsondb";
|
|
2
|
+
import type { TSONDBTypes } from "../main.ts";
|
|
3
|
+
import { type ActivatableSelectOptionsCache, type ResolvedSelectOption, type ResolvedSelectOptionIdentifier } from "./activatableSelectOptions.ts";
|
|
4
|
+
import { type AncestorBloodAdvantagesCache } from "./ancestorBloodAdvantages.ts";
|
|
5
|
+
import { type MagicalAndBlessedAdvantagesAndDisadvantagesCache } from "./magicalAndBlessedAdvantagesAndDisadvantages.ts";
|
|
6
|
+
import { type NewApplicationsAndUsesCache, type ResolvedNewSkillApplication, type ResolvedSkillUse } from "./newApplicationsAndUses.ts";
|
|
7
|
+
/**
|
|
8
|
+
* Identifiers of specific entries in the database that are used for creating the cache.
|
|
9
|
+
*/
|
|
10
|
+
export type IdMap = {
|
|
11
|
+
Advantage: Record<"Blessed" | "Spellcaster", string>;
|
|
12
|
+
MagicalSpecialAbility: Record<"PropertyKnowledge", string>;
|
|
13
|
+
KarmaSpecialAbility: Record<"AspectKnowledge", string>;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* The cache object containing all precomputed data.
|
|
17
|
+
*/
|
|
18
|
+
export type Cache = {
|
|
19
|
+
activatableSelectOptions: ActivatableSelectOptionsCache;
|
|
20
|
+
sncestorBloodAdvantages: AncestorBloodAdvantagesCache;
|
|
21
|
+
magicalAndBlessedAdvantagesAndDisadvantages: MagicalAndBlessedAdvantagesAndDisadvantagesCache;
|
|
22
|
+
newApplicationsAndUses: NewApplicationsAndUsesCache;
|
|
23
|
+
};
|
|
24
|
+
export type { ActivatableSelectOptionsCache, AncestorBloodAdvantagesCache, MagicalAndBlessedAdvantagesAndDisadvantagesCache, NewApplicationsAndUsesCache, ResolvedNewSkillApplication, ResolvedSelectOption, ResolvedSelectOptionIdentifier, ResolvedSkillUse, };
|
|
25
|
+
/**
|
|
26
|
+
* Creates the cache by precomputing all necessary data from the database.
|
|
27
|
+
* @param db The TSONDB instance containing the database.
|
|
28
|
+
* @param idMap An object containing identifiers of specific entries in the database that are used for creating the cache.
|
|
29
|
+
* @returns The created cache object.
|
|
30
|
+
*/
|
|
31
|
+
export declare const createCache: (db: TSONDB<TSONDBTypes>, idMap: IdMap) => Cache;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { activatableSelectOptionsCacheBuilder, } from "./activatableSelectOptions.js";
|
|
2
|
+
import { buildAncestorBloodAdvantagesCache, } from "./ancestorBloodAdvantages.js";
|
|
3
|
+
import { buildMagicalAndBlessedAdvantagesAndDisadvantagesCache, } from "./magicalAndBlessedAdvantagesAndDisadvantages.js";
|
|
4
|
+
import { buildNewApplicationsAndUsesCache, } from "./newApplicationsAndUses.js";
|
|
5
|
+
/**
|
|
6
|
+
* Creates the cache by precomputing all necessary data from the database.
|
|
7
|
+
* @param db The TSONDB instance containing the database.
|
|
8
|
+
* @param idMap An object containing identifiers of specific entries in the database that are used for creating the cache.
|
|
9
|
+
* @returns The created cache object.
|
|
10
|
+
*/
|
|
11
|
+
export const createCache = (db, idMap) => {
|
|
12
|
+
const activatableSelectOptions = activatableSelectOptionsCacheBuilder(db, idMap);
|
|
13
|
+
const sncestorBloodAdvantages = buildAncestorBloodAdvantagesCache(db, idMap);
|
|
14
|
+
const magicalAndBlessedAdvantagesAndDisadvantages = buildMagicalAndBlessedAdvantagesAndDisadvantagesCache(db, idMap);
|
|
15
|
+
const newApplicationsAndUses = buildNewApplicationsAndUsesCache(db, idMap, activatableSelectOptions);
|
|
16
|
+
return {
|
|
17
|
+
activatableSelectOptions,
|
|
18
|
+
sncestorBloodAdvantages,
|
|
19
|
+
magicalAndBlessedAdvantagesAndDisadvantages,
|
|
20
|
+
newApplicationsAndUses,
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { CacheBuilder } from "./internal.ts";
|
|
2
|
+
export type MagicalAndBlessedAdvantagesAndDisadvantagesCache = Record<"Advantage" | "Disadvantage", Record<"Magical" | "Blessed", string[]>>;
|
|
3
|
+
export declare const buildMagicalAndBlessedAdvantagesAndDisadvantagesCache: CacheBuilder<MagicalAndBlessedAdvantagesAndDisadvantagesCache>;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { assertExhaustive } from "@elyukai/utils/typeSafety";
|
|
2
|
+
const getAdvantageId = (idMap, type) => {
|
|
3
|
+
switch (type) {
|
|
4
|
+
case "Magical":
|
|
5
|
+
return idMap.Advantage.Spellcaster;
|
|
6
|
+
case "Blessed":
|
|
7
|
+
return idMap.Advantage.Blessed;
|
|
8
|
+
default:
|
|
9
|
+
return assertExhaustive(type);
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
const isRatedFor = (type, ratedId) => {
|
|
13
|
+
switch (ratedId.kind) {
|
|
14
|
+
case "Spell":
|
|
15
|
+
case "Ritual":
|
|
16
|
+
return type === "Magical";
|
|
17
|
+
case "LiturgicalChant":
|
|
18
|
+
case "Ceremony":
|
|
19
|
+
return type === "Blessed";
|
|
20
|
+
case "Attribute":
|
|
21
|
+
case "Skill":
|
|
22
|
+
case "CloseCombatTechnique":
|
|
23
|
+
case "RangedCombatTechnique":
|
|
24
|
+
return false;
|
|
25
|
+
default:
|
|
26
|
+
return assertExhaustive(ratedId);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
const isPrerequisiteFor = (idMap, type, prerequisite, getById, traversedIds) => {
|
|
30
|
+
switch (prerequisite.kind) {
|
|
31
|
+
case "Activatable": {
|
|
32
|
+
if (prerequisite.Activatable.id.kind === "Advantage" &&
|
|
33
|
+
prerequisite.Activatable.id.Advantage === getAdvantageId(idMap, type) &&
|
|
34
|
+
prerequisite.Activatable.active) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
const entry = getById(prerequisite.Activatable.id);
|
|
38
|
+
return entry !== undefined && is(idMap, type, entry, getById, traversedIds);
|
|
39
|
+
}
|
|
40
|
+
case "Rated":
|
|
41
|
+
return isRatedFor(type, prerequisite.Rated.id);
|
|
42
|
+
case "CommonSuggestedByRCP":
|
|
43
|
+
case "Sex":
|
|
44
|
+
case "Race":
|
|
45
|
+
case "Culture":
|
|
46
|
+
case "Pact":
|
|
47
|
+
case "SocialStatus":
|
|
48
|
+
case "State":
|
|
49
|
+
case "Rule":
|
|
50
|
+
case "PrimaryAttribute":
|
|
51
|
+
case "BlessedTradition":
|
|
52
|
+
case "MagicalTradition":
|
|
53
|
+
case "RatedMinimumNumber":
|
|
54
|
+
case "RatedSum":
|
|
55
|
+
case "Enhancement":
|
|
56
|
+
case "Text":
|
|
57
|
+
case "NoOtherAncestorBloodAdvantage":
|
|
58
|
+
case "SexualCharacteristic":
|
|
59
|
+
return false;
|
|
60
|
+
default:
|
|
61
|
+
return assertExhaustive(prerequisite);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
const is = (idMap, type, entry, getById, traversedIds) => {
|
|
65
|
+
if (!entry.content.prerequisites || traversedIds.includes(entry.id)) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
const newTraversedIds = [...traversedIds, entry.id];
|
|
69
|
+
return (entry.content.prerequisites !== undefined &&
|
|
70
|
+
entry.content.prerequisites.some(prerequisite => {
|
|
71
|
+
switch (prerequisite.prerequisite.kind) {
|
|
72
|
+
case "Single":
|
|
73
|
+
return isPrerequisiteFor(idMap, type, prerequisite.prerequisite.Single, getById, newTraversedIds);
|
|
74
|
+
case "Disjunction":
|
|
75
|
+
return prerequisite.prerequisite.Disjunction.list.some(p => isPrerequisiteFor(idMap, type, p, getById, newTraversedIds));
|
|
76
|
+
case "Group":
|
|
77
|
+
return prerequisite.prerequisite.Group.list.some(p => isPrerequisiteFor(idMap, type, p, getById, newTraversedIds));
|
|
78
|
+
default:
|
|
79
|
+
return assertExhaustive(prerequisite.prerequisite);
|
|
80
|
+
}
|
|
81
|
+
}));
|
|
82
|
+
};
|
|
83
|
+
const entityKeyMap = {
|
|
84
|
+
Advantage: null,
|
|
85
|
+
Disadvantage: null,
|
|
86
|
+
};
|
|
87
|
+
const typeKeyMap = {
|
|
88
|
+
Magical: null,
|
|
89
|
+
Blessed: null,
|
|
90
|
+
};
|
|
91
|
+
const collectIds = (entity, type, database, idMap) => database
|
|
92
|
+
.getAllInstanceContainersOfEntity(entity)
|
|
93
|
+
.filter(entry => is(idMap, type, entry, database.getInstanceContainerOfEntityById.bind(database), []))
|
|
94
|
+
.map(({ id }) => id);
|
|
95
|
+
export const buildMagicalAndBlessedAdvantagesAndDisadvantagesCache = (database, idMap) => {
|
|
96
|
+
return Object.fromEntries(Object.keys(entityKeyMap).map((entity) => [
|
|
97
|
+
entity,
|
|
98
|
+
Object.fromEntries(Object.keys(typeKeyMap).map((type) => [
|
|
99
|
+
type,
|
|
100
|
+
collectIds(entity, type, database, idMap),
|
|
101
|
+
])),
|
|
102
|
+
]));
|
|
103
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ActivatableIdentifier, NewSkillApplication, NewSkillApplicationOrUseParentIdentifier, Skill_ID, SkillUse } from "../../gen/types.js";
|
|
2
|
+
import type { ActivatableSelectOptionsCache } from "./activatableSelectOptions.ts";
|
|
3
|
+
import type { CacheBuilder } from "./internal.ts";
|
|
4
|
+
export type ResolvedNewSkillApplication = {
|
|
5
|
+
id: string;
|
|
6
|
+
content: Omit<NewSkillApplication, "parent"> & {
|
|
7
|
+
parent: NewSkillApplicationOrUseParentIdentifier | ActivatableIdentifier;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type ResolvedSkillUse = {
|
|
11
|
+
id: string;
|
|
12
|
+
content: Omit<SkillUse, "parent"> & {
|
|
13
|
+
parent: NewSkillApplicationOrUseParentIdentifier | ActivatableIdentifier;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export type NewApplicationsAndUsesCache = {
|
|
17
|
+
newApplications: Record<Skill_ID, ResolvedNewSkillApplication[]>;
|
|
18
|
+
uses: Record<Skill_ID, ResolvedSkillUse[]>;
|
|
19
|
+
};
|
|
20
|
+
export declare const buildNewApplicationsAndUsesCache: CacheBuilder<NewApplicationsAndUsesCache, [
|
|
21
|
+
generatedSelectOptions: ActivatableSelectOptionsCache
|
|
22
|
+
]>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const groupByAffectedSkill = (entries, prev = {}) => entries.reduce((acc, entry) => entry.content.skills.reduce((acc1, skillId) => ({ ...acc1, [skillId]: [...(acc1[skillId] ?? []), entry] }), acc), prev);
|
|
2
|
+
const addGeneratedEntries = (generatedSelectOptions, prev) => Object.values(generatedSelectOptions).reduce((acc, byInstance) => Object.values(byInstance).reduce((acc1, resolvedSelectOptions) => resolvedSelectOptions.reduce((acc2, selectOption) => ({
|
|
3
|
+
newApplications: groupByAffectedSkill(selectOption.newApplications, acc2.newApplications),
|
|
4
|
+
uses: groupByAffectedSkill(selectOption.uses, acc2.uses),
|
|
5
|
+
}), acc1), acc), prev);
|
|
6
|
+
export const buildNewApplicationsAndUsesCache = (database, _idMap, generatedSelectOptions) => {
|
|
7
|
+
const cache = {
|
|
8
|
+
newApplications: groupByAffectedSkill(database.getAllInstanceContainersOfEntity("NewSkillApplication")),
|
|
9
|
+
uses: groupByAffectedSkill(database.getAllInstanceContainersOfEntity("SkillUse")),
|
|
10
|
+
};
|
|
11
|
+
return addGeneratedEntries(generatedSelectOptions, cache);
|
|
12
|
+
};
|
package/lib/types/Advantage.d.ts
CHANGED
|
@@ -852,7 +852,7 @@ export declare const Advantage: DB.Entity<"Advantage", {
|
|
|
852
852
|
}, []>>, false>;
|
|
853
853
|
}>, []>>>, true>;
|
|
854
854
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
855
|
-
}>, []>>,
|
|
855
|
+
}>, []>>, true>;
|
|
856
856
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
857
857
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
858
858
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -1123,7 +1123,7 @@ export declare const Advantage: DB.Entity<"Advantage", {
|
|
|
1123
1123
|
threshold: DB.MemberDecl<DB.Integer, true>;
|
|
1124
1124
|
alternative: DB.MemberDecl<DB.Integer, true>;
|
|
1125
1125
|
}>, []>>>;
|
|
1126
|
-
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpression", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.
|
|
1126
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpression", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>>;
|
|
1127
1127
|
}, []>>>;
|
|
1128
1128
|
Indefinite: DB.EnumCase<null>;
|
|
1129
1129
|
}, []>>, true>;
|
|
@@ -1147,7 +1147,7 @@ export declare const Advantage: DB.Entity<"Advantage", {
|
|
|
1147
1147
|
}, []>>, false>;
|
|
1148
1148
|
}>, []>>>, true>;
|
|
1149
1149
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
1150
|
-
}>, []>>,
|
|
1150
|
+
}>, []>>, true>;
|
|
1151
1151
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
1152
1152
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
1153
1153
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -41,7 +41,7 @@ export declare const AnimalDisease: DB.Entity<"AnimalDisease", {
|
|
|
41
41
|
}, []>>, false>;
|
|
42
42
|
}>, []>>>, true>;
|
|
43
43
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
44
|
-
}>, []>>,
|
|
44
|
+
}>, []>>, true>;
|
|
45
45
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
46
46
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
47
47
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Blessing.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export declare const Blessing: DB.Entity<"Blessing", {
|
|
|
69
69
|
}, []>>, false>;
|
|
70
70
|
}>, []>>>, true>;
|
|
71
71
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
72
|
-
}>, []>>,
|
|
72
|
+
}>, []>>, true>;
|
|
73
73
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
74
74
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
75
75
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Cantrip.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ export declare const Cantrip: DB.Entity<"Cantrip", {
|
|
|
97
97
|
}, []>>, false>;
|
|
98
98
|
}>, []>>>, true>;
|
|
99
99
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
100
|
-
}>, []>>,
|
|
100
|
+
}>, []>>, true>;
|
|
101
101
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
102
102
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
103
103
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Ceremony.d.ts
CHANGED
|
@@ -529,7 +529,7 @@ export declare const Ceremony: DB.Entity<"Ceremony", {
|
|
|
529
529
|
}, []>>, false>;
|
|
530
530
|
}>, []>>>, true>;
|
|
531
531
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
532
|
-
}>, []>>,
|
|
532
|
+
}>, []>>, true>;
|
|
533
533
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
534
534
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
535
535
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -643,7 +643,7 @@ export declare const Ceremony: DB.Entity<"Ceremony", {
|
|
|
643
643
|
}, []>>, false>;
|
|
644
644
|
}>, []>>>, true>;
|
|
645
645
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
646
|
-
}>, []>>,
|
|
646
|
+
}>, []>>, true>;
|
|
647
647
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
648
648
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
649
649
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -53,7 +53,7 @@ export declare const CloseCombatTechnique: DB.Entity<"CloseCombatTechnique", {
|
|
|
53
53
|
}, []>>, false>;
|
|
54
54
|
}>, []>>>, true>;
|
|
55
55
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
56
|
-
}>, []>>,
|
|
56
|
+
}>, []>>, true>;
|
|
57
57
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
58
58
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
59
59
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -119,7 +119,7 @@ export declare const RangedCombatTechnique: DB.Entity<"RangedCombatTechnique", {
|
|
|
119
119
|
}, []>>, false>;
|
|
120
120
|
}>, []>>>, true>;
|
|
121
121
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
122
|
-
}>, []>>,
|
|
122
|
+
}>, []>>, true>;
|
|
123
123
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
124
124
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
125
125
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Condition.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const Condition: DB.Entity<"Condition", {
|
|
|
18
18
|
}, []>>, false>;
|
|
19
19
|
}>, []>>>, true>;
|
|
20
20
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
21
|
-
}>, []>>,
|
|
21
|
+
}>, []>>, true>;
|
|
22
22
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
23
23
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
24
24
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Culture.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ export declare const Culture: DB.Entity<"Culture", {
|
|
|
86
86
|
}, []>>, false>;
|
|
87
87
|
}>, []>>>, true>;
|
|
88
88
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
89
|
-
}>, []>>,
|
|
89
|
+
}>, []>>, true>;
|
|
90
90
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
91
91
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
92
92
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -43,7 +43,7 @@ export declare const DerivedCharacteristic: DB.Entity<"DerivedCharacteristic", {
|
|
|
43
43
|
}, []>>, false>;
|
|
44
44
|
}>, []>>>, true>;
|
|
45
45
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
46
|
-
}>, []>>,
|
|
46
|
+
}>, []>>, true>;
|
|
47
47
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
48
48
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
49
49
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -852,7 +852,7 @@ export declare const Disadvantage: DB.Entity<"Disadvantage", {
|
|
|
852
852
|
}, []>>, false>;
|
|
853
853
|
}>, []>>>, true>;
|
|
854
854
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
855
|
-
}>, []>>,
|
|
855
|
+
}>, []>>, true>;
|
|
856
856
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
857
857
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
858
858
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -1050,7 +1050,7 @@ export declare const Disadvantage: DB.Entity<"Disadvantage", {
|
|
|
1050
1050
|
threshold: DB.MemberDecl<DB.Integer, true>;
|
|
1051
1051
|
alternative: DB.MemberDecl<DB.Integer, true>;
|
|
1052
1052
|
}>, []>>>;
|
|
1053
|
-
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpression", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.
|
|
1053
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpression", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>>;
|
|
1054
1054
|
}, []>>>;
|
|
1055
1055
|
Indefinite: DB.EnumCase<null>;
|
|
1056
1056
|
}, []>>, true>;
|
|
@@ -1074,7 +1074,7 @@ export declare const Disadvantage: DB.Entity<"Disadvantage", {
|
|
|
1074
1074
|
}, []>>, false>;
|
|
1075
1075
|
}>, []>>>, true>;
|
|
1076
1076
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
1077
|
-
}>, []>>,
|
|
1077
|
+
}>, []>>, true>;
|
|
1078
1078
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
1079
1079
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
1080
1080
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Disease.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export declare const Disease: DB.Entity<"Disease", {
|
|
|
59
59
|
}, []>>, false>;
|
|
60
60
|
}>, []>>>, true>;
|
|
61
61
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
62
|
-
}>, []>>,
|
|
62
|
+
}>, []>>, true>;
|
|
63
63
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
64
64
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
65
65
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -148,7 +148,7 @@ export declare const FamiliarsTrick: DB.Entity<"FamiliarsTrick", {
|
|
|
148
148
|
}, []>>, false>;
|
|
149
149
|
}>, []>>>, true>;
|
|
150
150
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
151
|
-
}>, []>>,
|
|
151
|
+
}>, []>>, true>;
|
|
152
152
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
153
153
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
154
154
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Lessons.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ export declare const Curriculum: DB.Entity<"Curriculum", {
|
|
|
102
102
|
}, []>>, false>;
|
|
103
103
|
}>, []>>>, true>;
|
|
104
104
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
105
|
-
}>, []>>,
|
|
105
|
+
}>, []>>, true>;
|
|
106
106
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
107
107
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
108
108
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -529,7 +529,7 @@ export declare const LiturgicalChant: DB.Entity<"LiturgicalChant", {
|
|
|
529
529
|
}, []>>, false>;
|
|
530
530
|
}>, []>>>, true>;
|
|
531
531
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
532
|
-
}>, []>>,
|
|
532
|
+
}>, []>>, true>;
|
|
533
533
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
534
534
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
535
535
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -643,7 +643,7 @@ export declare const LiturgicalChant: DB.Entity<"LiturgicalChant", {
|
|
|
643
643
|
}, []>>, false>;
|
|
644
644
|
}>, []>>>, true>;
|
|
645
645
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
646
|
-
}>, []>>,
|
|
646
|
+
}>, []>>, true>;
|
|
647
647
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
648
648
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
649
649
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Locale.d.ts
CHANGED
|
@@ -892,6 +892,7 @@ export declare const Locale: DB.Entity<"Locale", {
|
|
|
892
892
|
ID: null;
|
|
893
893
|
"Creation Difficulty": null;
|
|
894
894
|
CD: null;
|
|
895
|
+
Object: null;
|
|
895
896
|
Effect: null;
|
|
896
897
|
"Casting Time": null;
|
|
897
898
|
"Ritual Time": null;
|
|
@@ -1022,6 +1023,7 @@ export declare const Locale: DB.Entity<"Locale", {
|
|
|
1022
1023
|
" (casting)": null;
|
|
1023
1024
|
Zone: null;
|
|
1024
1025
|
"Liturgical Chants and Ceremonies": null;
|
|
1026
|
+
Spellworks: null;
|
|
1025
1027
|
General: null;
|
|
1026
1028
|
Note: null;
|
|
1027
1029
|
all: null;
|
|
@@ -1057,6 +1059,9 @@ export declare const Locale: DB.Entity<"Locale", {
|
|
|
1057
1059
|
"domain {$domain}": null;
|
|
1058
1060
|
"{$pact} level {$pactLevel}": null;
|
|
1059
1061
|
"Level {$level}:": null;
|
|
1062
|
+
".input {$level :number} {{Level {$level}}}": null;
|
|
1063
|
+
"cannot be chosen at the same time as {$trait}": null;
|
|
1064
|
+
"must have {$trait}": null;
|
|
1060
1065
|
"inlinewiki.castingtime": null;
|
|
1061
1066
|
"inlinewiki.ritualtime": null;
|
|
1062
1067
|
"inlinewiki.aecost": null;
|
package/lib/types/Locale.js
CHANGED
|
@@ -910,6 +910,7 @@ export const Locale = DB.Entity(import.meta.url, {
|
|
|
910
910
|
"Check Modifier": null,
|
|
911
911
|
"spells.traditions.general": null,
|
|
912
912
|
"magicalactions.animistforces.tribes.general": null,
|
|
913
|
+
// Skill check modifiers
|
|
913
914
|
" (modified by {$modifier})": null,
|
|
914
915
|
" (−{$modifier})": null,
|
|
915
916
|
"{$first} or {$second}, depending on which value is higher": null,
|
|
@@ -917,6 +918,7 @@ export const Locale = DB.Entity(import.meta.url, {
|
|
|
917
918
|
"ID": null,
|
|
918
919
|
"Creation Difficulty": null,
|
|
919
920
|
"CD": null,
|
|
921
|
+
"Object": null,
|
|
920
922
|
"Effect": null,
|
|
921
923
|
"Casting Time": null,
|
|
922
924
|
"Ritual Time": null,
|
|
@@ -1045,8 +1047,10 @@ export const Locale = DB.Entity(import.meta.url, {
|
|
|
1045
1047
|
"Touch": null,
|
|
1046
1048
|
"Radius": null,
|
|
1047
1049
|
" (casting)": null,
|
|
1050
|
+
// Target Category
|
|
1048
1051
|
"Zone": null,
|
|
1049
1052
|
"Liturgical Chants and Ceremonies": null,
|
|
1053
|
+
"Spellworks": null,
|
|
1050
1054
|
"General": null,
|
|
1051
1055
|
"Note": null,
|
|
1052
1056
|
"all": null,
|
|
@@ -1082,6 +1086,10 @@ export const Locale = DB.Entity(import.meta.url, {
|
|
|
1082
1086
|
"domain {$domain}": null,
|
|
1083
1087
|
"{$pact} level {$pactLevel}": null,
|
|
1084
1088
|
"Level {$level}:": null,
|
|
1089
|
+
// Personality Trait prerequisite
|
|
1090
|
+
".input {$level :number} {{Level {$level}}}": null,
|
|
1091
|
+
"cannot be chosen at the same time as {$trait}": null,
|
|
1092
|
+
"must have {$trait}": null,
|
|
1085
1093
|
"inlinewiki.castingtime": null,
|
|
1086
1094
|
"inlinewiki.ritualtime": null,
|
|
1087
1095
|
"inlinewiki.aecost": null,
|
|
@@ -1282,6 +1290,7 @@ export const Locale = DB.Entity(import.meta.url, {
|
|
|
1282
1290
|
"Critical Success": null,
|
|
1283
1291
|
"Botch": null,
|
|
1284
1292
|
"Improvement Cost": null,
|
|
1293
|
+
// Source References
|
|
1285
1294
|
"Front Cover Inside": null,
|
|
1286
1295
|
"Back Cover Inside": null,
|
|
1287
1296
|
".input {$printing :number} {{since the {$printing}. printing}}": null,
|
|
@@ -18,7 +18,7 @@ export declare const MetaCondition: DB.Entity<"MetaCondition", {
|
|
|
18
18
|
}, []>>, false>;
|
|
19
19
|
}>, []>>>, true>;
|
|
20
20
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
21
|
-
}>, []>>,
|
|
21
|
+
}>, []>>, true>;
|
|
22
22
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
23
23
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
24
24
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -30,7 +30,7 @@ export declare const PactCategory: DB.Entity<"PactCategory", {
|
|
|
30
30
|
}, []>>, false>;
|
|
31
31
|
}>, []>>>, true>;
|
|
32
32
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
33
|
-
}>, []>>,
|
|
33
|
+
}>, []>>, true>;
|
|
34
34
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
35
35
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
36
36
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Patron.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ export declare const Patron: DB.Entity<"Patron", {
|
|
|
72
72
|
}, []>>, false>;
|
|
73
73
|
}>, []>>>, true>;
|
|
74
74
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
75
|
-
}>, []>>,
|
|
75
|
+
}>, []>>, true>;
|
|
76
76
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
77
77
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
78
78
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -44,7 +44,7 @@ export declare const PersonalityTrait: DB.Entity<"PersonalityTrait", {
|
|
|
44
44
|
}, []>>, false>;
|
|
45
45
|
}>, []>>>, true>;
|
|
46
46
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
47
|
-
}>, []>>,
|
|
47
|
+
}>, []>>, true>;
|
|
48
48
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
49
49
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
50
50
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -601,7 +601,7 @@ export declare const Profession: DB.Entity<"Profession", {
|
|
|
601
601
|
}, []>>, false>;
|
|
602
602
|
}>, []>>>, true>;
|
|
603
603
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
604
|
-
}>, []>>,
|
|
604
|
+
}>, []>>, true>;
|
|
605
605
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
606
606
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
607
607
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -1241,7 +1241,7 @@ export declare const ProfessionVersion: DB.Entity<"ProfessionVersion", {
|
|
|
1241
1241
|
}, []>>, false>;
|
|
1242
1242
|
}>, []>>>, true>;
|
|
1243
1243
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
1244
|
-
}>, []>>,
|
|
1244
|
+
}>, []>>, true>;
|
|
1245
1245
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
1246
1246
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
1247
1247
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Race.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export declare const Race: DB.Entity<"Race", {
|
|
|
116
116
|
}, []>>, false>;
|
|
117
117
|
}>, []>>>, true>;
|
|
118
118
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
119
|
-
}>, []>>,
|
|
119
|
+
}>, []>>, true>;
|
|
120
120
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
121
121
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
122
122
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Ritual.d.ts
CHANGED
|
@@ -533,7 +533,7 @@ export declare const Ritual: DB.Entity<"Ritual", {
|
|
|
533
533
|
}, []>>, false>;
|
|
534
534
|
}>, []>>>, true>;
|
|
535
535
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
536
|
-
}>, []>>,
|
|
536
|
+
}>, []>>, true>;
|
|
537
537
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
538
538
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
539
539
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -646,7 +646,7 @@ export declare const Ritual: DB.Entity<"Ritual", {
|
|
|
646
646
|
}, []>>, false>;
|
|
647
647
|
}>, []>>>, true>;
|
|
648
648
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
649
|
-
}>, []>>,
|
|
649
|
+
}>, []>>, true>;
|
|
650
650
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
651
651
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
652
652
|
printing: DB.MemberDecl<DB.Integer, true>;
|
package/lib/types/Service.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const Service: DB.Entity<"Service", {
|
|
|
22
22
|
}, []>>, false>;
|
|
23
23
|
}>, []>>>, true>;
|
|
24
24
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
25
|
-
}>, []>>,
|
|
25
|
+
}>, []>>, true>;
|
|
26
26
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
27
27
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
28
28
|
printing: DB.MemberDecl<DB.Integer, true>;
|
|
@@ -18,7 +18,7 @@ export declare const SexPractice: DB.Entity<"SexPractice", {
|
|
|
18
18
|
}, []>>, false>;
|
|
19
19
|
}>, []>>>, true>;
|
|
20
20
|
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
21
|
-
}>, []>>,
|
|
21
|
+
}>, []>>, true>;
|
|
22
22
|
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
23
23
|
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
24
24
|
printing: DB.MemberDecl<DB.Integer, true>;
|