optolith-database-schema 0.20.6 → 0.21.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 +33 -0
- package/gen/types.d.ts +1516 -1134
- package/lib/types/Advantage.d.ts +185 -159
- package/lib/types/Advantage.js +2 -1
- package/lib/types/Aspect.js +1 -1
- package/lib/types/Cantrip.d.ts +1 -1
- package/lib/types/Cantrip.js +1 -1
- package/lib/types/Disadvantage.d.ts +185 -159
- package/lib/types/Disadvantage.js +2 -1
- package/lib/types/Disease.d.ts +45 -18
- package/lib/types/Disease.js +6 -1
- package/lib/types/Patron.js +2 -4
- package/lib/types/_Activatable.d.ts +188 -162
- package/lib/types/_Activatable.js +7 -5
- package/lib/types/_Prerequisite.d.ts +24 -0
- package/lib/types/_Prerequisite.js +5 -1
- package/lib/types/equipment/item/MagicalArtifact.d.ts +102 -0
- package/lib/types/equipment/item/MagicalArtifact.js +9 -1
- package/lib/types/equipment/item/Poison.d.ts +54 -0
- package/lib/types/equipment/item/Poison.js +4 -0
- package/lib/types/equipment/item/Vehicle.d.ts +8 -0
- package/lib/types/equipment/item/Vehicle.js +10 -2
- package/lib/types/equipment/item/_RangedWeapon.js +3 -3
- package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +25 -1
- package/lib/types/magicalActions/AnimistPower_Tribe.js +6 -1
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +49 -0
- package/lib/types/prerequisites/PrerequisiteGroups.js +8 -0
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +2 -1
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +2 -1
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +2 -1
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +2 -1
- package/lib/types/specialAbility/AncestorGlyph.d.ts +185 -159
- package/lib/types/specialAbility/AncestorGlyph.js +2 -1
- package/lib/types/specialAbility/BlessedTradition.d.ts +185 -159
- package/lib/types/specialAbility/BlessedTradition.js +2 -1
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +2 -1
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +2 -1
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/CombatSpecialAbility.js +2 -1
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +2 -1
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/CommandSpecialAbility.js +2 -1
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +2 -1
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +2 -1
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/FatePointSpecialAbility.js +2 -1
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/GeneralSpecialAbility.js +2 -1
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/KarmaSpecialAbility.js +2 -1
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +2 -1
- package/lib/types/specialAbility/LycantropicGift.d.ts +185 -159
- package/lib/types/specialAbility/LycantropicGift.js +2 -1
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +2 -1
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/MagicalSpecialAbility.js +2 -1
- package/lib/types/specialAbility/MagicalTradition.d.ts +185 -159
- package/lib/types/specialAbility/MagicalTradition.js +2 -1
- package/lib/types/specialAbility/PactGift.d.ts +185 -159
- package/lib/types/specialAbility/PactGift.js +2 -1
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +2 -1
- package/lib/types/specialAbility/Sermon.d.ts +185 -159
- package/lib/types/specialAbility/Sermon.js +2 -1
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/SexSpecialAbility.js +2 -1
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +2 -1
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +185 -159
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +2 -1
- package/lib/types/specialAbility/VampiricGift.d.ts +185 -159
- package/lib/types/specialAbility/VampiricGift.js +2 -1
- package/lib/types/specialAbility/Vision.d.ts +185 -159
- package/lib/types/specialAbility/Vision.js +2 -1
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/AttireEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/BowlEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +185 -159
- package/lib/types/traditionArtifacts/DaggerRitual.js +2 -1
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +185 -159
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +2 -1
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/OrbEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/RingEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +185 -159
- package/lib/types/traditionArtifacts/SickleRitual.js +2 -1
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/StaffEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/ToyEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +185 -159
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +2 -1
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/WandEnchantment.js +2 -1
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +185 -159
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +2 -1
- package/package.json +3 -3
package/lib/types/Disease.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Entity, Object, Required } from "tsondb/schema/def";
|
|
1
|
+
import { Entity, IncludeIdentifier, Object, Optional, Required } from "tsondb/schema/def";
|
|
2
2
|
import { NestedTranslationMap } from "./Locale.js";
|
|
3
3
|
import { cause, DiseaseTranslation, level, resistance } from "./_DiseasePoison.js";
|
|
4
|
+
import { RecipeTradeSecret } from "./equipment/item/_Herbary.js";
|
|
4
5
|
import { src } from "./source/_PublicationRef.js";
|
|
5
6
|
export const Disease = Entity(import.meta.url, {
|
|
6
7
|
name: "Disease",
|
|
@@ -9,6 +10,10 @@ export const Disease = Entity(import.meta.url, {
|
|
|
9
10
|
level,
|
|
10
11
|
resistance,
|
|
11
12
|
cause,
|
|
13
|
+
trade_secret: Optional({
|
|
14
|
+
comment: "AP value and prerequisites of the disease’s trade secret.",
|
|
15
|
+
type: IncludeIdentifier(RecipeTradeSecret),
|
|
16
|
+
}),
|
|
12
17
|
src,
|
|
13
18
|
translations: NestedTranslationMap(Required, "Disease", DiseaseTranslation),
|
|
14
19
|
}),
|
package/lib/types/Patron.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Array, Entity, Enum, EnumCase, IncludeIdentifier, Integer, Object, Optional, Required, String, TypeAlias, } from "tsondb/schema/def";
|
|
2
|
-
import { AdvantageIdentifier, AttributeIdentifier,
|
|
2
|
+
import { AdvantageIdentifier, AttributeIdentifier, DisadvantageIdentifier, PatronCategoryIdentifier, SkillIdentifier, TribeIdentifier, } from "./_Identifier.js";
|
|
3
3
|
import { SpellworkIdentifier } from "./_IdentifierGroup.js";
|
|
4
4
|
import { ImprovementCost } from "./_ImprovementCost.js";
|
|
5
5
|
import { NestedTranslationMap } from "./Locale.js";
|
|
@@ -65,11 +65,9 @@ const PatronCulture = TypeAlias(import.meta.url, {
|
|
|
65
65
|
comment: "The patron cultures the patron is or is not part of. If the patron is part of all patron cultures, the set should be empty and the operation should be difference.",
|
|
66
66
|
type: () => Object({
|
|
67
67
|
set: Required({
|
|
68
|
-
|
|
69
|
-
type: Array(CultureIdentifier(), { uniqueItems: true }),
|
|
68
|
+
type: Array(TribeIdentifier(), { uniqueItems: true }),
|
|
70
69
|
}),
|
|
71
70
|
operation: Optional({
|
|
72
|
-
comment: "The interval in which you have to pay the AE cost again.",
|
|
73
71
|
type: IncludeIdentifier(PatronCultureOperation),
|
|
74
72
|
}),
|
|
75
73
|
}),
|
|
@@ -664,168 +664,6 @@ export declare const select_options: import("tsondb/schema/def").MemberDecl<Incl
|
|
|
664
664
|
}>, []>>>, true>;
|
|
665
665
|
}>, []>>>;
|
|
666
666
|
}, []>>, false>;
|
|
667
|
-
explicit: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"ExplicitSelectOption", {
|
|
668
|
-
General: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
669
|
-
Skill: EnumCase<IncludeIdentifier<[], TypeAlias<"ExplicitSkillSelectOption", Object<{
|
|
670
|
-
id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
|
|
671
|
-
prerequisites: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"GeneralPrerequisites", IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisitesForLevels", Array<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisiteForLevel", Object<{
|
|
672
|
-
level: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
673
|
-
prerequisite: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], Enum<"PrerequisitesElement", {
|
|
674
|
-
Single: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", Type>>>;
|
|
675
|
-
Disjunction: EnumCase<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisitesDisjunction", Object<{
|
|
676
|
-
list: import("tsondb/schema/def").MemberDecl<Array<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", Type>>>, true>;
|
|
677
|
-
display_option: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"DisplayOption", {
|
|
678
|
-
Hide: EnumCase<null>;
|
|
679
|
-
ReplaceWith: EnumCase<IncludeIdentifier<[], TypeAlias<"ReplacementDisplayOption", Object<{
|
|
680
|
-
sentence_type: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"SentenceType", {
|
|
681
|
-
Standalone: EnumCase<null>;
|
|
682
|
-
Connected: EnumCase<null>;
|
|
683
|
-
}, []>>, false>;
|
|
684
|
-
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"ReplacementDisplayOptionTranslation", {
|
|
685
|
-
replacement: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
686
|
-
}>, true>;
|
|
687
|
-
}>, []>>>;
|
|
688
|
-
}, []>>, false>;
|
|
689
|
-
}>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>>;
|
|
690
|
-
Group: EnumCase<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisiteGroup", Object<{
|
|
691
|
-
list: import("tsondb/schema/def").MemberDecl<Array<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", Type>>>, true>;
|
|
692
|
-
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"PrerequisiteGroupTranslation", {
|
|
693
|
-
text: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
694
|
-
}>, true>;
|
|
695
|
-
}>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>>;
|
|
696
|
-
}, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>, true>;
|
|
697
|
-
}>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>, []>>, false>;
|
|
698
|
-
binding_cost: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
699
|
-
ap_value: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
700
|
-
src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
|
|
701
|
-
id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
|
|
702
|
-
occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
|
|
703
|
-
initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
|
|
704
|
-
printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
705
|
-
pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
|
|
706
|
-
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
707
|
-
InsideCoverFront: EnumCase<null>;
|
|
708
|
-
InsideCoverBack: EnumCase<null>;
|
|
709
|
-
Numbered: EnumCase<Integer>;
|
|
710
|
-
}, []>>, true>;
|
|
711
|
-
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
712
|
-
InsideCoverFront: EnumCase<null>;
|
|
713
|
-
InsideCoverBack: EnumCase<null>;
|
|
714
|
-
Numbered: EnumCase<Integer>;
|
|
715
|
-
}, []>>, false>;
|
|
716
|
-
}>, []>>>, true>;
|
|
717
|
-
}>, []>>, true>;
|
|
718
|
-
revisions: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"Revision", {
|
|
719
|
-
Since: EnumCase<IncludeIdentifier<[], TypeAlias<"Since", Object<{
|
|
720
|
-
printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
721
|
-
pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
|
|
722
|
-
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
723
|
-
InsideCoverFront: EnumCase<null>;
|
|
724
|
-
InsideCoverBack: EnumCase<null>;
|
|
725
|
-
Numbered: EnumCase<Integer>;
|
|
726
|
-
}, []>>, true>;
|
|
727
|
-
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
728
|
-
InsideCoverFront: EnumCase<null>;
|
|
729
|
-
InsideCoverBack: EnumCase<null>;
|
|
730
|
-
Numbered: EnumCase<Integer>;
|
|
731
|
-
}, []>>, false>;
|
|
732
|
-
}>, []>>>, true>;
|
|
733
|
-
}>, []>>>;
|
|
734
|
-
Deprecated: EnumCase<IncludeIdentifier<[], TypeAlias<"Deprecation", Object<{
|
|
735
|
-
printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
736
|
-
}>, []>>>;
|
|
737
|
-
}, []>>>, false>;
|
|
738
|
-
}>, true>;
|
|
739
|
-
}>, []>>>, []>>, false>;
|
|
740
|
-
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"ExplicitSkillSelectOptionTranslation", {
|
|
741
|
-
errata: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"Errata", Array<IncludeIdentifier<[], TypeAlias<"Erratum", Object<{
|
|
742
|
-
date: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").DateType, true>;
|
|
743
|
-
description: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
744
|
-
}>, []>>>, []>>, false>;
|
|
745
|
-
}>, false>;
|
|
746
|
-
}>, []>>>;
|
|
747
|
-
CombatTechnique: EnumCase<IncludeIdentifier<[], TypeAlias<"ExplicitCombatTechniqueSelectOption", Object<{
|
|
748
|
-
id: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"CombatTechniqueIdentifier", {
|
|
749
|
-
CloseCombatTechnique: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
750
|
-
RangedCombatTechnique: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
751
|
-
}, []>>, true>;
|
|
752
|
-
prerequisites: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"GeneralPrerequisites", IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisitesForLevels", Array<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisiteForLevel", Object<{
|
|
753
|
-
level: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
754
|
-
prerequisite: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], Enum<"PrerequisitesElement", {
|
|
755
|
-
Single: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", Type>>>;
|
|
756
|
-
Disjunction: EnumCase<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisitesDisjunction", Object<{
|
|
757
|
-
list: import("tsondb/schema/def").MemberDecl<Array<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", Type>>>, true>;
|
|
758
|
-
display_option: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"DisplayOption", {
|
|
759
|
-
Hide: EnumCase<null>;
|
|
760
|
-
ReplaceWith: EnumCase<IncludeIdentifier<[], TypeAlias<"ReplacementDisplayOption", Object<{
|
|
761
|
-
sentence_type: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"SentenceType", {
|
|
762
|
-
Standalone: EnumCase<null>;
|
|
763
|
-
Connected: EnumCase<null>;
|
|
764
|
-
}, []>>, false>;
|
|
765
|
-
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"ReplacementDisplayOptionTranslation", {
|
|
766
|
-
replacement: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
767
|
-
}>, true>;
|
|
768
|
-
}>, []>>>;
|
|
769
|
-
}, []>>, false>;
|
|
770
|
-
}>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>>;
|
|
771
|
-
Group: EnumCase<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisiteGroup", Object<{
|
|
772
|
-
list: import("tsondb/schema/def").MemberDecl<Array<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", Type>>>, true>;
|
|
773
|
-
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"PrerequisiteGroupTranslation", {
|
|
774
|
-
text: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
775
|
-
}>, true>;
|
|
776
|
-
}>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>>;
|
|
777
|
-
}, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>, true>;
|
|
778
|
-
}>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>, []>>, false>;
|
|
779
|
-
binding_cost: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
780
|
-
ap_value: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
781
|
-
src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
|
|
782
|
-
id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
|
|
783
|
-
occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
|
|
784
|
-
initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
|
|
785
|
-
printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
786
|
-
pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
|
|
787
|
-
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
788
|
-
InsideCoverFront: EnumCase<null>;
|
|
789
|
-
InsideCoverBack: EnumCase<null>;
|
|
790
|
-
Numbered: EnumCase<Integer>;
|
|
791
|
-
}, []>>, true>;
|
|
792
|
-
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
793
|
-
InsideCoverFront: EnumCase<null>;
|
|
794
|
-
InsideCoverBack: EnumCase<null>;
|
|
795
|
-
Numbered: EnumCase<Integer>;
|
|
796
|
-
}, []>>, false>;
|
|
797
|
-
}>, []>>>, true>;
|
|
798
|
-
}>, []>>, true>;
|
|
799
|
-
revisions: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"Revision", {
|
|
800
|
-
Since: EnumCase<IncludeIdentifier<[], TypeAlias<"Since", Object<{
|
|
801
|
-
printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
802
|
-
pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
|
|
803
|
-
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
804
|
-
InsideCoverFront: EnumCase<null>;
|
|
805
|
-
InsideCoverBack: EnumCase<null>;
|
|
806
|
-
Numbered: EnumCase<Integer>;
|
|
807
|
-
}, []>>, true>;
|
|
808
|
-
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
809
|
-
InsideCoverFront: EnumCase<null>;
|
|
810
|
-
InsideCoverBack: EnumCase<null>;
|
|
811
|
-
Numbered: EnumCase<Integer>;
|
|
812
|
-
}, []>>, false>;
|
|
813
|
-
}>, []>>>, true>;
|
|
814
|
-
}>, []>>>;
|
|
815
|
-
Deprecated: EnumCase<IncludeIdentifier<[], TypeAlias<"Deprecation", Object<{
|
|
816
|
-
printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
817
|
-
}>, []>>>;
|
|
818
|
-
}, []>>>, false>;
|
|
819
|
-
}>, true>;
|
|
820
|
-
}>, []>>>, []>>, false>;
|
|
821
|
-
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"ExplicitCombatTechniqueSelectOptionTranslation", {
|
|
822
|
-
errata: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"Errata", Array<IncludeIdentifier<[], TypeAlias<"Erratum", Object<{
|
|
823
|
-
date: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").DateType, true>;
|
|
824
|
-
description: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
825
|
-
}>, []>>>, []>>, false>;
|
|
826
|
-
}>, false>;
|
|
827
|
-
}>, []>>>;
|
|
828
|
-
}, []>>>, false>;
|
|
829
667
|
}>, []>>, false>;
|
|
830
668
|
export declare const ExplicitSelectOption: Enum<"ExplicitSelectOption", {
|
|
831
669
|
General: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
@@ -1177,6 +1015,194 @@ export declare const GeneralSelectOption: Entity<"GeneralSelectOption", {
|
|
|
1177
1015
|
}>, []>>>, []>>, false>;
|
|
1178
1016
|
}>, true>;
|
|
1179
1017
|
}, "parent">;
|
|
1018
|
+
export declare const explicit_select_options: import("tsondb/schema/def").MemberDecl<ChildEntities<Entity<"GeneralSelectOption", {
|
|
1019
|
+
parent: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"SelectOptionParentIdentifier", {
|
|
1020
|
+
Advantage: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1021
|
+
Disadvantage: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1022
|
+
AdvancedCombatSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1023
|
+
AdvancedKarmaSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1024
|
+
AdvancedMagicalSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1025
|
+
AdvancedSkillSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1026
|
+
AncestorGlyph: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1027
|
+
ArcaneOrbEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1028
|
+
AttireEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1029
|
+
BlessedTradition: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1030
|
+
BowlEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1031
|
+
BrawlingSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1032
|
+
CauldronEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1033
|
+
CeremonialItemSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1034
|
+
ChronicleEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1035
|
+
CombatSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1036
|
+
CombatStyleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1037
|
+
CommandSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1038
|
+
DaggerRitual: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1039
|
+
FamiliarSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1040
|
+
FatePointSexSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1041
|
+
FatePointSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1042
|
+
FoolsHatEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1043
|
+
GeneralSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1044
|
+
InstrumentEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1045
|
+
KarmaSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1046
|
+
Krallenkettenzauber: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1047
|
+
LiturgicalStyleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1048
|
+
LycantropicGift: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1049
|
+
MagicalSign: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1050
|
+
MagicalSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1051
|
+
MagicalTradition: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1052
|
+
MagicStyleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1053
|
+
OrbEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1054
|
+
PactGift: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1055
|
+
ProtectiveWardingCircleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1056
|
+
RingEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1057
|
+
Sermon: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1058
|
+
SexSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1059
|
+
SickleRitual: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1060
|
+
SikaryanDrainSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1061
|
+
SkillStyleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1062
|
+
SpellSwordEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1063
|
+
StaffEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1064
|
+
ToyEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1065
|
+
Trinkhornzauber: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1066
|
+
VampiricGift: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1067
|
+
Vision: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1068
|
+
WandEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1069
|
+
WeaponEnchantment: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1070
|
+
TradeSecret: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1071
|
+
}, []>>, true>;
|
|
1072
|
+
profession_only: import("tsondb/schema/def").MemberDecl<Boolean, false>;
|
|
1073
|
+
skill_applications: import("tsondb/schema/def").MemberDecl<ChildEntities<Entity<"NewSkillApplication", {
|
|
1074
|
+
parent: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"NewSkillApplicationOrUseParentIdentifier", {
|
|
1075
|
+
GeneralSelectOption: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1076
|
+
Advantage: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1077
|
+
Disadvantage: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1078
|
+
AdvancedCombatSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1079
|
+
AdvancedKarmaSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1080
|
+
AdvancedMagicalSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1081
|
+
AdvancedSkillSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1082
|
+
BlessedTradition: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1083
|
+
CeremonialItemSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1084
|
+
CombatSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1085
|
+
CombatStyleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1086
|
+
FatePointSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1087
|
+
GeneralSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1088
|
+
LiturgicalStyleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1089
|
+
MagicalSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1090
|
+
MagicalTradition: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1091
|
+
MagicStyleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1092
|
+
SexSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1093
|
+
}, []>>, true>;
|
|
1094
|
+
skills: import("tsondb/schema/def").MemberDecl<Array<import("tsondb/schema/def").ReferenceIdentifierType>, true>;
|
|
1095
|
+
required_skill_rating: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
1096
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"NewSkillApplicationTranslation", {
|
|
1097
|
+
name: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
1098
|
+
}>, false>;
|
|
1099
|
+
}, "parent">>, true>;
|
|
1100
|
+
skill_uses: import("tsondb/schema/def").MemberDecl<ChildEntities<Entity<"SkillUse", {
|
|
1101
|
+
parent: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"NewSkillApplicationOrUseParentIdentifier", {
|
|
1102
|
+
GeneralSelectOption: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1103
|
+
Advantage: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1104
|
+
Disadvantage: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1105
|
+
AdvancedCombatSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1106
|
+
AdvancedKarmaSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1107
|
+
AdvancedMagicalSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1108
|
+
AdvancedSkillSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1109
|
+
BlessedTradition: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1110
|
+
CeremonialItemSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1111
|
+
CombatSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1112
|
+
CombatStyleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1113
|
+
FatePointSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1114
|
+
GeneralSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1115
|
+
LiturgicalStyleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1116
|
+
MagicalSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1117
|
+
MagicalTradition: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1118
|
+
MagicStyleSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1119
|
+
SexSpecialAbility: EnumCase<import("tsondb/schema/def").ReferenceIdentifierType>;
|
|
1120
|
+
}, []>>, true>;
|
|
1121
|
+
skills: import("tsondb/schema/def").MemberDecl<Array<import("tsondb/schema/def").ReferenceIdentifierType>, true>;
|
|
1122
|
+
required_skill_rating: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
1123
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"SkillUseTranslation", {
|
|
1124
|
+
name: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
1125
|
+
}>, false>;
|
|
1126
|
+
}, "parent">>, true>;
|
|
1127
|
+
prerequisites: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"GeneralPrerequisites", IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisitesForLevels", Array<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisiteForLevel", Object<{
|
|
1128
|
+
level: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
1129
|
+
prerequisite: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], Enum<"PrerequisitesElement", {
|
|
1130
|
+
Single: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", Type>>>;
|
|
1131
|
+
Disjunction: EnumCase<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisitesDisjunction", Object<{
|
|
1132
|
+
list: import("tsondb/schema/def").MemberDecl<Array<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", Type>>>, true>;
|
|
1133
|
+
display_option: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"DisplayOption", {
|
|
1134
|
+
Hide: EnumCase<null>;
|
|
1135
|
+
ReplaceWith: EnumCase<IncludeIdentifier<[], TypeAlias<"ReplacementDisplayOption", Object<{
|
|
1136
|
+
sentence_type: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"SentenceType", {
|
|
1137
|
+
Standalone: EnumCase<null>;
|
|
1138
|
+
Connected: EnumCase<null>;
|
|
1139
|
+
}, []>>, false>;
|
|
1140
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"ReplacementDisplayOptionTranslation", {
|
|
1141
|
+
replacement: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
1142
|
+
}>, true>;
|
|
1143
|
+
}>, []>>>;
|
|
1144
|
+
}, []>>, false>;
|
|
1145
|
+
}>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>>;
|
|
1146
|
+
Group: EnumCase<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, Type>[], TypeAlias<"PrerequisiteGroup", Object<{
|
|
1147
|
+
list: import("tsondb/schema/def").MemberDecl<Array<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", Type>>>, true>;
|
|
1148
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"PrerequisiteGroupTranslation", {
|
|
1149
|
+
text: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
1150
|
+
}>, true>;
|
|
1151
|
+
}>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>>;
|
|
1152
|
+
}, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>, true>;
|
|
1153
|
+
}>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", Type>]>>, []>>, false>;
|
|
1154
|
+
binding_cost: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
1155
|
+
ap_value: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
1156
|
+
src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
|
|
1157
|
+
id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
|
|
1158
|
+
occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<string, {
|
|
1159
|
+
initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
|
|
1160
|
+
printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
1161
|
+
pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
|
|
1162
|
+
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
1163
|
+
InsideCoverFront: EnumCase<null>;
|
|
1164
|
+
InsideCoverBack: EnumCase<null>;
|
|
1165
|
+
Numbered: EnumCase<Integer>;
|
|
1166
|
+
}, []>>, true>;
|
|
1167
|
+
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
1168
|
+
InsideCoverFront: EnumCase<null>;
|
|
1169
|
+
InsideCoverBack: EnumCase<null>;
|
|
1170
|
+
Numbered: EnumCase<Integer>;
|
|
1171
|
+
}, []>>, false>;
|
|
1172
|
+
}>, []>>>, true>;
|
|
1173
|
+
}>, []>>, true>;
|
|
1174
|
+
revisions: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"Revision", {
|
|
1175
|
+
Since: EnumCase<IncludeIdentifier<[], TypeAlias<"Since", Object<{
|
|
1176
|
+
printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
1177
|
+
pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
|
|
1178
|
+
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
1179
|
+
InsideCoverFront: EnumCase<null>;
|
|
1180
|
+
InsideCoverBack: EnumCase<null>;
|
|
1181
|
+
Numbered: EnumCase<Integer>;
|
|
1182
|
+
}, []>>, true>;
|
|
1183
|
+
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
1184
|
+
InsideCoverFront: EnumCase<null>;
|
|
1185
|
+
InsideCoverBack: EnumCase<null>;
|
|
1186
|
+
Numbered: EnumCase<Integer>;
|
|
1187
|
+
}, []>>, false>;
|
|
1188
|
+
}>, []>>>, true>;
|
|
1189
|
+
}>, []>>>;
|
|
1190
|
+
Deprecated: EnumCase<IncludeIdentifier<[], TypeAlias<"Deprecation", Object<{
|
|
1191
|
+
printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
1192
|
+
}>, []>>>;
|
|
1193
|
+
}, []>>>, false>;
|
|
1194
|
+
}>, true>;
|
|
1195
|
+
}>, []>>>, []>>, false>;
|
|
1196
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"GeneralSelectOptionTranslation", {
|
|
1197
|
+
name: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
1198
|
+
name_in_profession: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
1199
|
+
description: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
1200
|
+
errata: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"Errata", Array<IncludeIdentifier<[], TypeAlias<"Erratum", Object<{
|
|
1201
|
+
date: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").DateType, true>;
|
|
1202
|
+
description: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
1203
|
+
}>, []>>>, []>>, false>;
|
|
1204
|
+
}>, true>;
|
|
1205
|
+
}, "parent">>, true>;
|
|
1180
1206
|
export declare const rules: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
1181
1207
|
export declare const effect: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
1182
1208
|
export declare const usage_type: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"CombatSpecialAbilityUsageType", {
|
|
@@ -45,14 +45,10 @@ Note that this is only a full definition of options for simple logic that can be
|
|
|
45
45
|
comment: `An entry category with optional further configuration. All available entries from the specified categories will be included as separate select options. You can also specify a set of groups that should only be included. Groups not mentioned will be excluded then.`,
|
|
46
46
|
type: IncludeIdentifier(SelectOptionCategory),
|
|
47
47
|
}),
|
|
48
|
-
explicit: Optional({
|
|
49
|
-
comment: `A list of explicit select options. If the identifier has a specific type, its entry is the base of this select option, where values defined here override values from the base. Define the \`src\` property if the options are not derived from the rules text of the advantage/disadvantage/special ability but instead are listed in a separate block and/or on a separate page.`,
|
|
50
|
-
type: Array(IncludeIdentifier(ExplicitSelectOption), { minItems: 1 }),
|
|
51
|
-
}),
|
|
52
48
|
}, { minProperties: 1 }),
|
|
53
49
|
});
|
|
54
50
|
export const select_options = Optional({
|
|
55
|
-
comment: `Definitions for possible options for the activatable entry
|
|
51
|
+
comment: `Definitions for possible options for the activatable entry, derived from entry categories.
|
|
56
52
|
|
|
57
53
|
Note that this is only a full definition of options for simple logic that can be made explicit using the more detailed configuration for both derived categories and explicit options. There are quite a few entries whose option logic cannot be fully represented here, so that it needs to be implemented manually.`,
|
|
58
54
|
type: IncludeIdentifier(SelectOptions),
|
|
@@ -123,6 +119,12 @@ export const GeneralSelectOption = Entity(import.meta.url, {
|
|
|
123
119
|
localeId: instanceDisplayNameLocaleId,
|
|
124
120
|
}),
|
|
125
121
|
});
|
|
122
|
+
export const explicit_select_options = Required({
|
|
123
|
+
comment: `Explicit definitions for possible options for the activatable entry.
|
|
124
|
+
|
|
125
|
+
Note that this is only a full definition of options for simple logic that can be made explicit using the more detailed configuration for both derived categories and explicit options. There are quite a few entries whose option logic cannot be fully represented here, so that it needs to be implemented manually.`,
|
|
126
|
+
type: ChildEntities(GeneralSelectOption),
|
|
127
|
+
});
|
|
126
128
|
const ExplicitSkillSelectOption = TypeAlias(import.meta.url, {
|
|
127
129
|
name: "ExplicitSkillSelectOption",
|
|
128
130
|
type: () => Object({
|
|
@@ -347,6 +347,30 @@ export declare const AnimistPowerPrerequisites: TypeAlias<"AnimistPowerPrerequis
|
|
|
347
347
|
}>, true>;
|
|
348
348
|
}>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>;
|
|
349
349
|
}, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, []>;
|
|
350
|
+
export declare const TribePrerequisites: TypeAlias<"TribePrerequisites", IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], TypeAlias<"PlainPrerequisites", Array<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], import("tsondb/schema/def").EnumDecl<"PrerequisitesElement", {
|
|
351
|
+
Single: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>;
|
|
352
|
+
Disjunction: EnumCase<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], TypeAlias<"PrerequisitesDisjunction", Object<{
|
|
353
|
+
list: import("tsondb/schema/def").MemberDecl<Array<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>, true>;
|
|
354
|
+
display_option: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"DisplayOption", {
|
|
355
|
+
Hide: EnumCase<null>;
|
|
356
|
+
ReplaceWith: EnumCase<IncludeIdentifier<[], TypeAlias<"ReplacementDisplayOption", Object<{
|
|
357
|
+
sentence_type: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"SentenceType", {
|
|
358
|
+
Standalone: EnumCase<null>;
|
|
359
|
+
Connected: EnumCase<null>;
|
|
360
|
+
}, []>>, false>;
|
|
361
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"ReplacementDisplayOptionTranslation", {
|
|
362
|
+
replacement: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
363
|
+
}>, true>;
|
|
364
|
+
}>, []>>>;
|
|
365
|
+
}, []>>, false>;
|
|
366
|
+
}>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>;
|
|
367
|
+
Group: EnumCase<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], TypeAlias<"PrerequisiteGroup", Object<{
|
|
368
|
+
list: import("tsondb/schema/def").MemberDecl<Array<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>, true>;
|
|
369
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"PrerequisiteGroupTranslation", {
|
|
370
|
+
text: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
371
|
+
}>, true>;
|
|
372
|
+
}>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>;
|
|
373
|
+
}, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>>, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, []>;
|
|
350
374
|
export declare const GeodeRitualPrerequisites: TypeAlias<"GeodeRitualPrerequisites", IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], TypeAlias<"PlainPrerequisites", Array<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], import("tsondb/schema/def").EnumDecl<"PrerequisitesElement", {
|
|
351
375
|
Single: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>;
|
|
352
376
|
Disjunction: EnumCase<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], TypeAlias<"PrerequisitesDisjunction", Object<{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Array, EnumCase, GenEnum, GenIncludeIdentifier, GenTypeAlias, IncludeIdentifier, Integer, Object, Optional, Param, Required, String, TypeAlias, TypeArgument, } from "tsondb/schema/def";
|
|
5
5
|
import { NestedTranslationMap } from "./Locale.js";
|
|
6
6
|
import { DisplayOption } from "./prerequisites/DisplayOption.js";
|
|
7
|
-
import { AdvantageDisadvantagePrerequisiteGroup, AnimistPowerPrerequisiteGroup, ArcaneTraditionPrerequisiteGroup, DerivedCharacteristicPrerequisiteGroup, EnhancementPrerequisiteGroup, GeneralPrerequisiteGroup, GeodeRitualPrerequisiteGroup, InfluencePrerequisiteGroup, LanguagePrerequisiteGroup, LiturgyPrerequisiteGroup, PersonalityTraitPrerequisiteGroup, ProfessionPrerequisiteGroup, PublicationPrerequisiteGroup, RulePrerequisiteGroup, SpellworkPrerequisiteGroup, } from "./prerequisites/PrerequisiteGroups.js";
|
|
7
|
+
import { AdvantageDisadvantagePrerequisiteGroup, AnimistPowerPrerequisiteGroup, ArcaneTraditionPrerequisiteGroup, DerivedCharacteristicPrerequisiteGroup, EnhancementPrerequisiteGroup, GeneralPrerequisiteGroup, GeodeRitualPrerequisiteGroup, InfluencePrerequisiteGroup, LanguagePrerequisiteGroup, LiturgyPrerequisiteGroup, PersonalityTraitPrerequisiteGroup, ProfessionPrerequisiteGroup, PublicationPrerequisiteGroup, RulePrerequisiteGroup, SpellworkPrerequisiteGroup, TribePrerequisiteGroup, } from "./prerequisites/PrerequisiteGroups.js";
|
|
8
8
|
const PrerequisiteGroup = GenTypeAlias(import.meta.url, {
|
|
9
9
|
name: "PrerequisiteGroup",
|
|
10
10
|
comment: "A prerequisite group has no influence on validation logic. It serves as a single unit for displaying purposes, where the source uses a prerequisites item that cannot be represented as a single prerequisite.",
|
|
@@ -133,6 +133,10 @@ export const AnimistPowerPrerequisites = TypeAlias(import.meta.url, {
|
|
|
133
133
|
name: "AnimistPowerPrerequisites",
|
|
134
134
|
type: () => GenIncludeIdentifier(PlainPrerequisites, [IncludeIdentifier(AnimistPowerPrerequisiteGroup)]),
|
|
135
135
|
});
|
|
136
|
+
export const TribePrerequisites = TypeAlias(import.meta.url, {
|
|
137
|
+
name: "TribePrerequisites",
|
|
138
|
+
type: () => GenIncludeIdentifier(PlainPrerequisites, [IncludeIdentifier(TribePrerequisiteGroup)]),
|
|
139
|
+
});
|
|
136
140
|
export const GeodeRitualPrerequisites = TypeAlias(import.meta.url, {
|
|
137
141
|
name: "GeodeRitualPrerequisites",
|
|
138
142
|
type: () => GenIncludeIdentifier(PlainPrerequisites, [IncludeIdentifier(GeodeRitualPrerequisiteGroup)]),
|