optolith-database-schema 0.18.9 → 0.18.12

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 (59) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/lib/types/Advantage.d.ts +10 -0
  3. package/lib/types/Disadvantage.d.ts +10 -0
  4. package/lib/types/_Activatable.d.ts +187 -1
  5. package/lib/types/_Activatable.js +47 -4
  6. package/lib/types/_IdentifierGroup.d.ts +53 -0
  7. package/lib/types/_IdentifierGroup.js +58 -0
  8. package/lib/types/equipment/item/Book.d.ts +81 -48
  9. package/lib/types/equipment/item/Book.js +62 -2
  10. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +10 -0
  11. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +10 -0
  12. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +10 -0
  13. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +10 -0
  14. package/lib/types/specialAbility/AncestorGlyph.d.ts +10 -0
  15. package/lib/types/specialAbility/BlessedTradition.d.ts +10 -0
  16. package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +10 -0
  17. package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +10 -0
  18. package/lib/types/specialAbility/CombatSpecialAbility.d.ts +10 -0
  19. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +10 -0
  20. package/lib/types/specialAbility/CommandSpecialAbility.d.ts +10 -0
  21. package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +10 -0
  22. package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +10 -0
  23. package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +10 -0
  24. package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +10 -0
  25. package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +10 -0
  26. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +10 -0
  27. package/lib/types/specialAbility/LycantropicGift.d.ts +10 -0
  28. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +10 -0
  29. package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +10 -0
  30. package/lib/types/specialAbility/MagicalTradition.d.ts +10 -0
  31. package/lib/types/specialAbility/PactGift.d.ts +10 -0
  32. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +10 -0
  33. package/lib/types/specialAbility/Sermon.d.ts +10 -0
  34. package/lib/types/specialAbility/SexSpecialAbility.d.ts +10 -0
  35. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +10 -0
  36. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +10 -0
  37. package/lib/types/specialAbility/VampiricGift.d.ts +10 -0
  38. package/lib/types/specialAbility/Vision.d.ts +10 -0
  39. package/lib/types/specialAbility/sub/TradeSecret.d.ts +219 -41
  40. package/lib/types/specialAbility/sub/TradeSecret.js +31 -3
  41. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +10 -0
  42. package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +10 -0
  43. package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +10 -0
  44. package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +10 -0
  45. package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +10 -0
  46. package/lib/types/traditionArtifacts/DaggerRitual.d.ts +10 -0
  47. package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +10 -0
  48. package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +10 -0
  49. package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +10 -0
  50. package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +10 -0
  51. package/lib/types/traditionArtifacts/RingEnchantment.d.ts +10 -0
  52. package/lib/types/traditionArtifacts/SickleRitual.d.ts +10 -0
  53. package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +10 -0
  54. package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +10 -0
  55. package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +10 -0
  56. package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +10 -0
  57. package/lib/types/traditionArtifacts/WandEnchantment.d.ts +10 -0
  58. package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +10 -0
  59. package/package.json +3 -3
@@ -1,4 +1,5 @@
1
- import { Boolean, Entity, IncludeIdentifier, Integer, Object, Optional, Required, String, } from "tsondb/schema/def";
1
+ import { Array, Boolean, Entity, Enum, EnumCase, IncludeIdentifier, Object, Optional, Required, String, TypeAlias, } from "tsondb/schema/def";
2
+ import { AdventurePointsDependingOnActiveInstances, ExplicitSelectOption, FixedAdventurePointsValue, } from "../../_Activatable.js";
2
3
  import { PlainGeneralPrerequisites } from "../../_Prerequisite.js";
3
4
  import { NestedTranslationMap } from "../../Locale.js";
4
5
  import { Errata } from "../../source/_Erratum.js";
@@ -7,9 +8,15 @@ export const TradeSecret = Entity(import.meta.url, {
7
8
  name: "TradeSecret",
8
9
  namePlural: "TradeSecrets",
9
10
  type: () => Object({
10
- ap_value: Optional({
11
+ select_options: Optional({
12
+ comment: `Definitions for possible options for the activatable entry.
13
+
14
+ 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.`,
15
+ type: IncludeIdentifier(TradeSecretSelectOptions),
16
+ }),
17
+ ap_value: Required({
11
18
  comment: "The trade secret’s adventure point value",
12
- type: Integer({ minimum: 1 }),
19
+ type: IncludeIdentifier(TradeSecretAdventurePointsValue),
13
20
  }),
14
21
  is_secret_knowledge: Required({
15
22
  comment: "Is this trade secret considered secret knowledge?",
@@ -35,3 +42,24 @@ export const TradeSecret = Entity(import.meta.url, {
35
42
  }),
36
43
  displayName: {},
37
44
  });
45
+ const TradeSecretSelectOptions = TypeAlias(import.meta.url, {
46
+ name: "TradeSecretSelectOptions",
47
+ comment: `Definitions for possible options for the activatable entry. They can either be derived from entry categories or be defined explicitly. Both can happen as well, but if there is an explicitly defined select option and a derived select option has the same identifier (which may only happen if skill or combat technique identifiers are used for explicit select options), the explicit definition overwrites the derived option.
48
+
49
+ 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.`,
50
+ type: () => Object({
51
+ explicit: Optional({
52
+ 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.`,
53
+ type: Array(IncludeIdentifier(ExplicitSelectOption), { minItems: 1 }),
54
+ }),
55
+ }, { minProperties: 1 }),
56
+ });
57
+ const TradeSecretAdventurePointsValue = Enum(import.meta.url, {
58
+ name: "TradeSecretAdventurePointsValue",
59
+ values: () => ({
60
+ Fixed: EnumCase({ type: IncludeIdentifier(FixedAdventurePointsValue) }),
61
+ DependingOnActiveInstances: EnumCase({
62
+ type: IncludeIdentifier(AdventurePointsDependingOnActiveInstances),
63
+ }),
64
+ }),
65
+ });
@@ -1082,6 +1082,16 @@ export declare const ArcaneOrbEnchantment: Entity<"ArcaneOrbEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const AttireEnchantment: Entity<"AttireEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const BowlEnchantment: Entity<"BowlEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1083,6 +1083,16 @@ export declare const CauldronEnchantment: Entity<"CauldronEnchantment", {
1083
1083
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1084
1084
  }>, false>;
1085
1085
  }>, []>>>;
1086
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1087
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1088
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1091
+ }>, []>>>;
1092
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1093
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1094
+ }>, []>>>;
1095
+ }, []>>>;
1086
1096
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1087
1097
  }, []>>, true>;
1088
1098
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const ChronicleEnchantment: Entity<"ChronicleEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1089,6 +1089,16 @@ export declare const DaggerRitual: Entity<"DaggerRitual", {
1089
1089
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1090
1090
  }>, false>;
1091
1091
  }>, []>>>;
1092
+ DependingOnActiveInstances: EnumCase<IncludeIdentifier<[], Enum<"AdventurePointsDependingOnActiveInstances", {
1093
+ Threshold: EnumCase<IncludeIdentifier<[], TypeAlias<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1094
+ normal: import("tsondb/schema/def").MemberDecl<Integer, true>;
1095
+ threshold: import("tsondb/schema/def").MemberDecl<Integer, true>;
1096
+ alternative: import("tsondb/schema/def").MemberDecl<Integer, true>;
1097
+ }>, []>>>;
1098
+ Multiplier: EnumCase<IncludeIdentifier<[], TypeAlias<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1099
+ base: import("tsondb/schema/def").MemberDecl<Integer, true>;
1100
+ }>, []>>>;
1101
+ }, []>>>;
1092
1102
  Indefinite: EnumCase<null>;
1093
1103
  }, []>>, true>;
1094
1104
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const FoolsHatEnchantment: Entity<"FoolsHatEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const InstrumentEnchantment: Entity<"InstrumentEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const Krallenkettenzauber: Entity<"Krallenkettenzauber", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const OrbEnchantment: Entity<"OrbEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const RingEnchantment: Entity<"RingEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const SickleRitual: Entity<"SickleRitual", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const SpellSwordEnchantment: Entity<"SpellSwordEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const StaffEnchantment: Entity<"StaffEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const ToyEnchantment: Entity<"ToyEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const Trinkhornzauber: Entity<"Trinkhornzauber", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1031,6 +1031,16 @@ export declare const WandEnchantment: Entity<"WandEnchantment", {
1031
1031
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1032
1032
  }>, false>;
1033
1033
  }>, []>>>;
1034
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1035
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1036
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1037
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1038
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1039
+ }>, []>>>;
1040
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1041
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1042
+ }>, []>>>;
1043
+ }, []>>>;
1034
1044
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1035
1045
  }, []>>, true>;
1036
1046
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
@@ -1082,6 +1082,16 @@ export declare const WeaponEnchantment: Entity<"WeaponEnchantment", {
1082
1082
  replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
1083
1083
  }>, false>;
1084
1084
  }>, []>>>;
1085
+ DependingOnActiveInstances: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"AdventurePointsDependingOnActiveInstances", {
1086
+ Threshold: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesThreshold", Object<{
1087
+ normal: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1088
+ threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1089
+ alternative: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1090
+ }>, []>>>;
1091
+ Multiplier: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDependingOnActiveInstancesMultiplier", Object<{
1092
+ base: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
1093
+ }>, []>>>;
1094
+ }, []>>>;
1085
1095
  Indefinite: import("tsondb/schema/def").EnumCaseDecl<null>;
1086
1096
  }, []>>, true>;
1087
1097
  src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optolith-database-schema",
3
- "version": "0.18.9",
3
+ "version": "0.18.12",
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",
@@ -35,11 +35,11 @@
35
35
  "license": "MPL-2.0",
36
36
  "dependencies": {
37
37
  "@optolith/helpers": "^0.2.2",
38
- "tsondb": "^0.10.0",
38
+ "tsondb": "^0.10.1",
39
39
  "yaml": "^2.8.1"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/node": "^24.6.2",
42
+ "@types/node": "^24.8.1",
43
43
  "commit-and-tag-version": "^12.6.0",
44
44
  "typescript": "^5.9.3"
45
45
  },