@softure-ai/marketing-kit 0.1.9 → 0.1.10

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.
Files changed (67) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +83 -4
  3. package/dist/cli/main.js +42 -6
  4. package/dist/cli/main.js.map +1 -1
  5. package/dist/config/config.d.ts +2 -0
  6. package/dist/config/config.d.ts.map +1 -1
  7. package/dist/config/config.js +1 -0
  8. package/dist/config/config.js.map +1 -1
  9. package/dist/config/placeholders.d.ts +32 -0
  10. package/dist/config/placeholders.d.ts.map +1 -0
  11. package/dist/config/placeholders.js +41 -0
  12. package/dist/config/placeholders.js.map +1 -0
  13. package/dist/config/schema.d.ts +2206 -0
  14. package/dist/config/schema.d.ts.map +1 -1
  15. package/dist/config/schema.js +80 -0
  16. package/dist/config/schema.js.map +1 -1
  17. package/dist/config/shot-steps.d.ts +637 -0
  18. package/dist/config/shot-steps.d.ts.map +1 -0
  19. package/dist/config/shot-steps.js +44 -0
  20. package/dist/config/shot-steps.js.map +1 -0
  21. package/dist/record/actions.d.ts +3 -10
  22. package/dist/record/actions.d.ts.map +1 -1
  23. package/dist/record/actions.js +7 -23
  24. package/dist/record/actions.js.map +1 -1
  25. package/dist/record/locator.d.ts +10 -0
  26. package/dist/record/locator.d.ts.map +1 -0
  27. package/dist/record/locator.js +24 -0
  28. package/dist/record/locator.js.map +1 -0
  29. package/dist/screenshot/gates.d.ts +46 -5
  30. package/dist/screenshot/gates.d.ts.map +1 -1
  31. package/dist/screenshot/gates.js +41 -5
  32. package/dist/screenshot/gates.js.map +1 -1
  33. package/dist/screenshot/prepare.d.ts +18 -0
  34. package/dist/screenshot/prepare.d.ts.map +1 -0
  35. package/dist/screenshot/prepare.js +60 -0
  36. package/dist/screenshot/prepare.js.map +1 -0
  37. package/dist/screenshot/screenshot.d.ts +9 -2
  38. package/dist/screenshot/screenshot.d.ts.map +1 -1
  39. package/dist/screenshot/screenshot.js +86 -7
  40. package/dist/screenshot/screenshot.js.map +1 -1
  41. package/dist/screenshot/shot-texts.d.ts +26 -0
  42. package/dist/screenshot/shot-texts.d.ts.map +1 -0
  43. package/dist/screenshot/shot-texts.js +55 -0
  44. package/dist/screenshot/shot-texts.js.map +1 -0
  45. package/dist/screenshot/sign-in.d.ts +34 -0
  46. package/dist/screenshot/sign-in.d.ts.map +1 -0
  47. package/dist/screenshot/sign-in.js +66 -0
  48. package/dist/screenshot/sign-in.js.map +1 -0
  49. package/dist/screenshot/steps.d.ts +12 -0
  50. package/dist/screenshot/steps.d.ts.map +1 -0
  51. package/dist/screenshot/steps.js +38 -0
  52. package/dist/screenshot/steps.js.map +1 -0
  53. package/package.json +2 -2
  54. package/schema/marketing.schema.json +1842 -10
  55. package/src/cli/main.ts +40 -6
  56. package/src/config/config.ts +3 -0
  57. package/src/config/placeholders.ts +60 -0
  58. package/src/config/schema.ts +85 -0
  59. package/src/config/shot-steps.ts +58 -0
  60. package/src/record/actions.ts +5 -31
  61. package/src/record/locator.ts +37 -0
  62. package/src/screenshot/gates.ts +60 -5
  63. package/src/screenshot/prepare.ts +64 -0
  64. package/src/screenshot/screenshot.ts +89 -8
  65. package/src/screenshot/shot-texts.ts +72 -0
  66. package/src/screenshot/sign-in.ts +91 -0
  67. package/src/screenshot/steps.ts +44 -0
@@ -0,0 +1,637 @@
1
+ import { z } from "zod";
2
+ /** `W:H` with whole numbers from 1 to 9999, e.g. `4:3`. */
3
+ export declare const ASPECT_PATTERN: RegExp;
4
+ export declare const shotStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5
+ do: z.ZodLiteral<"fill">;
6
+ target: z.ZodPipe<z.ZodObject<{
7
+ role: z.ZodOptional<z.ZodEnum<{
8
+ caption: "caption";
9
+ alert: "alert";
10
+ alertdialog: "alertdialog";
11
+ application: "application";
12
+ article: "article";
13
+ banner: "banner";
14
+ blockquote: "blockquote";
15
+ button: "button";
16
+ cell: "cell";
17
+ checkbox: "checkbox";
18
+ code: "code";
19
+ columnheader: "columnheader";
20
+ combobox: "combobox";
21
+ complementary: "complementary";
22
+ contentinfo: "contentinfo";
23
+ definition: "definition";
24
+ deletion: "deletion";
25
+ dialog: "dialog";
26
+ directory: "directory";
27
+ document: "document";
28
+ emphasis: "emphasis";
29
+ feed: "feed";
30
+ figure: "figure";
31
+ form: "form";
32
+ generic: "generic";
33
+ grid: "grid";
34
+ gridcell: "gridcell";
35
+ group: "group";
36
+ heading: "heading";
37
+ img: "img";
38
+ insertion: "insertion";
39
+ link: "link";
40
+ list: "list";
41
+ listbox: "listbox";
42
+ listitem: "listitem";
43
+ log: "log";
44
+ main: "main";
45
+ marquee: "marquee";
46
+ math: "math";
47
+ meter: "meter";
48
+ menu: "menu";
49
+ menubar: "menubar";
50
+ menuitem: "menuitem";
51
+ menuitemcheckbox: "menuitemcheckbox";
52
+ menuitemradio: "menuitemradio";
53
+ navigation: "navigation";
54
+ none: "none";
55
+ note: "note";
56
+ option: "option";
57
+ paragraph: "paragraph";
58
+ presentation: "presentation";
59
+ progressbar: "progressbar";
60
+ radio: "radio";
61
+ radiogroup: "radiogroup";
62
+ region: "region";
63
+ row: "row";
64
+ rowgroup: "rowgroup";
65
+ rowheader: "rowheader";
66
+ scrollbar: "scrollbar";
67
+ search: "search";
68
+ searchbox: "searchbox";
69
+ separator: "separator";
70
+ slider: "slider";
71
+ spinbutton: "spinbutton";
72
+ status: "status";
73
+ strong: "strong";
74
+ subscript: "subscript";
75
+ superscript: "superscript";
76
+ switch: "switch";
77
+ tab: "tab";
78
+ table: "table";
79
+ tablist: "tablist";
80
+ tabpanel: "tabpanel";
81
+ term: "term";
82
+ textbox: "textbox";
83
+ time: "time";
84
+ timer: "timer";
85
+ toolbar: "toolbar";
86
+ tooltip: "tooltip";
87
+ tree: "tree";
88
+ treegrid: "treegrid";
89
+ treeitem: "treeitem";
90
+ }>>;
91
+ name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
92
+ regex: z.ZodString;
93
+ flags: z.ZodDefault<z.ZodString>;
94
+ }, z.core.$strict>]>>;
95
+ text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
96
+ regex: z.ZodString;
97
+ flags: z.ZodDefault<z.ZodString>;
98
+ }, z.core.$strict>]>>;
99
+ label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
100
+ regex: z.ZodString;
101
+ flags: z.ZodDefault<z.ZodString>;
102
+ }, z.core.$strict>]>>;
103
+ testId: z.ZodOptional<z.ZodString>;
104
+ css: z.ZodOptional<z.ZodString>;
105
+ hasText: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
106
+ regex: z.ZodString;
107
+ flags: z.ZodDefault<z.ZodString>;
108
+ }, z.core.$strict>]>>;
109
+ exact: z.ZodOptional<z.ZodBoolean>;
110
+ nth: z.ZodOptional<z.ZodNumber>;
111
+ }, z.core.$strict>, z.ZodTransform<{
112
+ kind: "role";
113
+ role: import("./actions-schema.js").AriaRole;
114
+ name: import("./actions-schema.js").TextMatch | null;
115
+ exact: boolean;
116
+ nth: number | null;
117
+ } | {
118
+ kind: "text";
119
+ text: import("./actions-schema.js").TextMatch;
120
+ exact: boolean;
121
+ nth: number | null;
122
+ } | {
123
+ kind: "label";
124
+ label: import("./actions-schema.js").TextMatch;
125
+ exact: boolean;
126
+ nth: number | null;
127
+ } | {
128
+ kind: "testId";
129
+ testId: string;
130
+ nth: number | null;
131
+ } | {
132
+ kind: "css";
133
+ css: string;
134
+ hasText: import("./actions-schema.js").TextMatch | null;
135
+ nth: number | null;
136
+ }, {
137
+ role?: "caption" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "code" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
138
+ name?: string | {
139
+ regex: string;
140
+ flags: string;
141
+ } | undefined;
142
+ text?: string | {
143
+ regex: string;
144
+ flags: string;
145
+ } | undefined;
146
+ label?: string | {
147
+ regex: string;
148
+ flags: string;
149
+ } | undefined;
150
+ testId?: string | undefined;
151
+ css?: string | undefined;
152
+ hasText?: string | {
153
+ regex: string;
154
+ flags: string;
155
+ } | undefined;
156
+ exact?: boolean | undefined;
157
+ nth?: number | undefined;
158
+ }>>;
159
+ value: z.ZodString;
160
+ }, z.core.$strict>, z.ZodObject<{
161
+ do: z.ZodLiteral<"click">;
162
+ target: z.ZodPipe<z.ZodObject<{
163
+ role: z.ZodOptional<z.ZodEnum<{
164
+ caption: "caption";
165
+ alert: "alert";
166
+ alertdialog: "alertdialog";
167
+ application: "application";
168
+ article: "article";
169
+ banner: "banner";
170
+ blockquote: "blockquote";
171
+ button: "button";
172
+ cell: "cell";
173
+ checkbox: "checkbox";
174
+ code: "code";
175
+ columnheader: "columnheader";
176
+ combobox: "combobox";
177
+ complementary: "complementary";
178
+ contentinfo: "contentinfo";
179
+ definition: "definition";
180
+ deletion: "deletion";
181
+ dialog: "dialog";
182
+ directory: "directory";
183
+ document: "document";
184
+ emphasis: "emphasis";
185
+ feed: "feed";
186
+ figure: "figure";
187
+ form: "form";
188
+ generic: "generic";
189
+ grid: "grid";
190
+ gridcell: "gridcell";
191
+ group: "group";
192
+ heading: "heading";
193
+ img: "img";
194
+ insertion: "insertion";
195
+ link: "link";
196
+ list: "list";
197
+ listbox: "listbox";
198
+ listitem: "listitem";
199
+ log: "log";
200
+ main: "main";
201
+ marquee: "marquee";
202
+ math: "math";
203
+ meter: "meter";
204
+ menu: "menu";
205
+ menubar: "menubar";
206
+ menuitem: "menuitem";
207
+ menuitemcheckbox: "menuitemcheckbox";
208
+ menuitemradio: "menuitemradio";
209
+ navigation: "navigation";
210
+ none: "none";
211
+ note: "note";
212
+ option: "option";
213
+ paragraph: "paragraph";
214
+ presentation: "presentation";
215
+ progressbar: "progressbar";
216
+ radio: "radio";
217
+ radiogroup: "radiogroup";
218
+ region: "region";
219
+ row: "row";
220
+ rowgroup: "rowgroup";
221
+ rowheader: "rowheader";
222
+ scrollbar: "scrollbar";
223
+ search: "search";
224
+ searchbox: "searchbox";
225
+ separator: "separator";
226
+ slider: "slider";
227
+ spinbutton: "spinbutton";
228
+ status: "status";
229
+ strong: "strong";
230
+ subscript: "subscript";
231
+ superscript: "superscript";
232
+ switch: "switch";
233
+ tab: "tab";
234
+ table: "table";
235
+ tablist: "tablist";
236
+ tabpanel: "tabpanel";
237
+ term: "term";
238
+ textbox: "textbox";
239
+ time: "time";
240
+ timer: "timer";
241
+ toolbar: "toolbar";
242
+ tooltip: "tooltip";
243
+ tree: "tree";
244
+ treegrid: "treegrid";
245
+ treeitem: "treeitem";
246
+ }>>;
247
+ name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
248
+ regex: z.ZodString;
249
+ flags: z.ZodDefault<z.ZodString>;
250
+ }, z.core.$strict>]>>;
251
+ text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
252
+ regex: z.ZodString;
253
+ flags: z.ZodDefault<z.ZodString>;
254
+ }, z.core.$strict>]>>;
255
+ label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
256
+ regex: z.ZodString;
257
+ flags: z.ZodDefault<z.ZodString>;
258
+ }, z.core.$strict>]>>;
259
+ testId: z.ZodOptional<z.ZodString>;
260
+ css: z.ZodOptional<z.ZodString>;
261
+ hasText: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
262
+ regex: z.ZodString;
263
+ flags: z.ZodDefault<z.ZodString>;
264
+ }, z.core.$strict>]>>;
265
+ exact: z.ZodOptional<z.ZodBoolean>;
266
+ nth: z.ZodOptional<z.ZodNumber>;
267
+ }, z.core.$strict>, z.ZodTransform<{
268
+ kind: "role";
269
+ role: import("./actions-schema.js").AriaRole;
270
+ name: import("./actions-schema.js").TextMatch | null;
271
+ exact: boolean;
272
+ nth: number | null;
273
+ } | {
274
+ kind: "text";
275
+ text: import("./actions-schema.js").TextMatch;
276
+ exact: boolean;
277
+ nth: number | null;
278
+ } | {
279
+ kind: "label";
280
+ label: import("./actions-schema.js").TextMatch;
281
+ exact: boolean;
282
+ nth: number | null;
283
+ } | {
284
+ kind: "testId";
285
+ testId: string;
286
+ nth: number | null;
287
+ } | {
288
+ kind: "css";
289
+ css: string;
290
+ hasText: import("./actions-schema.js").TextMatch | null;
291
+ nth: number | null;
292
+ }, {
293
+ role?: "caption" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "code" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
294
+ name?: string | {
295
+ regex: string;
296
+ flags: string;
297
+ } | undefined;
298
+ text?: string | {
299
+ regex: string;
300
+ flags: string;
301
+ } | undefined;
302
+ label?: string | {
303
+ regex: string;
304
+ flags: string;
305
+ } | undefined;
306
+ testId?: string | undefined;
307
+ css?: string | undefined;
308
+ hasText?: string | {
309
+ regex: string;
310
+ flags: string;
311
+ } | undefined;
312
+ exact?: boolean | undefined;
313
+ nth?: number | undefined;
314
+ }>>;
315
+ }, z.core.$strict>, z.ZodObject<{
316
+ do: z.ZodLiteral<"check">;
317
+ target: z.ZodPipe<z.ZodObject<{
318
+ role: z.ZodOptional<z.ZodEnum<{
319
+ caption: "caption";
320
+ alert: "alert";
321
+ alertdialog: "alertdialog";
322
+ application: "application";
323
+ article: "article";
324
+ banner: "banner";
325
+ blockquote: "blockquote";
326
+ button: "button";
327
+ cell: "cell";
328
+ checkbox: "checkbox";
329
+ code: "code";
330
+ columnheader: "columnheader";
331
+ combobox: "combobox";
332
+ complementary: "complementary";
333
+ contentinfo: "contentinfo";
334
+ definition: "definition";
335
+ deletion: "deletion";
336
+ dialog: "dialog";
337
+ directory: "directory";
338
+ document: "document";
339
+ emphasis: "emphasis";
340
+ feed: "feed";
341
+ figure: "figure";
342
+ form: "form";
343
+ generic: "generic";
344
+ grid: "grid";
345
+ gridcell: "gridcell";
346
+ group: "group";
347
+ heading: "heading";
348
+ img: "img";
349
+ insertion: "insertion";
350
+ link: "link";
351
+ list: "list";
352
+ listbox: "listbox";
353
+ listitem: "listitem";
354
+ log: "log";
355
+ main: "main";
356
+ marquee: "marquee";
357
+ math: "math";
358
+ meter: "meter";
359
+ menu: "menu";
360
+ menubar: "menubar";
361
+ menuitem: "menuitem";
362
+ menuitemcheckbox: "menuitemcheckbox";
363
+ menuitemradio: "menuitemradio";
364
+ navigation: "navigation";
365
+ none: "none";
366
+ note: "note";
367
+ option: "option";
368
+ paragraph: "paragraph";
369
+ presentation: "presentation";
370
+ progressbar: "progressbar";
371
+ radio: "radio";
372
+ radiogroup: "radiogroup";
373
+ region: "region";
374
+ row: "row";
375
+ rowgroup: "rowgroup";
376
+ rowheader: "rowheader";
377
+ scrollbar: "scrollbar";
378
+ search: "search";
379
+ searchbox: "searchbox";
380
+ separator: "separator";
381
+ slider: "slider";
382
+ spinbutton: "spinbutton";
383
+ status: "status";
384
+ strong: "strong";
385
+ subscript: "subscript";
386
+ superscript: "superscript";
387
+ switch: "switch";
388
+ tab: "tab";
389
+ table: "table";
390
+ tablist: "tablist";
391
+ tabpanel: "tabpanel";
392
+ term: "term";
393
+ textbox: "textbox";
394
+ time: "time";
395
+ timer: "timer";
396
+ toolbar: "toolbar";
397
+ tooltip: "tooltip";
398
+ tree: "tree";
399
+ treegrid: "treegrid";
400
+ treeitem: "treeitem";
401
+ }>>;
402
+ name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
403
+ regex: z.ZodString;
404
+ flags: z.ZodDefault<z.ZodString>;
405
+ }, z.core.$strict>]>>;
406
+ text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
407
+ regex: z.ZodString;
408
+ flags: z.ZodDefault<z.ZodString>;
409
+ }, z.core.$strict>]>>;
410
+ label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
411
+ regex: z.ZodString;
412
+ flags: z.ZodDefault<z.ZodString>;
413
+ }, z.core.$strict>]>>;
414
+ testId: z.ZodOptional<z.ZodString>;
415
+ css: z.ZodOptional<z.ZodString>;
416
+ hasText: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
417
+ regex: z.ZodString;
418
+ flags: z.ZodDefault<z.ZodString>;
419
+ }, z.core.$strict>]>>;
420
+ exact: z.ZodOptional<z.ZodBoolean>;
421
+ nth: z.ZodOptional<z.ZodNumber>;
422
+ }, z.core.$strict>, z.ZodTransform<{
423
+ kind: "role";
424
+ role: import("./actions-schema.js").AriaRole;
425
+ name: import("./actions-schema.js").TextMatch | null;
426
+ exact: boolean;
427
+ nth: number | null;
428
+ } | {
429
+ kind: "text";
430
+ text: import("./actions-schema.js").TextMatch;
431
+ exact: boolean;
432
+ nth: number | null;
433
+ } | {
434
+ kind: "label";
435
+ label: import("./actions-schema.js").TextMatch;
436
+ exact: boolean;
437
+ nth: number | null;
438
+ } | {
439
+ kind: "testId";
440
+ testId: string;
441
+ nth: number | null;
442
+ } | {
443
+ kind: "css";
444
+ css: string;
445
+ hasText: import("./actions-schema.js").TextMatch | null;
446
+ nth: number | null;
447
+ }, {
448
+ role?: "caption" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "code" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
449
+ name?: string | {
450
+ regex: string;
451
+ flags: string;
452
+ } | undefined;
453
+ text?: string | {
454
+ regex: string;
455
+ flags: string;
456
+ } | undefined;
457
+ label?: string | {
458
+ regex: string;
459
+ flags: string;
460
+ } | undefined;
461
+ testId?: string | undefined;
462
+ css?: string | undefined;
463
+ hasText?: string | {
464
+ regex: string;
465
+ flags: string;
466
+ } | undefined;
467
+ exact?: boolean | undefined;
468
+ nth?: number | undefined;
469
+ }>>;
470
+ }, z.core.$strict>, z.ZodObject<{
471
+ do: z.ZodLiteral<"press">;
472
+ key: z.ZodString;
473
+ }, z.core.$strict>], "do">;
474
+ export type ShotStep = z.output<typeof shotStepSchema>;
475
+ export interface Aspect {
476
+ width: number;
477
+ height: number;
478
+ }
479
+ export declare const cropSchema: z.ZodObject<{
480
+ target: z.ZodPipe<z.ZodObject<{
481
+ role: z.ZodOptional<z.ZodEnum<{
482
+ caption: "caption";
483
+ alert: "alert";
484
+ alertdialog: "alertdialog";
485
+ application: "application";
486
+ article: "article";
487
+ banner: "banner";
488
+ blockquote: "blockquote";
489
+ button: "button";
490
+ cell: "cell";
491
+ checkbox: "checkbox";
492
+ code: "code";
493
+ columnheader: "columnheader";
494
+ combobox: "combobox";
495
+ complementary: "complementary";
496
+ contentinfo: "contentinfo";
497
+ definition: "definition";
498
+ deletion: "deletion";
499
+ dialog: "dialog";
500
+ directory: "directory";
501
+ document: "document";
502
+ emphasis: "emphasis";
503
+ feed: "feed";
504
+ figure: "figure";
505
+ form: "form";
506
+ generic: "generic";
507
+ grid: "grid";
508
+ gridcell: "gridcell";
509
+ group: "group";
510
+ heading: "heading";
511
+ img: "img";
512
+ insertion: "insertion";
513
+ link: "link";
514
+ list: "list";
515
+ listbox: "listbox";
516
+ listitem: "listitem";
517
+ log: "log";
518
+ main: "main";
519
+ marquee: "marquee";
520
+ math: "math";
521
+ meter: "meter";
522
+ menu: "menu";
523
+ menubar: "menubar";
524
+ menuitem: "menuitem";
525
+ menuitemcheckbox: "menuitemcheckbox";
526
+ menuitemradio: "menuitemradio";
527
+ navigation: "navigation";
528
+ none: "none";
529
+ note: "note";
530
+ option: "option";
531
+ paragraph: "paragraph";
532
+ presentation: "presentation";
533
+ progressbar: "progressbar";
534
+ radio: "radio";
535
+ radiogroup: "radiogroup";
536
+ region: "region";
537
+ row: "row";
538
+ rowgroup: "rowgroup";
539
+ rowheader: "rowheader";
540
+ scrollbar: "scrollbar";
541
+ search: "search";
542
+ searchbox: "searchbox";
543
+ separator: "separator";
544
+ slider: "slider";
545
+ spinbutton: "spinbutton";
546
+ status: "status";
547
+ strong: "strong";
548
+ subscript: "subscript";
549
+ superscript: "superscript";
550
+ switch: "switch";
551
+ tab: "tab";
552
+ table: "table";
553
+ tablist: "tablist";
554
+ tabpanel: "tabpanel";
555
+ term: "term";
556
+ textbox: "textbox";
557
+ time: "time";
558
+ timer: "timer";
559
+ toolbar: "toolbar";
560
+ tooltip: "tooltip";
561
+ tree: "tree";
562
+ treegrid: "treegrid";
563
+ treeitem: "treeitem";
564
+ }>>;
565
+ name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
566
+ regex: z.ZodString;
567
+ flags: z.ZodDefault<z.ZodString>;
568
+ }, z.core.$strict>]>>;
569
+ text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
570
+ regex: z.ZodString;
571
+ flags: z.ZodDefault<z.ZodString>;
572
+ }, z.core.$strict>]>>;
573
+ label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
574
+ regex: z.ZodString;
575
+ flags: z.ZodDefault<z.ZodString>;
576
+ }, z.core.$strict>]>>;
577
+ testId: z.ZodOptional<z.ZodString>;
578
+ css: z.ZodOptional<z.ZodString>;
579
+ hasText: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
580
+ regex: z.ZodString;
581
+ flags: z.ZodDefault<z.ZodString>;
582
+ }, z.core.$strict>]>>;
583
+ exact: z.ZodOptional<z.ZodBoolean>;
584
+ nth: z.ZodOptional<z.ZodNumber>;
585
+ }, z.core.$strict>, z.ZodTransform<{
586
+ kind: "role";
587
+ role: import("./actions-schema.js").AriaRole;
588
+ name: import("./actions-schema.js").TextMatch | null;
589
+ exact: boolean;
590
+ nth: number | null;
591
+ } | {
592
+ kind: "text";
593
+ text: import("./actions-schema.js").TextMatch;
594
+ exact: boolean;
595
+ nth: number | null;
596
+ } | {
597
+ kind: "label";
598
+ label: import("./actions-schema.js").TextMatch;
599
+ exact: boolean;
600
+ nth: number | null;
601
+ } | {
602
+ kind: "testId";
603
+ testId: string;
604
+ nth: number | null;
605
+ } | {
606
+ kind: "css";
607
+ css: string;
608
+ hasText: import("./actions-schema.js").TextMatch | null;
609
+ nth: number | null;
610
+ }, {
611
+ role?: "caption" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "code" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "strong" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
612
+ name?: string | {
613
+ regex: string;
614
+ flags: string;
615
+ } | undefined;
616
+ text?: string | {
617
+ regex: string;
618
+ flags: string;
619
+ } | undefined;
620
+ label?: string | {
621
+ regex: string;
622
+ flags: string;
623
+ } | undefined;
624
+ testId?: string | undefined;
625
+ css?: string | undefined;
626
+ hasText?: string | {
627
+ regex: string;
628
+ flags: string;
629
+ } | undefined;
630
+ exact?: boolean | undefined;
631
+ nth?: number | undefined;
632
+ }>>;
633
+ aspect: z.ZodPipe<z.ZodString, z.ZodTransform<Aspect, string>>;
634
+ padding: z.ZodDefault<z.ZodNumber>;
635
+ }, z.core.$strict>;
636
+ export type Crop = z.output<typeof cropSchema>;
637
+ //# sourceMappingURL=shot-steps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shot-steps.d.ts","sourceRoot":"","sources":["../../src/config/shot-steps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,2DAA2D;AAC3D,eAAO,MAAM,cAAc,QAAgC,CAAC;AAI5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAkBzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvD,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAWrB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}