@optolith/database-schema 0.47.2 → 0.47.4
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 +20 -0
- package/gen/types.d.ts +230 -96
- package/lib/types/Culture.d.ts +4 -0
- package/lib/types/Culture.js +10 -0
- package/lib/types/Profession.js +1 -1
- package/lib/types/Race.d.ts +100 -52
- package/lib/types/Race.js +13 -4
- package/lib/types/Skill.d.ts +123 -0
- package/lib/types/Skill.js +2 -1
- package/lib/types/_ActivatableNonMundane.d.ts +4 -0
- package/lib/types/_ActivatableNonMundane.js +4 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/AttireEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/Beutelzauber.d.ts +4 -0
- package/lib/types/traditionArtifacts/Beutelzauber.js +5 -18
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/BowlEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +4 -0
- package/lib/types/traditionArtifacts/DaggerRitual.js +5 -18
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/Haubenzauber.d.ts +4 -0
- package/lib/types/traditionArtifacts/Haubenzauber.js +5 -18
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +4 -0
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +5 -18
- package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +4 -0
- package/lib/types/traditionArtifacts/Kristallkugelzauber.js +5 -18
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/OrbEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/RingEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +4 -0
- package/lib/types/traditionArtifacts/SickleRitual.js +5 -18
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/StaffEnchantment.js +5 -23
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/ToyEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +4 -0
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +5 -18
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/WandEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +4 -0
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +5 -18
- package/lib/types/traditionArtifacts/_shared.d.ts +19 -0
- package/lib/types/traditionArtifacts/_shared.js +20 -0
- package/package.json +1 -1
package/lib/types/Race.d.ts
CHANGED
|
@@ -39,19 +39,59 @@ export declare const Race: DB.Entity<"Race", {
|
|
|
39
39
|
common_cultures: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, false>;
|
|
40
40
|
automatic_advantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"AutomaticAdvantageDisadvantage", DB.Object<{
|
|
41
41
|
id: DB.MemberDecl<DB.TypeArgument<DB.Param<"Identifier", DB.Type>>, true>;
|
|
42
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
43
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"RequirableSelectOptionIdentifier", {
|
|
44
|
+
General: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
45
|
+
Race: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
46
|
+
Skill: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
47
|
+
SkillApplication: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
48
|
+
CloseCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
49
|
+
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
50
|
+
Property: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
51
|
+
Aspect: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
52
|
+
Disease: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
53
|
+
Poison: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
54
|
+
Language: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
55
|
+
AnimalShape: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
56
|
+
LiturgicalChant: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
57
|
+
Ceremony: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
58
|
+
Spell: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
59
|
+
Ritual: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
60
|
+
TradeSecret: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
61
|
+
ArcaneBardTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
62
|
+
ArcaneDancerTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
63
|
+
Element: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
64
|
+
}, []>>>, false>;
|
|
42
65
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, false>;
|
|
43
66
|
automatic_disadvantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"AutomaticAdvantageDisadvantage", DB.Object<{
|
|
44
67
|
id: DB.MemberDecl<DB.TypeArgument<DB.Param<"Identifier", DB.Type>>, true>;
|
|
68
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
69
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"RequirableSelectOptionIdentifier", {
|
|
70
|
+
General: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
71
|
+
Race: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
72
|
+
Skill: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
73
|
+
SkillApplication: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
74
|
+
CloseCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
75
|
+
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
76
|
+
Property: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
77
|
+
Aspect: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
78
|
+
Disease: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
79
|
+
Poison: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
80
|
+
Language: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
81
|
+
AnimalShape: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
82
|
+
LiturgicalChant: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
83
|
+
Ceremony: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
84
|
+
Spell: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
85
|
+
Ritual: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
86
|
+
TradeSecret: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
87
|
+
ArcaneBardTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
88
|
+
ArcaneDancerTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
89
|
+
Element: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
90
|
+
}, []>>>, false>;
|
|
45
91
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, false>;
|
|
46
|
-
strongly_recommended_advantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"
|
|
92
|
+
strongly_recommended_advantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"AutomaticAdvantageDisadvantage", DB.Object<{
|
|
47
93
|
id: DB.MemberDecl<DB.TypeArgument<DB.Param<"Identifier", DB.Type>>, true>;
|
|
48
|
-
level: DB.MemberDecl<DB.
|
|
49
|
-
Constant: DB.EnumCase<DB.Integer>;
|
|
50
|
-
Range: DB.EnumCase<DB.Object<{
|
|
51
|
-
min: DB.MemberDecl<DB.Integer, true>;
|
|
52
|
-
max: DB.MemberDecl<DB.Integer, true>;
|
|
53
|
-
}>>;
|
|
54
|
-
}, []>>, false>;
|
|
94
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
55
95
|
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"RequirableSelectOptionIdentifier", {
|
|
56
96
|
General: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
57
97
|
Race: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
@@ -74,21 +114,10 @@ export declare const Race: DB.Entity<"Race", {
|
|
|
74
114
|
ArcaneDancerTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
75
115
|
Element: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
76
116
|
}, []>>>, false>;
|
|
77
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"CommonnessRatedAdvantageDisadvantageTranslation", {
|
|
78
|
-
options: DB.MemberDecl<DB.String, false>;
|
|
79
|
-
note: DB.MemberDecl<DB.String, false>;
|
|
80
|
-
full: DB.MemberDecl<DB.String, false>;
|
|
81
|
-
}>, false>;
|
|
82
117
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, false>;
|
|
83
|
-
strongly_recommended_disadvantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"
|
|
118
|
+
strongly_recommended_disadvantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"AutomaticAdvantageDisadvantage", DB.Object<{
|
|
84
119
|
id: DB.MemberDecl<DB.TypeArgument<DB.Param<"Identifier", DB.Type>>, true>;
|
|
85
|
-
level: DB.MemberDecl<DB.
|
|
86
|
-
Constant: DB.EnumCase<DB.Integer>;
|
|
87
|
-
Range: DB.EnumCase<DB.Object<{
|
|
88
|
-
min: DB.MemberDecl<DB.Integer, true>;
|
|
89
|
-
max: DB.MemberDecl<DB.Integer, true>;
|
|
90
|
-
}>>;
|
|
91
|
-
}, []>>, false>;
|
|
120
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
92
121
|
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"RequirableSelectOptionIdentifier", {
|
|
93
122
|
General: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
94
123
|
Race: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
@@ -111,11 +140,6 @@ export declare const Race: DB.Entity<"Race", {
|
|
|
111
140
|
ArcaneDancerTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
112
141
|
Element: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
113
142
|
}, []>>>, false>;
|
|
114
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"CommonnessRatedAdvantageDisadvantageTranslation", {
|
|
115
|
-
options: DB.MemberDecl<DB.String, false>;
|
|
116
|
-
note: DB.MemberDecl<DB.String, false>;
|
|
117
|
-
full: DB.MemberDecl<DB.String, false>;
|
|
118
|
-
}>, false>;
|
|
119
143
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, false>;
|
|
120
144
|
common_advantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"CommonnessRatedAdvantageDisadvantage", DB.Object<{
|
|
121
145
|
id: DB.MemberDecl<DB.TypeArgument<DB.Param<"Identifier", DB.Type>>, true>;
|
|
@@ -352,19 +376,59 @@ export declare const RaceVariant: DB.Entity<"RaceVariant", {
|
|
|
352
376
|
common_cultures: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, false>;
|
|
353
377
|
automatic_advantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"AutomaticAdvantageDisadvantage", DB.Object<{
|
|
354
378
|
id: DB.MemberDecl<DB.TypeArgument<DB.Param<"Identifier", DB.Type>>, true>;
|
|
379
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
380
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"RequirableSelectOptionIdentifier", {
|
|
381
|
+
General: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
382
|
+
Race: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
383
|
+
Skill: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
384
|
+
SkillApplication: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
385
|
+
CloseCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
386
|
+
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
387
|
+
Property: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
388
|
+
Aspect: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
389
|
+
Disease: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
390
|
+
Poison: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
391
|
+
Language: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
392
|
+
AnimalShape: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
393
|
+
LiturgicalChant: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
394
|
+
Ceremony: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
395
|
+
Spell: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
396
|
+
Ritual: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
397
|
+
TradeSecret: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
398
|
+
ArcaneBardTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
399
|
+
ArcaneDancerTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
400
|
+
Element: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
401
|
+
}, []>>>, false>;
|
|
355
402
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, false>;
|
|
356
403
|
automatic_disadvantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"AutomaticAdvantageDisadvantage", DB.Object<{
|
|
357
404
|
id: DB.MemberDecl<DB.TypeArgument<DB.Param<"Identifier", DB.Type>>, true>;
|
|
405
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
406
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"RequirableSelectOptionIdentifier", {
|
|
407
|
+
General: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
408
|
+
Race: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
409
|
+
Skill: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
410
|
+
SkillApplication: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
411
|
+
CloseCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
412
|
+
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
413
|
+
Property: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
414
|
+
Aspect: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
415
|
+
Disease: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
416
|
+
Poison: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
417
|
+
Language: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
418
|
+
AnimalShape: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
419
|
+
LiturgicalChant: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
420
|
+
Ceremony: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
421
|
+
Spell: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
422
|
+
Ritual: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
423
|
+
TradeSecret: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
424
|
+
ArcaneBardTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
425
|
+
ArcaneDancerTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
426
|
+
Element: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
427
|
+
}, []>>>, false>;
|
|
358
428
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, false>;
|
|
359
|
-
strongly_recommended_advantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"
|
|
429
|
+
strongly_recommended_advantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"AutomaticAdvantageDisadvantage", DB.Object<{
|
|
360
430
|
id: DB.MemberDecl<DB.TypeArgument<DB.Param<"Identifier", DB.Type>>, true>;
|
|
361
|
-
level: DB.MemberDecl<DB.
|
|
362
|
-
Constant: DB.EnumCase<DB.Integer>;
|
|
363
|
-
Range: DB.EnumCase<DB.Object<{
|
|
364
|
-
min: DB.MemberDecl<DB.Integer, true>;
|
|
365
|
-
max: DB.MemberDecl<DB.Integer, true>;
|
|
366
|
-
}>>;
|
|
367
|
-
}, []>>, false>;
|
|
431
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
368
432
|
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"RequirableSelectOptionIdentifier", {
|
|
369
433
|
General: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
370
434
|
Race: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
@@ -387,21 +451,10 @@ export declare const RaceVariant: DB.Entity<"RaceVariant", {
|
|
|
387
451
|
ArcaneDancerTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
388
452
|
Element: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
389
453
|
}, []>>>, false>;
|
|
390
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"CommonnessRatedAdvantageDisadvantageTranslation", {
|
|
391
|
-
options: DB.MemberDecl<DB.String, false>;
|
|
392
|
-
note: DB.MemberDecl<DB.String, false>;
|
|
393
|
-
full: DB.MemberDecl<DB.String, false>;
|
|
394
|
-
}>, false>;
|
|
395
454
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, false>;
|
|
396
|
-
strongly_recommended_disadvantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"
|
|
455
|
+
strongly_recommended_disadvantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"AutomaticAdvantageDisadvantage", DB.Object<{
|
|
397
456
|
id: DB.MemberDecl<DB.TypeArgument<DB.Param<"Identifier", DB.Type>>, true>;
|
|
398
|
-
level: DB.MemberDecl<DB.
|
|
399
|
-
Constant: DB.EnumCase<DB.Integer>;
|
|
400
|
-
Range: DB.EnumCase<DB.Object<{
|
|
401
|
-
min: DB.MemberDecl<DB.Integer, true>;
|
|
402
|
-
max: DB.MemberDecl<DB.Integer, true>;
|
|
403
|
-
}>>;
|
|
404
|
-
}, []>>, false>;
|
|
457
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
405
458
|
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"RequirableSelectOptionIdentifier", {
|
|
406
459
|
General: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
407
460
|
Race: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
@@ -424,11 +477,6 @@ export declare const RaceVariant: DB.Entity<"RaceVariant", {
|
|
|
424
477
|
ArcaneDancerTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
425
478
|
Element: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
426
479
|
}, []>>>, false>;
|
|
427
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"CommonnessRatedAdvantageDisadvantageTranslation", {
|
|
428
|
-
options: DB.MemberDecl<DB.String, false>;
|
|
429
|
-
note: DB.MemberDecl<DB.String, false>;
|
|
430
|
-
full: DB.MemberDecl<DB.String, false>;
|
|
431
|
-
}>, false>;
|
|
432
480
|
}>, [Identifier: DB.Param<"Identifier", DB.Type>]>>>, false>;
|
|
433
481
|
common_advantages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"CommonnessRatedAdvantageDisadvantage", DB.Object<{
|
|
434
482
|
id: DB.MemberDecl<DB.TypeArgument<DB.Param<"Identifier", DB.Type>>, true>;
|
package/lib/types/Race.js
CHANGED
|
@@ -3,6 +3,7 @@ import * as DB from "tsondb/schema/dsl";
|
|
|
3
3
|
import { CommonnessRatedAdvantageDisadvantage } from "./_CommonnessRatedAdvantageDisadvantage.js";
|
|
4
4
|
import { Dice, DieType } from "./_Dice.js";
|
|
5
5
|
import { AdvantageIdentifier, AttributeIdentifier, CultureIdentifier, DisadvantageIdentifier, EyeColorIdentifier, HairColorIdentifier, RaceIdentifier, } from "./_Identifier.js";
|
|
6
|
+
import { RequirableSelectOptionIdentifier } from "./_IdentifierGroup.js";
|
|
6
7
|
import { calculationContainsRaceBase, DerivedCharacteristic } from "./DerivedCharacteristic.js";
|
|
7
8
|
import { ExperienceLevel } from "./ExperienceLevel.js";
|
|
8
9
|
import { NestedTranslationMap } from "./Locale.js";
|
|
@@ -155,6 +156,14 @@ const AutomaticAdvantageDisadvantage = DB.GenTypeAlias(import.meta.url, {
|
|
|
155
156
|
comment: "The automatic advantage or disadvantage.",
|
|
156
157
|
type: DB.TypeArgument(Identifier),
|
|
157
158
|
}),
|
|
159
|
+
level: DB.Optional({
|
|
160
|
+
comment: "The level of the entry.",
|
|
161
|
+
type: DB.Integer({ minimum: 1 }),
|
|
162
|
+
}),
|
|
163
|
+
options: DB.Optional({
|
|
164
|
+
comment: "Required select options. Order is important. Typically, you only need the first array index, though.",
|
|
165
|
+
type: DB.Array(DB.IncludeIdentifier(RequirableSelectOptionIdentifier), { minItems: 1 }),
|
|
166
|
+
}),
|
|
158
167
|
}),
|
|
159
168
|
});
|
|
160
169
|
const RandomWeightGeneration = DB.TypeAlias(import.meta.url, {
|
|
@@ -214,22 +223,22 @@ export const RaceVariant = DB.Entity(import.meta.url, {
|
|
|
214
223
|
type: DB.Array(CultureIdentifier(), { minItems: 1 }),
|
|
215
224
|
}),
|
|
216
225
|
automatic_advantages: DB.Optional({
|
|
217
|
-
comment: "A list of automatically applied advantages.
|
|
226
|
+
comment: "A list of automatically applied advantages.",
|
|
218
227
|
type: DB.Array(DB.GenIncludeIdentifier(AutomaticAdvantageDisadvantage, [AdvantageIdentifier()]), {
|
|
219
228
|
minItems: 1,
|
|
220
229
|
}),
|
|
221
230
|
}),
|
|
222
231
|
automatic_disadvantages: DB.Optional({
|
|
223
|
-
comment: "A list of automatically applied disadvantages.
|
|
232
|
+
comment: "A list of automatically applied disadvantages.",
|
|
224
233
|
type: DB.Array(DB.GenIncludeIdentifier(AutomaticAdvantageDisadvantage, [DisadvantageIdentifier()]), { minItems: 1 }),
|
|
225
234
|
}),
|
|
226
235
|
strongly_recommended_advantages: DB.Optional({
|
|
227
236
|
comment: "A list of strongly recommended advantages.",
|
|
228
|
-
type: DB.Array(DB.GenIncludeIdentifier(
|
|
237
|
+
type: DB.Array(DB.GenIncludeIdentifier(AutomaticAdvantageDisadvantage, [AdvantageIdentifier()]), { minItems: 1 }),
|
|
229
238
|
}),
|
|
230
239
|
strongly_recommended_disadvantages: DB.Optional({
|
|
231
240
|
comment: "A list of strongly recommended disadvantages.",
|
|
232
|
-
type: DB.Array(DB.GenIncludeIdentifier(
|
|
241
|
+
type: DB.Array(DB.GenIncludeIdentifier(AutomaticAdvantageDisadvantage, [DisadvantageIdentifier()]), { minItems: 1 }),
|
|
233
242
|
}),
|
|
234
243
|
common_advantages: DB.Optional({
|
|
235
244
|
comment: "A list of common advantages.",
|
package/lib/types/Skill.d.ts
CHANGED
|
@@ -12,6 +12,47 @@ export declare const Skill: DB.Entity<"Skill", {
|
|
|
12
12
|
}, []>>, false>;
|
|
13
13
|
explicit: DB.MemberDecl<DB.ChildEntities<DB.Entity<"SkillApplication", {
|
|
14
14
|
parent: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
15
|
+
src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
|
|
16
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
17
|
+
occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
|
|
18
|
+
initial: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"InitialOccurrence", DB.Object<{
|
|
19
|
+
printing: DB.MemberDecl<DB.Integer, false>;
|
|
20
|
+
pages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PageRange", DB.Object<{
|
|
21
|
+
first_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
22
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
23
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
24
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
25
|
+
}, []>>, true>;
|
|
26
|
+
last_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
27
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
28
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
29
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
30
|
+
}, []>>, false>;
|
|
31
|
+
}>, []>>>, true>;
|
|
32
|
+
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
33
|
+
}>, []>>, true>;
|
|
34
|
+
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
35
|
+
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
36
|
+
printing: DB.MemberDecl<DB.Integer, true>;
|
|
37
|
+
pages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PageRange", DB.Object<{
|
|
38
|
+
first_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
39
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
40
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
41
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
42
|
+
}, []>>, true>;
|
|
43
|
+
last_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
44
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
45
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
46
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
47
|
+
}, []>>, false>;
|
|
48
|
+
}>, []>>>, true>;
|
|
49
|
+
}>, []>>>;
|
|
50
|
+
Deprecated: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Deprecation", DB.Object<{
|
|
51
|
+
printing: DB.MemberDecl<DB.Integer, true>;
|
|
52
|
+
}>, []>>>;
|
|
53
|
+
}, []>>>, false>;
|
|
54
|
+
}>, true>;
|
|
55
|
+
}>, []>>>, []>>, false>;
|
|
15
56
|
translations: DB.MemberDecl<DB.NestedEntityMap<"SkillApplicationTranslation", {
|
|
16
57
|
name: DB.MemberDecl<DB.String, true>;
|
|
17
58
|
}>, true>;
|
|
@@ -93,6 +134,47 @@ export declare const Applications: DB.TypeAlias<"Applications", DB.Object<{
|
|
|
93
134
|
}, []>>, false>;
|
|
94
135
|
explicit: DB.MemberDecl<DB.ChildEntities<DB.Entity<"SkillApplication", {
|
|
95
136
|
parent: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
137
|
+
src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
|
|
138
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
139
|
+
occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
|
|
140
|
+
initial: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"InitialOccurrence", DB.Object<{
|
|
141
|
+
printing: DB.MemberDecl<DB.Integer, false>;
|
|
142
|
+
pages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PageRange", DB.Object<{
|
|
143
|
+
first_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
144
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
145
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
146
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
147
|
+
}, []>>, true>;
|
|
148
|
+
last_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
149
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
150
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
151
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
152
|
+
}, []>>, false>;
|
|
153
|
+
}>, []>>>, true>;
|
|
154
|
+
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
155
|
+
}>, []>>, true>;
|
|
156
|
+
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
157
|
+
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
158
|
+
printing: DB.MemberDecl<DB.Integer, true>;
|
|
159
|
+
pages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PageRange", DB.Object<{
|
|
160
|
+
first_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
161
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
162
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
163
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
164
|
+
}, []>>, true>;
|
|
165
|
+
last_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
166
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
167
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
168
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
169
|
+
}, []>>, false>;
|
|
170
|
+
}>, []>>>, true>;
|
|
171
|
+
}>, []>>>;
|
|
172
|
+
Deprecated: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Deprecation", DB.Object<{
|
|
173
|
+
printing: DB.MemberDecl<DB.Integer, true>;
|
|
174
|
+
}>, []>>>;
|
|
175
|
+
}, []>>>, false>;
|
|
176
|
+
}>, true>;
|
|
177
|
+
}>, []>>>, []>>, false>;
|
|
96
178
|
translations: DB.MemberDecl<DB.NestedEntityMap<"SkillApplicationTranslation", {
|
|
97
179
|
name: DB.MemberDecl<DB.String, true>;
|
|
98
180
|
}>, true>;
|
|
@@ -105,6 +187,47 @@ export declare const ApplicationCategory: DB.Enum<"ApplicationCategory", {
|
|
|
105
187
|
}, []>;
|
|
106
188
|
export declare const SkillApplication: DB.Entity<"SkillApplication", {
|
|
107
189
|
parent: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
190
|
+
src: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRefs", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationRef", DB.Object<{
|
|
191
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
192
|
+
occurrences: DB.MemberDecl<DB.NestedEntityMap<string, {
|
|
193
|
+
initial: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"InitialOccurrence", DB.Object<{
|
|
194
|
+
printing: DB.MemberDecl<DB.Integer, false>;
|
|
195
|
+
pages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PageRange", DB.Object<{
|
|
196
|
+
first_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
197
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
198
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
199
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
200
|
+
}, []>>, true>;
|
|
201
|
+
last_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
202
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
203
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
204
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
205
|
+
}, []>>, false>;
|
|
206
|
+
}>, []>>>, true>;
|
|
207
|
+
isRemoved: DB.MemberDecl<DB.Boolean, false>;
|
|
208
|
+
}>, []>>, true>;
|
|
209
|
+
revisions: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"Revision", {
|
|
210
|
+
Since: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Since", DB.Object<{
|
|
211
|
+
printing: DB.MemberDecl<DB.Integer, true>;
|
|
212
|
+
pages: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"PageRange", DB.Object<{
|
|
213
|
+
first_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
214
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
215
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
216
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
217
|
+
}, []>>, true>;
|
|
218
|
+
last_page: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Page", {
|
|
219
|
+
InsideCoverFront: DB.EnumCase<null>;
|
|
220
|
+
InsideCoverBack: DB.EnumCase<null>;
|
|
221
|
+
Numbered: DB.EnumCase<DB.Integer>;
|
|
222
|
+
}, []>>, false>;
|
|
223
|
+
}>, []>>>, true>;
|
|
224
|
+
}>, []>>>;
|
|
225
|
+
Deprecated: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"Deprecation", DB.Object<{
|
|
226
|
+
printing: DB.MemberDecl<DB.Integer, true>;
|
|
227
|
+
}>, []>>>;
|
|
228
|
+
}, []>>>, false>;
|
|
229
|
+
}>, true>;
|
|
230
|
+
}>, []>>>, []>>, false>;
|
|
108
231
|
translations: DB.MemberDecl<DB.NestedEntityMap<"SkillApplicationTranslation", {
|
|
109
232
|
name: DB.MemberDecl<DB.String, true>;
|
|
110
233
|
}>, true>;
|
package/lib/types/Skill.js
CHANGED
|
@@ -7,7 +7,7 @@ import { ImprovementCost } from "./_ImprovementCost.js";
|
|
|
7
7
|
import { SkillCheck } from "./_SkillCheck.js";
|
|
8
8
|
import { NestedTranslationMap } from "./Locale.js";
|
|
9
9
|
import { Errata } from "./source/_Erratum.js";
|
|
10
|
-
import { src } from "./source/_PublicationRef.js";
|
|
10
|
+
import { optionalSrc, src } from "./source/_PublicationRef.js";
|
|
11
11
|
export const Skill = DB.Entity(import.meta.url, {
|
|
12
12
|
name: "Skill",
|
|
13
13
|
namePlural: "Skills",
|
|
@@ -109,6 +109,7 @@ export const SkillApplication = DB.Entity(import.meta.url, {
|
|
|
109
109
|
comment: "The skill this application belongs to.",
|
|
110
110
|
type: SkillIdentifier(),
|
|
111
111
|
}),
|
|
112
|
+
src: optionalSrc,
|
|
112
113
|
translations: NestedTranslationMap(DB.Required, "SkillApplication", DB.Object({
|
|
113
114
|
name: DB.Required({
|
|
114
115
|
comment: "The skill application’s name.",
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
3
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
4
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
5
|
+
}>, []>>, false>;
|
|
2
6
|
export declare const cost: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"EnchantmentCost", {
|
|
3
7
|
ArcaneEnergyCost: DB.EnumCase<DB.IncludeIdentifier<[], DB.Enum<"ArcaneEnergyCost", {
|
|
4
8
|
Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedArcaneEnergyCost", DB.Object<{
|
|
@@ -11,6 +11,10 @@ const EnchantmentCost = DB.Enum(import.meta.url, {
|
|
|
11
11
|
BindingCost: DB.EnumCase({ type: DB.IncludeIdentifier(BindingCost) }),
|
|
12
12
|
}),
|
|
13
13
|
});
|
|
14
|
+
export const cost_note = DB.Optional({
|
|
15
|
+
comment: "A note, appended to the generated cost string in parenthesis.",
|
|
16
|
+
type: DB.IncludeIdentifier(ResponsiveTextOptional),
|
|
17
|
+
});
|
|
14
18
|
export const cost = DB.Optional({
|
|
15
19
|
comment: "The cost when casting the entry.",
|
|
16
20
|
type: DB.IncludeIdentifier(EnchantmentCost),
|
|
@@ -1269,6 +1269,10 @@ export declare const ArcaneOrbEnchantment: DB.Entity<"ArcaneOrbEnchantment", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const ArcaneOrbEnchantment = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "ArcaneOrbEnchantment",
|
|
13
12
|
namePlural: "ArcaneOrbEnchantments",
|
|
@@ -25,19 +24,7 @@ export const ArcaneOrbEnchantment = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("ArcaneOrbEnchantment"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const AttireEnchantment: DB.Entity<"AttireEnchantment", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const AttireEnchantment = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "AttireEnchantment",
|
|
13
12
|
namePlural: "AttireEnchantments",
|
|
@@ -25,19 +24,7 @@ export const AttireEnchantment = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("AttireEnchantment"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const Beutelzauber: DB.Entity<"Beutelzauber", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import {
|
|
3
|
-
import { ap_value
|
|
2
|
+
import { levels, maximum } from "../_Activatable.js";
|
|
3
|
+
import { ap_value } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
|
-
import {
|
|
5
|
+
import { cost, property, volume } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
|
-
import { NestedTranslationMap } from "../Locale.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
8
|
import { src } from "../source/_PublicationRef.js";
|
|
9
|
+
import { translations } from "./_shared.js";
|
|
11
10
|
export const Beutelzauber = DB.Entity(import.meta.url, {
|
|
12
11
|
name: "Beutelzauber",
|
|
13
12
|
namePlural: "Beutelzauber",
|
|
@@ -25,19 +24,7 @@ export const Beutelzauber = DB.Entity(import.meta.url, {
|
|
|
25
24
|
property: property(),
|
|
26
25
|
ap_value,
|
|
27
26
|
src,
|
|
28
|
-
translations:
|
|
29
|
-
name,
|
|
30
|
-
name_in_library,
|
|
31
|
-
effect,
|
|
32
|
-
bindingCost,
|
|
33
|
-
aeCost,
|
|
34
|
-
volume: volume_l10n,
|
|
35
|
-
ap_value_append,
|
|
36
|
-
ap_value: ap_value_l10n,
|
|
37
|
-
errata: DB.Optional({
|
|
38
|
-
type: DB.IncludeIdentifier(Errata),
|
|
39
|
-
}),
|
|
40
|
-
})),
|
|
27
|
+
translations: translations("Beutelzauber"),
|
|
41
28
|
}),
|
|
42
29
|
instanceDisplayName: {},
|
|
43
30
|
uniqueConstraints: [
|
|
@@ -1269,6 +1269,10 @@ export declare const BowlEnchantment: DB.Entity<"BowlEnchantment", {
|
|
|
1269
1269
|
name: DB.MemberDecl<DB.String, true>;
|
|
1270
1270
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1271
1271
|
effect: DB.MemberDecl<DB.String, true>;
|
|
1272
|
+
cost_note: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1273
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1274
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1275
|
+
}>, []>>, false>;
|
|
1272
1276
|
bindingCost: DB.MemberDecl<DB.String, false>;
|
|
1273
1277
|
aeCost: DB.MemberDecl<DB.String, false>;
|
|
1274
1278
|
volume: DB.MemberDecl<DB.String, false>;
|