@optolith/database-schema 0.92.0 → 0.94.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.
Files changed (77) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/gen/types.d.ts +54 -33
  3. package/lib/cache/activatableSelectOptions.d.ts +1 -1
  4. package/lib/cache/activatableSelectOptions.js +39 -0
  5. package/lib/cache/tradeSecrets.js +14 -3
  6. package/lib/types/Advantage.d.ts +3 -0
  7. package/lib/types/Disadvantage.d.ts +3 -0
  8. package/lib/types/Profession.d.ts +252 -161
  9. package/lib/types/Profession.js +18 -21
  10. package/lib/types/Settings.d.ts +56 -0
  11. package/lib/types/Settings.js +5 -0
  12. package/lib/types/_ActivatableSelectOptionCategory.d.ts +3 -0
  13. package/lib/types/_ActivatableSelectOptionCategory.js +13 -1
  14. package/lib/types/_ActivatableSelectOptions.d.ts +6 -0
  15. package/lib/types/equipment/item/Ammunition.d.ts +72 -0
  16. package/lib/types/equipment/item/Ammunition.js +5 -1
  17. package/lib/types/equipment/item/Armor.d.ts +24 -0
  18. package/lib/types/equipment/item/BandageOrRemedy.d.ts +24 -0
  19. package/lib/types/equipment/item/Book.d.ts +24 -0
  20. package/lib/types/equipment/item/CeremonialItem.d.ts +24 -0
  21. package/lib/types/equipment/item/Clothes.d.ts +24 -0
  22. package/lib/types/equipment/item/Container.d.ts +24 -0
  23. package/lib/types/equipment/item/IlluminationLightSource.d.ts +24 -0
  24. package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +24 -0
  25. package/lib/types/equipment/item/Item.d.ts +24 -0
  26. package/lib/types/equipment/item/Jewelry.d.ts +24 -0
  27. package/lib/types/equipment/item/Laboratory.d.ts +24 -0
  28. package/lib/types/equipment/item/Liebesspielzeug.d.ts +24 -0
  29. package/lib/types/equipment/item/LuxuryGood.d.ts +24 -0
  30. package/lib/types/equipment/item/MagicalArtifact.d.ts +24 -0
  31. package/lib/types/equipment/item/MusicalInstrument.d.ts +24 -0
  32. package/lib/types/equipment/item/OrienteeringAid.d.ts +24 -0
  33. package/lib/types/equipment/item/Poison.d.ts +0 -6
  34. package/lib/types/equipment/item/Poison.js +0 -6
  35. package/lib/types/equipment/item/RopeOrChain.d.ts +24 -0
  36. package/lib/types/equipment/item/Stationery.d.ts +24 -0
  37. package/lib/types/equipment/item/ThievesTool.d.ts +24 -0
  38. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +24 -0
  39. package/lib/types/equipment/item/TravelGearOrTool.d.ts +24 -0
  40. package/lib/types/equipment/item/Vehicle.d.ts +24 -0
  41. package/lib/types/equipment/item/Weapon.d.ts +26 -2
  42. package/lib/types/equipment/item/Weapon.js +2 -2
  43. package/lib/types/equipment/item/WeaponAccessory.d.ts +24 -0
  44. package/lib/types/equipment/item/_Item.d.ts +72 -0
  45. package/lib/types/equipment/item/_Item.js +5 -0
  46. package/lib/types/magicalActions/ElvenMagicalSong.d.ts +1 -0
  47. package/lib/types/magicalActions/ElvenMagicalSong.js +4 -0
  48. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +3 -0
  49. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +3 -0
  50. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +3 -0
  51. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +3 -0
  52. package/lib/types/specialAbility/AncestorGlyph.d.ts +3 -0
  53. package/lib/types/specialAbility/BlessedTradition.d.ts +3 -0
  54. package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +3 -0
  55. package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +3 -0
  56. package/lib/types/specialAbility/CombatSpecialAbility.d.ts +3 -0
  57. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +3 -0
  58. package/lib/types/specialAbility/CommandSpecialAbility.d.ts +3 -0
  59. package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +3 -0
  60. package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +3 -0
  61. package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +3 -0
  62. package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +3 -0
  63. package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +3 -0
  64. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +3 -0
  65. package/lib/types/specialAbility/LycantropicGift.d.ts +3 -0
  66. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +3 -0
  67. package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +3 -0
  68. package/lib/types/specialAbility/MagicalTradition.d.ts +3 -0
  69. package/lib/types/specialAbility/PactGift.d.ts +3 -0
  70. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +3 -0
  71. package/lib/types/specialAbility/Sermon.d.ts +3 -0
  72. package/lib/types/specialAbility/SexSpecialAbility.d.ts +3 -0
  73. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +3 -0
  74. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +3 -0
  75. package/lib/types/specialAbility/VampiricGift.d.ts +3 -0
  76. package/lib/types/specialAbility/Vision.d.ts +3 -0
  77. package/package.json +1 -1
@@ -28,6 +28,30 @@ export declare const DefaultItem: (sourceUrl: string, singularName: string, plur
28
28
  Simple: DB.EnumCase<null>;
29
29
  Complex: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ComplexComplexity", DB.Object<{
30
30
  ap_value: DB.MemberDecl<DB.Integer, true>;
31
+ prerequisites: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PlainGeneralPrerequisites", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PlainPrerequisites", DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"PrerequisitesElement", {
32
+ Single: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
33
+ Disjunction: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesDisjunction", DB.Object<{
34
+ list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
35
+ display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
36
+ Hide: DB.EnumCase<null>;
37
+ ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
38
+ sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
39
+ Standalone: DB.EnumCase<null>;
40
+ Connected: DB.EnumCase<null>;
41
+ }, []>>, false>;
42
+ translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
43
+ replacement: DB.MemberDecl<DB.String, true>;
44
+ }>, true>;
45
+ }>, []>>>;
46
+ }, []>>, false>;
47
+ }>, [T: DB.Param<"T", DB.Type>]>>>;
48
+ Group: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteGroup", DB.Object<{
49
+ list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
50
+ translations: DB.MemberDecl<DB.NestedEntityMap<"PrerequisiteGroupTranslation", {
51
+ text: DB.MemberDecl<DB.String, true>;
52
+ }>, true>;
53
+ }>, [T: DB.Param<"T", DB.Type>]>>>;
54
+ }, [T: DB.Param<"T", DB.Type>]>>>, [T: DB.Param<"T", DB.Type>]>>, []>>, false>;
31
55
  src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
32
56
  id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
33
57
  occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
@@ -438,6 +462,30 @@ export declare const Complexity: DB.Enum<"Complexity", {
438
462
  Simple: DB.EnumCase<null>;
439
463
  Complex: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ComplexComplexity", DB.Object<{
440
464
  ap_value: DB.MemberDecl<DB.Integer, true>;
465
+ prerequisites: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PlainGeneralPrerequisites", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PlainPrerequisites", DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"PrerequisitesElement", {
466
+ Single: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
467
+ Disjunction: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesDisjunction", DB.Object<{
468
+ list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
469
+ display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
470
+ Hide: DB.EnumCase<null>;
471
+ ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
472
+ sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
473
+ Standalone: DB.EnumCase<null>;
474
+ Connected: DB.EnumCase<null>;
475
+ }, []>>, false>;
476
+ translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
477
+ replacement: DB.MemberDecl<DB.String, true>;
478
+ }>, true>;
479
+ }>, []>>>;
480
+ }, []>>, false>;
481
+ }>, [T: DB.Param<"T", DB.Type>]>>>;
482
+ Group: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteGroup", DB.Object<{
483
+ list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
484
+ translations: DB.MemberDecl<DB.NestedEntityMap<"PrerequisiteGroupTranslation", {
485
+ text: DB.MemberDecl<DB.String, true>;
486
+ }>, true>;
487
+ }>, [T: DB.Param<"T", DB.Type>]>>>;
488
+ }, [T: DB.Param<"T", DB.Type>]>>>, [T: DB.Param<"T", DB.Type>]>>, []>>, false>;
441
489
  src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
442
490
  id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
443
491
  occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
@@ -483,6 +531,30 @@ export declare const Complexity: DB.Enum<"Complexity", {
483
531
  }, []>;
484
532
  export declare const ComplexComplexity: DB.TypeAlias<"ComplexComplexity", DB.Object<{
485
533
  ap_value: DB.MemberDecl<DB.Integer, true>;
534
+ prerequisites: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PlainGeneralPrerequisites", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PlainPrerequisites", DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"PrerequisitesElement", {
535
+ Single: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
536
+ Disjunction: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesDisjunction", DB.Object<{
537
+ list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
538
+ display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
539
+ Hide: DB.EnumCase<null>;
540
+ ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
541
+ sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
542
+ Standalone: DB.EnumCase<null>;
543
+ Connected: DB.EnumCase<null>;
544
+ }, []>>, false>;
545
+ translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
546
+ replacement: DB.MemberDecl<DB.String, true>;
547
+ }>, true>;
548
+ }>, []>>>;
549
+ }, []>>, false>;
550
+ }>, [T: DB.Param<"T", DB.Type>]>>>;
551
+ Group: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteGroup", DB.Object<{
552
+ list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
553
+ translations: DB.MemberDecl<DB.NestedEntityMap<"PrerequisiteGroupTranslation", {
554
+ text: DB.MemberDecl<DB.String, true>;
555
+ }>, true>;
556
+ }>, [T: DB.Param<"T", DB.Type>]>>>;
557
+ }, [T: DB.Param<"T", DB.Type>]>>>, [T: DB.Param<"T", DB.Type>]>>, []>>, false>;
486
558
  src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
487
559
  id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
488
560
  occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
@@ -1,5 +1,6 @@
1
1
  import * as DB from "tsondb/schema/dsl";
2
2
  import { BlessedTraditionIdentifier, CultureIdentifier, MagicalTraditionIdentifier, ProfessionIdentifier, RaceIdentifier, } from "../../_Identifier.js";
3
+ import { PlainGeneralPrerequisites } from "../../_Prerequisite.js";
3
4
  import { ResponsiveTextOptional, ResponsiveTextReplace } from "../../_ResponsiveText.js";
4
5
  import { NestedTranslationMap } from "../../Locale.js";
5
6
  import { Errata } from "../../source/_Erratum.js";
@@ -169,6 +170,10 @@ export const ComplexComplexity = DB.TypeAlias(import.meta.url, {
169
170
  comment: "The AP value for the trade secret.",
170
171
  type: DB.Integer({ minimum: 1 }),
171
172
  }),
173
+ prerequisites: DB.Optional({
174
+ comment: "The prerequisites of the trade secret, if any. Note that the special ability prerequisite for weapon and armor trade secrets is added automatically based on the value in the `Settings` singleton entity.",
175
+ type: DB.IncludeIdentifier(PlainGeneralPrerequisites),
176
+ }),
172
177
  src: optionalSrc,
173
178
  }),
174
179
  });
@@ -72,6 +72,7 @@ export declare const ElvenMagicalSong: DB.Entity<"ElvenMagicalSong", {
72
72
  C: DB.EnumCase<null>;
73
73
  D: DB.EnumCase<null>;
74
74
  }, []>>, true>;
75
+ is_distorted: DB.MemberDecl<DB.Boolean, true>;
75
76
  src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
76
77
  id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
77
78
  occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
@@ -42,6 +42,10 @@ export const ElvenMagicalSong = DB.Entity(import.meta.url, {
42
42
  comment: "States which column is used to improve the skill.",
43
43
  type: DB.IncludeIdentifier(ImprovementCost),
44
44
  }),
45
+ is_distorted: DB.Required({
46
+ comment: "Is the song a distorted Elven magical song?",
47
+ type: DB.Boolean(),
48
+ }),
45
49
  src,
46
50
  translations: NestedTranslationMap(DB.Required, "ElvenMagicalSong", DB.Object({
47
51
  name: DB.Required({
@@ -849,6 +849,9 @@ export declare const AdvancedCombatSpecialAbility: DB.Entity<"AdvancedCombatSpec
849
849
  volume: DB.MemberDecl<DB.Integer, false>;
850
850
  }>, []>>>, true>;
851
851
  }>, []>>>;
852
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
853
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
854
+ }>, []>>>;
852
855
  }, []>>, false>;
853
856
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
854
857
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const AdvancedKarmaSpecialAbility: DB.Entity<"AdvancedKarmaSpecia
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const AdvancedMagicalSpecialAbility: DB.Entity<"AdvancedMagicalSp
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const AdvancedSkillSpecialAbility: DB.Entity<"AdvancedSkillSpecia
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const AncestorGlyph: DB.Entity<"AncestorGlyph", {
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -833,6 +833,9 @@ export declare const BlessedTradition: DB.Entity<"BlessedTradition", {
833
833
  volume: DB.MemberDecl<DB.Integer, false>;
834
834
  }>, []>>>, true>;
835
835
  }>, []>>>;
836
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
837
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
838
+ }>, []>>>;
836
839
  }, []>>, false>;
837
840
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
838
841
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -845,6 +845,9 @@ export declare const BrawlingSpecialAbility: DB.Entity<"BrawlingSpecialAbility",
845
845
  volume: DB.MemberDecl<DB.Integer, false>;
846
846
  }>, []>>>, true>;
847
847
  }>, []>>>;
848
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
849
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
850
+ }>, []>>>;
848
851
  }, []>>, false>;
849
852
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
850
853
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -841,6 +841,9 @@ export declare const CeremonialItemSpecialAbility: DB.Entity<"CeremonialItemSpec
841
841
  volume: DB.MemberDecl<DB.Integer, false>;
842
842
  }>, []>>>, true>;
843
843
  }>, []>>>;
844
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
845
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
846
+ }>, []>>>;
844
847
  }, []>>, false>;
845
848
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
846
849
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -845,6 +845,9 @@ export declare const CombatSpecialAbility: DB.Entity<"CombatSpecialAbility", {
845
845
  volume: DB.MemberDecl<DB.Integer, false>;
846
846
  }>, []>>>, true>;
847
847
  }>, []>>>;
848
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
849
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
850
+ }>, []>>>;
848
851
  }, []>>, false>;
849
852
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
850
853
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -848,6 +848,9 @@ export declare const CombatStyleSpecialAbility: DB.Entity<"CombatStyleSpecialAbi
848
848
  volume: DB.MemberDecl<DB.Integer, false>;
849
849
  }>, []>>>, true>;
850
850
  }>, []>>>;
851
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
852
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
853
+ }>, []>>>;
851
854
  }, []>>, false>;
852
855
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
853
856
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -845,6 +845,9 @@ export declare const CommandSpecialAbility: DB.Entity<"CommandSpecialAbility", {
845
845
  volume: DB.MemberDecl<DB.Integer, false>;
846
846
  }>, []>>>, true>;
847
847
  }>, []>>>;
848
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
849
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
850
+ }>, []>>>;
848
851
  }, []>>, false>;
849
852
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
850
853
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const FamiliarSpecialAbility: DB.Entity<"FamiliarSpecialAbility",
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const FatePointSexSpecialAbility: DB.Entity<"FatePointSexSpecialA
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const FatePointSpecialAbility: DB.Entity<"FatePointSpecialAbility
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const GeneralSpecialAbility: DB.Entity<"GeneralSpecialAbility", {
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const KarmaSpecialAbility: DB.Entity<"KarmaSpecialAbility", {
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const LiturgicalStyleSpecialAbility: DB.Entity<"LiturgicalStyleSp
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const LycantropicGift: DB.Entity<"LycantropicGift", {
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const MagicStyleSpecialAbility: DB.Entity<"MagicStyleSpecialAbili
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const MagicalSpecialAbility: DB.Entity<"MagicalSpecialAbility", {
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const MagicalTradition: DB.Entity<"MagicalTradition", {
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -841,6 +841,9 @@ export declare const PactGift: DB.Entity<"PactGift", {
841
841
  volume: DB.MemberDecl<DB.Integer, false>;
842
842
  }>, []>>>, true>;
843
843
  }>, []>>>;
844
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
845
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
846
+ }>, []>>>;
844
847
  }, []>>, false>;
845
848
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
846
849
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const ProtectiveWardingCircleSpecialAbility: DB.Entity<"Protectiv
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const Sermon: DB.Entity<"Sermon", {
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const SexSpecialAbility: DB.Entity<"SexSpecialAbility", {
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const SikaryanDrainSpecialAbility: DB.Entity<"SikaryanDrainSpecia
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const SkillStyleSpecialAbility: DB.Entity<"SkillStyleSpecialAbili
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const VampiricGift: DB.Entity<"VampiricGift", {
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
@@ -840,6 +840,9 @@ export declare const Vision: DB.Entity<"Vision", {
840
840
  volume: DB.MemberDecl<DB.Integer, false>;
841
841
  }>, []>>>, true>;
842
842
  }>, []>>>;
843
+ Advantages: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdvantagesSelectOptionCategory", DB.Object<{
844
+ dependingOn: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
845
+ }>, []>>>;
843
846
  }, []>>, false>;
844
847
  rules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRules", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SelectOptionRule", DB.Object<{
845
848
  value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SelectOptionRuleValue", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optolith/database-schema",
3
- "version": "0.92.0",
3
+ "version": "0.94.0",
4
4
  "description": "Definitions and utilities for the flat-file database of Optolith, a character creation tool for the Pen and Paper RPG “The Dark Eye 5”, and its external integrations into other software.",
5
5
  "keywords": [
6
6
  "tde",