@joplo-app/core 0.2.18 → 0.3.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/dist/actions.d.ts +6 -0
- package/dist/actions.js +34 -0
- package/dist/agent-skill.d.ts +9 -15
- package/dist/agent-skill.js +41 -44
- package/dist/auto-caption.d.ts +3 -0
- package/dist/auto-caption.js +33 -0
- package/dist/catalog.d.ts +39 -42
- package/dist/catalog.js +27 -329
- package/dist/compile.d.ts +2 -8
- package/dist/compile.js +225 -393
- package/dist/content-i18n.js +27 -16
- package/dist/feature-diff.d.ts +9 -9
- package/dist/feature-diff.js +28 -6
- package/dist/focus.d.ts +3 -1
- package/dist/focus.js +16 -34
- package/dist/guide.d.ts +10 -12
- package/dist/guide.js +363 -591
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/media.d.ts +10 -0
- package/dist/media.js +43 -0
- package/dist/node.d.ts +1 -2
- package/dist/node.js +1 -2
- package/dist/outline.js +1 -1
- package/dist/pace.d.ts +4 -1
- package/dist/pace.js +7 -3
- package/dist/player.d.ts +8 -41
- package/dist/player.js +83 -147
- package/dist/playground.d.ts +38 -0
- package/dist/playground.js +111 -0
- package/dist/plugin-data.d.ts +11 -0
- package/dist/plugin-data.js +96 -0
- package/dist/plugins/compiler.d.ts +66 -0
- package/dist/plugins/compiler.js +428 -0
- package/dist/plugins/data.d.ts +12 -0
- package/dist/plugins/data.js +120 -0
- package/dist/result.d.ts +1 -1
- package/dist/result.js +1 -0
- package/dist/runtime.d.ts +22 -0
- package/dist/runtime.js +18 -0
- package/dist/schema.d.ts +590 -112
- package/dist/schema.js +60 -52
- package/dist/scope.js +14 -5
- package/dist/step-identity.d.ts +1 -1
- package/dist/step-identity.js +1 -1
- package/dist/themes.d.ts +7 -0
- package/dist/themes.js +5 -0
- package/dist/traits.d.ts +7 -0
- package/dist/traits.js +26 -0
- package/dist/validate.js +17 -4
- package/package.json +7 -4
- package/dist/diagram/elk.d.ts +0 -6
- package/dist/diagram/elk.js +0 -56
- package/dist/diagram/graph-layout.d.ts +0 -123
- package/dist/diagram/graph-layout.js +0 -620
- package/dist/diagram/index.d.ts +0 -41
- package/dist/diagram/index.js +0 -92
- package/dist/diagram/model.d.ts +0 -217
- package/dist/diagram/model.js +0 -189
- package/dist/diagram/sequence-layout.d.ts +0 -12
- package/dist/diagram/sequence-layout.js +0 -185
package/dist/schema.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ElementTraits } from '@joplo-app/kit/plugin';
|
|
1
2
|
/**
|
|
2
3
|
* Joplo IR(schemaVersion 2):由 TSX 源文件编译得到的中间表示,不是作者直接编辑的格式。
|
|
3
4
|
* 权威源是项目文件夹里的 TSX/TS 文件(ADR-0002);渲染器、播放器、校验器、构建只消费这里的 IR。
|
|
@@ -5,8 +6,6 @@
|
|
|
5
6
|
* 带 `source` 的对象记录其来源 `相对路径:行:列`,用于选中元素、诊断定位,让 Agent 只读写那一处。
|
|
6
7
|
*/
|
|
7
8
|
import { z } from 'zod';
|
|
8
|
-
import { COMPONENT_TYPES } from './catalog.js';
|
|
9
|
-
import type { DiagramLayout as DiagramLayoutT } from './diagram/model.js';
|
|
10
9
|
/** 层级标签的预设图标(标签压窄时靠它认出是哪一层)。不写时:手机视口 mobile,其余 window。 */
|
|
11
10
|
export declare const LAYER_ICONS: readonly ["window", "browser", "mobile", "desktop", "terminal", "chat", "agent", "server", "data", "email", "doc", "flow"];
|
|
12
11
|
export type LayerIcon = (typeof LAYER_ICONS)[number];
|
|
@@ -39,12 +38,13 @@ export type Condition = {
|
|
|
39
38
|
not: Condition;
|
|
40
39
|
};
|
|
41
40
|
export declare const Condition: z.ZodType<Condition>;
|
|
42
|
-
export declare const DiagramLayoutSchema: z.ZodType<DiagramLayoutT>;
|
|
43
41
|
export type SceneNode = {
|
|
44
42
|
/** 可操作元素必须由作者给出;其余由编译器按位置生成(以 `_` 开头)。 */
|
|
45
43
|
id: string;
|
|
46
|
-
|
|
44
|
+
/** 目录组件,或插件组件 `<插件 id>:<组件名>`(D86)。 */
|
|
45
|
+
type: string;
|
|
47
46
|
/** Mantine 属性原样保留(可含响应式对象 { base, md });值可以是字面量或 `$ui.x` / `$data.x` / `$inputs.x` 整值绑定。 */
|
|
47
|
+
traits?: ElementTraits;
|
|
48
48
|
props?: Record<string, unknown>;
|
|
49
49
|
children?: SceneNode[];
|
|
50
50
|
when?: Condition;
|
|
@@ -56,8 +56,13 @@ export type SceneNode = {
|
|
|
56
56
|
redact?: boolean | Condition;
|
|
57
57
|
/** 来自哪个功能方案(堆叠到路径上的元素);页面和布局自身的元素没有此字段。 */
|
|
58
58
|
from?: string;
|
|
59
|
-
/**
|
|
60
|
-
|
|
59
|
+
/** 命名空间插件派生数据;只允许 JSON。 */
|
|
60
|
+
ext?: Record<string, unknown>;
|
|
61
|
+
/** 取景关联由编译钩子给出,播放器只读取。 */
|
|
62
|
+
framing?: {
|
|
63
|
+
include?: string[];
|
|
64
|
+
kind?: 'root' | 'group' | 'block' | 'content' | 'edge' | 'row';
|
|
65
|
+
};
|
|
61
66
|
source?: string;
|
|
62
67
|
};
|
|
63
68
|
export declare const SceneNode: z.ZodType<SceneNode>;
|
|
@@ -68,15 +73,54 @@ export declare const Scene: z.ZodObject<{
|
|
|
68
73
|
route: z.ZodString;
|
|
69
74
|
name: z.ZodString;
|
|
70
75
|
viewport: z.ZodDefault<z.ZodEnum<{
|
|
71
|
-
mobile: "mobile";
|
|
72
76
|
desktop: "desktop";
|
|
77
|
+
mobile: "mobile";
|
|
73
78
|
}>>;
|
|
74
79
|
root: z.ZodType<SceneNode, unknown, z.core.$ZodTypeInternals<SceneNode, unknown>>;
|
|
75
80
|
layer: z.ZodOptional<z.ZodString>;
|
|
76
81
|
}, z.core.$strict>;
|
|
82
|
+
export declare const PluginAction: z.ZodObject<{
|
|
83
|
+
caption: z.ZodString;
|
|
84
|
+
durationMs: z.ZodNumber;
|
|
85
|
+
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
86
|
+
type: z.ZodEnum<{
|
|
87
|
+
string: "string";
|
|
88
|
+
number: "number";
|
|
89
|
+
boolean: "boolean";
|
|
90
|
+
}>;
|
|
91
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
tolerance: z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
}, z.core.$strict>>;
|
|
96
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
|
+
}, z.core.$strict>;
|
|
77
98
|
export declare const Action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
78
99
|
type: z.ZodLiteral<"click">;
|
|
79
100
|
target: z.ZodString;
|
|
101
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
102
|
+
type: z.ZodLiteral<"drag">;
|
|
103
|
+
target: z.ZodString;
|
|
104
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
105
|
+
x: z.ZodNumber;
|
|
106
|
+
y: z.ZodNumber;
|
|
107
|
+
}, z.core.$strict>]>;
|
|
108
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
109
|
+
type: z.ZodLiteral<"hover">;
|
|
110
|
+
target: z.ZodString;
|
|
111
|
+
ms: z.ZodNumber;
|
|
112
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
113
|
+
type: z.ZodLiteral<"scroll">;
|
|
114
|
+
target: z.ZodString;
|
|
115
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
116
|
+
x: z.ZodNumber;
|
|
117
|
+
y: z.ZodNumber;
|
|
118
|
+
}, z.core.$strict>]>;
|
|
119
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
120
|
+
type: z.ZodLiteral<"plugin">;
|
|
121
|
+
name: z.ZodString;
|
|
122
|
+
target: z.ZodString;
|
|
123
|
+
data: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
80
124
|
}, z.core.$strict>, z.ZodObject<{
|
|
81
125
|
type: z.ZodLiteral<"type">;
|
|
82
126
|
target: z.ZodString;
|
|
@@ -116,8 +160,8 @@ export declare const Effect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
116
160
|
type: z.ZodLiteral<"toast">;
|
|
117
161
|
text: z.ZodString;
|
|
118
162
|
tone: z.ZodDefault<z.ZodEnum<{
|
|
119
|
-
error: "error";
|
|
120
163
|
success: "success";
|
|
164
|
+
error: "error";
|
|
121
165
|
info: "info";
|
|
122
166
|
}>>;
|
|
123
167
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -136,25 +180,6 @@ export declare const Effect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
136
180
|
path: z.ZodString;
|
|
137
181
|
value: z.ZodString;
|
|
138
182
|
}, z.core.$strict>], "type">;
|
|
139
|
-
/**
|
|
140
|
-
* 调用链(D48):这一步 trace 的一条路径。nodes 按路径顺序;edges 是路径上的连线,reverse = 沿连线的 to→from 方向走。
|
|
141
|
-
* mode:ok = 正常调用(本步 active,之后 ok);fail = 失败(连线与终点节点 error);skip = 没被调用(dim)。
|
|
142
|
-
*/
|
|
143
|
-
export declare const Trace: z.ZodObject<{
|
|
144
|
-
mode: z.ZodEnum<{
|
|
145
|
-
ok: "ok";
|
|
146
|
-
fail: "fail";
|
|
147
|
-
skip: "skip";
|
|
148
|
-
}>;
|
|
149
|
-
nodes: z.ZodArray<z.ZodString>;
|
|
150
|
-
edges: z.ZodArray<z.ZodObject<{
|
|
151
|
-
id: z.ZodString;
|
|
152
|
-
reverse: z.ZodDefault<z.ZodBoolean>;
|
|
153
|
-
}, z.core.$strict>>;
|
|
154
|
-
groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
155
|
-
errorGroups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
156
|
-
targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
157
|
-
}, z.core.$strict>;
|
|
158
183
|
/** 镜头(D43):这一步在某个层级里对准哪些元素;targets 为空 = 这一层的整体。 */
|
|
159
184
|
export declare const Shot: z.ZodObject<{
|
|
160
185
|
layer: z.ZodString;
|
|
@@ -168,9 +193,9 @@ export declare const Fork: z.ZodObject<{
|
|
|
168
193
|
export declare const Mark: z.ZodObject<{
|
|
169
194
|
target: z.ZodString;
|
|
170
195
|
kind: z.ZodEnum<{
|
|
171
|
-
box: "box";
|
|
172
196
|
circle: "circle";
|
|
173
197
|
underline: "underline";
|
|
198
|
+
box: "box";
|
|
174
199
|
arrow: "arrow";
|
|
175
200
|
}>;
|
|
176
201
|
note: z.ZodOptional<z.ZodString>;
|
|
@@ -194,23 +219,66 @@ export declare const Callout: z.ZodObject<{
|
|
|
194
219
|
target: z.ZodString;
|
|
195
220
|
text: z.ZodString;
|
|
196
221
|
side: z.ZodOptional<z.ZodEnum<{
|
|
197
|
-
right: "right";
|
|
198
222
|
top: "top";
|
|
223
|
+
right: "right";
|
|
199
224
|
bottom: "bottom";
|
|
200
225
|
left: "left";
|
|
201
226
|
}>>;
|
|
202
227
|
}, z.core.$strict>;
|
|
228
|
+
export declare const MediaSnapshot: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
229
|
+
plugin: z.ZodString;
|
|
230
|
+
resource: z.ZodString;
|
|
231
|
+
offsetMs: z.ZodNumber;
|
|
232
|
+
startOffsetMs: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
volume: z.ZodNumber;
|
|
234
|
+
loop: z.ZodBoolean;
|
|
235
|
+
fadeInMs: z.ZodNumber;
|
|
236
|
+
stopAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
237
|
+
}, z.core.$strict>>;
|
|
203
238
|
export declare const Step: z.ZodObject<{
|
|
239
|
+
media: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
240
|
+
plugin: z.ZodString;
|
|
241
|
+
resource: z.ZodString;
|
|
242
|
+
offsetMs: z.ZodNumber;
|
|
243
|
+
startOffsetMs: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
volume: z.ZodNumber;
|
|
245
|
+
loop: z.ZodBoolean;
|
|
246
|
+
fadeInMs: z.ZodNumber;
|
|
247
|
+
stopAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
248
|
+
}, z.core.$strict>>>;
|
|
204
249
|
id: z.ZodString;
|
|
205
250
|
key: z.ZodOptional<z.ZodString>;
|
|
206
251
|
kind: z.ZodEnum<{
|
|
207
252
|
user: "user";
|
|
208
|
-
card: "card";
|
|
209
253
|
system: "system";
|
|
254
|
+
card: "card";
|
|
210
255
|
}>;
|
|
211
256
|
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
212
257
|
type: z.ZodLiteral<"click">;
|
|
213
258
|
target: z.ZodString;
|
|
259
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
260
|
+
type: z.ZodLiteral<"drag">;
|
|
261
|
+
target: z.ZodString;
|
|
262
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
263
|
+
x: z.ZodNumber;
|
|
264
|
+
y: z.ZodNumber;
|
|
265
|
+
}, z.core.$strict>]>;
|
|
266
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
267
|
+
type: z.ZodLiteral<"hover">;
|
|
268
|
+
target: z.ZodString;
|
|
269
|
+
ms: z.ZodNumber;
|
|
270
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
271
|
+
type: z.ZodLiteral<"scroll">;
|
|
272
|
+
target: z.ZodString;
|
|
273
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
274
|
+
x: z.ZodNumber;
|
|
275
|
+
y: z.ZodNumber;
|
|
276
|
+
}, z.core.$strict>]>;
|
|
277
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
278
|
+
type: z.ZodLiteral<"plugin">;
|
|
279
|
+
name: z.ZodString;
|
|
280
|
+
target: z.ZodString;
|
|
281
|
+
data: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
214
282
|
}, z.core.$strict>, z.ZodObject<{
|
|
215
283
|
type: z.ZodLiteral<"type">;
|
|
216
284
|
target: z.ZodString;
|
|
@@ -241,12 +309,15 @@ export declare const Step: z.ZodObject<{
|
|
|
241
309
|
caption: z.ZodString;
|
|
242
310
|
captionAuto: z.ZodOptional<z.ZodObject<{
|
|
243
311
|
kind: z.ZodEnum<{
|
|
244
|
-
check: "check";
|
|
245
|
-
type: "type";
|
|
246
312
|
click: "click";
|
|
313
|
+
drag: "drag";
|
|
314
|
+
hover: "hover";
|
|
315
|
+
scroll: "scroll";
|
|
316
|
+
type: "type";
|
|
247
317
|
select: "select";
|
|
248
|
-
back: "back";
|
|
249
318
|
press: "press";
|
|
319
|
+
back: "back";
|
|
320
|
+
check: "check";
|
|
250
321
|
uncheck: "uncheck";
|
|
251
322
|
switch_on: "switch_on";
|
|
252
323
|
switch_off: "switch_off";
|
|
@@ -267,8 +338,8 @@ export declare const Step: z.ZodObject<{
|
|
|
267
338
|
type: z.ZodLiteral<"toast">;
|
|
268
339
|
text: z.ZodString;
|
|
269
340
|
tone: z.ZodDefault<z.ZodEnum<{
|
|
270
|
-
error: "error";
|
|
271
341
|
success: "success";
|
|
342
|
+
error: "error";
|
|
272
343
|
info: "info";
|
|
273
344
|
}>>;
|
|
274
345
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -294,21 +365,9 @@ export declare const Step: z.ZodObject<{
|
|
|
294
365
|
}, z.core.$strict>>>;
|
|
295
366
|
directorLayer: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
296
367
|
explain: z.ZodOptional<z.ZodString>;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
fail: "fail";
|
|
301
|
-
skip: "skip";
|
|
302
|
-
}>;
|
|
303
|
-
nodes: z.ZodArray<z.ZodString>;
|
|
304
|
-
edges: z.ZodArray<z.ZodObject<{
|
|
305
|
-
id: z.ZodString;
|
|
306
|
-
reverse: z.ZodDefault<z.ZodBoolean>;
|
|
307
|
-
}, z.core.$strict>>;
|
|
308
|
-
groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
309
|
-
errorGroups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
310
|
-
targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
311
|
-
}, z.core.$strict>>>;
|
|
368
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
369
|
+
focusTargets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
370
|
+
references: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
312
371
|
forks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
313
372
|
label: z.ZodString;
|
|
314
373
|
scenarioId: z.ZodString;
|
|
@@ -317,9 +376,9 @@ export declare const Step: z.ZodObject<{
|
|
|
317
376
|
marks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
318
377
|
target: z.ZodString;
|
|
319
378
|
kind: z.ZodEnum<{
|
|
320
|
-
box: "box";
|
|
321
379
|
circle: "circle";
|
|
322
380
|
underline: "underline";
|
|
381
|
+
box: "box";
|
|
323
382
|
arrow: "arrow";
|
|
324
383
|
}>;
|
|
325
384
|
note: z.ZodOptional<z.ZodString>;
|
|
@@ -336,8 +395,8 @@ export declare const Step: z.ZodObject<{
|
|
|
336
395
|
target: z.ZodString;
|
|
337
396
|
text: z.ZodString;
|
|
338
397
|
side: z.ZodOptional<z.ZodEnum<{
|
|
339
|
-
right: "right";
|
|
340
398
|
top: "top";
|
|
399
|
+
right: "right";
|
|
341
400
|
bottom: "bottom";
|
|
342
401
|
left: "left";
|
|
343
402
|
}>>;
|
|
@@ -348,6 +407,23 @@ export declare const Step: z.ZodObject<{
|
|
|
348
407
|
source: z.ZodOptional<z.ZodString>;
|
|
349
408
|
}, z.core.$strict>;
|
|
350
409
|
export declare const Scenario: z.ZodObject<{
|
|
410
|
+
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
411
|
+
actionEntry: z.ZodOptional<z.ZodEnum<{
|
|
412
|
+
before: "before";
|
|
413
|
+
after: "after";
|
|
414
|
+
}>>;
|
|
415
|
+
from: z.ZodOptional<z.ZodString>;
|
|
416
|
+
media: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
417
|
+
plugin: z.ZodString;
|
|
418
|
+
resource: z.ZodString;
|
|
419
|
+
offsetMs: z.ZodNumber;
|
|
420
|
+
startOffsetMs: z.ZodOptional<z.ZodNumber>;
|
|
421
|
+
volume: z.ZodNumber;
|
|
422
|
+
loop: z.ZodBoolean;
|
|
423
|
+
fadeInMs: z.ZodNumber;
|
|
424
|
+
stopAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
425
|
+
}, z.core.$strict>>>;
|
|
426
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
351
427
|
id: z.ZodString;
|
|
352
428
|
optionId: z.ZodString;
|
|
353
429
|
name: z.ZodString;
|
|
@@ -371,16 +447,49 @@ export declare const Scenario: z.ZodObject<{
|
|
|
371
447
|
layer: z.ZodOptional<z.ZodString>;
|
|
372
448
|
}, z.core.$strict>;
|
|
373
449
|
steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
450
|
+
media: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
451
|
+
plugin: z.ZodString;
|
|
452
|
+
resource: z.ZodString;
|
|
453
|
+
offsetMs: z.ZodNumber;
|
|
454
|
+
startOffsetMs: z.ZodOptional<z.ZodNumber>;
|
|
455
|
+
volume: z.ZodNumber;
|
|
456
|
+
loop: z.ZodBoolean;
|
|
457
|
+
fadeInMs: z.ZodNumber;
|
|
458
|
+
stopAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
459
|
+
}, z.core.$strict>>>;
|
|
374
460
|
id: z.ZodString;
|
|
375
461
|
key: z.ZodOptional<z.ZodString>;
|
|
376
462
|
kind: z.ZodEnum<{
|
|
377
463
|
user: "user";
|
|
378
|
-
card: "card";
|
|
379
464
|
system: "system";
|
|
465
|
+
card: "card";
|
|
380
466
|
}>;
|
|
381
467
|
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
382
468
|
type: z.ZodLiteral<"click">;
|
|
383
469
|
target: z.ZodString;
|
|
470
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
471
|
+
type: z.ZodLiteral<"drag">;
|
|
472
|
+
target: z.ZodString;
|
|
473
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
474
|
+
x: z.ZodNumber;
|
|
475
|
+
y: z.ZodNumber;
|
|
476
|
+
}, z.core.$strict>]>;
|
|
477
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
478
|
+
type: z.ZodLiteral<"hover">;
|
|
479
|
+
target: z.ZodString;
|
|
480
|
+
ms: z.ZodNumber;
|
|
481
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
482
|
+
type: z.ZodLiteral<"scroll">;
|
|
483
|
+
target: z.ZodString;
|
|
484
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
485
|
+
x: z.ZodNumber;
|
|
486
|
+
y: z.ZodNumber;
|
|
487
|
+
}, z.core.$strict>]>;
|
|
488
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
489
|
+
type: z.ZodLiteral<"plugin">;
|
|
490
|
+
name: z.ZodString;
|
|
491
|
+
target: z.ZodString;
|
|
492
|
+
data: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
384
493
|
}, z.core.$strict>, z.ZodObject<{
|
|
385
494
|
type: z.ZodLiteral<"type">;
|
|
386
495
|
target: z.ZodString;
|
|
@@ -411,12 +520,15 @@ export declare const Scenario: z.ZodObject<{
|
|
|
411
520
|
caption: z.ZodString;
|
|
412
521
|
captionAuto: z.ZodOptional<z.ZodObject<{
|
|
413
522
|
kind: z.ZodEnum<{
|
|
414
|
-
check: "check";
|
|
415
|
-
type: "type";
|
|
416
523
|
click: "click";
|
|
524
|
+
drag: "drag";
|
|
525
|
+
hover: "hover";
|
|
526
|
+
scroll: "scroll";
|
|
527
|
+
type: "type";
|
|
417
528
|
select: "select";
|
|
418
|
-
back: "back";
|
|
419
529
|
press: "press";
|
|
530
|
+
back: "back";
|
|
531
|
+
check: "check";
|
|
420
532
|
uncheck: "uncheck";
|
|
421
533
|
switch_on: "switch_on";
|
|
422
534
|
switch_off: "switch_off";
|
|
@@ -437,8 +549,8 @@ export declare const Scenario: z.ZodObject<{
|
|
|
437
549
|
type: z.ZodLiteral<"toast">;
|
|
438
550
|
text: z.ZodString;
|
|
439
551
|
tone: z.ZodDefault<z.ZodEnum<{
|
|
440
|
-
error: "error";
|
|
441
552
|
success: "success";
|
|
553
|
+
error: "error";
|
|
442
554
|
info: "info";
|
|
443
555
|
}>>;
|
|
444
556
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -464,21 +576,9 @@ export declare const Scenario: z.ZodObject<{
|
|
|
464
576
|
}, z.core.$strict>>>;
|
|
465
577
|
directorLayer: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
466
578
|
explain: z.ZodOptional<z.ZodString>;
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
fail: "fail";
|
|
471
|
-
skip: "skip";
|
|
472
|
-
}>;
|
|
473
|
-
nodes: z.ZodArray<z.ZodString>;
|
|
474
|
-
edges: z.ZodArray<z.ZodObject<{
|
|
475
|
-
id: z.ZodString;
|
|
476
|
-
reverse: z.ZodDefault<z.ZodBoolean>;
|
|
477
|
-
}, z.core.$strict>>;
|
|
478
|
-
groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
479
|
-
errorGroups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
480
|
-
targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
481
|
-
}, z.core.$strict>>>;
|
|
579
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
580
|
+
focusTargets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
581
|
+
references: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
482
582
|
forks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
483
583
|
label: z.ZodString;
|
|
484
584
|
scenarioId: z.ZodString;
|
|
@@ -487,9 +587,9 @@ export declare const Scenario: z.ZodObject<{
|
|
|
487
587
|
marks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
488
588
|
target: z.ZodString;
|
|
489
589
|
kind: z.ZodEnum<{
|
|
490
|
-
box: "box";
|
|
491
590
|
circle: "circle";
|
|
492
591
|
underline: "underline";
|
|
592
|
+
box: "box";
|
|
493
593
|
arrow: "arrow";
|
|
494
594
|
}>;
|
|
495
595
|
note: z.ZodOptional<z.ZodString>;
|
|
@@ -506,8 +606,8 @@ export declare const Scenario: z.ZodObject<{
|
|
|
506
606
|
target: z.ZodString;
|
|
507
607
|
text: z.ZodString;
|
|
508
608
|
side: z.ZodOptional<z.ZodEnum<{
|
|
509
|
-
right: "right";
|
|
510
609
|
top: "top";
|
|
610
|
+
right: "right";
|
|
511
611
|
bottom: "bottom";
|
|
512
612
|
left: "left";
|
|
513
613
|
}>>;
|
|
@@ -555,10 +655,10 @@ export declare const Case: z.ZodObject<{
|
|
|
555
655
|
title: z.ZodString;
|
|
556
656
|
dimension: z.ZodEnum<{
|
|
557
657
|
main: "main";
|
|
558
|
-
async: "async";
|
|
559
658
|
input: "input";
|
|
560
659
|
permission: "permission";
|
|
561
660
|
lifecycle: "lifecycle";
|
|
661
|
+
async: "async";
|
|
562
662
|
interrupt: "interrupt";
|
|
563
663
|
conflict: "conflict";
|
|
564
664
|
consistency: "consistency";
|
|
@@ -574,11 +674,11 @@ export declare const Case: z.ZodObject<{
|
|
|
574
674
|
export declare const COVERAGE_STATUSES: readonly ["expressed", "undecided", "missing", "not_applicable", "excluded"];
|
|
575
675
|
export declare const Coverage: z.ZodObject<{
|
|
576
676
|
status: z.ZodEnum<{
|
|
577
|
-
expressed: "expressed";
|
|
578
677
|
undecided: "undecided";
|
|
579
678
|
missing: "missing";
|
|
580
679
|
not_applicable: "not_applicable";
|
|
581
680
|
excluded: "excluded";
|
|
681
|
+
expressed: "expressed";
|
|
582
682
|
}>;
|
|
583
683
|
scenarioIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
584
684
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -587,7 +687,183 @@ export declare const Coverage: z.ZodObject<{
|
|
|
587
687
|
declared: "declared";
|
|
588
688
|
}>>;
|
|
589
689
|
}, z.core.$strict>;
|
|
690
|
+
export declare const FreeReaction: z.ZodObject<{
|
|
691
|
+
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
692
|
+
type: z.ZodLiteral<"click">;
|
|
693
|
+
target: z.ZodString;
|
|
694
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
695
|
+
type: z.ZodLiteral<"drag">;
|
|
696
|
+
target: z.ZodString;
|
|
697
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
698
|
+
x: z.ZodNumber;
|
|
699
|
+
y: z.ZodNumber;
|
|
700
|
+
}, z.core.$strict>]>;
|
|
701
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
702
|
+
type: z.ZodLiteral<"hover">;
|
|
703
|
+
target: z.ZodString;
|
|
704
|
+
ms: z.ZodNumber;
|
|
705
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
706
|
+
type: z.ZodLiteral<"scroll">;
|
|
707
|
+
target: z.ZodString;
|
|
708
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
709
|
+
x: z.ZodNumber;
|
|
710
|
+
y: z.ZodNumber;
|
|
711
|
+
}, z.core.$strict>]>;
|
|
712
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
713
|
+
type: z.ZodLiteral<"plugin">;
|
|
714
|
+
name: z.ZodString;
|
|
715
|
+
target: z.ZodString;
|
|
716
|
+
data: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
717
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
718
|
+
type: z.ZodLiteral<"type">;
|
|
719
|
+
target: z.ZodString;
|
|
720
|
+
value: z.ZodString;
|
|
721
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
722
|
+
type: z.ZodLiteral<"select">;
|
|
723
|
+
target: z.ZodString;
|
|
724
|
+
value: z.ZodString;
|
|
725
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
726
|
+
type: z.ZodLiteral<"toggle">;
|
|
727
|
+
target: z.ZodString;
|
|
728
|
+
value: z.ZodBoolean;
|
|
729
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
730
|
+
type: z.ZodLiteral<"back">;
|
|
731
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
732
|
+
type: z.ZodLiteral<"press">;
|
|
733
|
+
keys: z.ZodString;
|
|
734
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
735
|
+
type: z.ZodLiteral<"event">;
|
|
736
|
+
name: z.ZodString;
|
|
737
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
738
|
+
type: z.ZodLiteral<"card">;
|
|
739
|
+
title: z.ZodString;
|
|
740
|
+
sub: z.ZodOptional<z.ZodString>;
|
|
741
|
+
points: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
742
|
+
role: z.ZodOptional<z.ZodString>;
|
|
743
|
+
}, z.core.$strict>], "type">;
|
|
744
|
+
effects: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
745
|
+
type: z.ZodLiteral<"set">;
|
|
746
|
+
path: z.ZodString;
|
|
747
|
+
value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
748
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
749
|
+
type: z.ZodLiteral<"append">;
|
|
750
|
+
path: z.ZodString;
|
|
751
|
+
value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
752
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
753
|
+
type: z.ZodLiteral<"toast">;
|
|
754
|
+
text: z.ZodString;
|
|
755
|
+
tone: z.ZodDefault<z.ZodEnum<{
|
|
756
|
+
success: "success";
|
|
757
|
+
error: "error";
|
|
758
|
+
info: "info";
|
|
759
|
+
}>>;
|
|
760
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
761
|
+
type: z.ZodLiteral<"navigate">;
|
|
762
|
+
sceneId: z.ZodString;
|
|
763
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
764
|
+
type: z.ZodLiteral<"complete">;
|
|
765
|
+
text: z.ZodString;
|
|
766
|
+
outcome: z.ZodEnum<{
|
|
767
|
+
success: "success";
|
|
768
|
+
failure: "failure";
|
|
769
|
+
cancelled: "cancelled";
|
|
770
|
+
}>;
|
|
771
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
772
|
+
type: z.ZodLiteral<"stream">;
|
|
773
|
+
path: z.ZodString;
|
|
774
|
+
value: z.ZodString;
|
|
775
|
+
}, z.core.$strict>], "type">>>;
|
|
776
|
+
source: z.ZodOptional<z.ZodString>;
|
|
777
|
+
}, z.core.$strict>;
|
|
590
778
|
export declare const Option: z.ZodObject<{
|
|
779
|
+
free: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
780
|
+
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
781
|
+
type: z.ZodLiteral<"click">;
|
|
782
|
+
target: z.ZodString;
|
|
783
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
784
|
+
type: z.ZodLiteral<"drag">;
|
|
785
|
+
target: z.ZodString;
|
|
786
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
787
|
+
x: z.ZodNumber;
|
|
788
|
+
y: z.ZodNumber;
|
|
789
|
+
}, z.core.$strict>]>;
|
|
790
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
791
|
+
type: z.ZodLiteral<"hover">;
|
|
792
|
+
target: z.ZodString;
|
|
793
|
+
ms: z.ZodNumber;
|
|
794
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
795
|
+
type: z.ZodLiteral<"scroll">;
|
|
796
|
+
target: z.ZodString;
|
|
797
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
798
|
+
x: z.ZodNumber;
|
|
799
|
+
y: z.ZodNumber;
|
|
800
|
+
}, z.core.$strict>]>;
|
|
801
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
802
|
+
type: z.ZodLiteral<"plugin">;
|
|
803
|
+
name: z.ZodString;
|
|
804
|
+
target: z.ZodString;
|
|
805
|
+
data: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
806
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
807
|
+
type: z.ZodLiteral<"type">;
|
|
808
|
+
target: z.ZodString;
|
|
809
|
+
value: z.ZodString;
|
|
810
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
811
|
+
type: z.ZodLiteral<"select">;
|
|
812
|
+
target: z.ZodString;
|
|
813
|
+
value: z.ZodString;
|
|
814
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
815
|
+
type: z.ZodLiteral<"toggle">;
|
|
816
|
+
target: z.ZodString;
|
|
817
|
+
value: z.ZodBoolean;
|
|
818
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
819
|
+
type: z.ZodLiteral<"back">;
|
|
820
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
821
|
+
type: z.ZodLiteral<"press">;
|
|
822
|
+
keys: z.ZodString;
|
|
823
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
824
|
+
type: z.ZodLiteral<"event">;
|
|
825
|
+
name: z.ZodString;
|
|
826
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
827
|
+
type: z.ZodLiteral<"card">;
|
|
828
|
+
title: z.ZodString;
|
|
829
|
+
sub: z.ZodOptional<z.ZodString>;
|
|
830
|
+
points: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
831
|
+
role: z.ZodOptional<z.ZodString>;
|
|
832
|
+
}, z.core.$strict>], "type">;
|
|
833
|
+
effects: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
834
|
+
type: z.ZodLiteral<"set">;
|
|
835
|
+
path: z.ZodString;
|
|
836
|
+
value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
837
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
838
|
+
type: z.ZodLiteral<"append">;
|
|
839
|
+
path: z.ZodString;
|
|
840
|
+
value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
841
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
842
|
+
type: z.ZodLiteral<"toast">;
|
|
843
|
+
text: z.ZodString;
|
|
844
|
+
tone: z.ZodDefault<z.ZodEnum<{
|
|
845
|
+
success: "success";
|
|
846
|
+
error: "error";
|
|
847
|
+
info: "info";
|
|
848
|
+
}>>;
|
|
849
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
850
|
+
type: z.ZodLiteral<"navigate">;
|
|
851
|
+
sceneId: z.ZodString;
|
|
852
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
853
|
+
type: z.ZodLiteral<"complete">;
|
|
854
|
+
text: z.ZodString;
|
|
855
|
+
outcome: z.ZodEnum<{
|
|
856
|
+
success: "success";
|
|
857
|
+
failure: "failure";
|
|
858
|
+
cancelled: "cancelled";
|
|
859
|
+
}>;
|
|
860
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
861
|
+
type: z.ZodLiteral<"stream">;
|
|
862
|
+
path: z.ZodString;
|
|
863
|
+
value: z.ZodString;
|
|
864
|
+
}, z.core.$strict>], "type">>>;
|
|
865
|
+
source: z.ZodOptional<z.ZodString>;
|
|
866
|
+
}, z.core.$strict>>>;
|
|
591
867
|
id: z.ZodString;
|
|
592
868
|
featureId: z.ZodString;
|
|
593
869
|
key: z.ZodString;
|
|
@@ -598,11 +874,11 @@ export declare const Option: z.ZodObject<{
|
|
|
598
874
|
routes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
599
875
|
coverage: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
600
876
|
status: z.ZodEnum<{
|
|
601
|
-
expressed: "expressed";
|
|
602
877
|
undecided: "undecided";
|
|
603
878
|
missing: "missing";
|
|
604
879
|
not_applicable: "not_applicable";
|
|
605
880
|
excluded: "excluded";
|
|
881
|
+
expressed: "expressed";
|
|
606
882
|
}>;
|
|
607
883
|
scenarioIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
608
884
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -616,15 +892,15 @@ export declare const Option: z.ZodObject<{
|
|
|
616
892
|
sceneId: z.ZodString;
|
|
617
893
|
role: z.ZodOptional<z.ZodString>;
|
|
618
894
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
619
|
-
|
|
895
|
+
data: "data";
|
|
896
|
+
desktop: "desktop";
|
|
897
|
+
mobile: "mobile";
|
|
620
898
|
window: "window";
|
|
621
899
|
browser: "browser";
|
|
622
|
-
|
|
623
|
-
desktop: "desktop";
|
|
900
|
+
terminal: "terminal";
|
|
624
901
|
chat: "chat";
|
|
625
902
|
agent: "agent";
|
|
626
903
|
server: "server";
|
|
627
|
-
data: "data";
|
|
628
904
|
email: "email";
|
|
629
905
|
doc: "doc";
|
|
630
906
|
flow: "flow";
|
|
@@ -701,6 +977,17 @@ export declare const VoiceIndex: z.ZodObject<{
|
|
|
701
977
|
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
702
978
|
}, z.core.$strict>>>;
|
|
703
979
|
}, z.core.$strict>;
|
|
980
|
+
/** Only calibrated numeric playback data may cross the author/public boundary. */
|
|
981
|
+
export declare const AudioRegionSchema: z.ZodObject<{
|
|
982
|
+
sourceSampleRate: z.ZodNumber;
|
|
983
|
+
cycleFrames: z.ZodNumber;
|
|
984
|
+
contentStartFrame: z.ZodNumber;
|
|
985
|
+
contentFrames: z.ZodNumber;
|
|
986
|
+
decodedFrames: z.ZodNumber;
|
|
987
|
+
encoderDelayFrames: z.ZodNumber;
|
|
988
|
+
paddingFrames: z.ZodNumber;
|
|
989
|
+
channels: z.ZodNumber;
|
|
990
|
+
}, z.core.$strict>;
|
|
704
991
|
export declare const Project: z.ZodObject<{
|
|
705
992
|
schemaVersion: z.ZodLiteral<2>;
|
|
706
993
|
name: z.ZodString;
|
|
@@ -727,17 +1014,79 @@ export declare const Project: z.ZodObject<{
|
|
|
727
1014
|
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
728
1015
|
}, z.core.$strict>>>;
|
|
729
1016
|
}, z.core.$strict>>;
|
|
1017
|
+
mediaAssets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1018
|
+
mediaInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1019
|
+
sourceSampleRate: z.ZodNumber;
|
|
1020
|
+
cycleFrames: z.ZodNumber;
|
|
1021
|
+
contentStartFrame: z.ZodNumber;
|
|
1022
|
+
contentFrames: z.ZodNumber;
|
|
1023
|
+
decodedFrames: z.ZodNumber;
|
|
1024
|
+
encoderDelayFrames: z.ZodNumber;
|
|
1025
|
+
paddingFrames: z.ZodNumber;
|
|
1026
|
+
channels: z.ZodNumber;
|
|
1027
|
+
}, z.core.$strict>>>;
|
|
730
1028
|
i18n: z.ZodOptional<z.ZodObject<{
|
|
731
1029
|
default: z.ZodString;
|
|
732
1030
|
locales: z.ZodArray<z.ZodString>;
|
|
733
1031
|
messages: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
734
1032
|
stale: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
735
1033
|
}, z.core.$strict>>;
|
|
1034
|
+
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1035
|
+
actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1036
|
+
caption: z.ZodString;
|
|
1037
|
+
durationMs: z.ZodNumber;
|
|
1038
|
+
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1039
|
+
type: z.ZodEnum<{
|
|
1040
|
+
string: "string";
|
|
1041
|
+
number: "number";
|
|
1042
|
+
boolean: "boolean";
|
|
1043
|
+
}>;
|
|
1044
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1045
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1046
|
+
tolerance: z.ZodOptional<z.ZodNumber>;
|
|
1047
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
1048
|
+
}, z.core.$strict>>;
|
|
1049
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1050
|
+
}, z.core.$strict>>>;
|
|
1051
|
+
themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1052
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1053
|
+
type: z.ZodEnum<{
|
|
1054
|
+
string: "string";
|
|
1055
|
+
number: "number";
|
|
1056
|
+
boolean: "boolean";
|
|
1057
|
+
}>;
|
|
1058
|
+
attribute: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1060
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1061
|
+
nonempty: z.ZodOptional<z.ZodBoolean>;
|
|
1062
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1063
|
+
}, z.core.$strict>>>;
|
|
1064
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
1065
|
+
node: z.ZodOptional<z.ZodObject<{
|
|
1066
|
+
text: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
1067
|
+
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"global">, z.ZodArray<z.ZodType<import("@joplo-app/kit/plugin").PluginScopeRule, unknown, z.core.$ZodTypeInternals<import("@joplo-app/kit/plugin").PluginScopeRule, unknown>>>]>>;
|
|
1068
|
+
}, z.core.$strict>>;
|
|
1069
|
+
step: z.ZodOptional<z.ZodObject<{
|
|
1070
|
+
text: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
1071
|
+
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"global">, z.ZodArray<z.ZodType<import("@joplo-app/kit/plugin").PluginScopeRule, unknown, z.core.$ZodTypeInternals<import("@joplo-app/kit/plugin").PluginScopeRule, unknown>>>]>>;
|
|
1072
|
+
}, z.core.$strict>>;
|
|
1073
|
+
}, z.core.$strict>>;
|
|
1074
|
+
id: z.ZodString;
|
|
1075
|
+
title: z.ZodString;
|
|
1076
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
components: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1078
|
+
interactive: z.ZodOptional<z.ZodBoolean>;
|
|
1079
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
1080
|
+
needsId: z.ZodOptional<z.ZodBoolean>;
|
|
1081
|
+
selfEvident: z.ZodOptional<z.ZodBoolean>;
|
|
1082
|
+
traits: z.ZodOptional<z.ZodType<ElementTraits, unknown, z.core.$ZodTypeInternals<ElementTraits, unknown>>>;
|
|
1083
|
+
}, z.core.$strict>>;
|
|
1084
|
+
}, z.core.$strict>>>;
|
|
736
1085
|
themes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
737
1086
|
mode: z.ZodEnum<{
|
|
738
|
-
review: "review";
|
|
739
|
-
publish: "publish";
|
|
740
1087
|
dev: "dev";
|
|
1088
|
+
publish: "publish";
|
|
1089
|
+
review: "review";
|
|
741
1090
|
}>;
|
|
742
1091
|
routes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
743
1092
|
path: z.ZodString;
|
|
@@ -774,10 +1123,10 @@ export declare const Project: z.ZodObject<{
|
|
|
774
1123
|
title: z.ZodString;
|
|
775
1124
|
dimension: z.ZodEnum<{
|
|
776
1125
|
main: "main";
|
|
777
|
-
async: "async";
|
|
778
1126
|
input: "input";
|
|
779
1127
|
permission: "permission";
|
|
780
1128
|
lifecycle: "lifecycle";
|
|
1129
|
+
async: "async";
|
|
781
1130
|
interrupt: "interrupt";
|
|
782
1131
|
conflict: "conflict";
|
|
783
1132
|
consistency: "consistency";
|
|
@@ -791,6 +1140,94 @@ export declare const Project: z.ZodObject<{
|
|
|
791
1140
|
source: z.ZodOptional<z.ZodString>;
|
|
792
1141
|
}, z.core.$strict>>>;
|
|
793
1142
|
options: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1143
|
+
free: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1144
|
+
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1145
|
+
type: z.ZodLiteral<"click">;
|
|
1146
|
+
target: z.ZodString;
|
|
1147
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1148
|
+
type: z.ZodLiteral<"drag">;
|
|
1149
|
+
target: z.ZodString;
|
|
1150
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1151
|
+
x: z.ZodNumber;
|
|
1152
|
+
y: z.ZodNumber;
|
|
1153
|
+
}, z.core.$strict>]>;
|
|
1154
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1155
|
+
type: z.ZodLiteral<"hover">;
|
|
1156
|
+
target: z.ZodString;
|
|
1157
|
+
ms: z.ZodNumber;
|
|
1158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1159
|
+
type: z.ZodLiteral<"scroll">;
|
|
1160
|
+
target: z.ZodString;
|
|
1161
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1162
|
+
x: z.ZodNumber;
|
|
1163
|
+
y: z.ZodNumber;
|
|
1164
|
+
}, z.core.$strict>]>;
|
|
1165
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1166
|
+
type: z.ZodLiteral<"plugin">;
|
|
1167
|
+
name: z.ZodString;
|
|
1168
|
+
target: z.ZodString;
|
|
1169
|
+
data: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1171
|
+
type: z.ZodLiteral<"type">;
|
|
1172
|
+
target: z.ZodString;
|
|
1173
|
+
value: z.ZodString;
|
|
1174
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1175
|
+
type: z.ZodLiteral<"select">;
|
|
1176
|
+
target: z.ZodString;
|
|
1177
|
+
value: z.ZodString;
|
|
1178
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1179
|
+
type: z.ZodLiteral<"toggle">;
|
|
1180
|
+
target: z.ZodString;
|
|
1181
|
+
value: z.ZodBoolean;
|
|
1182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1183
|
+
type: z.ZodLiteral<"back">;
|
|
1184
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1185
|
+
type: z.ZodLiteral<"press">;
|
|
1186
|
+
keys: z.ZodString;
|
|
1187
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1188
|
+
type: z.ZodLiteral<"event">;
|
|
1189
|
+
name: z.ZodString;
|
|
1190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1191
|
+
type: z.ZodLiteral<"card">;
|
|
1192
|
+
title: z.ZodString;
|
|
1193
|
+
sub: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
points: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1195
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
}, z.core.$strict>], "type">;
|
|
1197
|
+
effects: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1198
|
+
type: z.ZodLiteral<"set">;
|
|
1199
|
+
path: z.ZodString;
|
|
1200
|
+
value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1201
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1202
|
+
type: z.ZodLiteral<"append">;
|
|
1203
|
+
path: z.ZodString;
|
|
1204
|
+
value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1206
|
+
type: z.ZodLiteral<"toast">;
|
|
1207
|
+
text: z.ZodString;
|
|
1208
|
+
tone: z.ZodDefault<z.ZodEnum<{
|
|
1209
|
+
success: "success";
|
|
1210
|
+
error: "error";
|
|
1211
|
+
info: "info";
|
|
1212
|
+
}>>;
|
|
1213
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1214
|
+
type: z.ZodLiteral<"navigate">;
|
|
1215
|
+
sceneId: z.ZodString;
|
|
1216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1217
|
+
type: z.ZodLiteral<"complete">;
|
|
1218
|
+
text: z.ZodString;
|
|
1219
|
+
outcome: z.ZodEnum<{
|
|
1220
|
+
success: "success";
|
|
1221
|
+
failure: "failure";
|
|
1222
|
+
cancelled: "cancelled";
|
|
1223
|
+
}>;
|
|
1224
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1225
|
+
type: z.ZodLiteral<"stream">;
|
|
1226
|
+
path: z.ZodString;
|
|
1227
|
+
value: z.ZodString;
|
|
1228
|
+
}, z.core.$strict>], "type">>>;
|
|
1229
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
}, z.core.$strict>>>;
|
|
794
1231
|
id: z.ZodString;
|
|
795
1232
|
featureId: z.ZodString;
|
|
796
1233
|
key: z.ZodString;
|
|
@@ -801,11 +1238,11 @@ export declare const Project: z.ZodObject<{
|
|
|
801
1238
|
routes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
802
1239
|
coverage: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
803
1240
|
status: z.ZodEnum<{
|
|
804
|
-
expressed: "expressed";
|
|
805
1241
|
undecided: "undecided";
|
|
806
1242
|
missing: "missing";
|
|
807
1243
|
not_applicable: "not_applicable";
|
|
808
1244
|
excluded: "excluded";
|
|
1245
|
+
expressed: "expressed";
|
|
809
1246
|
}>;
|
|
810
1247
|
scenarioIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
811
1248
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -819,15 +1256,15 @@ export declare const Project: z.ZodObject<{
|
|
|
819
1256
|
sceneId: z.ZodString;
|
|
820
1257
|
role: z.ZodOptional<z.ZodString>;
|
|
821
1258
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
822
|
-
|
|
1259
|
+
data: "data";
|
|
1260
|
+
desktop: "desktop";
|
|
1261
|
+
mobile: "mobile";
|
|
823
1262
|
window: "window";
|
|
824
1263
|
browser: "browser";
|
|
825
|
-
|
|
826
|
-
desktop: "desktop";
|
|
1264
|
+
terminal: "terminal";
|
|
827
1265
|
chat: "chat";
|
|
828
1266
|
agent: "agent";
|
|
829
1267
|
server: "server";
|
|
830
|
-
data: "data";
|
|
831
1268
|
email: "email";
|
|
832
1269
|
doc: "doc";
|
|
833
1270
|
flow: "flow";
|
|
@@ -863,13 +1300,30 @@ export declare const Project: z.ZodObject<{
|
|
|
863
1300
|
route: z.ZodString;
|
|
864
1301
|
name: z.ZodString;
|
|
865
1302
|
viewport: z.ZodDefault<z.ZodEnum<{
|
|
866
|
-
mobile: "mobile";
|
|
867
1303
|
desktop: "desktop";
|
|
1304
|
+
mobile: "mobile";
|
|
868
1305
|
}>>;
|
|
869
1306
|
root: z.ZodType<SceneNode, unknown, z.core.$ZodTypeInternals<SceneNode, unknown>>;
|
|
870
1307
|
layer: z.ZodOptional<z.ZodString>;
|
|
871
1308
|
}, z.core.$strict>>>;
|
|
872
1309
|
scenarios: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1310
|
+
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
1311
|
+
actionEntry: z.ZodOptional<z.ZodEnum<{
|
|
1312
|
+
before: "before";
|
|
1313
|
+
after: "after";
|
|
1314
|
+
}>>;
|
|
1315
|
+
from: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
media: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1317
|
+
plugin: z.ZodString;
|
|
1318
|
+
resource: z.ZodString;
|
|
1319
|
+
offsetMs: z.ZodNumber;
|
|
1320
|
+
startOffsetMs: z.ZodOptional<z.ZodNumber>;
|
|
1321
|
+
volume: z.ZodNumber;
|
|
1322
|
+
loop: z.ZodBoolean;
|
|
1323
|
+
fadeInMs: z.ZodNumber;
|
|
1324
|
+
stopAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
1325
|
+
}, z.core.$strict>>>;
|
|
1326
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
873
1327
|
id: z.ZodString;
|
|
874
1328
|
optionId: z.ZodString;
|
|
875
1329
|
name: z.ZodString;
|
|
@@ -893,16 +1347,49 @@ export declare const Project: z.ZodObject<{
|
|
|
893
1347
|
layer: z.ZodOptional<z.ZodString>;
|
|
894
1348
|
}, z.core.$strict>;
|
|
895
1349
|
steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1350
|
+
media: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1351
|
+
plugin: z.ZodString;
|
|
1352
|
+
resource: z.ZodString;
|
|
1353
|
+
offsetMs: z.ZodNumber;
|
|
1354
|
+
startOffsetMs: z.ZodOptional<z.ZodNumber>;
|
|
1355
|
+
volume: z.ZodNumber;
|
|
1356
|
+
loop: z.ZodBoolean;
|
|
1357
|
+
fadeInMs: z.ZodNumber;
|
|
1358
|
+
stopAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
1359
|
+
}, z.core.$strict>>>;
|
|
896
1360
|
id: z.ZodString;
|
|
897
1361
|
key: z.ZodOptional<z.ZodString>;
|
|
898
1362
|
kind: z.ZodEnum<{
|
|
899
1363
|
user: "user";
|
|
900
|
-
card: "card";
|
|
901
1364
|
system: "system";
|
|
1365
|
+
card: "card";
|
|
902
1366
|
}>;
|
|
903
1367
|
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
904
1368
|
type: z.ZodLiteral<"click">;
|
|
905
1369
|
target: z.ZodString;
|
|
1370
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1371
|
+
type: z.ZodLiteral<"drag">;
|
|
1372
|
+
target: z.ZodString;
|
|
1373
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1374
|
+
x: z.ZodNumber;
|
|
1375
|
+
y: z.ZodNumber;
|
|
1376
|
+
}, z.core.$strict>]>;
|
|
1377
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1378
|
+
type: z.ZodLiteral<"hover">;
|
|
1379
|
+
target: z.ZodString;
|
|
1380
|
+
ms: z.ZodNumber;
|
|
1381
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1382
|
+
type: z.ZodLiteral<"scroll">;
|
|
1383
|
+
target: z.ZodString;
|
|
1384
|
+
to: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1385
|
+
x: z.ZodNumber;
|
|
1386
|
+
y: z.ZodNumber;
|
|
1387
|
+
}, z.core.$strict>]>;
|
|
1388
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1389
|
+
type: z.ZodLiteral<"plugin">;
|
|
1390
|
+
name: z.ZodString;
|
|
1391
|
+
target: z.ZodString;
|
|
1392
|
+
data: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
906
1393
|
}, z.core.$strict>, z.ZodObject<{
|
|
907
1394
|
type: z.ZodLiteral<"type">;
|
|
908
1395
|
target: z.ZodString;
|
|
@@ -933,12 +1420,15 @@ export declare const Project: z.ZodObject<{
|
|
|
933
1420
|
caption: z.ZodString;
|
|
934
1421
|
captionAuto: z.ZodOptional<z.ZodObject<{
|
|
935
1422
|
kind: z.ZodEnum<{
|
|
936
|
-
check: "check";
|
|
937
|
-
type: "type";
|
|
938
1423
|
click: "click";
|
|
1424
|
+
drag: "drag";
|
|
1425
|
+
hover: "hover";
|
|
1426
|
+
scroll: "scroll";
|
|
1427
|
+
type: "type";
|
|
939
1428
|
select: "select";
|
|
940
|
-
back: "back";
|
|
941
1429
|
press: "press";
|
|
1430
|
+
back: "back";
|
|
1431
|
+
check: "check";
|
|
942
1432
|
uncheck: "uncheck";
|
|
943
1433
|
switch_on: "switch_on";
|
|
944
1434
|
switch_off: "switch_off";
|
|
@@ -959,8 +1449,8 @@ export declare const Project: z.ZodObject<{
|
|
|
959
1449
|
type: z.ZodLiteral<"toast">;
|
|
960
1450
|
text: z.ZodString;
|
|
961
1451
|
tone: z.ZodDefault<z.ZodEnum<{
|
|
962
|
-
error: "error";
|
|
963
1452
|
success: "success";
|
|
1453
|
+
error: "error";
|
|
964
1454
|
info: "info";
|
|
965
1455
|
}>>;
|
|
966
1456
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -986,21 +1476,9 @@ export declare const Project: z.ZodObject<{
|
|
|
986
1476
|
}, z.core.$strict>>>;
|
|
987
1477
|
directorLayer: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
988
1478
|
explain: z.ZodOptional<z.ZodString>;
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
fail: "fail";
|
|
993
|
-
skip: "skip";
|
|
994
|
-
}>;
|
|
995
|
-
nodes: z.ZodArray<z.ZodString>;
|
|
996
|
-
edges: z.ZodArray<z.ZodObject<{
|
|
997
|
-
id: z.ZodString;
|
|
998
|
-
reverse: z.ZodDefault<z.ZodBoolean>;
|
|
999
|
-
}, z.core.$strict>>;
|
|
1000
|
-
groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1001
|
-
errorGroups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1002
|
-
targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1003
|
-
}, z.core.$strict>>>;
|
|
1479
|
+
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
1480
|
+
focusTargets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1481
|
+
references: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1004
1482
|
forks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1005
1483
|
label: z.ZodString;
|
|
1006
1484
|
scenarioId: z.ZodString;
|
|
@@ -1009,9 +1487,9 @@ export declare const Project: z.ZodObject<{
|
|
|
1009
1487
|
marks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1010
1488
|
target: z.ZodString;
|
|
1011
1489
|
kind: z.ZodEnum<{
|
|
1012
|
-
box: "box";
|
|
1013
1490
|
circle: "circle";
|
|
1014
1491
|
underline: "underline";
|
|
1492
|
+
box: "box";
|
|
1015
1493
|
arrow: "arrow";
|
|
1016
1494
|
}>;
|
|
1017
1495
|
note: z.ZodOptional<z.ZodString>;
|
|
@@ -1028,8 +1506,8 @@ export declare const Project: z.ZodObject<{
|
|
|
1028
1506
|
target: z.ZodString;
|
|
1029
1507
|
text: z.ZodString;
|
|
1030
1508
|
side: z.ZodOptional<z.ZodEnum<{
|
|
1031
|
-
right: "right";
|
|
1032
1509
|
top: "top";
|
|
1510
|
+
right: "right";
|
|
1033
1511
|
bottom: "bottom";
|
|
1034
1512
|
left: "left";
|
|
1035
1513
|
}>>;
|
|
@@ -1069,7 +1547,7 @@ export type Scenario = z.infer<typeof Scenario>;
|
|
|
1069
1547
|
export type Step = z.infer<typeof Step>;
|
|
1070
1548
|
export type Action = z.infer<typeof Action>;
|
|
1071
1549
|
export type Effect = z.infer<typeof Effect>;
|
|
1072
|
-
export type
|
|
1550
|
+
export type FreeReaction = z.infer<typeof FreeReaction>;
|
|
1073
1551
|
export type Shot = z.infer<typeof Shot>;
|
|
1074
1552
|
export type Fork = z.infer<typeof Fork>;
|
|
1075
1553
|
export type Mark = z.infer<typeof Mark>;
|