@optolith/database-schema 0.53.0 → 0.54.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 +27 -0
- package/gen/types.d.ts +262 -204
- package/lib/cache/activatableSelectOptions.js +28 -12
- package/lib/types/Blessing.d.ts +10 -0
- package/lib/types/Cantrip.d.ts +10 -0
- package/lib/types/Ceremony.d.ts +294 -125
- package/lib/types/FamiliarsTrick.d.ts +40 -0
- package/lib/types/LiturgicalChant.d.ts +294 -125
- package/lib/types/Locale.d.ts +1 -0
- package/lib/types/Locale.js +1 -0
- package/lib/types/Ritual.d.ts +294 -125
- package/lib/types/Spell.d.ts +294 -125
- package/lib/types/Talisman.d.ts +10 -0
- package/lib/types/_Activatable.d.ts +1 -0
- package/lib/types/_Activatable.js +4 -0
- package/lib/types/_ActivatableCombat.d.ts +5 -1
- package/lib/types/_ActivatableCombat.js +13 -1
- package/lib/types/_ActivatableNonMundane.d.ts +128 -64
- package/lib/types/_ActivatableNonMundane.js +10 -67
- package/lib/types/_ActivatableSelectOptionCategory.js +19 -3
- package/lib/types/_ActivatableSkill.d.ts +680 -284
- package/lib/types/_ActivatableSkillCastingTime.d.ts +30 -0
- package/lib/types/_ActivatableSkillCastingTime.js +20 -0
- package/lib/types/_ActivatableSkillCost.d.ts +288 -186
- package/lib/types/_ActivatableSkillCost.js +109 -110
- package/lib/types/_ActivatableSkillDuration.d.ts +70 -0
- package/lib/types/_ActivatableSkillDuration.js +44 -0
- package/lib/types/_ActivatableSkillParameterMap.d.ts +34 -0
- package/lib/types/_ActivatableSkillParameterMap.js +64 -0
- package/lib/types/equipment/item/HerbalPreservation.d.ts +20 -0
- package/lib/types/magicalActions/AnimistPower.d.ts +50 -0
- package/lib/types/magicalActions/Bannzeichen.d.ts +32 -15
- package/lib/types/magicalActions/Bannzeichen.js +2 -6
- package/lib/types/magicalActions/Curse.d.ts +20 -0
- package/lib/types/magicalActions/DominationRitual.d.ts +20 -0
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +10 -0
- package/lib/types/magicalActions/GeodeRitual.d.ts +28 -13
- package/lib/types/magicalActions/GeodeRitual.js +2 -2
- package/lib/types/magicalActions/GoblinRitual.d.ts +20 -0
- package/lib/types/magicalActions/JesterTrick.d.ts +30 -0
- package/lib/types/magicalActions/MagicalMelody.d.ts +10 -0
- package/lib/types/magicalActions/MagicalRune.d.ts +20 -0
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +92 -34
- package/lib/types/prerequisites/single/PropertyPrerequisite.d.ts +16 -0
- package/lib/types/prerequisites/single/PropertyPrerequisite.js +16 -0
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +2 -2
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +2 -2
- package/lib/types/specialAbility/CombatSpecialAbility.js +2 -2
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -3
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +2 -2
- package/lib/types/specialAbility/CommandSpecialAbility.js +2 -2
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +1 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +2 -1
- package/lib/types/specialAbility/MagicalSign.d.ts +12 -13
- package/lib/types/specialAbility/MagicalSign.js +2 -2
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/Beutelzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +71 -40
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/Haubenzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/Hauerkettenzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/Keulenzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/Schweinetrommelzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +71 -40
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +57 -24
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +71 -40
- package/package.json +8 -8
package/lib/types/Spell.d.ts
CHANGED
|
@@ -134,40 +134,78 @@ export declare const Spell: DB.Entity<"Spell", {
|
|
|
134
134
|
}>, true>;
|
|
135
135
|
}>, []>>>;
|
|
136
136
|
}, []>>>, []>>>;
|
|
137
|
-
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
137
|
+
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.Enum<"OneTimeCostMap", {
|
|
138
|
+
Modifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ModifiableOneTimeCostMap", DB.Object<{
|
|
139
|
+
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
140
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMapOption", DB.Object<{
|
|
141
|
+
value: DB.MemberDecl<DB.TypeArgument<DB.Param<"Value", DB.Type>>, true>;
|
|
142
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
143
|
+
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
144
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
145
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
146
|
+
}>, []>>, true>;
|
|
147
|
+
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
148
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
149
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
150
|
+
}>, []>>, false>;
|
|
151
|
+
}>, false>;
|
|
152
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
153
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
154
|
+
Compressed: DB.EnumCase<null>;
|
|
155
|
+
Verbose: DB.EnumCase<null>;
|
|
156
|
+
}, []>>, true>;
|
|
157
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapTranslation", {
|
|
158
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
159
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
160
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
161
|
+
}>, []>>, false>;
|
|
162
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
163
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
164
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
165
|
+
}>, []>>, false>;
|
|
166
|
+
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
167
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
168
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
169
|
+
}>, []>>, false>;
|
|
170
|
+
}>, false>;
|
|
171
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
172
|
+
}>, []>>>;
|
|
173
|
+
NonModifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"NonModifiableOneTimeCostMap", DB.Object<{
|
|
174
|
+
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
175
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMapOption", DB.Object<{
|
|
176
|
+
value: DB.MemberDecl<DB.TypeArgument<DB.Param<"Value", DB.Type>>, true>;
|
|
177
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
178
|
+
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
179
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
180
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
181
|
+
}>, []>>, true>;
|
|
182
|
+
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
183
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
184
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
185
|
+
}>, []>>, false>;
|
|
186
|
+
}>, false>;
|
|
187
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
188
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
189
|
+
Compressed: DB.EnumCase<null>;
|
|
190
|
+
Verbose: DB.EnumCase<null>;
|
|
191
|
+
}, []>>, true>;
|
|
192
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapTranslation", {
|
|
193
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
194
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
195
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
196
|
+
}>, []>>, false>;
|
|
197
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
198
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
199
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
200
|
+
}>, []>>, false>;
|
|
201
|
+
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
202
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
203
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
204
|
+
}>, []>>, false>;
|
|
205
|
+
}>, false>;
|
|
206
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
207
|
+
}>, []>>>;
|
|
208
|
+
}, []>>>;
|
|
171
209
|
}, []>>, true>;
|
|
172
210
|
range: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"Range", DB.Object<{
|
|
173
211
|
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeValue", {
|
|
@@ -217,6 +255,16 @@ export declare const Spell: DB.Entity<"Spell", {
|
|
|
217
255
|
Centuries: DB.EnumCase<null>;
|
|
218
256
|
Actions: DB.EnumCase<null>;
|
|
219
257
|
CombatRounds: DB.EnumCase<null>;
|
|
258
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
259
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
260
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
261
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
262
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
263
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
264
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
265
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
266
|
+
}>, true>;
|
|
267
|
+
}>, []>>>;
|
|
220
268
|
}, []>>, true>;
|
|
221
269
|
}>, []>>, false>;
|
|
222
270
|
translations: DB.MemberDecl<DB.NestedEntityMap<"ImmediateTranslation", {
|
|
@@ -249,6 +297,16 @@ export declare const Spell: DB.Entity<"Spell", {
|
|
|
249
297
|
Centuries: DB.EnumCase<null>;
|
|
250
298
|
Actions: DB.EnumCase<null>;
|
|
251
299
|
CombatRounds: DB.EnumCase<null>;
|
|
300
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
301
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
302
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
303
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
304
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
305
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
306
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
307
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
308
|
+
}>, true>;
|
|
309
|
+
}>, []>>>;
|
|
252
310
|
}, []>>, true>;
|
|
253
311
|
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
254
312
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
@@ -270,99 +328,200 @@ export declare const Spell: DB.Entity<"Spell", {
|
|
|
270
328
|
Sustained: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FastSustainedPerformanceParameters", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"SustainedPerformanceParameters", DB.Object<{
|
|
271
329
|
casting_time: DB.MemberDecl<DB.TypeArgument<DB.Param<"CastingTime", DB.Type>>, true>;
|
|
272
330
|
cost: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SustainedCost", {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
306
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
307
|
-
Seconds: DB.EnumCase<null>;
|
|
308
|
-
Minutes: DB.EnumCase<null>;
|
|
309
|
-
Hours: DB.EnumCase<null>;
|
|
310
|
-
Days: DB.EnumCase<null>;
|
|
311
|
-
Weeks: DB.EnumCase<null>;
|
|
312
|
-
Months: DB.EnumCase<null>;
|
|
313
|
-
Years: DB.EnumCase<null>;
|
|
314
|
-
Decades: DB.EnumCase<null>;
|
|
315
|
-
Centuries: DB.EnumCase<null>;
|
|
316
|
-
Actions: DB.EnumCase<null>;
|
|
317
|
-
CombatRounds: DB.EnumCase<null>;
|
|
318
|
-
}, []>>, true>;
|
|
319
|
-
}>, []>>, true>;
|
|
320
|
-
}>, []>>>;
|
|
321
|
-
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"SustainedCostMap", DB.Object<{
|
|
322
|
-
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SustainedCostMapOption", DB.Object<{
|
|
323
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
324
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"SustainedCostMapOptionTranslation", {
|
|
325
|
-
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
326
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
327
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
328
|
-
}>, []>>, true>;
|
|
329
|
-
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
330
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
331
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
332
|
-
}>, []>>, false>;
|
|
333
|
-
}>, false>;
|
|
334
|
-
}>, []>>>, true>;
|
|
335
|
-
interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"DurationUnitValue", DB.Object<{
|
|
331
|
+
Single: DB.EnumCase<DB.IncludeIdentifier<[], DB.Enum<"SingleSustainedCost", {
|
|
332
|
+
Modifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ModifiableSustainedCost", DB.Object<{
|
|
333
|
+
initial_modification_level: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
334
|
+
interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"DurationUnitValue", DB.Object<{
|
|
335
|
+
value: DB.MemberDecl<DB.Integer, true>;
|
|
336
|
+
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
337
|
+
Seconds: DB.EnumCase<null>;
|
|
338
|
+
Minutes: DB.EnumCase<null>;
|
|
339
|
+
Hours: DB.EnumCase<null>;
|
|
340
|
+
Days: DB.EnumCase<null>;
|
|
341
|
+
Weeks: DB.EnumCase<null>;
|
|
342
|
+
Months: DB.EnumCase<null>;
|
|
343
|
+
Years: DB.EnumCase<null>;
|
|
344
|
+
Decades: DB.EnumCase<null>;
|
|
345
|
+
Centuries: DB.EnumCase<null>;
|
|
346
|
+
Actions: DB.EnumCase<null>;
|
|
347
|
+
CombatRounds: DB.EnumCase<null>;
|
|
348
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
349
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
350
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
351
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
352
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
353
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
354
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
355
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
356
|
+
}>, true>;
|
|
357
|
+
}>, []>>>;
|
|
358
|
+
}, []>>, true>;
|
|
359
|
+
}>, []>>, true>;
|
|
360
|
+
}>, []>>>;
|
|
361
|
+
NonModifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"NonModifiableSustainedCost", DB.Object<{
|
|
362
|
+
is_minimum: DB.MemberDecl<DB.Boolean, false>;
|
|
336
363
|
value: DB.MemberDecl<DB.Integer, true>;
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
Decades: DB.EnumCase<null>;
|
|
346
|
-
Centuries: DB.EnumCase<null>;
|
|
347
|
-
Actions: DB.EnumCase<null>;
|
|
348
|
-
CombatRounds: DB.EnumCase<null>;
|
|
349
|
-
}, []>>, true>;
|
|
350
|
-
}>, []>>, true>;
|
|
351
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"SustainedCostMapTranslation", {
|
|
352
|
-
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
353
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
354
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
355
|
-
}>, []>>, false>;
|
|
356
|
-
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
357
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
358
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
359
|
-
}>, []>>, false>;
|
|
360
|
-
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
361
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
362
|
-
compressed: DB.MemberDecl<DB.String, false>;
|
|
364
|
+
per: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"NonModifiableSustainedCostPerCountable", DB.Object<{
|
|
365
|
+
minimum_total: DB.MemberDecl<DB.Integer, false>;
|
|
366
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"NonModifiableSustainedCostPerCountableTranslation", {
|
|
367
|
+
countable: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveText", DB.Object<{
|
|
368
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
369
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
370
|
+
}>, []>>, true>;
|
|
371
|
+
}>, true>;
|
|
363
372
|
}>, []>>, false>;
|
|
364
|
-
|
|
365
|
-
|
|
373
|
+
interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"DurationUnitValue", DB.Object<{
|
|
374
|
+
value: DB.MemberDecl<DB.Integer, true>;
|
|
375
|
+
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
376
|
+
Seconds: DB.EnumCase<null>;
|
|
377
|
+
Minutes: DB.EnumCase<null>;
|
|
378
|
+
Hours: DB.EnumCase<null>;
|
|
379
|
+
Days: DB.EnumCase<null>;
|
|
380
|
+
Weeks: DB.EnumCase<null>;
|
|
381
|
+
Months: DB.EnumCase<null>;
|
|
382
|
+
Years: DB.EnumCase<null>;
|
|
383
|
+
Decades: DB.EnumCase<null>;
|
|
384
|
+
Centuries: DB.EnumCase<null>;
|
|
385
|
+
Actions: DB.EnumCase<null>;
|
|
386
|
+
CombatRounds: DB.EnumCase<null>;
|
|
387
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
388
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
389
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
390
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
391
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
392
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
393
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
394
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
395
|
+
}>, true>;
|
|
396
|
+
}>, []>>>;
|
|
397
|
+
}, []>>, true>;
|
|
398
|
+
}>, []>>, true>;
|
|
399
|
+
}>, []>>>;
|
|
400
|
+
}, []>>>;
|
|
401
|
+
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.Enum<"SustainedCostMap", {
|
|
402
|
+
Modifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ModifiableSustainedCostMap", DB.Object<{
|
|
403
|
+
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
404
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMapOption", DB.Object<{
|
|
405
|
+
value: DB.MemberDecl<DB.TypeArgument<DB.Param<"Value", DB.Type>>, true>;
|
|
406
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
407
|
+
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
408
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
409
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
410
|
+
}>, []>>, true>;
|
|
411
|
+
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
412
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
413
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
414
|
+
}>, []>>, false>;
|
|
415
|
+
}>, false>;
|
|
416
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
417
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
418
|
+
Compressed: DB.EnumCase<null>;
|
|
419
|
+
Verbose: DB.EnumCase<null>;
|
|
420
|
+
}, []>>, true>;
|
|
421
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapTranslation", {
|
|
422
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
423
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
424
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
425
|
+
}>, []>>, false>;
|
|
426
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
427
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
428
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
429
|
+
}>, []>>, false>;
|
|
430
|
+
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
431
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
432
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
433
|
+
}>, []>>, false>;
|
|
434
|
+
}>, false>;
|
|
435
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
436
|
+
interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"DurationUnitValue", DB.Object<{
|
|
437
|
+
value: DB.MemberDecl<DB.Integer, true>;
|
|
438
|
+
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
439
|
+
Seconds: DB.EnumCase<null>;
|
|
440
|
+
Minutes: DB.EnumCase<null>;
|
|
441
|
+
Hours: DB.EnumCase<null>;
|
|
442
|
+
Days: DB.EnumCase<null>;
|
|
443
|
+
Weeks: DB.EnumCase<null>;
|
|
444
|
+
Months: DB.EnumCase<null>;
|
|
445
|
+
Years: DB.EnumCase<null>;
|
|
446
|
+
Decades: DB.EnumCase<null>;
|
|
447
|
+
Centuries: DB.EnumCase<null>;
|
|
448
|
+
Actions: DB.EnumCase<null>;
|
|
449
|
+
CombatRounds: DB.EnumCase<null>;
|
|
450
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
451
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
452
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
453
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
454
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
455
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
456
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
457
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
458
|
+
}>, true>;
|
|
459
|
+
}>, []>>>;
|
|
460
|
+
}, []>>, true>;
|
|
461
|
+
}>, []>>, true>;
|
|
462
|
+
}>, []>>>;
|
|
463
|
+
NonModifiable: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"NonModifiableSustainedCostMap", DB.Object<{
|
|
464
|
+
map: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
465
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMapOption", DB.Object<{
|
|
466
|
+
value: DB.MemberDecl<DB.TypeArgument<DB.Param<"Value", DB.Type>>, true>;
|
|
467
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
468
|
+
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
469
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
470
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
471
|
+
}>, []>>, true>;
|
|
472
|
+
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
473
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
474
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
475
|
+
}>, []>>, false>;
|
|
476
|
+
}>, false>;
|
|
477
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
478
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
479
|
+
Compressed: DB.EnumCase<null>;
|
|
480
|
+
Verbose: DB.EnumCase<null>;
|
|
481
|
+
}, []>>, true>;
|
|
482
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapTranslation", {
|
|
483
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
484
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
485
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
486
|
+
}>, []>>, false>;
|
|
487
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
488
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
489
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
490
|
+
}>, []>>, false>;
|
|
491
|
+
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
492
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
493
|
+
compressed: DB.MemberDecl<DB.String, false>;
|
|
494
|
+
}>, []>>, false>;
|
|
495
|
+
}>, false>;
|
|
496
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>, true>;
|
|
497
|
+
interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"DurationUnitValue", DB.Object<{
|
|
498
|
+
value: DB.MemberDecl<DB.Integer, true>;
|
|
499
|
+
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
500
|
+
Seconds: DB.EnumCase<null>;
|
|
501
|
+
Minutes: DB.EnumCase<null>;
|
|
502
|
+
Hours: DB.EnumCase<null>;
|
|
503
|
+
Days: DB.EnumCase<null>;
|
|
504
|
+
Weeks: DB.EnumCase<null>;
|
|
505
|
+
Months: DB.EnumCase<null>;
|
|
506
|
+
Years: DB.EnumCase<null>;
|
|
507
|
+
Decades: DB.EnumCase<null>;
|
|
508
|
+
Centuries: DB.EnumCase<null>;
|
|
509
|
+
Actions: DB.EnumCase<null>;
|
|
510
|
+
CombatRounds: DB.EnumCase<null>;
|
|
511
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
512
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
513
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
514
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
515
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
516
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
517
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
518
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
519
|
+
}>, true>;
|
|
520
|
+
}>, []>>>;
|
|
521
|
+
}, []>>, true>;
|
|
522
|
+
}>, []>>, true>;
|
|
523
|
+
}>, []>>>;
|
|
524
|
+
}, []>>>;
|
|
366
525
|
}, []>>, true>;
|
|
367
526
|
range: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"Range", DB.Object<{
|
|
368
527
|
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeValue", {
|
|
@@ -411,6 +570,16 @@ export declare const Spell: DB.Entity<"Spell", {
|
|
|
411
570
|
Centuries: DB.EnumCase<null>;
|
|
412
571
|
Actions: DB.EnumCase<null>;
|
|
413
572
|
CombatRounds: DB.EnumCase<null>;
|
|
573
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
574
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
575
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
576
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
577
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
578
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
579
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
580
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
581
|
+
}>, true>;
|
|
582
|
+
}>, []>>>;
|
|
414
583
|
}, []>>, true>;
|
|
415
584
|
}>, []>>, true>;
|
|
416
585
|
}>, []>>, false>;
|
package/lib/types/Talisman.d.ts
CHANGED
|
@@ -28,6 +28,16 @@ export declare const Talisman: DB.Entity<"Talisman", {
|
|
|
28
28
|
Centuries: DB.EnumCase<null>;
|
|
29
29
|
Actions: DB.EnumCase<null>;
|
|
30
30
|
CombatRounds: DB.EnumCase<null>;
|
|
31
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
32
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
33
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
34
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
35
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
36
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
37
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
38
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
39
|
+
}>, true>;
|
|
40
|
+
}>, []>>>;
|
|
31
41
|
}, []>>, true>;
|
|
32
42
|
}>, []>>, true>;
|
|
33
43
|
}>, []>>, false>;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as DB from "tsondb/schema/dsl";
|
|
5
5
|
export declare const name: DB.MemberDecl<DB.String, true>;
|
|
6
6
|
export declare const name_in_library: DB.MemberDecl<DB.String, false>;
|
|
7
|
+
export declare const additionalName: DB.MemberDecl<DB.String, false>;
|
|
7
8
|
export declare const levels: DB.MemberDecl<DB.Integer, false>;
|
|
8
9
|
export declare const maximum: DB.MemberDecl<DB.Integer, false>;
|
|
9
10
|
export declare const rules: DB.MemberDecl<DB.String, true>;
|
|
@@ -10,6 +10,10 @@ export const name_in_library = DB.Optional({
|
|
|
10
10
|
comment: "The full name of the entry as stated in the sources. Only use when `name` needs to be different from full name for text generation purposes.",
|
|
11
11
|
type: DB.String({ minLength: 1 }),
|
|
12
12
|
});
|
|
13
|
+
export const additionalName = DB.Optional({
|
|
14
|
+
comment: "A part of the name that is appended in parenthesis. This can be used to specify the group of people that typically uses this entry (e.g. the name of the witch circle for a magic style for witches).\n\nIf `name_in_library` is specified, this will be ignored for places where the `name_in_library` is used.",
|
|
15
|
+
type: DB.String({ minLength: 1 }),
|
|
16
|
+
});
|
|
13
17
|
export const levels = DB.Optional({
|
|
14
18
|
comment: "Number of available levels.",
|
|
15
19
|
type: DB.Integer({ minimum: 2 }),
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const special_ability_usage_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CombatSpecialAbilityUsageType", {
|
|
3
3
|
Passive: DB.EnumCase<null>;
|
|
4
4
|
BasicManeuver: DB.EnumCase<null>;
|
|
5
5
|
SpecialManeuver: DB.EnumCase<null>;
|
|
6
6
|
}, []>>, true>;
|
|
7
|
+
export declare const style_usage_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CombatSpecialAbilityTypeUsageType", {
|
|
8
|
+
Passive: DB.EnumCase<null>;
|
|
9
|
+
Active: DB.EnumCase<null>;
|
|
10
|
+
}, []>>, true>;
|
|
7
11
|
export declare const type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CombatSpecialAbilityType", {
|
|
8
12
|
Armed: DB.EnumCase<null>;
|
|
9
13
|
Unarmed: DB.EnumCase<null>;
|
|
@@ -11,10 +11,22 @@ const CombatSpecialAbilityUsageType = DB.Enum(import.meta.url, {
|
|
|
11
11
|
SpecialManeuver: DB.EnumCase({ type: null }),
|
|
12
12
|
}),
|
|
13
13
|
});
|
|
14
|
-
|
|
14
|
+
const CombatStyleUsageType = DB.Enum(import.meta.url, {
|
|
15
|
+
name: "CombatSpecialAbilityTypeUsageType",
|
|
16
|
+
comment: "The definition of how the combat special ability style can be used in combat.",
|
|
17
|
+
values: () => ({
|
|
18
|
+
Passive: DB.EnumCase({ type: null }),
|
|
19
|
+
Active: DB.EnumCase({ type: null }),
|
|
20
|
+
}),
|
|
21
|
+
});
|
|
22
|
+
export const special_ability_usage_type = DB.Required({
|
|
15
23
|
comment: "The definition of how the combat special ability can be used in combat.",
|
|
16
24
|
type: DB.IncludeIdentifier(CombatSpecialAbilityUsageType),
|
|
17
25
|
});
|
|
26
|
+
export const style_usage_type = DB.Required({
|
|
27
|
+
comment: "The definition of how the combat style can be used in combat.",
|
|
28
|
+
type: DB.IncludeIdentifier(CombatStyleUsageType),
|
|
29
|
+
});
|
|
18
30
|
const CombatSpecialAbilityType = DB.Enum(import.meta.url, {
|
|
19
31
|
name: "CombatSpecialAbilityType",
|
|
20
32
|
comment: "The definition of if the combat special ability can be used when armed or when unarmed.",
|