@optolith/database-schema 0.47.4 → 0.48.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 +11 -0
- package/gen/types.d.ts +95 -202
- package/lib/types/Ceremony.d.ts +7 -80
- package/lib/types/FamiliarsTrick.d.ts +3 -3
- package/lib/types/FamiliarsTrick.js +2 -2
- package/lib/types/LiturgicalChant.d.ts +7 -80
- package/lib/types/Ritual.d.ts +7 -80
- package/lib/types/Spell.d.ts +7 -80
- package/lib/types/_ActivatableSkill.d.ts +21 -218
- package/lib/types/_ActivatableSkill.js +15 -0
- package/lib/types/_ActivatableSkillDuration.d.ts +6 -50
- package/lib/types/_ActivatableSkillDuration.js +8 -13
- package/lib/types/_ActivatableSkillRange.d.ts +11 -22
- package/lib/types/_ActivatableSkillRange.js +7 -12
- package/lib/types/magicalActions/AnimistPower.d.ts +3 -29
- package/lib/types/magicalActions/AnimistPower.js +2 -3
- package/lib/types/magicalActions/Bannzeichen.d.ts +6 -28
- package/lib/types/magicalActions/Bannzeichen.js +4 -4
- package/lib/types/magicalActions/Curse.d.ts +6 -58
- package/lib/types/magicalActions/Curse.js +3 -5
- package/lib/types/magicalActions/DominationRitual.d.ts +6 -58
- package/lib/types/magicalActions/DominationRitual.js +3 -18
- package/lib/types/magicalActions/GeodeRitual.d.ts +3 -29
- package/lib/types/magicalActions/GeodeRitual.js +2 -3
- package/lib/types/magicalActions/GoblinRitual.d.ts +7 -33
- package/lib/types/magicalActions/GoblinRitual.js +7 -8
- package/lib/types/magicalActions/JesterTrick.d.ts +9 -87
- package/lib/types/magicalActions/JesterTrick.js +2 -16
- package/lib/types/magicalActions/MagicalRune.d.ts +6 -28
- package/lib/types/magicalActions/MagicalRune.js +3 -3
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +5 -58
- package/package.json +1 -1
|
@@ -26,35 +26,9 @@ export declare const JesterTrick: DB.Entity<"JesterTrick", {
|
|
|
26
26
|
}, []>>, true>;
|
|
27
27
|
duration: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"JesterTrickDuration", {
|
|
28
28
|
Immediate: DB.EnumCase<null>;
|
|
29
|
-
|
|
30
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
31
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
32
|
-
Seconds: DB.EnumCase<null>;
|
|
33
|
-
Minutes: DB.EnumCase<null>;
|
|
34
|
-
Hours: DB.EnumCase<null>;
|
|
35
|
-
Days: DB.EnumCase<null>;
|
|
36
|
-
Weeks: DB.EnumCase<null>;
|
|
37
|
-
Months: DB.EnumCase<null>;
|
|
38
|
-
Years: DB.EnumCase<null>;
|
|
39
|
-
Centuries: DB.EnumCase<null>;
|
|
40
|
-
Actions: DB.EnumCase<null>;
|
|
41
|
-
CombatRounds: DB.EnumCase<null>;
|
|
42
|
-
}, []>>, true>;
|
|
43
|
-
}>, []>>>;
|
|
44
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
|
|
29
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
45
30
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
46
|
-
|
|
47
|
-
QualityLevels: DB.EnumCase<null>;
|
|
48
|
-
SkillPoints: DB.EnumCase<null>;
|
|
49
|
-
SkillRating: DB.EnumCase<null>;
|
|
50
|
-
}, []>>, true>;
|
|
51
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
52
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
53
|
-
Multiply: DB.EnumCase<null>;
|
|
54
|
-
Divide: DB.EnumCase<null>;
|
|
55
|
-
}, []>>, true>;
|
|
56
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
57
|
-
}>, []>>, false>;
|
|
31
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
58
32
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
59
33
|
Seconds: DB.EnumCase<null>;
|
|
60
34
|
Minutes: DB.EnumCase<null>;
|
|
@@ -67,7 +41,7 @@ export declare const JesterTrick: DB.Entity<"JesterTrick", {
|
|
|
67
41
|
Actions: DB.EnumCase<null>;
|
|
68
42
|
CombatRounds: DB.EnumCase<null>;
|
|
69
43
|
}, []>>, true>;
|
|
70
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
44
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
71
45
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
72
46
|
full: DB.MemberDecl<DB.String, true>;
|
|
73
47
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -193,35 +167,9 @@ export declare const JesterTrickPerformanceParameters: DB.TypeAlias<"JesterTrick
|
|
|
193
167
|
}, []>>, true>;
|
|
194
168
|
duration: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"JesterTrickDuration", {
|
|
195
169
|
Immediate: DB.EnumCase<null>;
|
|
196
|
-
|
|
197
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
198
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
199
|
-
Seconds: DB.EnumCase<null>;
|
|
200
|
-
Minutes: DB.EnumCase<null>;
|
|
201
|
-
Hours: DB.EnumCase<null>;
|
|
202
|
-
Days: DB.EnumCase<null>;
|
|
203
|
-
Weeks: DB.EnumCase<null>;
|
|
204
|
-
Months: DB.EnumCase<null>;
|
|
205
|
-
Years: DB.EnumCase<null>;
|
|
206
|
-
Centuries: DB.EnumCase<null>;
|
|
207
|
-
Actions: DB.EnumCase<null>;
|
|
208
|
-
CombatRounds: DB.EnumCase<null>;
|
|
209
|
-
}, []>>, true>;
|
|
210
|
-
}>, []>>>;
|
|
211
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
|
|
170
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
212
171
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
213
|
-
|
|
214
|
-
QualityLevels: DB.EnumCase<null>;
|
|
215
|
-
SkillPoints: DB.EnumCase<null>;
|
|
216
|
-
SkillRating: DB.EnumCase<null>;
|
|
217
|
-
}, []>>, true>;
|
|
218
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
219
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
220
|
-
Multiply: DB.EnumCase<null>;
|
|
221
|
-
Divide: DB.EnumCase<null>;
|
|
222
|
-
}, []>>, true>;
|
|
223
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
224
|
-
}>, []>>, false>;
|
|
172
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
225
173
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
226
174
|
Seconds: DB.EnumCase<null>;
|
|
227
175
|
Minutes: DB.EnumCase<null>;
|
|
@@ -234,7 +182,7 @@ export declare const JesterTrickPerformanceParameters: DB.TypeAlias<"JesterTrick
|
|
|
234
182
|
Actions: DB.EnumCase<null>;
|
|
235
183
|
CombatRounds: DB.EnumCase<null>;
|
|
236
184
|
}, []>>, true>;
|
|
237
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
185
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
238
186
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
239
187
|
full: DB.MemberDecl<DB.String, true>;
|
|
240
188
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -254,35 +202,9 @@ export declare const FixedJesterTrickRange: DB.TypeAlias<"FixedJesterTrickRange"
|
|
|
254
202
|
}>, []>;
|
|
255
203
|
export declare const JesterTrickDuration: DB.Enum<"JesterTrickDuration", {
|
|
256
204
|
Immediate: DB.EnumCase<null>;
|
|
257
|
-
|
|
258
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
259
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
260
|
-
Seconds: DB.EnumCase<null>;
|
|
261
|
-
Minutes: DB.EnumCase<null>;
|
|
262
|
-
Hours: DB.EnumCase<null>;
|
|
263
|
-
Days: DB.EnumCase<null>;
|
|
264
|
-
Weeks: DB.EnumCase<null>;
|
|
265
|
-
Months: DB.EnumCase<null>;
|
|
266
|
-
Years: DB.EnumCase<null>;
|
|
267
|
-
Centuries: DB.EnumCase<null>;
|
|
268
|
-
Actions: DB.EnumCase<null>;
|
|
269
|
-
CombatRounds: DB.EnumCase<null>;
|
|
270
|
-
}, []>>, true>;
|
|
271
|
-
}>, []>>>;
|
|
272
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
|
|
205
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
273
206
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
274
|
-
|
|
275
|
-
QualityLevels: DB.EnumCase<null>;
|
|
276
|
-
SkillPoints: DB.EnumCase<null>;
|
|
277
|
-
SkillRating: DB.EnumCase<null>;
|
|
278
|
-
}, []>>, true>;
|
|
279
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
280
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
281
|
-
Multiply: DB.EnumCase<null>;
|
|
282
|
-
Divide: DB.EnumCase<null>;
|
|
283
|
-
}, []>>, true>;
|
|
284
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
285
|
-
}>, []>>, false>;
|
|
207
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
286
208
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
287
209
|
Seconds: DB.EnumCase<null>;
|
|
288
210
|
Minutes: DB.EnumCase<null>;
|
|
@@ -295,7 +217,7 @@ export declare const JesterTrickDuration: DB.Enum<"JesterTrickDuration", {
|
|
|
295
217
|
Actions: DB.EnumCase<null>;
|
|
296
218
|
CombatRounds: DB.EnumCase<null>;
|
|
297
219
|
}, []>>, true>;
|
|
298
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
220
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
299
221
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
300
222
|
full: DB.MemberDecl<DB.String, true>;
|
|
301
223
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { OldParameter } from "../_ActivatableSkill.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ExpressionBasedDuration } from "../_ActivatableSkillDuration.js";
|
|
4
4
|
import { ActivatableSkillEffect } from "../_ActivatableSkillEffect.js";
|
|
5
5
|
import { AffectedTargetCategories } from "../_ActivatableSkillTargetCategory.js";
|
|
6
6
|
import { PropertyIdentifier } from "../_Identifier.js";
|
|
@@ -141,20 +141,6 @@ export const JesterTrickDuration = DB.Enum(import.meta.url, {
|
|
|
141
141
|
name: "JesterTrickDuration",
|
|
142
142
|
values: () => ({
|
|
143
143
|
Immediate: DB.EnumCase({ type: null }),
|
|
144
|
-
|
|
145
|
-
CheckResultBased: DB.EnumCase({ type: DB.IncludeIdentifier(CheckResultBasedDuration) }),
|
|
146
|
-
}),
|
|
147
|
-
});
|
|
148
|
-
const FixedJesterTrickDuration = DB.TypeAlias(import.meta.url, {
|
|
149
|
-
name: "FixedJesterTrickDuration",
|
|
150
|
-
type: () => DB.Object({
|
|
151
|
-
value: DB.Required({
|
|
152
|
-
comment: "The (unitless) duration.",
|
|
153
|
-
type: DB.Integer({ minimum: 2 }),
|
|
154
|
-
}),
|
|
155
|
-
unit: DB.Required({
|
|
156
|
-
comment: "The duration unit.",
|
|
157
|
-
type: DB.IncludeIdentifier(DurationUnit),
|
|
158
|
-
}),
|
|
144
|
+
Expression: DB.EnumCase({ type: DB.IncludeIdentifier(ExpressionBasedDuration) }),
|
|
159
145
|
}),
|
|
160
146
|
});
|
|
@@ -80,20 +80,9 @@ export declare const MagicalRune: DB.Entity<"MagicalRune", {
|
|
|
80
80
|
}>, []>>, false>;
|
|
81
81
|
}>, []>>, true>;
|
|
82
82
|
duration: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"MagicalRuneDuration", DB.Object<{
|
|
83
|
-
slow: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"
|
|
83
|
+
slow: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
84
84
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
85
|
-
|
|
86
|
-
QualityLevels: DB.EnumCase<null>;
|
|
87
|
-
SkillPoints: DB.EnumCase<null>;
|
|
88
|
-
SkillRating: DB.EnumCase<null>;
|
|
89
|
-
}, []>>, true>;
|
|
90
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
91
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
92
|
-
Multiply: DB.EnumCase<null>;
|
|
93
|
-
Divide: DB.EnumCase<null>;
|
|
94
|
-
}, []>>, true>;
|
|
95
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
96
|
-
}>, []>>, false>;
|
|
85
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
97
86
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
98
87
|
Seconds: DB.EnumCase<null>;
|
|
99
88
|
Minutes: DB.EnumCase<null>;
|
|
@@ -106,27 +95,16 @@ export declare const MagicalRune: DB.Entity<"MagicalRune", {
|
|
|
106
95
|
Actions: DB.EnumCase<null>;
|
|
107
96
|
CombatRounds: DB.EnumCase<null>;
|
|
108
97
|
}, []>>, true>;
|
|
109
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
98
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
110
99
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
111
100
|
full: DB.MemberDecl<DB.String, true>;
|
|
112
101
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
113
102
|
}>, []>>, false>;
|
|
114
103
|
}>, false>;
|
|
115
104
|
}>, []>>, true>;
|
|
116
|
-
fast: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"
|
|
105
|
+
fast: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
117
106
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
118
|
-
|
|
119
|
-
QualityLevels: DB.EnumCase<null>;
|
|
120
|
-
SkillPoints: DB.EnumCase<null>;
|
|
121
|
-
SkillRating: DB.EnumCase<null>;
|
|
122
|
-
}, []>>, true>;
|
|
123
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
124
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
125
|
-
Multiply: DB.EnumCase<null>;
|
|
126
|
-
Divide: DB.EnumCase<null>;
|
|
127
|
-
}, []>>, true>;
|
|
128
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
129
|
-
}>, []>>, false>;
|
|
107
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
130
108
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
131
109
|
Seconds: DB.EnumCase<null>;
|
|
132
110
|
Minutes: DB.EnumCase<null>;
|
|
@@ -139,7 +117,7 @@ export declare const MagicalRune: DB.Entity<"MagicalRune", {
|
|
|
139
117
|
Actions: DB.EnumCase<null>;
|
|
140
118
|
CombatRounds: DB.EnumCase<null>;
|
|
141
119
|
}, []>>, true>;
|
|
142
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
120
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
143
121
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
144
122
|
full: DB.MemberDecl<DB.String, true>;
|
|
145
123
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { name_in_library } from "../_Activatable.js";
|
|
3
3
|
import { OldParameter } from "../_ActivatableSkill.js";
|
|
4
|
-
import {
|
|
4
|
+
import { ExpressionBasedDuration } from "../_ActivatableSkillDuration.js";
|
|
5
5
|
import { ActivatableSkillEffect } from "../_ActivatableSkillEffect.js";
|
|
6
6
|
import { MagicalRuneIdentifier, PropertyIdentifier } from "../_Identifier.js";
|
|
7
7
|
import { CombatTechniqueIdentifier } from "../_IdentifierGroup.js";
|
|
@@ -220,11 +220,11 @@ const MagicalRuneDuration = DB.TypeAlias(import.meta.url, {
|
|
|
220
220
|
type: () => DB.Object({
|
|
221
221
|
slow: DB.Required({
|
|
222
222
|
comment: "The duration on slow rune application.",
|
|
223
|
-
type: DB.IncludeIdentifier(
|
|
223
|
+
type: DB.IncludeIdentifier(ExpressionBasedDuration),
|
|
224
224
|
}),
|
|
225
225
|
fast: DB.Required({
|
|
226
226
|
comment: "The duration on fast rune application.",
|
|
227
|
-
type: DB.IncludeIdentifier(
|
|
227
|
+
type: DB.IncludeIdentifier(ExpressionBasedDuration),
|
|
228
228
|
}),
|
|
229
229
|
}),
|
|
230
230
|
});
|
|
@@ -179,29 +179,9 @@ export declare const ZibiljaRitual: DB.Entity<"ZibiljaRitual", {
|
|
|
179
179
|
Self: DB.EnumCase<null>;
|
|
180
180
|
Global: DB.EnumCase<null>;
|
|
181
181
|
Touch: DB.EnumCase<null>;
|
|
182
|
-
|
|
182
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedRange", DB.Object<{
|
|
183
183
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
184
|
-
value: DB.MemberDecl<DB.
|
|
185
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
|
|
186
|
-
Steps: DB.EnumCase<null>;
|
|
187
|
-
Miles: DB.EnumCase<null>;
|
|
188
|
-
}, []>>, true>;
|
|
189
|
-
is_radius: DB.MemberDecl<DB.Boolean, false>;
|
|
190
|
-
}>, []>>>;
|
|
191
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedRange", DB.Object<{
|
|
192
|
-
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
193
|
-
base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
|
|
194
|
-
QualityLevels: DB.EnumCase<null>;
|
|
195
|
-
SkillPoints: DB.EnumCase<null>;
|
|
196
|
-
SkillRating: DB.EnumCase<null>;
|
|
197
|
-
}, []>>, true>;
|
|
198
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
199
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
200
|
-
Multiply: DB.EnumCase<null>;
|
|
201
|
-
Divide: DB.EnumCase<null>;
|
|
202
|
-
}, []>>, true>;
|
|
203
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
204
|
-
}>, []>>, false>;
|
|
184
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
205
185
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
|
|
206
186
|
Steps: DB.EnumCase<null>;
|
|
207
187
|
Miles: DB.EnumCase<null>;
|
|
@@ -252,42 +232,9 @@ export declare const ZibiljaRitual: DB.Entity<"ZibiljaRitual", {
|
|
|
252
232
|
}>, []>>, false>;
|
|
253
233
|
}>, false>;
|
|
254
234
|
}>, []>>>;
|
|
255
|
-
|
|
256
|
-
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
257
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
258
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
259
|
-
Seconds: DB.EnumCase<null>;
|
|
260
|
-
Minutes: DB.EnumCase<null>;
|
|
261
|
-
Hours: DB.EnumCase<null>;
|
|
262
|
-
Days: DB.EnumCase<null>;
|
|
263
|
-
Weeks: DB.EnumCase<null>;
|
|
264
|
-
Months: DB.EnumCase<null>;
|
|
265
|
-
Years: DB.EnumCase<null>;
|
|
266
|
-
Centuries: DB.EnumCase<null>;
|
|
267
|
-
Actions: DB.EnumCase<null>;
|
|
268
|
-
CombatRounds: DB.EnumCase<null>;
|
|
269
|
-
}, []>>, true>;
|
|
270
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"FixedDurationTranslation", {
|
|
271
|
-
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
272
|
-
full: DB.MemberDecl<DB.String, true>;
|
|
273
|
-
compressed: DB.MemberDecl<DB.String, true>;
|
|
274
|
-
}>, []>>, false>;
|
|
275
|
-
}>, false>;
|
|
276
|
-
}>, []>>>;
|
|
277
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
|
|
235
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
278
236
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
279
|
-
|
|
280
|
-
QualityLevels: DB.EnumCase<null>;
|
|
281
|
-
SkillPoints: DB.EnumCase<null>;
|
|
282
|
-
SkillRating: DB.EnumCase<null>;
|
|
283
|
-
}, []>>, true>;
|
|
284
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
285
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
286
|
-
Multiply: DB.EnumCase<null>;
|
|
287
|
-
Divide: DB.EnumCase<null>;
|
|
288
|
-
}, []>>, true>;
|
|
289
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
290
|
-
}>, []>>, false>;
|
|
237
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
291
238
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
292
239
|
Seconds: DB.EnumCase<null>;
|
|
293
240
|
Minutes: DB.EnumCase<null>;
|
|
@@ -300,7 +247,7 @@ export declare const ZibiljaRitual: DB.Entity<"ZibiljaRitual", {
|
|
|
300
247
|
Actions: DB.EnumCase<null>;
|
|
301
248
|
CombatRounds: DB.EnumCase<null>;
|
|
302
249
|
}, []>>, true>;
|
|
303
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
250
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
304
251
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
305
252
|
full: DB.MemberDecl<DB.String, true>;
|
|
306
253
|
compressed: DB.MemberDecl<DB.String, true>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optolith/database-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"description": "Definitions and utilities for the flat-file database of Optolith, a character creation tool for the Pen and Paper RPG “The Dark Eye 5”, and its external integrations into other software.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tde",
|