@bloom-perf/yaml-pptr 2.0.2 → 3.1.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.
@@ -1,64 +1,64 @@
1
1
  import * as z from 'zod';
2
2
  declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3
- type: z.ZodLiteral<"WAIT">;
4
- milliseconds: z.ZodNumber;
5
- }, z.core.$strip> | z.ZodObject<{
6
3
  type: z.ZodLiteral<"GOTO">;
7
4
  url: z.ZodString;
8
5
  options: z.ZodOptional<z.ZodObject<{
9
6
  timeout: z.ZodOptional<z.ZodNumber>;
10
7
  waitUntil: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
11
- load: "load";
12
8
  domcontentloaded: "domcontentloaded";
9
+ load: "load";
13
10
  networkidle0: "networkidle0";
14
11
  networkidle2: "networkidle2";
15
12
  }>, z.ZodArray<z.ZodEnum<{
16
- load: "load";
17
13
  domcontentloaded: "domcontentloaded";
14
+ load: "load";
18
15
  networkidle0: "networkidle0";
19
16
  networkidle2: "networkidle2";
20
17
  }>>]>>;
21
18
  referer: z.ZodOptional<z.ZodString>;
22
- }, z.core.$strip>>;
23
- }, z.core.$strip> | z.ZodObject<{
19
+ }, z.core.$strict>>;
20
+ }, z.core.$strict>, z.ZodObject<{
24
21
  type: z.ZodLiteral<"CLICK">;
25
22
  selector: z.ZodString;
26
23
  options: z.ZodOptional<z.ZodObject<{
27
24
  button: z.ZodOptional<z.ZodEnum<{
28
25
  left: "left";
29
- right: "right";
30
26
  middle: "middle";
27
+ right: "right";
31
28
  }>>;
32
29
  clickCount: z.ZodOptional<z.ZodNumber>;
33
30
  delay: z.ZodOptional<z.ZodNumber>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip> | z.ZodObject<{
31
+ }, z.core.$strict>>;
32
+ }, z.core.$strict>, z.ZodObject<{
36
33
  type: z.ZodLiteral<"TYPE">;
37
34
  selector: z.ZodString;
38
35
  text: z.ZodString;
39
36
  options: z.ZodOptional<z.ZodObject<{
40
37
  delay: z.ZodOptional<z.ZodNumber>;
41
- }, z.core.$strip>>;
42
- }, z.core.$strip> | z.ZodObject<{
38
+ }, z.core.$strict>>;
39
+ }, z.core.$strict>, z.ZodObject<{
43
40
  type: z.ZodLiteral<"WAIT_FOR_SELECTOR">;
44
41
  selector: z.ZodString;
45
42
  options: z.ZodOptional<z.ZodObject<{
46
43
  visible: z.ZodOptional<z.ZodBoolean>;
47
44
  hidden: z.ZodOptional<z.ZodBoolean>;
48
45
  timeout: z.ZodOptional<z.ZodNumber>;
49
- }, z.core.$strip>>;
50
- }, z.core.$strip> | z.ZodObject<{
46
+ }, z.core.$strict>>;
47
+ }, z.core.$strict>, z.ZodObject<{
51
48
  type: z.ZodLiteral<"WAIT_FOR_TIMEOUT">;
52
49
  timeout: z.ZodNumber;
53
- }, z.core.$strip> | z.ZodObject<{
50
+ }, z.core.$strict>, z.ZodObject<{
51
+ type: z.ZodLiteral<"WAIT">;
52
+ milliseconds: z.ZodNumber;
53
+ }, z.core.$strict>, z.ZodObject<{
54
54
  type: z.ZodLiteral<"PAUSE">;
55
- }, z.core.$strip> | z.ZodObject<{
55
+ }, z.core.$strict>, z.ZodObject<{
56
56
  type: z.ZodLiteral<"SCREENSHOT">;
57
57
  path: z.ZodString;
58
58
  options: z.ZodOptional<z.ZodObject<{
59
59
  type: z.ZodOptional<z.ZodEnum<{
60
- png: "png";
61
60
  jpeg: "jpeg";
61
+ png: "png";
62
62
  }>>;
63
63
  quality: z.ZodOptional<z.ZodNumber>;
64
64
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -67,82 +67,95 @@ declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
67
67
  y: z.ZodNumber;
68
68
  width: z.ZodNumber;
69
69
  height: z.ZodNumber;
70
- }, z.core.$strip>>;
70
+ }, z.core.$strict>>;
71
71
  omitBackground: z.ZodOptional<z.ZodBoolean>;
72
72
  encoding: z.ZodOptional<z.ZodEnum<{
73
73
  base64: "base64";
74
74
  binary: "binary";
75
75
  }>>;
76
- }, z.core.$strip>>;
77
- }, z.core.$strip> | z.ZodObject<{
76
+ }, z.core.$strict>>;
77
+ }, z.core.$strict>, z.ZodObject<{
78
78
  type: z.ZodLiteral<"EVALUATE">;
79
- script: z.ZodUnion<readonly [z.ZodString, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>;
80
- }, z.core.$strip> | z.ZodObject<{
79
+ script: z.ZodString;
80
+ }, z.core.$strict>, z.ZodObject<{
81
81
  type: z.ZodLiteral<"SET_VIEWPORT">;
82
82
  width: z.ZodNumber;
83
83
  height: z.ZodNumber;
84
- }, z.core.$strip> | z.ZodObject<{
84
+ }, z.core.$strict>, z.ZodObject<{
85
85
  type: z.ZodLiteral<"CLOSE">;
86
- }, z.core.$strip>, ...(z.ZodObject<{
87
- type: z.ZodLiteral<"WAIT">;
88
- milliseconds: z.ZodNumber;
89
- }, z.core.$strip> | z.ZodObject<{
86
+ }, z.core.$strict>], "type">;
87
+ export type ActionYaml = z.infer<typeof actionSchema>;
88
+ declare const stepSchema: z.ZodUnion<readonly [z.ZodObject<{
89
+ navigate: z.ZodString;
90
+ }, z.core.$strict>, z.ZodLiteral<"waitForever">, z.ZodObject<{
91
+ wait: z.ZodNumber;
92
+ }, z.core.$strict>, z.ZodObject<{
93
+ click: z.ZodString;
94
+ }, z.core.$strict>, z.ZodObject<{
95
+ input: z.ZodObject<{
96
+ selector: z.ZodString;
97
+ text: z.ZodString;
98
+ }, z.core.$strict>;
99
+ }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
90
100
  type: z.ZodLiteral<"GOTO">;
91
101
  url: z.ZodString;
92
102
  options: z.ZodOptional<z.ZodObject<{
93
103
  timeout: z.ZodOptional<z.ZodNumber>;
94
104
  waitUntil: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
95
- load: "load";
96
105
  domcontentloaded: "domcontentloaded";
106
+ load: "load";
97
107
  networkidle0: "networkidle0";
98
108
  networkidle2: "networkidle2";
99
109
  }>, z.ZodArray<z.ZodEnum<{
100
- load: "load";
101
110
  domcontentloaded: "domcontentloaded";
111
+ load: "load";
102
112
  networkidle0: "networkidle0";
103
113
  networkidle2: "networkidle2";
104
114
  }>>]>>;
105
115
  referer: z.ZodOptional<z.ZodString>;
106
- }, z.core.$strip>>;
107
- }, z.core.$strip> | z.ZodObject<{
116
+ }, z.core.$strict>>;
117
+ }, z.core.$strict>, z.ZodObject<{
108
118
  type: z.ZodLiteral<"CLICK">;
109
119
  selector: z.ZodString;
110
120
  options: z.ZodOptional<z.ZodObject<{
111
121
  button: z.ZodOptional<z.ZodEnum<{
112
122
  left: "left";
113
- right: "right";
114
123
  middle: "middle";
124
+ right: "right";
115
125
  }>>;
116
126
  clickCount: z.ZodOptional<z.ZodNumber>;
117
127
  delay: z.ZodOptional<z.ZodNumber>;
118
- }, z.core.$strip>>;
119
- }, z.core.$strip> | z.ZodObject<{
128
+ }, z.core.$strict>>;
129
+ }, z.core.$strict>, z.ZodObject<{
120
130
  type: z.ZodLiteral<"TYPE">;
121
131
  selector: z.ZodString;
122
132
  text: z.ZodString;
123
133
  options: z.ZodOptional<z.ZodObject<{
124
134
  delay: z.ZodOptional<z.ZodNumber>;
125
- }, z.core.$strip>>;
126
- }, z.core.$strip> | z.ZodObject<{
135
+ }, z.core.$strict>>;
136
+ }, z.core.$strict>, z.ZodObject<{
127
137
  type: z.ZodLiteral<"WAIT_FOR_SELECTOR">;
128
138
  selector: z.ZodString;
129
139
  options: z.ZodOptional<z.ZodObject<{
130
140
  visible: z.ZodOptional<z.ZodBoolean>;
131
141
  hidden: z.ZodOptional<z.ZodBoolean>;
132
142
  timeout: z.ZodOptional<z.ZodNumber>;
133
- }, z.core.$strip>>;
134
- }, z.core.$strip> | z.ZodObject<{
143
+ }, z.core.$strict>>;
144
+ }, z.core.$strict>, z.ZodObject<{
135
145
  type: z.ZodLiteral<"WAIT_FOR_TIMEOUT">;
136
146
  timeout: z.ZodNumber;
137
- }, z.core.$strip> | z.ZodObject<{
147
+ }, z.core.$strict>, z.ZodObject<{
148
+ type: z.ZodLiteral<"WAIT">;
149
+ milliseconds: z.ZodNumber;
150
+ }, z.core.$strict>, z.ZodObject<{
138
151
  type: z.ZodLiteral<"PAUSE">;
139
- }, z.core.$strip> | z.ZodObject<{
152
+ }, z.core.$strict>, z.ZodObject<{
140
153
  type: z.ZodLiteral<"SCREENSHOT">;
141
154
  path: z.ZodString;
142
155
  options: z.ZodOptional<z.ZodObject<{
143
156
  type: z.ZodOptional<z.ZodEnum<{
144
- png: "png";
145
157
  jpeg: "jpeg";
158
+ png: "png";
146
159
  }>>;
147
160
  quality: z.ZodOptional<z.ZodNumber>;
148
161
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -151,36 +164,23 @@ declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
151
164
  y: z.ZodNumber;
152
165
  width: z.ZodNumber;
153
166
  height: z.ZodNumber;
154
- }, z.core.$strip>>;
167
+ }, z.core.$strict>>;
155
168
  omitBackground: z.ZodOptional<z.ZodBoolean>;
156
169
  encoding: z.ZodOptional<z.ZodEnum<{
157
170
  base64: "base64";
158
171
  binary: "binary";
159
172
  }>>;
160
- }, z.core.$strip>>;
161
- }, z.core.$strip> | z.ZodObject<{
173
+ }, z.core.$strict>>;
174
+ }, z.core.$strict>, z.ZodObject<{
162
175
  type: z.ZodLiteral<"EVALUATE">;
163
- script: z.ZodUnion<readonly [z.ZodString, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>;
164
- }, z.core.$strip> | z.ZodObject<{
176
+ script: z.ZodString;
177
+ }, z.core.$strict>, z.ZodObject<{
165
178
  type: z.ZodLiteral<"SET_VIEWPORT">;
166
179
  width: z.ZodNumber;
167
180
  height: z.ZodNumber;
168
- }, z.core.$strip> | z.ZodObject<{
181
+ }, z.core.$strict>, z.ZodObject<{
169
182
  type: z.ZodLiteral<"CLOSE">;
170
- }, z.core.$strip>)[]], "type">;
171
- export type ActionYaml = z.infer<typeof actionSchema>;
172
- declare const stepSchema: z.ZodUnion<readonly [z.ZodObject<{
173
- navigate: z.ZodString;
174
- }, z.core.$strip>, z.ZodLiteral<"waitForever">, z.ZodObject<{
175
- wait: z.ZodNumber;
176
- }, z.core.$strip>, z.ZodObject<{
177
- click: z.ZodString;
178
- }, z.core.$strip>, z.ZodObject<{
179
- input: z.ZodObject<{
180
- selector: z.ZodString;
181
- text: z.ZodString;
182
- }, z.core.$strip>;
183
- }, z.core.$strip>]>;
183
+ }, z.core.$strict>], "type">]>;
184
184
  export type StepYaml = z.infer<typeof stepSchema>;
185
185
  declare const scenarioSchema: z.ZodObject<{
186
186
  name: z.ZodOptional<z.ZodString>;
@@ -198,76 +198,75 @@ declare const scenarioSchema: z.ZodObject<{
198
198
  location: z.ZodOptional<z.ZodString>;
199
199
  steps: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
200
200
  navigate: z.ZodString;
201
- }, z.core.$strip>, z.ZodLiteral<"waitForever">, z.ZodObject<{
201
+ }, z.core.$strict>, z.ZodLiteral<"waitForever">, z.ZodObject<{
202
202
  wait: z.ZodNumber;
203
- }, z.core.$strip>, z.ZodObject<{
203
+ }, z.core.$strict>, z.ZodObject<{
204
204
  click: z.ZodString;
205
- }, z.core.$strip>, z.ZodObject<{
205
+ }, z.core.$strict>, z.ZodObject<{
206
206
  input: z.ZodObject<{
207
207
  selector: z.ZodString;
208
208
  text: z.ZodString;
209
- }, z.core.$strip>;
210
- }, z.core.$strip>]>>>;
211
- actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
212
- type: z.ZodLiteral<"WAIT">;
213
- milliseconds: z.ZodNumber;
214
- }, z.core.$strip> | z.ZodObject<{
209
+ }, z.core.$strict>;
210
+ }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
215
211
  type: z.ZodLiteral<"GOTO">;
216
212
  url: z.ZodString;
217
213
  options: z.ZodOptional<z.ZodObject<{
218
214
  timeout: z.ZodOptional<z.ZodNumber>;
219
215
  waitUntil: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
220
- load: "load";
221
216
  domcontentloaded: "domcontentloaded";
217
+ load: "load";
222
218
  networkidle0: "networkidle0";
223
219
  networkidle2: "networkidle2";
224
220
  }>, z.ZodArray<z.ZodEnum<{
225
- load: "load";
226
221
  domcontentloaded: "domcontentloaded";
222
+ load: "load";
227
223
  networkidle0: "networkidle0";
228
224
  networkidle2: "networkidle2";
229
225
  }>>]>>;
230
226
  referer: z.ZodOptional<z.ZodString>;
231
- }, z.core.$strip>>;
232
- }, z.core.$strip> | z.ZodObject<{
227
+ }, z.core.$strict>>;
228
+ }, z.core.$strict>, z.ZodObject<{
233
229
  type: z.ZodLiteral<"CLICK">;
234
230
  selector: z.ZodString;
235
231
  options: z.ZodOptional<z.ZodObject<{
236
232
  button: z.ZodOptional<z.ZodEnum<{
237
233
  left: "left";
238
- right: "right";
239
234
  middle: "middle";
235
+ right: "right";
240
236
  }>>;
241
237
  clickCount: z.ZodOptional<z.ZodNumber>;
242
238
  delay: z.ZodOptional<z.ZodNumber>;
243
- }, z.core.$strip>>;
244
- }, z.core.$strip> | z.ZodObject<{
239
+ }, z.core.$strict>>;
240
+ }, z.core.$strict>, z.ZodObject<{
245
241
  type: z.ZodLiteral<"TYPE">;
246
242
  selector: z.ZodString;
247
243
  text: z.ZodString;
248
244
  options: z.ZodOptional<z.ZodObject<{
249
245
  delay: z.ZodOptional<z.ZodNumber>;
250
- }, z.core.$strip>>;
251
- }, z.core.$strip> | z.ZodObject<{
246
+ }, z.core.$strict>>;
247
+ }, z.core.$strict>, z.ZodObject<{
252
248
  type: z.ZodLiteral<"WAIT_FOR_SELECTOR">;
253
249
  selector: z.ZodString;
254
250
  options: z.ZodOptional<z.ZodObject<{
255
251
  visible: z.ZodOptional<z.ZodBoolean>;
256
252
  hidden: z.ZodOptional<z.ZodBoolean>;
257
253
  timeout: z.ZodOptional<z.ZodNumber>;
258
- }, z.core.$strip>>;
259
- }, z.core.$strip> | z.ZodObject<{
254
+ }, z.core.$strict>>;
255
+ }, z.core.$strict>, z.ZodObject<{
260
256
  type: z.ZodLiteral<"WAIT_FOR_TIMEOUT">;
261
257
  timeout: z.ZodNumber;
262
- }, z.core.$strip> | z.ZodObject<{
258
+ }, z.core.$strict>, z.ZodObject<{
259
+ type: z.ZodLiteral<"WAIT">;
260
+ milliseconds: z.ZodNumber;
261
+ }, z.core.$strict>, z.ZodObject<{
263
262
  type: z.ZodLiteral<"PAUSE">;
264
- }, z.core.$strip> | z.ZodObject<{
263
+ }, z.core.$strict>, z.ZodObject<{
265
264
  type: z.ZodLiteral<"SCREENSHOT">;
266
265
  path: z.ZodString;
267
266
  options: z.ZodOptional<z.ZodObject<{
268
267
  type: z.ZodOptional<z.ZodEnum<{
269
- png: "png";
270
268
  jpeg: "jpeg";
269
+ png: "png";
271
270
  }>>;
272
271
  quality: z.ZodOptional<z.ZodNumber>;
273
272
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -276,82 +275,83 @@ declare const scenarioSchema: z.ZodObject<{
276
275
  y: z.ZodNumber;
277
276
  width: z.ZodNumber;
278
277
  height: z.ZodNumber;
279
- }, z.core.$strip>>;
278
+ }, z.core.$strict>>;
280
279
  omitBackground: z.ZodOptional<z.ZodBoolean>;
281
280
  encoding: z.ZodOptional<z.ZodEnum<{
282
281
  base64: "base64";
283
282
  binary: "binary";
284
283
  }>>;
285
- }, z.core.$strip>>;
286
- }, z.core.$strip> | z.ZodObject<{
284
+ }, z.core.$strict>>;
285
+ }, z.core.$strict>, z.ZodObject<{
287
286
  type: z.ZodLiteral<"EVALUATE">;
288
- script: z.ZodUnion<readonly [z.ZodString, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>;
289
- }, z.core.$strip> | z.ZodObject<{
287
+ script: z.ZodString;
288
+ }, z.core.$strict>, z.ZodObject<{
290
289
  type: z.ZodLiteral<"SET_VIEWPORT">;
291
290
  width: z.ZodNumber;
292
291
  height: z.ZodNumber;
293
- }, z.core.$strip> | z.ZodObject<{
292
+ }, z.core.$strict>, z.ZodObject<{
294
293
  type: z.ZodLiteral<"CLOSE">;
295
- }, z.core.$strip>, ...(z.ZodObject<{
296
- type: z.ZodLiteral<"WAIT">;
297
- milliseconds: z.ZodNumber;
298
- }, z.core.$strip> | z.ZodObject<{
294
+ }, z.core.$strict>], "type">]>>>;
295
+ actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
299
296
  type: z.ZodLiteral<"GOTO">;
300
297
  url: z.ZodString;
301
298
  options: z.ZodOptional<z.ZodObject<{
302
299
  timeout: z.ZodOptional<z.ZodNumber>;
303
300
  waitUntil: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
304
- load: "load";
305
301
  domcontentloaded: "domcontentloaded";
302
+ load: "load";
306
303
  networkidle0: "networkidle0";
307
304
  networkidle2: "networkidle2";
308
305
  }>, z.ZodArray<z.ZodEnum<{
309
- load: "load";
310
306
  domcontentloaded: "domcontentloaded";
307
+ load: "load";
311
308
  networkidle0: "networkidle0";
312
309
  networkidle2: "networkidle2";
313
310
  }>>]>>;
314
311
  referer: z.ZodOptional<z.ZodString>;
315
- }, z.core.$strip>>;
316
- }, z.core.$strip> | z.ZodObject<{
312
+ }, z.core.$strict>>;
313
+ }, z.core.$strict>, z.ZodObject<{
317
314
  type: z.ZodLiteral<"CLICK">;
318
315
  selector: z.ZodString;
319
316
  options: z.ZodOptional<z.ZodObject<{
320
317
  button: z.ZodOptional<z.ZodEnum<{
321
318
  left: "left";
322
- right: "right";
323
319
  middle: "middle";
320
+ right: "right";
324
321
  }>>;
325
322
  clickCount: z.ZodOptional<z.ZodNumber>;
326
323
  delay: z.ZodOptional<z.ZodNumber>;
327
- }, z.core.$strip>>;
328
- }, z.core.$strip> | z.ZodObject<{
324
+ }, z.core.$strict>>;
325
+ }, z.core.$strict>, z.ZodObject<{
329
326
  type: z.ZodLiteral<"TYPE">;
330
327
  selector: z.ZodString;
331
328
  text: z.ZodString;
332
329
  options: z.ZodOptional<z.ZodObject<{
333
330
  delay: z.ZodOptional<z.ZodNumber>;
334
- }, z.core.$strip>>;
335
- }, z.core.$strip> | z.ZodObject<{
331
+ }, z.core.$strict>>;
332
+ }, z.core.$strict>, z.ZodObject<{
336
333
  type: z.ZodLiteral<"WAIT_FOR_SELECTOR">;
337
334
  selector: z.ZodString;
338
335
  options: z.ZodOptional<z.ZodObject<{
339
336
  visible: z.ZodOptional<z.ZodBoolean>;
340
337
  hidden: z.ZodOptional<z.ZodBoolean>;
341
338
  timeout: z.ZodOptional<z.ZodNumber>;
342
- }, z.core.$strip>>;
343
- }, z.core.$strip> | z.ZodObject<{
339
+ }, z.core.$strict>>;
340
+ }, z.core.$strict>, z.ZodObject<{
344
341
  type: z.ZodLiteral<"WAIT_FOR_TIMEOUT">;
345
342
  timeout: z.ZodNumber;
346
- }, z.core.$strip> | z.ZodObject<{
343
+ }, z.core.$strict>, z.ZodObject<{
344
+ type: z.ZodLiteral<"WAIT">;
345
+ milliseconds: z.ZodNumber;
346
+ }, z.core.$strict>, z.ZodObject<{
347
347
  type: z.ZodLiteral<"PAUSE">;
348
- }, z.core.$strip> | z.ZodObject<{
348
+ }, z.core.$strict>, z.ZodObject<{
349
349
  type: z.ZodLiteral<"SCREENSHOT">;
350
350
  path: z.ZodString;
351
351
  options: z.ZodOptional<z.ZodObject<{
352
352
  type: z.ZodOptional<z.ZodEnum<{
353
- png: "png";
354
353
  jpeg: "jpeg";
354
+ png: "png";
355
355
  }>>;
356
356
  quality: z.ZodOptional<z.ZodNumber>;
357
357
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -360,24 +360,24 @@ declare const scenarioSchema: z.ZodObject<{
360
360
  y: z.ZodNumber;
361
361
  width: z.ZodNumber;
362
362
  height: z.ZodNumber;
363
- }, z.core.$strip>>;
363
+ }, z.core.$strict>>;
364
364
  omitBackground: z.ZodOptional<z.ZodBoolean>;
365
365
  encoding: z.ZodOptional<z.ZodEnum<{
366
366
  base64: "base64";
367
367
  binary: "binary";
368
368
  }>>;
369
- }, z.core.$strip>>;
370
- }, z.core.$strip> | z.ZodObject<{
369
+ }, z.core.$strict>>;
370
+ }, z.core.$strict>, z.ZodObject<{
371
371
  type: z.ZodLiteral<"EVALUATE">;
372
- script: z.ZodUnion<readonly [z.ZodString, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>;
373
- }, z.core.$strip> | z.ZodObject<{
372
+ script: z.ZodString;
373
+ }, z.core.$strict>, z.ZodObject<{
374
374
  type: z.ZodLiteral<"SET_VIEWPORT">;
375
375
  width: z.ZodNumber;
376
376
  height: z.ZodNumber;
377
- }, z.core.$strip> | z.ZodObject<{
377
+ }, z.core.$strict>, z.ZodObject<{
378
378
  type: z.ZodLiteral<"CLOSE">;
379
- }, z.core.$strip>)[]], "type">>>;
380
- }, z.core.$strip>;
379
+ }, z.core.$strict>], "type">>>;
380
+ }, z.core.$strict>;
381
381
  export type ScenarioYaml = z.infer<typeof scenarioSchema>;
382
382
  export declare const rootZod: z.ZodObject<{
383
383
  scenarios: z.ZodArray<z.ZodObject<{
@@ -396,76 +396,75 @@ export declare const rootZod: z.ZodObject<{
396
396
  location: z.ZodOptional<z.ZodString>;
397
397
  steps: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
398
398
  navigate: z.ZodString;
399
- }, z.core.$strip>, z.ZodLiteral<"waitForever">, z.ZodObject<{
399
+ }, z.core.$strict>, z.ZodLiteral<"waitForever">, z.ZodObject<{
400
400
  wait: z.ZodNumber;
401
- }, z.core.$strip>, z.ZodObject<{
401
+ }, z.core.$strict>, z.ZodObject<{
402
402
  click: z.ZodString;
403
- }, z.core.$strip>, z.ZodObject<{
403
+ }, z.core.$strict>, z.ZodObject<{
404
404
  input: z.ZodObject<{
405
405
  selector: z.ZodString;
406
406
  text: z.ZodString;
407
- }, z.core.$strip>;
408
- }, z.core.$strip>]>>>;
409
- actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
410
- type: z.ZodLiteral<"WAIT">;
411
- milliseconds: z.ZodNumber;
412
- }, z.core.$strip> | z.ZodObject<{
407
+ }, z.core.$strict>;
408
+ }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
413
409
  type: z.ZodLiteral<"GOTO">;
414
410
  url: z.ZodString;
415
411
  options: z.ZodOptional<z.ZodObject<{
416
412
  timeout: z.ZodOptional<z.ZodNumber>;
417
413
  waitUntil: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
418
- load: "load";
419
414
  domcontentloaded: "domcontentloaded";
415
+ load: "load";
420
416
  networkidle0: "networkidle0";
421
417
  networkidle2: "networkidle2";
422
418
  }>, z.ZodArray<z.ZodEnum<{
423
- load: "load";
424
419
  domcontentloaded: "domcontentloaded";
420
+ load: "load";
425
421
  networkidle0: "networkidle0";
426
422
  networkidle2: "networkidle2";
427
423
  }>>]>>;
428
424
  referer: z.ZodOptional<z.ZodString>;
429
- }, z.core.$strip>>;
430
- }, z.core.$strip> | z.ZodObject<{
425
+ }, z.core.$strict>>;
426
+ }, z.core.$strict>, z.ZodObject<{
431
427
  type: z.ZodLiteral<"CLICK">;
432
428
  selector: z.ZodString;
433
429
  options: z.ZodOptional<z.ZodObject<{
434
430
  button: z.ZodOptional<z.ZodEnum<{
435
431
  left: "left";
436
- right: "right";
437
432
  middle: "middle";
433
+ right: "right";
438
434
  }>>;
439
435
  clickCount: z.ZodOptional<z.ZodNumber>;
440
436
  delay: z.ZodOptional<z.ZodNumber>;
441
- }, z.core.$strip>>;
442
- }, z.core.$strip> | z.ZodObject<{
437
+ }, z.core.$strict>>;
438
+ }, z.core.$strict>, z.ZodObject<{
443
439
  type: z.ZodLiteral<"TYPE">;
444
440
  selector: z.ZodString;
445
441
  text: z.ZodString;
446
442
  options: z.ZodOptional<z.ZodObject<{
447
443
  delay: z.ZodOptional<z.ZodNumber>;
448
- }, z.core.$strip>>;
449
- }, z.core.$strip> | z.ZodObject<{
444
+ }, z.core.$strict>>;
445
+ }, z.core.$strict>, z.ZodObject<{
450
446
  type: z.ZodLiteral<"WAIT_FOR_SELECTOR">;
451
447
  selector: z.ZodString;
452
448
  options: z.ZodOptional<z.ZodObject<{
453
449
  visible: z.ZodOptional<z.ZodBoolean>;
454
450
  hidden: z.ZodOptional<z.ZodBoolean>;
455
451
  timeout: z.ZodOptional<z.ZodNumber>;
456
- }, z.core.$strip>>;
457
- }, z.core.$strip> | z.ZodObject<{
452
+ }, z.core.$strict>>;
453
+ }, z.core.$strict>, z.ZodObject<{
458
454
  type: z.ZodLiteral<"WAIT_FOR_TIMEOUT">;
459
455
  timeout: z.ZodNumber;
460
- }, z.core.$strip> | z.ZodObject<{
456
+ }, z.core.$strict>, z.ZodObject<{
457
+ type: z.ZodLiteral<"WAIT">;
458
+ milliseconds: z.ZodNumber;
459
+ }, z.core.$strict>, z.ZodObject<{
461
460
  type: z.ZodLiteral<"PAUSE">;
462
- }, z.core.$strip> | z.ZodObject<{
461
+ }, z.core.$strict>, z.ZodObject<{
463
462
  type: z.ZodLiteral<"SCREENSHOT">;
464
463
  path: z.ZodString;
465
464
  options: z.ZodOptional<z.ZodObject<{
466
465
  type: z.ZodOptional<z.ZodEnum<{
467
- png: "png";
468
466
  jpeg: "jpeg";
467
+ png: "png";
469
468
  }>>;
470
469
  quality: z.ZodOptional<z.ZodNumber>;
471
470
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -474,82 +473,83 @@ export declare const rootZod: z.ZodObject<{
474
473
  y: z.ZodNumber;
475
474
  width: z.ZodNumber;
476
475
  height: z.ZodNumber;
477
- }, z.core.$strip>>;
476
+ }, z.core.$strict>>;
478
477
  omitBackground: z.ZodOptional<z.ZodBoolean>;
479
478
  encoding: z.ZodOptional<z.ZodEnum<{
480
479
  base64: "base64";
481
480
  binary: "binary";
482
481
  }>>;
483
- }, z.core.$strip>>;
484
- }, z.core.$strip> | z.ZodObject<{
482
+ }, z.core.$strict>>;
483
+ }, z.core.$strict>, z.ZodObject<{
485
484
  type: z.ZodLiteral<"EVALUATE">;
486
- script: z.ZodUnion<readonly [z.ZodString, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>;
487
- }, z.core.$strip> | z.ZodObject<{
485
+ script: z.ZodString;
486
+ }, z.core.$strict>, z.ZodObject<{
488
487
  type: z.ZodLiteral<"SET_VIEWPORT">;
489
488
  width: z.ZodNumber;
490
489
  height: z.ZodNumber;
491
- }, z.core.$strip> | z.ZodObject<{
490
+ }, z.core.$strict>, z.ZodObject<{
492
491
  type: z.ZodLiteral<"CLOSE">;
493
- }, z.core.$strip>, ...(z.ZodObject<{
494
- type: z.ZodLiteral<"WAIT">;
495
- milliseconds: z.ZodNumber;
496
- }, z.core.$strip> | z.ZodObject<{
492
+ }, z.core.$strict>], "type">]>>>;
493
+ actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
497
494
  type: z.ZodLiteral<"GOTO">;
498
495
  url: z.ZodString;
499
496
  options: z.ZodOptional<z.ZodObject<{
500
497
  timeout: z.ZodOptional<z.ZodNumber>;
501
498
  waitUntil: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
502
- load: "load";
503
499
  domcontentloaded: "domcontentloaded";
500
+ load: "load";
504
501
  networkidle0: "networkidle0";
505
502
  networkidle2: "networkidle2";
506
503
  }>, z.ZodArray<z.ZodEnum<{
507
- load: "load";
508
504
  domcontentloaded: "domcontentloaded";
505
+ load: "load";
509
506
  networkidle0: "networkidle0";
510
507
  networkidle2: "networkidle2";
511
508
  }>>]>>;
512
509
  referer: z.ZodOptional<z.ZodString>;
513
- }, z.core.$strip>>;
514
- }, z.core.$strip> | z.ZodObject<{
510
+ }, z.core.$strict>>;
511
+ }, z.core.$strict>, z.ZodObject<{
515
512
  type: z.ZodLiteral<"CLICK">;
516
513
  selector: z.ZodString;
517
514
  options: z.ZodOptional<z.ZodObject<{
518
515
  button: z.ZodOptional<z.ZodEnum<{
519
516
  left: "left";
520
- right: "right";
521
517
  middle: "middle";
518
+ right: "right";
522
519
  }>>;
523
520
  clickCount: z.ZodOptional<z.ZodNumber>;
524
521
  delay: z.ZodOptional<z.ZodNumber>;
525
- }, z.core.$strip>>;
526
- }, z.core.$strip> | z.ZodObject<{
522
+ }, z.core.$strict>>;
523
+ }, z.core.$strict>, z.ZodObject<{
527
524
  type: z.ZodLiteral<"TYPE">;
528
525
  selector: z.ZodString;
529
526
  text: z.ZodString;
530
527
  options: z.ZodOptional<z.ZodObject<{
531
528
  delay: z.ZodOptional<z.ZodNumber>;
532
- }, z.core.$strip>>;
533
- }, z.core.$strip> | z.ZodObject<{
529
+ }, z.core.$strict>>;
530
+ }, z.core.$strict>, z.ZodObject<{
534
531
  type: z.ZodLiteral<"WAIT_FOR_SELECTOR">;
535
532
  selector: z.ZodString;
536
533
  options: z.ZodOptional<z.ZodObject<{
537
534
  visible: z.ZodOptional<z.ZodBoolean>;
538
535
  hidden: z.ZodOptional<z.ZodBoolean>;
539
536
  timeout: z.ZodOptional<z.ZodNumber>;
540
- }, z.core.$strip>>;
541
- }, z.core.$strip> | z.ZodObject<{
537
+ }, z.core.$strict>>;
538
+ }, z.core.$strict>, z.ZodObject<{
542
539
  type: z.ZodLiteral<"WAIT_FOR_TIMEOUT">;
543
540
  timeout: z.ZodNumber;
544
- }, z.core.$strip> | z.ZodObject<{
541
+ }, z.core.$strict>, z.ZodObject<{
542
+ type: z.ZodLiteral<"WAIT">;
543
+ milliseconds: z.ZodNumber;
544
+ }, z.core.$strict>, z.ZodObject<{
545
545
  type: z.ZodLiteral<"PAUSE">;
546
- }, z.core.$strip> | z.ZodObject<{
546
+ }, z.core.$strict>, z.ZodObject<{
547
547
  type: z.ZodLiteral<"SCREENSHOT">;
548
548
  path: z.ZodString;
549
549
  options: z.ZodOptional<z.ZodObject<{
550
550
  type: z.ZodOptional<z.ZodEnum<{
551
- png: "png";
552
551
  jpeg: "jpeg";
552
+ png: "png";
553
553
  }>>;
554
554
  quality: z.ZodOptional<z.ZodNumber>;
555
555
  fullPage: z.ZodOptional<z.ZodBoolean>;
@@ -558,24 +558,24 @@ export declare const rootZod: z.ZodObject<{
558
558
  y: z.ZodNumber;
559
559
  width: z.ZodNumber;
560
560
  height: z.ZodNumber;
561
- }, z.core.$strip>>;
561
+ }, z.core.$strict>>;
562
562
  omitBackground: z.ZodOptional<z.ZodBoolean>;
563
563
  encoding: z.ZodOptional<z.ZodEnum<{
564
564
  base64: "base64";
565
565
  binary: "binary";
566
566
  }>>;
567
- }, z.core.$strip>>;
568
- }, z.core.$strip> | z.ZodObject<{
567
+ }, z.core.$strict>>;
568
+ }, z.core.$strict>, z.ZodObject<{
569
569
  type: z.ZodLiteral<"EVALUATE">;
570
- script: z.ZodUnion<readonly [z.ZodString, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>;
571
- }, z.core.$strip> | z.ZodObject<{
570
+ script: z.ZodString;
571
+ }, z.core.$strict>, z.ZodObject<{
572
572
  type: z.ZodLiteral<"SET_VIEWPORT">;
573
573
  width: z.ZodNumber;
574
574
  height: z.ZodNumber;
575
- }, z.core.$strip> | z.ZodObject<{
575
+ }, z.core.$strict>, z.ZodObject<{
576
576
  type: z.ZodLiteral<"CLOSE">;
577
- }, z.core.$strip>)[]], "type">>>;
578
- }, z.core.$strip>>;
579
- }, z.core.$strip>;
577
+ }, z.core.$strict>], "type">>>;
578
+ }, z.core.$strict>>;
579
+ }, z.core.$strict>;
580
580
  export type RootYaml = z.infer<typeof rootZod>;
581
581
  export {};