@optolith/database-schema 0.93.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.
- package/CHANGELOG.md +12 -0
- package/gen/types.d.ts +20 -0
- package/lib/cache/tradeSecrets.js +14 -3
- package/lib/types/Settings.d.ts +56 -0
- package/lib/types/Settings.js +5 -0
- package/lib/types/equipment/item/Ammunition.d.ts +72 -0
- package/lib/types/equipment/item/Ammunition.js +5 -1
- package/lib/types/equipment/item/Armor.d.ts +24 -0
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +24 -0
- package/lib/types/equipment/item/Book.d.ts +24 -0
- package/lib/types/equipment/item/CeremonialItem.d.ts +24 -0
- package/lib/types/equipment/item/Clothes.d.ts +24 -0
- package/lib/types/equipment/item/Container.d.ts +24 -0
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +24 -0
- package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +24 -0
- package/lib/types/equipment/item/Item.d.ts +24 -0
- package/lib/types/equipment/item/Jewelry.d.ts +24 -0
- package/lib/types/equipment/item/Laboratory.d.ts +24 -0
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +24 -0
- package/lib/types/equipment/item/LuxuryGood.d.ts +24 -0
- package/lib/types/equipment/item/MagicalArtifact.d.ts +24 -0
- package/lib/types/equipment/item/MusicalInstrument.d.ts +24 -0
- package/lib/types/equipment/item/OrienteeringAid.d.ts +24 -0
- package/lib/types/equipment/item/RopeOrChain.d.ts +24 -0
- package/lib/types/equipment/item/Stationery.d.ts +24 -0
- package/lib/types/equipment/item/ThievesTool.d.ts +24 -0
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +24 -0
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +24 -0
- package/lib/types/equipment/item/Vehicle.d.ts +24 -0
- package/lib/types/equipment/item/Weapon.d.ts +24 -0
- package/lib/types/equipment/item/WeaponAccessory.d.ts +24 -0
- package/lib/types/equipment/item/_Item.d.ts +72 -0
- package/lib/types/equipment/item/_Item.js +5 -0
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +1 -0
- package/lib/types/magicalActions/ElvenMagicalSong.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.94.0](https://github.com/Optolith/database-schema/compare/v0.93.0...v0.94.0) (2026-10-12)
|
|
6
|
+
|
|
7
|
+
### ⚠ BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
* add distorted elven magical songs flag
|
|
10
|
+
* derived trade secrets for ammunition
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* add distorted elven magical songs flag ([837062e](https://github.com/Optolith/database-schema/commit/837062ee095a7bd706ce4c7c38517057580ee73a)), references [#199](https://github.com/Optolith/database-schema/issues/199)
|
|
15
|
+
* derived trade secrets for ammunition ([6b5b5ae](https://github.com/Optolith/database-schema/commit/6b5b5ae8f59d26c594c6594e3798263fdd47095b))
|
|
16
|
+
|
|
5
17
|
## [0.93.0](https://github.com/Optolith/database-schema/compare/v0.92.0...v0.93.0) (2026-10-11)
|
|
6
18
|
|
|
7
19
|
### ⚠ BREAKING CHANGES
|
package/gen/types.d.ts
CHANGED
|
@@ -12727,6 +12727,11 @@ export interface ComplexComplexity {
|
|
|
12727
12727
|
*/
|
|
12728
12728
|
ap_value: number
|
|
12729
12729
|
|
|
12730
|
+
/**
|
|
12731
|
+
* 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.
|
|
12732
|
+
*/
|
|
12733
|
+
prerequisites?: PlainGeneralPrerequisites
|
|
12734
|
+
|
|
12730
12735
|
/**
|
|
12731
12736
|
* References to where in which publications this entry has been defined. Entries may also be added or removed in later printings.
|
|
12732
12737
|
*/
|
|
@@ -12993,6 +12998,11 @@ export interface Ammunition {
|
|
|
12993
12998
|
*/
|
|
12994
12999
|
cost: Cost
|
|
12995
13000
|
|
|
13001
|
+
/**
|
|
13002
|
+
* The complexity of crafting the item.
|
|
13003
|
+
*/
|
|
13004
|
+
complexity?: Complexity
|
|
13005
|
+
|
|
12996
13006
|
/**
|
|
12997
13007
|
* References to where in which publications this entry has been defined. Entries may also be added or removed in later printings.
|
|
12998
13008
|
*/
|
|
@@ -19465,6 +19475,11 @@ export interface ElvenMagicalSong {
|
|
|
19465
19475
|
*/
|
|
19466
19476
|
improvement_cost: ImprovementCost
|
|
19467
19477
|
|
|
19478
|
+
/**
|
|
19479
|
+
* Is the song a distorted Elven magical song?
|
|
19480
|
+
*/
|
|
19481
|
+
is_distorted: boolean
|
|
19482
|
+
|
|
19468
19483
|
/**
|
|
19469
19484
|
* References to where in which publications this entry has been defined. Entries may also be added or removed in later printings.
|
|
19470
19485
|
*/
|
|
@@ -27838,6 +27853,11 @@ export interface DerivedTradeSecretsSettings {
|
|
|
27838
27853
|
*/
|
|
27839
27854
|
requiredSpecialAbilityForWeapons: SpecialAbilityIdentifier
|
|
27840
27855
|
|
|
27856
|
+
/**
|
|
27857
|
+
* The special ability required to buy derived trade secrets for ammunition.
|
|
27858
|
+
*/
|
|
27859
|
+
requiredSpecialAbilityForAmmunition: SpecialAbilityIdentifier
|
|
27860
|
+
|
|
27841
27861
|
/**
|
|
27842
27862
|
* The special ability required to buy derived trade secrets for armor.
|
|
27843
27863
|
*/
|
|
@@ -2,6 +2,7 @@ import { assertExhaustive } from "@elyukai/utils/typeSafety";
|
|
|
2
2
|
import { Case } from "tsondb/schema/gen";
|
|
3
3
|
const emptyDerivedEquipmentTradeSecretsCache = {
|
|
4
4
|
Armor: {},
|
|
5
|
+
Ammunition: {},
|
|
5
6
|
BandageOrRemedy: {},
|
|
6
7
|
Book: {},
|
|
7
8
|
CeremonialItem: {},
|
|
@@ -53,15 +54,25 @@ export const buildDerivedTradeSecretsCache = (database, settings) => {
|
|
|
53
54
|
id: settings.derivedTradeSecrets.requiredSpecialAbilityForWeapons,
|
|
54
55
|
active: true,
|
|
55
56
|
})),
|
|
57
|
+
...(container.content.complexity.Complex.prerequisites ?? []),
|
|
56
58
|
]
|
|
57
|
-
: entity === "
|
|
59
|
+
: entity === "Ammunition"
|
|
58
60
|
? [
|
|
59
61
|
Case("Single", Case("Activatable", {
|
|
60
|
-
id: settings.derivedTradeSecrets.
|
|
62
|
+
id: settings.derivedTradeSecrets.requiredSpecialAbilityForAmmunition,
|
|
61
63
|
active: true,
|
|
62
64
|
})),
|
|
65
|
+
...(container.content.complexity.Complex.prerequisites ?? []),
|
|
63
66
|
]
|
|
64
|
-
:
|
|
67
|
+
: entity === "Armor"
|
|
68
|
+
? [
|
|
69
|
+
Case("Single", Case("Activatable", {
|
|
70
|
+
id: settings.derivedTradeSecrets.requiredSpecialAbilityForArmor,
|
|
71
|
+
active: true,
|
|
72
|
+
})),
|
|
73
|
+
...(container.content.complexity.Complex.prerequisites ?? []),
|
|
74
|
+
]
|
|
75
|
+
: (container.content.complexity.Complex.prerequisites ?? []),
|
|
65
76
|
src: container.content.complexity.Complex.src ?? container.content.src,
|
|
66
77
|
translations: Object.fromEntries(Object.entries(container.content.translations).map(([lang, translation]) => [
|
|
67
78
|
lang,
|
package/lib/types/Settings.d.ts
CHANGED
|
@@ -59,6 +59,62 @@ export declare const Settings: DB.SingletonEntity<"Settings", {
|
|
|
59
59
|
VampiricGift: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
60
60
|
Vision: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
61
61
|
}, []>>, true>;
|
|
62
|
+
requiredSpecialAbilityForAmmunition: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SpecialAbilityIdentifier", {
|
|
63
|
+
ArcaneOrbEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
64
|
+
AttireEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
65
|
+
Beutelzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
66
|
+
BowlEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
67
|
+
CauldronEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
68
|
+
ChronicleEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
69
|
+
DaggerRitual: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
70
|
+
FoolsHatEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
71
|
+
Haubenzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
72
|
+
Hauerkettenzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
73
|
+
InstrumentEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
74
|
+
Keulenzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
75
|
+
Krallenkettenzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
76
|
+
Kristallkugelzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
77
|
+
OrbEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
78
|
+
RingEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
79
|
+
Schweinetrommelzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
80
|
+
SickleRitual: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
81
|
+
SpellSwordEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
82
|
+
StaffEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
83
|
+
ToyEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
84
|
+
Trinkhornzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
85
|
+
WandEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
86
|
+
WeaponEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
87
|
+
AdvancedCombatSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
88
|
+
AdvancedKarmaSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
89
|
+
AdvancedMagicalSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
90
|
+
AdvancedSkillSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
91
|
+
AncestorGlyph: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
92
|
+
BlessedTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
93
|
+
BrawlingSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
94
|
+
CeremonialItemSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
95
|
+
CombatSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
96
|
+
CombatStyleSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
97
|
+
CommandSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
98
|
+
FamiliarSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
99
|
+
FatePointSexSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
100
|
+
FatePointSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
101
|
+
GeneralSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
102
|
+
KarmaSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
103
|
+
LiturgicalStyleSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
104
|
+
LycantropicGift: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
105
|
+
MagicalSign: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
106
|
+
MagicalSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
107
|
+
MagicalTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
108
|
+
MagicStyleSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
109
|
+
PactGift: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
110
|
+
ProtectiveWardingCircleSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
111
|
+
Sermon: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
112
|
+
SexSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
113
|
+
SikaryanDrainSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
114
|
+
SkillStyleSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
115
|
+
VampiricGift: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
116
|
+
Vision: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
117
|
+
}, []>>, true>;
|
|
62
118
|
requiredSpecialAbilityForArmor: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SpecialAbilityIdentifier", {
|
|
63
119
|
ArcaneOrbEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
64
120
|
AttireEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
package/lib/types/Settings.js
CHANGED
|
@@ -52,6 +52,11 @@ const DerivedTradeSecretsSettings = DB.TypeAlias(import.meta.url, {
|
|
|
52
52
|
comment: "The special ability required to buy derived trade secrets for weapons.",
|
|
53
53
|
type: DB.IncludeIdentifier(SpecialAbilityIdentifier),
|
|
54
54
|
}),
|
|
55
|
+
requiredSpecialAbilityForAmmunition: DB.Required({
|
|
56
|
+
displayName: "Required Special Ability for Ammunition",
|
|
57
|
+
comment: "The special ability required to buy derived trade secrets for ammunition.",
|
|
58
|
+
type: DB.IncludeIdentifier(SpecialAbilityIdentifier),
|
|
59
|
+
}),
|
|
55
60
|
requiredSpecialAbilityForArmor: DB.Required({
|
|
56
61
|
displayName: "Required Special Ability for Armor",
|
|
57
62
|
comment: "The special ability required to buy derived trade secrets for armor.",
|
|
@@ -22,6 +22,78 @@ export declare const Ammunition: DB.Entity<"Ammunition", {
|
|
|
22
22
|
}>, false>;
|
|
23
23
|
}>, []>>>;
|
|
24
24
|
}, []>>, true>;
|
|
25
|
+
complexity: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Complexity", {
|
|
26
|
+
Primitive: DB.EnumCase<null>;
|
|
27
|
+
Simple: DB.EnumCase<null>;
|
|
28
|
+
Complex: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ComplexComplexity", DB.Object<{
|
|
29
|
+
ap_value: DB.MemberDecl<DB.Integer, true>;
|
|
30
|
+
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", {
|
|
31
|
+
Single: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
32
|
+
Disjunction: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesDisjunction", DB.Object<{
|
|
33
|
+
list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
|
|
34
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
35
|
+
Hide: DB.EnumCase<null>;
|
|
36
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
37
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
38
|
+
Standalone: DB.EnumCase<null>;
|
|
39
|
+
Connected: DB.EnumCase<null>;
|
|
40
|
+
}, []>>, false>;
|
|
41
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
42
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
43
|
+
}>, true>;
|
|
44
|
+
}>, []>>>;
|
|
45
|
+
}, []>>, false>;
|
|
46
|
+
}>, [T: DB.Param<"T", DB.Type>]>>>;
|
|
47
|
+
Group: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteGroup", DB.Object<{
|
|
48
|
+
list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
|
|
49
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"PrerequisiteGroupTranslation", {
|
|
50
|
+
text: DB.MemberDecl<DB.String, true>;
|
|
51
|
+
}>, true>;
|
|
52
|
+
}>, [T: DB.Param<"T", DB.Type>]>>>;
|
|
53
|
+
}, [T: DB.Param<"T", DB.Type>]>>>, [T: DB.Param<"T", DB.Type>]>>, []>>, false>;
|
|
54
|
+
src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
|
|
55
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
56
|
+
occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
|
|
57
|
+
initial: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"InitialOccurrence", DB.Object<{
|
|
58
|
+
printing: DB.MemberDecl<DB.Integer, false>;
|
|
59
|
+
pages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PageRange", DB.Object<{
|
|
60
|
+
first_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
61
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
62
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
63
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
64
|
+
}, []>>, true>;
|
|
65
|
+
last_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
66
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
67
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
68
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
69
|
+
}, []>>, false>;
|
|
70
|
+
}>, []>>>, true>;
|
|
71
|
+
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
72
|
+
}>, []>>, true>;
|
|
73
|
+
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
74
|
+
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
75
|
+
printing: DB.MemberDecl<DB.Integer, true>;
|
|
76
|
+
pages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PageRange", DB.Object<{
|
|
77
|
+
first_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
78
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
79
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
80
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
81
|
+
}, []>>, true>;
|
|
82
|
+
last_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
83
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
84
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
85
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
86
|
+
}, []>>, false>;
|
|
87
|
+
}>, []>>>, true>;
|
|
88
|
+
}>, []>>>;
|
|
89
|
+
Deprecated: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Deprecation", DB.Object<{
|
|
90
|
+
printing: DB.MemberDecl<DB.Integer, true>;
|
|
91
|
+
}>, []>>>;
|
|
92
|
+
}, []>>>, false>;
|
|
93
|
+
}>, true>;
|
|
94
|
+
}>, []>>>, []>>, false>;
|
|
95
|
+
}>, []>>>;
|
|
96
|
+
}, []>>, false>;
|
|
25
97
|
src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
|
|
26
98
|
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
27
99
|
occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
|
|
@@ -2,7 +2,7 @@ import * as DB from "tsondb/schema/dsl";
|
|
|
2
2
|
import { NestedTranslationMap } from "../../Locale.js";
|
|
3
3
|
import { Errata } from "../../source/_Erratum.js";
|
|
4
4
|
import { src } from "../../source/_PublicationRef.js";
|
|
5
|
-
import { Cost } from "./_Item.js";
|
|
5
|
+
import { Complexity, Cost } from "./_Item.js";
|
|
6
6
|
export const Ammunition = DB.Entity(import.meta.url, {
|
|
7
7
|
name: "Ammunition",
|
|
8
8
|
namePlural: "Ammunitions",
|
|
@@ -11,6 +11,10 @@ export const Ammunition = DB.Entity(import.meta.url, {
|
|
|
11
11
|
comment: "The cost in silverthalers.",
|
|
12
12
|
type: DB.IncludeIdentifier(Cost),
|
|
13
13
|
}),
|
|
14
|
+
complexity: DB.Optional({
|
|
15
|
+
comment: "The complexity of crafting the item.",
|
|
16
|
+
type: DB.IncludeIdentifier(Complexity),
|
|
17
|
+
}),
|
|
14
18
|
src,
|
|
15
19
|
translations: NestedTranslationMap(DB.Required, "Ammunition", DB.Object({
|
|
16
20
|
name: DB.Required({
|
|
@@ -28,6 +28,30 @@ export declare const Armor: DB.Entity<"Armor", {
|
|
|
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, {
|
|
@@ -28,6 +28,30 @@ export declare const BandageOrRemedy: DB.Entity<"BandageOrRemedy", {
|
|
|
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, {
|
|
@@ -91,6 +91,30 @@ export declare const Book: DB.Entity<"Book", {
|
|
|
91
91
|
Simple: DB.EnumCase<null>;
|
|
92
92
|
Complex: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ComplexComplexity", DB.Object<{
|
|
93
93
|
ap_value: DB.MemberDecl<DB.Integer, true>;
|
|
94
|
+
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", {
|
|
95
|
+
Single: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
96
|
+
Disjunction: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesDisjunction", DB.Object<{
|
|
97
|
+
list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
|
|
98
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
99
|
+
Hide: DB.EnumCase<null>;
|
|
100
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
101
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
102
|
+
Standalone: DB.EnumCase<null>;
|
|
103
|
+
Connected: DB.EnumCase<null>;
|
|
104
|
+
}, []>>, false>;
|
|
105
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
106
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
107
|
+
}>, true>;
|
|
108
|
+
}>, []>>>;
|
|
109
|
+
}, []>>, false>;
|
|
110
|
+
}>, [T: DB.Param<"T", DB.Type>]>>>;
|
|
111
|
+
Group: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteGroup", DB.Object<{
|
|
112
|
+
list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
|
|
113
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"PrerequisiteGroupTranslation", {
|
|
114
|
+
text: DB.MemberDecl<DB.String, true>;
|
|
115
|
+
}>, true>;
|
|
116
|
+
}>, [T: DB.Param<"T", DB.Type>]>>>;
|
|
117
|
+
}, [T: DB.Param<"T", DB.Type>]>>>, [T: DB.Param<"T", DB.Type>]>>, []>>, false>;
|
|
94
118
|
src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
|
|
95
119
|
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
96
120
|
occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
|
|
@@ -28,6 +28,30 @@ export declare const CeremonialItem: DB.Entity<"CeremonialItem", {
|
|
|
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, {
|
|
@@ -28,6 +28,30 @@ export declare const Clothes: DB.Entity<"Clothes", {
|
|
|
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, {
|
|
@@ -28,6 +28,30 @@ export declare const Container: DB.Entity<"Container", {
|
|
|
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, {
|
|
@@ -28,6 +28,30 @@ export declare const IlluminationLightSource: DB.Entity<"IlluminationLightSource
|
|
|
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, {
|
|
@@ -28,6 +28,30 @@ export declare const IlluminationRefillOrSupply: DB.Entity<"IlluminationRefillOr
|
|
|
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, {
|
|
@@ -29,6 +29,30 @@ export declare const Item: DB.Entity<"Item", {
|
|
|
29
29
|
Simple: DB.EnumCase<null>;
|
|
30
30
|
Complex: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ComplexComplexity", DB.Object<{
|
|
31
31
|
ap_value: DB.MemberDecl<DB.Integer, true>;
|
|
32
|
+
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", {
|
|
33
|
+
Single: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
34
|
+
Disjunction: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesDisjunction", DB.Object<{
|
|
35
|
+
list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
|
|
36
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
37
|
+
Hide: DB.EnumCase<null>;
|
|
38
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
39
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
40
|
+
Standalone: DB.EnumCase<null>;
|
|
41
|
+
Connected: DB.EnumCase<null>;
|
|
42
|
+
}, []>>, false>;
|
|
43
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
44
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
45
|
+
}>, true>;
|
|
46
|
+
}>, []>>>;
|
|
47
|
+
}, []>>, false>;
|
|
48
|
+
}>, [T: DB.Param<"T", DB.Type>]>>>;
|
|
49
|
+
Group: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteGroup", DB.Object<{
|
|
50
|
+
list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
|
|
51
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"PrerequisiteGroupTranslation", {
|
|
52
|
+
text: DB.MemberDecl<DB.String, true>;
|
|
53
|
+
}>, true>;
|
|
54
|
+
}>, [T: DB.Param<"T", DB.Type>]>>>;
|
|
55
|
+
}, [T: DB.Param<"T", DB.Type>]>>>, [T: DB.Param<"T", DB.Type>]>>, []>>, false>;
|
|
32
56
|
src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
|
|
33
57
|
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
34
58
|
occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
|
|
@@ -15,6 +15,30 @@ export declare const Jewelry: DB.Entity<"Jewelry", {
|
|
|
15
15
|
Simple: DB.EnumCase<null>;
|
|
16
16
|
Complex: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ComplexComplexity", DB.Object<{
|
|
17
17
|
ap_value: DB.MemberDecl<DB.Integer, true>;
|
|
18
|
+
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", {
|
|
19
|
+
Single: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
20
|
+
Disjunction: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisitesDisjunction", DB.Object<{
|
|
21
|
+
list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
|
|
22
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
23
|
+
Hide: DB.EnumCase<null>;
|
|
24
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
25
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
26
|
+
Standalone: DB.EnumCase<null>;
|
|
27
|
+
Connected: DB.EnumCase<null>;
|
|
28
|
+
}, []>>, false>;
|
|
29
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
30
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
31
|
+
}>, true>;
|
|
32
|
+
}>, []>>>;
|
|
33
|
+
}, []>>, false>;
|
|
34
|
+
}>, [T: DB.Param<"T", DB.Type>]>>>;
|
|
35
|
+
Group: DB.EnumCase<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"PrerequisiteGroup", DB.Object<{
|
|
36
|
+
list: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"T", DB.Type>>>, true>;
|
|
37
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"PrerequisiteGroupTranslation", {
|
|
38
|
+
text: DB.MemberDecl<DB.String, true>;
|
|
39
|
+
}>, true>;
|
|
40
|
+
}>, [T: DB.Param<"T", DB.Type>]>>>;
|
|
41
|
+
}, [T: DB.Param<"T", DB.Type>]>>>, [T: DB.Param<"T", DB.Type>]>>, []>>, false>;
|
|
18
42
|
src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
|
|
19
43
|
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
20
44
|
occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
|