@optolith/database-schema 0.62.0 → 0.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/gen/types.d.ts +156 -100
- package/lib/types/Advantage.d.ts +24 -1
- package/lib/types/Ceremony.d.ts +20 -68
- package/lib/types/Disadvantage.d.ts +24 -1
- package/lib/types/LiturgicalChant.d.ts +20 -68
- package/lib/types/Ritual.d.ts +20 -68
- package/lib/types/Spell.d.ts +20 -68
- package/lib/types/_ActivatableAdventurePointsValue.d.ts +48 -2
- package/lib/types/_ActivatableAdventurePointsValue.js +23 -0
- package/lib/types/_ActivatableNonMundane.d.ts +25 -85
- package/lib/types/_ActivatableSkill.d.ts +50 -170
- package/lib/types/_ActivatableSkillCost.d.ts +25 -85
- package/lib/types/_ActivatableSkillParameterMap.d.ts +40 -17
- package/lib/types/_ActivatableSkillParameterMap.js +40 -23
- package/lib/types/magicalActions/Bannzeichen.d.ts +5 -17
- package/lib/types/magicalActions/GeodeRitual.d.ts +5 -17
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +10 -34
- package/lib/types/prerequisites/DisplayOption.js +1 -1
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/AncestorGlyph.d.ts +24 -1
- package/lib/types/specialAbility/BlessedTradition.d.ts +24 -1
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/LycantropicGift.d.ts +24 -1
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/MagicalSign.d.ts +5 -17
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/MagicalTradition.d.ts +24 -1
- package/lib/types/specialAbility/PactGift.d.ts +25 -1
- package/lib/types/specialAbility/PactGift.js +13 -5
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/Sermon.d.ts +24 -1
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +24 -1
- package/lib/types/specialAbility/VampiricGift.d.ts +24 -1
- package/lib/types/specialAbility/Vision.d.ts +24 -1
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +24 -1
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/Beutelzauber.d.ts +39 -52
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +39 -52
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/Haubenzauber.d.ts +39 -52
- package/lib/types/traditionArtifacts/Hauerkettenzauber.d.ts +39 -52
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/Keulenzauber.d.ts +39 -52
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +39 -52
- package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +39 -52
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/Schweinetrommelzauber.d.ts +39 -52
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +39 -52
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +39 -52
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +39 -52
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +34 -35
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +39 -52
- package/package.json +1 -1
|
@@ -122,25 +122,13 @@ export declare const OneTimeCost: DB.Enum<"OneTimeCost", {
|
|
|
122
122
|
}, []>>>, []>>>;
|
|
123
123
|
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.Enum<"OneTimeCostMap", {
|
|
124
124
|
Modifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ModifiableOneTimeCostMap", DB.Object<{
|
|
125
|
-
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
126
|
-
options: DB.MemberDecl<DB.Array<DB.
|
|
127
|
-
|
|
128
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
129
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
130
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
131
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
132
|
-
}>, []>>, true>;
|
|
133
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
134
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
135
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
136
|
-
}>, []>>, false>;
|
|
137
|
-
}>, false>;
|
|
138
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
139
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
125
|
+
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
126
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
127
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
140
128
|
Compressed: DB.EnumCase<null>;
|
|
141
129
|
Verbose: DB.EnumCase<null>;
|
|
142
130
|
}, []>>, true>;
|
|
143
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
131
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
144
132
|
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
145
133
|
full: DB.MemberDecl<DB.String, true>;
|
|
146
134
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
@@ -154,28 +142,16 @@ export declare const OneTimeCost: DB.Enum<"OneTimeCost", {
|
|
|
154
142
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
155
143
|
}>, []>>, false>;
|
|
156
144
|
}>, false>;
|
|
157
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
145
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
158
146
|
}>, []>>>;
|
|
159
147
|
NonModifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"NonModifiableOneTimeCostMap", DB.Object<{
|
|
160
|
-
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
161
|
-
options: DB.MemberDecl<DB.Array<DB.
|
|
162
|
-
|
|
163
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
164
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
165
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
166
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
167
|
-
}>, []>>, true>;
|
|
168
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
169
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
170
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
171
|
-
}>, []>>, false>;
|
|
172
|
-
}>, false>;
|
|
173
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
174
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
148
|
+
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
149
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
150
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
175
151
|
Compressed: DB.EnumCase<null>;
|
|
176
152
|
Verbose: DB.EnumCase<null>;
|
|
177
153
|
}, []>>, true>;
|
|
178
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
154
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
179
155
|
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
180
156
|
full: DB.MemberDecl<DB.String, true>;
|
|
181
157
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
@@ -189,7 +165,7 @@ export declare const OneTimeCost: DB.Enum<"OneTimeCost", {
|
|
|
189
165
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
190
166
|
}>, []>>, false>;
|
|
191
167
|
}>, false>;
|
|
192
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
168
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
193
169
|
}>, []>>>;
|
|
194
170
|
}, []>>>;
|
|
195
171
|
}, []>;
|
|
@@ -303,25 +279,13 @@ export declare const SustainedCost: DB.Enum<"SustainedCost", {
|
|
|
303
279
|
}, []>>>;
|
|
304
280
|
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.Enum<"SustainedCostMap", {
|
|
305
281
|
Modifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ModifiableSustainedCostMap", DB.Object<{
|
|
306
|
-
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
307
|
-
options: DB.MemberDecl<DB.Array<DB.
|
|
308
|
-
|
|
309
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
310
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
311
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
312
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
313
|
-
}>, []>>, true>;
|
|
314
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
315
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
316
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
317
|
-
}>, []>>, false>;
|
|
318
|
-
}>, false>;
|
|
319
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
320
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
282
|
+
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
283
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
284
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
321
285
|
Compressed: DB.EnumCase<null>;
|
|
322
286
|
Verbose: DB.EnumCase<null>;
|
|
323
287
|
}, []>>, true>;
|
|
324
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
288
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
325
289
|
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
326
290
|
full: DB.MemberDecl<DB.String, true>;
|
|
327
291
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
@@ -335,7 +299,7 @@ export declare const SustainedCost: DB.Enum<"SustainedCost", {
|
|
|
335
299
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
336
300
|
}>, []>>, false>;
|
|
337
301
|
}>, false>;
|
|
338
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
302
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
339
303
|
interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"DurationUnitValue", DB.Object<{
|
|
340
304
|
value: DB.MemberDecl<DB.Integer, true>;
|
|
341
305
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
@@ -364,25 +328,13 @@ export declare const SustainedCost: DB.Enum<"SustainedCost", {
|
|
|
364
328
|
}>, []>>, true>;
|
|
365
329
|
}>, []>>>;
|
|
366
330
|
NonModifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"NonModifiableSustainedCostMap", DB.Object<{
|
|
367
|
-
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
368
|
-
options: DB.MemberDecl<DB.Array<DB.
|
|
369
|
-
|
|
370
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
371
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
372
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
373
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
374
|
-
}>, []>>, true>;
|
|
375
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
376
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
377
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
378
|
-
}>, []>>, false>;
|
|
379
|
-
}>, false>;
|
|
380
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
381
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
331
|
+
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
332
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
333
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
382
334
|
Compressed: DB.EnumCase<null>;
|
|
383
335
|
Verbose: DB.EnumCase<null>;
|
|
384
336
|
}, []>>, true>;
|
|
385
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
337
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
386
338
|
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
387
339
|
full: DB.MemberDecl<DB.String, true>;
|
|
388
340
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
@@ -396,7 +348,7 @@ export declare const SustainedCost: DB.Enum<"SustainedCost", {
|
|
|
396
348
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
397
349
|
}>, []>>, false>;
|
|
398
350
|
}>, false>;
|
|
399
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
351
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
400
352
|
interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"DurationUnitValue", DB.Object<{
|
|
401
353
|
value: DB.MemberDecl<DB.Integer, true>;
|
|
402
354
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
@@ -468,25 +420,13 @@ export declare const NonModifiableSustainedCost: DB.TypeAlias<"NonModifiableSust
|
|
|
468
420
|
/**
|
|
469
421
|
* Based on the cost map, but for other entries that do not care about modifiability and one-time/sustained differences.
|
|
470
422
|
*/
|
|
471
|
-
export declare const StandaloneCostMap: DB.TypeAlias<"StandaloneCostMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
472
|
-
options: DB.MemberDecl<DB.Array<DB.
|
|
473
|
-
|
|
474
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
475
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
476
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
477
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
478
|
-
}>, []>>, true>;
|
|
479
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
480
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
481
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
482
|
-
}>, []>>, false>;
|
|
483
|
-
}>, false>;
|
|
484
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
485
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
423
|
+
export declare const StandaloneCostMap: DB.TypeAlias<"StandaloneCostMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
424
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
425
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
486
426
|
Compressed: DB.EnumCase<null>;
|
|
487
427
|
Verbose: DB.EnumCase<null>;
|
|
488
428
|
}, []>>, true>;
|
|
489
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
429
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
490
430
|
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
491
431
|
full: DB.MemberDecl<DB.String, true>;
|
|
492
432
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
@@ -500,4 +440,4 @@ export declare const StandaloneCostMap: DB.TypeAlias<"StandaloneCostMap", DB.Inc
|
|
|
500
440
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
501
441
|
}>, []>>, false>;
|
|
502
442
|
}>, false>;
|
|
503
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>, []>;
|
|
443
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, [Value: DB.Param<"Value", DB.Type>]>>, []>;
|
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
export declare const
|
|
3
|
-
options: DB.MemberDecl<DB.Array<DB.
|
|
4
|
-
|
|
5
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
6
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
7
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
8
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
9
|
-
}>, []>>, true>;
|
|
10
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
11
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
12
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
13
|
-
}>, []>>, false>;
|
|
14
|
-
}>, false>;
|
|
15
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
16
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
2
|
+
export declare const ValueMap: DB.TypeAlias<"ValueMap", DB.Object<{
|
|
3
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
4
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
17
5
|
Compressed: DB.EnumCase<null>;
|
|
18
6
|
Verbose: DB.EnumCase<null>;
|
|
19
7
|
}, []>>, true>;
|
|
20
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
8
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
21
9
|
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
22
10
|
full: DB.MemberDecl<DB.String, true>;
|
|
23
11
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
@@ -31,4 +19,39 @@ export declare const ParameterMap: DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
|
31
19
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
32
20
|
}>, []>>, false>;
|
|
33
21
|
}>, false>;
|
|
34
|
-
}>, [
|
|
22
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>;
|
|
23
|
+
export declare const ParameterMap: DB.TypeAlias<"ParameterMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
24
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
25
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
26
|
+
Compressed: DB.EnumCase<null>;
|
|
27
|
+
Verbose: DB.EnumCase<null>;
|
|
28
|
+
}, []>>, true>;
|
|
29
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
30
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
31
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
32
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
33
|
+
}>, []>>, false>;
|
|
34
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
35
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
36
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
37
|
+
}>, []>>, false>;
|
|
38
|
+
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
39
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
40
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
41
|
+
}>, []>>, false>;
|
|
42
|
+
}>, false>;
|
|
43
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, [Value: DB.Param<"Value", DB.Type>]>;
|
|
44
|
+
export declare const createValueMapOption: <N extends string, Params extends DB.TypeParameter[], V extends {
|
|
45
|
+
[key: string]: DB.MemberDecl;
|
|
46
|
+
}>(name: N, parameters: Params, getOptionValues: (...params: Params) => V, includeStandaloneLabel?: boolean) => DB.TypeAlias<N, DB.Object<V & {
|
|
47
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<`${N}Translation`, {
|
|
48
|
+
standaloneLabel?: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
49
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
50
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
51
|
+
}>, []>>, false> | undefined;
|
|
52
|
+
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
53
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
54
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
55
|
+
}>, []>>, true>;
|
|
56
|
+
}>, true>;
|
|
57
|
+
}>, Params>;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { ResponsiveTextOptional } from "./_ResponsiveText.js";
|
|
3
3
|
import { NestedTranslationMap } from "./Locale.js";
|
|
4
|
-
export const
|
|
5
|
-
name: "
|
|
6
|
-
parameters: [DB.Param("
|
|
4
|
+
export const ValueMap = DB.GenTypeAlias(import.meta.url, {
|
|
5
|
+
name: "ValueMap",
|
|
6
|
+
parameters: [DB.Param("Option")],
|
|
7
7
|
comment: `A content that is \`2/4/8/16 AE (activation) + 1/2/4/8 per 5 minutes for an item the size of a cup/chest/door/castle gate\` can be represented as a cost map.
|
|
8
8
|
|
|
9
9
|
The \`an item the size of a\` would be the *list prefix* string, while the list of options would contain four options with the activation cost and the name.`,
|
|
10
|
-
type:
|
|
10
|
+
type: Option => DB.Object({
|
|
11
11
|
options: DB.Required({
|
|
12
12
|
comment: "The possible values and associated labels.",
|
|
13
|
-
type: DB.Array(DB.
|
|
13
|
+
type: DB.Array(DB.TypeArgument(Option), {
|
|
14
14
|
minItems: 2,
|
|
15
15
|
}),
|
|
16
16
|
}),
|
|
17
17
|
style: DB.Required({
|
|
18
18
|
comment: "The style of the generated string. It may either be displayed in a compressed way (e.g. `1/2/3 AE for a small/medium/large object`) or in a verbose way (e.g. `1 AE for a small object, 2 AE for a medium object, 3 AE for a large object`).",
|
|
19
|
-
type: DB.IncludeIdentifier(
|
|
19
|
+
type: DB.IncludeIdentifier(ValueMapStyle),
|
|
20
20
|
}),
|
|
21
|
-
translations: NestedTranslationMap(DB.Optional, "
|
|
21
|
+
translations: NestedTranslationMap(DB.Optional, "ValueMap", DB.Object({
|
|
22
22
|
listPrefix: DB.Optional({
|
|
23
23
|
comment: "Place a string between the `for` and the grouped map option labels.",
|
|
24
24
|
type: DB.IncludeIdentifier(ResponsiveTextOptional),
|
|
@@ -28,37 +28,54 @@ The \`an item the size of a\` would be the *list prefix* string, while the list
|
|
|
28
28
|
type: DB.IncludeIdentifier(ResponsiveTextOptional),
|
|
29
29
|
}),
|
|
30
30
|
replacement: DB.Optional({
|
|
31
|
-
comment: "If the string from the book cannot be generated using the default generation technique, use this string. All options still need to be inserted
|
|
31
|
+
comment: "If the string from the book cannot be generated using the default generation technique, use this string. All options still need to be inserted properly, since it may be used by in-game tools to provide a selection to players.",
|
|
32
32
|
type: DB.IncludeIdentifier(ResponsiveTextOptional),
|
|
33
33
|
}),
|
|
34
34
|
}, { minProperties: 1 })),
|
|
35
35
|
}),
|
|
36
36
|
});
|
|
37
|
-
const
|
|
38
|
-
name: "
|
|
37
|
+
export const ParameterMap = DB.GenTypeAlias(import.meta.url, {
|
|
38
|
+
name: "ParameterMap",
|
|
39
|
+
parameters: [DB.Param("Value")],
|
|
40
|
+
comment: `A content that is \`2/4/8/16 AE (activation) + 1/2/4/8 per 5 minutes for an item the size of a cup/chest/door/castle gate\` can be represented as a cost map.
|
|
41
|
+
|
|
42
|
+
The \`an item the size of a\` would be the *list prefix* string, while the list of options would contain four options with the activation cost and the name.`,
|
|
43
|
+
type: Value => DB.GenIncludeIdentifier(ValueMap, [
|
|
44
|
+
DB.GenIncludeIdentifier(ParameterMapOption, [DB.TypeArgument(Value)]),
|
|
45
|
+
]),
|
|
46
|
+
});
|
|
47
|
+
const ValueMapStyle = DB.Enum(import.meta.url, {
|
|
48
|
+
name: "ValueMapStyle",
|
|
39
49
|
comment: "The style of the generated string. It may either be displayed in a compressed way (e.g. `1/2/3 AE for a small/medium/large object`) or in a verbose way (e.g. `1 AE for a small object, 2 AE for a medium object, 3 AE for a large object`).",
|
|
40
50
|
values: () => ({
|
|
41
51
|
Compressed: DB.EnumCase({ type: null }),
|
|
42
52
|
Verbose: DB.EnumCase({ type: null }),
|
|
43
53
|
}),
|
|
44
54
|
});
|
|
45
|
-
const
|
|
46
|
-
name
|
|
47
|
-
parameters
|
|
48
|
-
type:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
type: DB.TypeArgument(Value),
|
|
52
|
-
}),
|
|
53
|
-
translations: NestedTranslationMap(DB.Optional, "ParameterMapOption", DB.Object({
|
|
55
|
+
export const createValueMapOption = (name, parameters, getOptionValues, includeStandaloneLabel = true) => DB.GenTypeAlias(import.meta.url, {
|
|
56
|
+
name,
|
|
57
|
+
parameters,
|
|
58
|
+
type: (...params) => DB.Object({
|
|
59
|
+
...getOptionValues(...params),
|
|
60
|
+
translations: NestedTranslationMap(DB.Required, name, DB.Object({
|
|
54
61
|
label: DB.Required({
|
|
55
62
|
comment: "The description of the option for cost string generation.",
|
|
56
63
|
type: DB.IncludeIdentifier(ResponsiveTextOptional),
|
|
57
64
|
}),
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
65
|
+
...(includeStandaloneLabel
|
|
66
|
+
? {
|
|
67
|
+
standaloneLabel: DB.Optional({
|
|
68
|
+
comment: "The description of the option if used standalone (e.g. in an in-game tool where you can select how many AE you have to pay). Only used if different from `label`.",
|
|
69
|
+
type: DB.IncludeIdentifier(ResponsiveTextOptional),
|
|
70
|
+
}),
|
|
71
|
+
}
|
|
72
|
+
: undefined),
|
|
62
73
|
})),
|
|
63
74
|
}),
|
|
64
75
|
});
|
|
76
|
+
const ParameterMapOption = createValueMapOption("ParameterMapOption", [DB.Param("Value")], Value => ({
|
|
77
|
+
value: DB.Required({
|
|
78
|
+
comment: "The value this option represents. If used for sustained cost, the interval cost is always half of this value.",
|
|
79
|
+
type: DB.TypeArgument(Value),
|
|
80
|
+
}),
|
|
81
|
+
}));
|
|
@@ -51,25 +51,13 @@ export declare const Bannzeichen: DB.Entity<"Bannzeichen", {
|
|
|
51
51
|
}>, false>;
|
|
52
52
|
}>, []>>>, true>;
|
|
53
53
|
}>, []>>>;
|
|
54
|
-
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"StandaloneCostMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
55
|
-
options: DB.MemberDecl<DB.Array<DB.
|
|
56
|
-
|
|
57
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
58
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
59
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
60
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
61
|
-
}>, []>>, true>;
|
|
62
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
63
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
64
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
65
|
-
}>, []>>, false>;
|
|
66
|
-
}>, false>;
|
|
67
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
68
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
54
|
+
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"StandaloneCostMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
55
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
56
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
69
57
|
Compressed: DB.EnumCase<null>;
|
|
70
58
|
Verbose: DB.EnumCase<null>;
|
|
71
59
|
}, []>>, true>;
|
|
72
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
60
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
73
61
|
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
74
62
|
full: DB.MemberDecl<DB.String, true>;
|
|
75
63
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
@@ -83,7 +71,7 @@ export declare const Bannzeichen: DB.Entity<"Bannzeichen", {
|
|
|
83
71
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
84
72
|
}>, []>>, false>;
|
|
85
73
|
}>, false>;
|
|
86
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>, []>>>;
|
|
74
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, [Value: DB.Param<"Value", DB.Type>]>>, []>>>;
|
|
87
75
|
DerivedFromOption: DB.EnumCase<null>;
|
|
88
76
|
}, []>>, true>;
|
|
89
77
|
crafting_time: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"BannzeichenCraftingTime", DB.Object<{
|
|
@@ -19,25 +19,13 @@ export declare const GeodeRitual: DB.Entity<"GeodeRitual", {
|
|
|
19
19
|
Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedGeodeRitualCost", DB.Object<{
|
|
20
20
|
value: DB.MemberDecl<DB.Integer, true>;
|
|
21
21
|
}>, []>>>;
|
|
22
|
-
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"StandaloneCostMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
23
|
-
options: DB.MemberDecl<DB.Array<DB.
|
|
24
|
-
|
|
25
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
26
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
27
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
28
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
29
|
-
}>, []>>, true>;
|
|
30
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
31
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
32
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
33
|
-
}>, []>>, false>;
|
|
34
|
-
}>, false>;
|
|
35
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
36
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
22
|
+
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"StandaloneCostMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
23
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
24
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
37
25
|
Compressed: DB.EnumCase<null>;
|
|
38
26
|
Verbose: DB.EnumCase<null>;
|
|
39
27
|
}, []>>, true>;
|
|
40
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
28
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
41
29
|
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
42
30
|
full: DB.MemberDecl<DB.String, true>;
|
|
43
31
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
@@ -51,7 +39,7 @@ export declare const GeodeRitual: DB.Entity<"GeodeRitual", {
|
|
|
51
39
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
52
40
|
}>, []>>, false>;
|
|
53
41
|
}>, false>;
|
|
54
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>, []>>>;
|
|
42
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, [Value: DB.Param<"Value", DB.Type>]>>, []>>>;
|
|
55
43
|
}, []>>, true>;
|
|
56
44
|
range: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"GeodeRitualRange", {
|
|
57
45
|
Self: DB.EnumCase<null>;
|
|
@@ -135,25 +135,13 @@ export declare const ZibiljaRitual: DB.Entity<"ZibiljaRitual", {
|
|
|
135
135
|
}, []>>>, []>>>;
|
|
136
136
|
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.Enum<"OneTimeCostMap", {
|
|
137
137
|
Modifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ModifiableOneTimeCostMap", DB.Object<{
|
|
138
|
-
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
139
|
-
options: DB.MemberDecl<DB.Array<DB.
|
|
140
|
-
|
|
141
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
142
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
143
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
144
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
145
|
-
}>, []>>, true>;
|
|
146
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
147
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
148
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
149
|
-
}>, []>>, false>;
|
|
150
|
-
}>, false>;
|
|
151
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
152
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
138
|
+
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
139
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
140
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
153
141
|
Compressed: DB.EnumCase<null>;
|
|
154
142
|
Verbose: DB.EnumCase<null>;
|
|
155
143
|
}, []>>, true>;
|
|
156
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
144
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
157
145
|
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
158
146
|
full: DB.MemberDecl<DB.String, true>;
|
|
159
147
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
@@ -167,28 +155,16 @@ export declare const ZibiljaRitual: DB.Entity<"ZibiljaRitual", {
|
|
|
167
155
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
168
156
|
}>, []>>, false>;
|
|
169
157
|
}>, false>;
|
|
170
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
158
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
171
159
|
}>, []>>>;
|
|
172
160
|
NonModifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"NonModifiableOneTimeCostMap", DB.Object<{
|
|
173
|
-
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
174
|
-
options: DB.MemberDecl<DB.Array<DB.
|
|
175
|
-
|
|
176
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
177
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
178
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
179
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
180
|
-
}>, []>>, true>;
|
|
181
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
182
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
183
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
184
|
-
}>, []>>, false>;
|
|
185
|
-
}>, false>;
|
|
186
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
187
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
161
|
+
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
162
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
163
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
188
164
|
Compressed: DB.EnumCase<null>;
|
|
189
165
|
Verbose: DB.EnumCase<null>;
|
|
190
166
|
}, []>>, true>;
|
|
191
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
167
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
192
168
|
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
193
169
|
full: DB.MemberDecl<DB.String, true>;
|
|
194
170
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
@@ -202,7 +178,7 @@ export declare const ZibiljaRitual: DB.Entity<"ZibiljaRitual", {
|
|
|
202
178
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
203
179
|
}>, []>>, false>;
|
|
204
180
|
}>, false>;
|
|
205
|
-
}>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
181
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
206
182
|
}>, []>>>;
|
|
207
183
|
}, []>>>;
|
|
208
184
|
}, []>>, true>;
|
|
@@ -20,7 +20,7 @@ A standalone sentence is connected to the previous prerequisite string with a pe
|
|
|
20
20
|
translations: NestedTranslationMap(DB.Required, "ReplacementDisplayOption", DB.Object({
|
|
21
21
|
replacement: DB.Required({
|
|
22
22
|
comment: "The replacement text.",
|
|
23
|
-
type: DB.String({ minLength: 1 }),
|
|
23
|
+
type: DB.String({ minLength: 1, markdown: "inline" }),
|
|
24
24
|
}),
|
|
25
25
|
})),
|
|
26
26
|
}),
|
|
@@ -1211,7 +1211,30 @@ export declare const AdvancedCombatSpecialAbility: DB.Entity<"AdvancedCombatSpec
|
|
|
1211
1211
|
threshold: DB.MemberDecl<DB.Integer, true>;
|
|
1212
1212
|
alternative: DB.MemberDecl<DB.Integer, true>;
|
|
1213
1213
|
}>, []>>>;
|
|
1214
|
-
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpression", DB.
|
|
1214
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpression", DB.Object<{
|
|
1215
|
+
expression: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpressionExpression", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
1216
|
+
customLabels: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpressionLabels", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
1217
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
1218
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
1219
|
+
Compressed: DB.EnumCase<null>;
|
|
1220
|
+
Verbose: DB.EnumCase<null>;
|
|
1221
|
+
}, []>>, true>;
|
|
1222
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
1223
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1224
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1225
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1226
|
+
}>, []>>, false>;
|
|
1227
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1228
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1229
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1230
|
+
}>, []>>, false>;
|
|
1231
|
+
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1232
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1233
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1234
|
+
}>, []>>, false>;
|
|
1235
|
+
}>, false>;
|
|
1236
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, []>>, false>;
|
|
1237
|
+
}>, []>>>;
|
|
1215
1238
|
}, []>>>;
|
|
1216
1239
|
Indefinite: DB.EnumCase<null>;
|
|
1217
1240
|
}, []>>, true>;
|
|
@@ -1087,7 +1087,30 @@ export declare const AdvancedKarmaSpecialAbility: DB.Entity<"AdvancedKarmaSpecia
|
|
|
1087
1087
|
threshold: DB.MemberDecl<DB.Integer, true>;
|
|
1088
1088
|
alternative: DB.MemberDecl<DB.Integer, true>;
|
|
1089
1089
|
}>, []>>>;
|
|
1090
|
-
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpression", DB.
|
|
1090
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpression", DB.Object<{
|
|
1091
|
+
expression: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpressionExpression", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
1092
|
+
customLabels: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"AdventurePointsDependingOnActiveInstancesExpressionLabels", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ValueMap", DB.Object<{
|
|
1093
|
+
options: DB.MemberDecl<DB.Array<DB.TypeArgument<DB.Param<"Option", DB.Type>>>, true>;
|
|
1094
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ValueMapStyle", {
|
|
1095
|
+
Compressed: DB.EnumCase<null>;
|
|
1096
|
+
Verbose: DB.EnumCase<null>;
|
|
1097
|
+
}, []>>, true>;
|
|
1098
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ValueMapTranslation", {
|
|
1099
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1100
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1101
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1102
|
+
}>, []>>, false>;
|
|
1103
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1104
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1105
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1106
|
+
}>, []>>, false>;
|
|
1107
|
+
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1108
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1109
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
1110
|
+
}>, []>>, false>;
|
|
1111
|
+
}>, false>;
|
|
1112
|
+
}>, [Option: DB.Param<"Option", DB.Type>]>>, []>>, false>;
|
|
1113
|
+
}>, []>>>;
|
|
1091
1114
|
}, []>>>;
|
|
1092
1115
|
Indefinite: DB.EnumCase<null>;
|
|
1093
1116
|
}, []>>, true>;
|