@softure-ai/marketing-kit 0.1.10 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/README.md +77 -7
- package/dist/config/schema.d.ts +2428 -254
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +8 -1
- package/dist/config/schema.js.map +1 -1
- package/dist/config/shot-steps.d.ts +620 -0
- package/dist/config/shot-steps.d.ts.map +1 -1
- package/dist/config/shot-steps.js +31 -2
- package/dist/config/shot-steps.js.map +1 -1
- package/dist/screenshot/gates.d.ts +15 -6
- package/dist/screenshot/gates.d.ts.map +1 -1
- package/dist/screenshot/gates.js +24 -7
- package/dist/screenshot/gates.js.map +1 -1
- package/dist/screenshot/screenshot.d.ts.map +1 -1
- package/dist/screenshot/screenshot.js +107 -17
- package/dist/screenshot/screenshot.js.map +1 -1
- package/dist/screenshot/steps.d.ts +3 -2
- package/dist/screenshot/steps.d.ts.map +1 -1
- package/dist/screenshot/steps.js +60 -2
- package/dist/screenshot/steps.js.map +1 -1
- package/package.json +1 -1
- package/schema/marketing.schema.json +2026 -291
- package/src/config/schema.ts +8 -1
- package/src/config/shot-steps.ts +31 -2
- package/src/screenshot/gates.ts +24 -7
- package/src/screenshot/screenshot.ts +106 -17
- package/src/screenshot/steps.ts +58 -3
|
@@ -470,6 +470,472 @@ export declare const shotStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
470
470
|
}, z.core.$strict>, z.ZodObject<{
|
|
471
471
|
do: z.ZodLiteral<"press">;
|
|
472
472
|
key: z.ZodString;
|
|
473
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
474
|
+
do: z.ZodLiteral<"open">;
|
|
475
|
+
target: z.ZodPipe<z.ZodObject<{
|
|
476
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
477
|
+
caption: "caption";
|
|
478
|
+
alert: "alert";
|
|
479
|
+
alertdialog: "alertdialog";
|
|
480
|
+
application: "application";
|
|
481
|
+
article: "article";
|
|
482
|
+
banner: "banner";
|
|
483
|
+
blockquote: "blockquote";
|
|
484
|
+
button: "button";
|
|
485
|
+
cell: "cell";
|
|
486
|
+
checkbox: "checkbox";
|
|
487
|
+
code: "code";
|
|
488
|
+
columnheader: "columnheader";
|
|
489
|
+
combobox: "combobox";
|
|
490
|
+
complementary: "complementary";
|
|
491
|
+
contentinfo: "contentinfo";
|
|
492
|
+
definition: "definition";
|
|
493
|
+
deletion: "deletion";
|
|
494
|
+
dialog: "dialog";
|
|
495
|
+
directory: "directory";
|
|
496
|
+
document: "document";
|
|
497
|
+
emphasis: "emphasis";
|
|
498
|
+
feed: "feed";
|
|
499
|
+
figure: "figure";
|
|
500
|
+
form: "form";
|
|
501
|
+
generic: "generic";
|
|
502
|
+
grid: "grid";
|
|
503
|
+
gridcell: "gridcell";
|
|
504
|
+
group: "group";
|
|
505
|
+
heading: "heading";
|
|
506
|
+
img: "img";
|
|
507
|
+
insertion: "insertion";
|
|
508
|
+
link: "link";
|
|
509
|
+
list: "list";
|
|
510
|
+
listbox: "listbox";
|
|
511
|
+
listitem: "listitem";
|
|
512
|
+
log: "log";
|
|
513
|
+
main: "main";
|
|
514
|
+
marquee: "marquee";
|
|
515
|
+
math: "math";
|
|
516
|
+
meter: "meter";
|
|
517
|
+
menu: "menu";
|
|
518
|
+
menubar: "menubar";
|
|
519
|
+
menuitem: "menuitem";
|
|
520
|
+
menuitemcheckbox: "menuitemcheckbox";
|
|
521
|
+
menuitemradio: "menuitemradio";
|
|
522
|
+
navigation: "navigation";
|
|
523
|
+
none: "none";
|
|
524
|
+
note: "note";
|
|
525
|
+
option: "option";
|
|
526
|
+
paragraph: "paragraph";
|
|
527
|
+
presentation: "presentation";
|
|
528
|
+
progressbar: "progressbar";
|
|
529
|
+
radio: "radio";
|
|
530
|
+
radiogroup: "radiogroup";
|
|
531
|
+
region: "region";
|
|
532
|
+
row: "row";
|
|
533
|
+
rowgroup: "rowgroup";
|
|
534
|
+
rowheader: "rowheader";
|
|
535
|
+
scrollbar: "scrollbar";
|
|
536
|
+
search: "search";
|
|
537
|
+
searchbox: "searchbox";
|
|
538
|
+
separator: "separator";
|
|
539
|
+
slider: "slider";
|
|
540
|
+
spinbutton: "spinbutton";
|
|
541
|
+
status: "status";
|
|
542
|
+
strong: "strong";
|
|
543
|
+
subscript: "subscript";
|
|
544
|
+
superscript: "superscript";
|
|
545
|
+
switch: "switch";
|
|
546
|
+
tab: "tab";
|
|
547
|
+
table: "table";
|
|
548
|
+
tablist: "tablist";
|
|
549
|
+
tabpanel: "tabpanel";
|
|
550
|
+
term: "term";
|
|
551
|
+
textbox: "textbox";
|
|
552
|
+
time: "time";
|
|
553
|
+
timer: "timer";
|
|
554
|
+
toolbar: "toolbar";
|
|
555
|
+
tooltip: "tooltip";
|
|
556
|
+
tree: "tree";
|
|
557
|
+
treegrid: "treegrid";
|
|
558
|
+
treeitem: "treeitem";
|
|
559
|
+
}>>;
|
|
560
|
+
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
561
|
+
regex: z.ZodString;
|
|
562
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
563
|
+
}, z.core.$strict>]>>;
|
|
564
|
+
text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
565
|
+
regex: z.ZodString;
|
|
566
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
567
|
+
}, z.core.$strict>]>>;
|
|
568
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
569
|
+
regex: z.ZodString;
|
|
570
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
571
|
+
}, z.core.$strict>]>>;
|
|
572
|
+
testId: z.ZodOptional<z.ZodString>;
|
|
573
|
+
css: z.ZodOptional<z.ZodString>;
|
|
574
|
+
hasText: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
575
|
+
regex: z.ZodString;
|
|
576
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
577
|
+
}, z.core.$strict>]>>;
|
|
578
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
579
|
+
nth: z.ZodOptional<z.ZodNumber>;
|
|
580
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
581
|
+
kind: "role";
|
|
582
|
+
role: import("./actions-schema.js").AriaRole;
|
|
583
|
+
name: import("./actions-schema.js").TextMatch | null;
|
|
584
|
+
exact: boolean;
|
|
585
|
+
nth: number | null;
|
|
586
|
+
} | {
|
|
587
|
+
kind: "text";
|
|
588
|
+
text: import("./actions-schema.js").TextMatch;
|
|
589
|
+
exact: boolean;
|
|
590
|
+
nth: number | null;
|
|
591
|
+
} | {
|
|
592
|
+
kind: "label";
|
|
593
|
+
label: import("./actions-schema.js").TextMatch;
|
|
594
|
+
exact: boolean;
|
|
595
|
+
nth: number | null;
|
|
596
|
+
} | {
|
|
597
|
+
kind: "testId";
|
|
598
|
+
testId: string;
|
|
599
|
+
nth: number | null;
|
|
600
|
+
} | {
|
|
601
|
+
kind: "css";
|
|
602
|
+
css: string;
|
|
603
|
+
hasText: import("./actions-schema.js").TextMatch | null;
|
|
604
|
+
nth: number | null;
|
|
605
|
+
}, {
|
|
606
|
+
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;
|
|
607
|
+
name?: string | {
|
|
608
|
+
regex: string;
|
|
609
|
+
flags: string;
|
|
610
|
+
} | undefined;
|
|
611
|
+
text?: string | {
|
|
612
|
+
regex: string;
|
|
613
|
+
flags: string;
|
|
614
|
+
} | undefined;
|
|
615
|
+
label?: string | {
|
|
616
|
+
regex: string;
|
|
617
|
+
flags: string;
|
|
618
|
+
} | undefined;
|
|
619
|
+
testId?: string | undefined;
|
|
620
|
+
css?: string | undefined;
|
|
621
|
+
hasText?: string | {
|
|
622
|
+
regex: string;
|
|
623
|
+
flags: string;
|
|
624
|
+
} | undefined;
|
|
625
|
+
exact?: boolean | undefined;
|
|
626
|
+
nth?: number | undefined;
|
|
627
|
+
}>>;
|
|
628
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
629
|
+
do: z.ZodLiteral<"hide">;
|
|
630
|
+
target: z.ZodPipe<z.ZodObject<{
|
|
631
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
632
|
+
caption: "caption";
|
|
633
|
+
alert: "alert";
|
|
634
|
+
alertdialog: "alertdialog";
|
|
635
|
+
application: "application";
|
|
636
|
+
article: "article";
|
|
637
|
+
banner: "banner";
|
|
638
|
+
blockquote: "blockquote";
|
|
639
|
+
button: "button";
|
|
640
|
+
cell: "cell";
|
|
641
|
+
checkbox: "checkbox";
|
|
642
|
+
code: "code";
|
|
643
|
+
columnheader: "columnheader";
|
|
644
|
+
combobox: "combobox";
|
|
645
|
+
complementary: "complementary";
|
|
646
|
+
contentinfo: "contentinfo";
|
|
647
|
+
definition: "definition";
|
|
648
|
+
deletion: "deletion";
|
|
649
|
+
dialog: "dialog";
|
|
650
|
+
directory: "directory";
|
|
651
|
+
document: "document";
|
|
652
|
+
emphasis: "emphasis";
|
|
653
|
+
feed: "feed";
|
|
654
|
+
figure: "figure";
|
|
655
|
+
form: "form";
|
|
656
|
+
generic: "generic";
|
|
657
|
+
grid: "grid";
|
|
658
|
+
gridcell: "gridcell";
|
|
659
|
+
group: "group";
|
|
660
|
+
heading: "heading";
|
|
661
|
+
img: "img";
|
|
662
|
+
insertion: "insertion";
|
|
663
|
+
link: "link";
|
|
664
|
+
list: "list";
|
|
665
|
+
listbox: "listbox";
|
|
666
|
+
listitem: "listitem";
|
|
667
|
+
log: "log";
|
|
668
|
+
main: "main";
|
|
669
|
+
marquee: "marquee";
|
|
670
|
+
math: "math";
|
|
671
|
+
meter: "meter";
|
|
672
|
+
menu: "menu";
|
|
673
|
+
menubar: "menubar";
|
|
674
|
+
menuitem: "menuitem";
|
|
675
|
+
menuitemcheckbox: "menuitemcheckbox";
|
|
676
|
+
menuitemradio: "menuitemradio";
|
|
677
|
+
navigation: "navigation";
|
|
678
|
+
none: "none";
|
|
679
|
+
note: "note";
|
|
680
|
+
option: "option";
|
|
681
|
+
paragraph: "paragraph";
|
|
682
|
+
presentation: "presentation";
|
|
683
|
+
progressbar: "progressbar";
|
|
684
|
+
radio: "radio";
|
|
685
|
+
radiogroup: "radiogroup";
|
|
686
|
+
region: "region";
|
|
687
|
+
row: "row";
|
|
688
|
+
rowgroup: "rowgroup";
|
|
689
|
+
rowheader: "rowheader";
|
|
690
|
+
scrollbar: "scrollbar";
|
|
691
|
+
search: "search";
|
|
692
|
+
searchbox: "searchbox";
|
|
693
|
+
separator: "separator";
|
|
694
|
+
slider: "slider";
|
|
695
|
+
spinbutton: "spinbutton";
|
|
696
|
+
status: "status";
|
|
697
|
+
strong: "strong";
|
|
698
|
+
subscript: "subscript";
|
|
699
|
+
superscript: "superscript";
|
|
700
|
+
switch: "switch";
|
|
701
|
+
tab: "tab";
|
|
702
|
+
table: "table";
|
|
703
|
+
tablist: "tablist";
|
|
704
|
+
tabpanel: "tabpanel";
|
|
705
|
+
term: "term";
|
|
706
|
+
textbox: "textbox";
|
|
707
|
+
time: "time";
|
|
708
|
+
timer: "timer";
|
|
709
|
+
toolbar: "toolbar";
|
|
710
|
+
tooltip: "tooltip";
|
|
711
|
+
tree: "tree";
|
|
712
|
+
treegrid: "treegrid";
|
|
713
|
+
treeitem: "treeitem";
|
|
714
|
+
}>>;
|
|
715
|
+
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
716
|
+
regex: z.ZodString;
|
|
717
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
718
|
+
}, z.core.$strict>]>>;
|
|
719
|
+
text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
720
|
+
regex: z.ZodString;
|
|
721
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
722
|
+
}, z.core.$strict>]>>;
|
|
723
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
724
|
+
regex: z.ZodString;
|
|
725
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
726
|
+
}, z.core.$strict>]>>;
|
|
727
|
+
testId: z.ZodOptional<z.ZodString>;
|
|
728
|
+
css: z.ZodOptional<z.ZodString>;
|
|
729
|
+
hasText: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
730
|
+
regex: z.ZodString;
|
|
731
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
732
|
+
}, z.core.$strict>]>>;
|
|
733
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
734
|
+
nth: z.ZodOptional<z.ZodNumber>;
|
|
735
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
736
|
+
kind: "role";
|
|
737
|
+
role: import("./actions-schema.js").AriaRole;
|
|
738
|
+
name: import("./actions-schema.js").TextMatch | null;
|
|
739
|
+
exact: boolean;
|
|
740
|
+
nth: number | null;
|
|
741
|
+
} | {
|
|
742
|
+
kind: "text";
|
|
743
|
+
text: import("./actions-schema.js").TextMatch;
|
|
744
|
+
exact: boolean;
|
|
745
|
+
nth: number | null;
|
|
746
|
+
} | {
|
|
747
|
+
kind: "label";
|
|
748
|
+
label: import("./actions-schema.js").TextMatch;
|
|
749
|
+
exact: boolean;
|
|
750
|
+
nth: number | null;
|
|
751
|
+
} | {
|
|
752
|
+
kind: "testId";
|
|
753
|
+
testId: string;
|
|
754
|
+
nth: number | null;
|
|
755
|
+
} | {
|
|
756
|
+
kind: "css";
|
|
757
|
+
css: string;
|
|
758
|
+
hasText: import("./actions-schema.js").TextMatch | null;
|
|
759
|
+
nth: number | null;
|
|
760
|
+
}, {
|
|
761
|
+
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;
|
|
762
|
+
name?: string | {
|
|
763
|
+
regex: string;
|
|
764
|
+
flags: string;
|
|
765
|
+
} | undefined;
|
|
766
|
+
text?: string | {
|
|
767
|
+
regex: string;
|
|
768
|
+
flags: string;
|
|
769
|
+
} | undefined;
|
|
770
|
+
label?: string | {
|
|
771
|
+
regex: string;
|
|
772
|
+
flags: string;
|
|
773
|
+
} | undefined;
|
|
774
|
+
testId?: string | undefined;
|
|
775
|
+
css?: string | undefined;
|
|
776
|
+
hasText?: string | {
|
|
777
|
+
regex: string;
|
|
778
|
+
flags: string;
|
|
779
|
+
} | undefined;
|
|
780
|
+
exact?: boolean | undefined;
|
|
781
|
+
nth?: number | undefined;
|
|
782
|
+
}>>;
|
|
783
|
+
keepLast: z.ZodDefault<z.ZodNumber>;
|
|
784
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
785
|
+
do: z.ZodLiteral<"flatten">;
|
|
786
|
+
target: z.ZodPipe<z.ZodObject<{
|
|
787
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
788
|
+
caption: "caption";
|
|
789
|
+
alert: "alert";
|
|
790
|
+
alertdialog: "alertdialog";
|
|
791
|
+
application: "application";
|
|
792
|
+
article: "article";
|
|
793
|
+
banner: "banner";
|
|
794
|
+
blockquote: "blockquote";
|
|
795
|
+
button: "button";
|
|
796
|
+
cell: "cell";
|
|
797
|
+
checkbox: "checkbox";
|
|
798
|
+
code: "code";
|
|
799
|
+
columnheader: "columnheader";
|
|
800
|
+
combobox: "combobox";
|
|
801
|
+
complementary: "complementary";
|
|
802
|
+
contentinfo: "contentinfo";
|
|
803
|
+
definition: "definition";
|
|
804
|
+
deletion: "deletion";
|
|
805
|
+
dialog: "dialog";
|
|
806
|
+
directory: "directory";
|
|
807
|
+
document: "document";
|
|
808
|
+
emphasis: "emphasis";
|
|
809
|
+
feed: "feed";
|
|
810
|
+
figure: "figure";
|
|
811
|
+
form: "form";
|
|
812
|
+
generic: "generic";
|
|
813
|
+
grid: "grid";
|
|
814
|
+
gridcell: "gridcell";
|
|
815
|
+
group: "group";
|
|
816
|
+
heading: "heading";
|
|
817
|
+
img: "img";
|
|
818
|
+
insertion: "insertion";
|
|
819
|
+
link: "link";
|
|
820
|
+
list: "list";
|
|
821
|
+
listbox: "listbox";
|
|
822
|
+
listitem: "listitem";
|
|
823
|
+
log: "log";
|
|
824
|
+
main: "main";
|
|
825
|
+
marquee: "marquee";
|
|
826
|
+
math: "math";
|
|
827
|
+
meter: "meter";
|
|
828
|
+
menu: "menu";
|
|
829
|
+
menubar: "menubar";
|
|
830
|
+
menuitem: "menuitem";
|
|
831
|
+
menuitemcheckbox: "menuitemcheckbox";
|
|
832
|
+
menuitemradio: "menuitemradio";
|
|
833
|
+
navigation: "navigation";
|
|
834
|
+
none: "none";
|
|
835
|
+
note: "note";
|
|
836
|
+
option: "option";
|
|
837
|
+
paragraph: "paragraph";
|
|
838
|
+
presentation: "presentation";
|
|
839
|
+
progressbar: "progressbar";
|
|
840
|
+
radio: "radio";
|
|
841
|
+
radiogroup: "radiogroup";
|
|
842
|
+
region: "region";
|
|
843
|
+
row: "row";
|
|
844
|
+
rowgroup: "rowgroup";
|
|
845
|
+
rowheader: "rowheader";
|
|
846
|
+
scrollbar: "scrollbar";
|
|
847
|
+
search: "search";
|
|
848
|
+
searchbox: "searchbox";
|
|
849
|
+
separator: "separator";
|
|
850
|
+
slider: "slider";
|
|
851
|
+
spinbutton: "spinbutton";
|
|
852
|
+
status: "status";
|
|
853
|
+
strong: "strong";
|
|
854
|
+
subscript: "subscript";
|
|
855
|
+
superscript: "superscript";
|
|
856
|
+
switch: "switch";
|
|
857
|
+
tab: "tab";
|
|
858
|
+
table: "table";
|
|
859
|
+
tablist: "tablist";
|
|
860
|
+
tabpanel: "tabpanel";
|
|
861
|
+
term: "term";
|
|
862
|
+
textbox: "textbox";
|
|
863
|
+
time: "time";
|
|
864
|
+
timer: "timer";
|
|
865
|
+
toolbar: "toolbar";
|
|
866
|
+
tooltip: "tooltip";
|
|
867
|
+
tree: "tree";
|
|
868
|
+
treegrid: "treegrid";
|
|
869
|
+
treeitem: "treeitem";
|
|
870
|
+
}>>;
|
|
871
|
+
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
872
|
+
regex: z.ZodString;
|
|
873
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
874
|
+
}, z.core.$strict>]>>;
|
|
875
|
+
text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
876
|
+
regex: z.ZodString;
|
|
877
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
878
|
+
}, z.core.$strict>]>>;
|
|
879
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
880
|
+
regex: z.ZodString;
|
|
881
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
882
|
+
}, z.core.$strict>]>>;
|
|
883
|
+
testId: z.ZodOptional<z.ZodString>;
|
|
884
|
+
css: z.ZodOptional<z.ZodString>;
|
|
885
|
+
hasText: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
886
|
+
regex: z.ZodString;
|
|
887
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
888
|
+
}, z.core.$strict>]>>;
|
|
889
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
890
|
+
nth: z.ZodOptional<z.ZodNumber>;
|
|
891
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
892
|
+
kind: "role";
|
|
893
|
+
role: import("./actions-schema.js").AriaRole;
|
|
894
|
+
name: import("./actions-schema.js").TextMatch | null;
|
|
895
|
+
exact: boolean;
|
|
896
|
+
nth: number | null;
|
|
897
|
+
} | {
|
|
898
|
+
kind: "text";
|
|
899
|
+
text: import("./actions-schema.js").TextMatch;
|
|
900
|
+
exact: boolean;
|
|
901
|
+
nth: number | null;
|
|
902
|
+
} | {
|
|
903
|
+
kind: "label";
|
|
904
|
+
label: import("./actions-schema.js").TextMatch;
|
|
905
|
+
exact: boolean;
|
|
906
|
+
nth: number | null;
|
|
907
|
+
} | {
|
|
908
|
+
kind: "testId";
|
|
909
|
+
testId: string;
|
|
910
|
+
nth: number | null;
|
|
911
|
+
} | {
|
|
912
|
+
kind: "css";
|
|
913
|
+
css: string;
|
|
914
|
+
hasText: import("./actions-schema.js").TextMatch | null;
|
|
915
|
+
nth: number | null;
|
|
916
|
+
}, {
|
|
917
|
+
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;
|
|
918
|
+
name?: string | {
|
|
919
|
+
regex: string;
|
|
920
|
+
flags: string;
|
|
921
|
+
} | undefined;
|
|
922
|
+
text?: string | {
|
|
923
|
+
regex: string;
|
|
924
|
+
flags: string;
|
|
925
|
+
} | undefined;
|
|
926
|
+
label?: string | {
|
|
927
|
+
regex: string;
|
|
928
|
+
flags: string;
|
|
929
|
+
} | undefined;
|
|
930
|
+
testId?: string | undefined;
|
|
931
|
+
css?: string | undefined;
|
|
932
|
+
hasText?: string | {
|
|
933
|
+
regex: string;
|
|
934
|
+
flags: string;
|
|
935
|
+
} | undefined;
|
|
936
|
+
exact?: boolean | undefined;
|
|
937
|
+
nth?: number | undefined;
|
|
938
|
+
}>>;
|
|
473
939
|
}, z.core.$strict>], "do">;
|
|
474
940
|
export type ShotStep = z.output<typeof shotStepSchema>;
|
|
475
941
|
export interface Aspect {
|
|
@@ -630,8 +1096,162 @@ export declare const cropSchema: z.ZodObject<{
|
|
|
630
1096
|
exact?: boolean | undefined;
|
|
631
1097
|
nth?: number | undefined;
|
|
632
1098
|
}>>;
|
|
1099
|
+
top: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
1100
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1101
|
+
caption: "caption";
|
|
1102
|
+
alert: "alert";
|
|
1103
|
+
alertdialog: "alertdialog";
|
|
1104
|
+
application: "application";
|
|
1105
|
+
article: "article";
|
|
1106
|
+
banner: "banner";
|
|
1107
|
+
blockquote: "blockquote";
|
|
1108
|
+
button: "button";
|
|
1109
|
+
cell: "cell";
|
|
1110
|
+
checkbox: "checkbox";
|
|
1111
|
+
code: "code";
|
|
1112
|
+
columnheader: "columnheader";
|
|
1113
|
+
combobox: "combobox";
|
|
1114
|
+
complementary: "complementary";
|
|
1115
|
+
contentinfo: "contentinfo";
|
|
1116
|
+
definition: "definition";
|
|
1117
|
+
deletion: "deletion";
|
|
1118
|
+
dialog: "dialog";
|
|
1119
|
+
directory: "directory";
|
|
1120
|
+
document: "document";
|
|
1121
|
+
emphasis: "emphasis";
|
|
1122
|
+
feed: "feed";
|
|
1123
|
+
figure: "figure";
|
|
1124
|
+
form: "form";
|
|
1125
|
+
generic: "generic";
|
|
1126
|
+
grid: "grid";
|
|
1127
|
+
gridcell: "gridcell";
|
|
1128
|
+
group: "group";
|
|
1129
|
+
heading: "heading";
|
|
1130
|
+
img: "img";
|
|
1131
|
+
insertion: "insertion";
|
|
1132
|
+
link: "link";
|
|
1133
|
+
list: "list";
|
|
1134
|
+
listbox: "listbox";
|
|
1135
|
+
listitem: "listitem";
|
|
1136
|
+
log: "log";
|
|
1137
|
+
main: "main";
|
|
1138
|
+
marquee: "marquee";
|
|
1139
|
+
math: "math";
|
|
1140
|
+
meter: "meter";
|
|
1141
|
+
menu: "menu";
|
|
1142
|
+
menubar: "menubar";
|
|
1143
|
+
menuitem: "menuitem";
|
|
1144
|
+
menuitemcheckbox: "menuitemcheckbox";
|
|
1145
|
+
menuitemradio: "menuitemradio";
|
|
1146
|
+
navigation: "navigation";
|
|
1147
|
+
none: "none";
|
|
1148
|
+
note: "note";
|
|
1149
|
+
option: "option";
|
|
1150
|
+
paragraph: "paragraph";
|
|
1151
|
+
presentation: "presentation";
|
|
1152
|
+
progressbar: "progressbar";
|
|
1153
|
+
radio: "radio";
|
|
1154
|
+
radiogroup: "radiogroup";
|
|
1155
|
+
region: "region";
|
|
1156
|
+
row: "row";
|
|
1157
|
+
rowgroup: "rowgroup";
|
|
1158
|
+
rowheader: "rowheader";
|
|
1159
|
+
scrollbar: "scrollbar";
|
|
1160
|
+
search: "search";
|
|
1161
|
+
searchbox: "searchbox";
|
|
1162
|
+
separator: "separator";
|
|
1163
|
+
slider: "slider";
|
|
1164
|
+
spinbutton: "spinbutton";
|
|
1165
|
+
status: "status";
|
|
1166
|
+
strong: "strong";
|
|
1167
|
+
subscript: "subscript";
|
|
1168
|
+
superscript: "superscript";
|
|
1169
|
+
switch: "switch";
|
|
1170
|
+
tab: "tab";
|
|
1171
|
+
table: "table";
|
|
1172
|
+
tablist: "tablist";
|
|
1173
|
+
tabpanel: "tabpanel";
|
|
1174
|
+
term: "term";
|
|
1175
|
+
textbox: "textbox";
|
|
1176
|
+
time: "time";
|
|
1177
|
+
timer: "timer";
|
|
1178
|
+
toolbar: "toolbar";
|
|
1179
|
+
tooltip: "tooltip";
|
|
1180
|
+
tree: "tree";
|
|
1181
|
+
treegrid: "treegrid";
|
|
1182
|
+
treeitem: "treeitem";
|
|
1183
|
+
}>>;
|
|
1184
|
+
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1185
|
+
regex: z.ZodString;
|
|
1186
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
1187
|
+
}, z.core.$strict>]>>;
|
|
1188
|
+
text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1189
|
+
regex: z.ZodString;
|
|
1190
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
1191
|
+
}, z.core.$strict>]>>;
|
|
1192
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1193
|
+
regex: z.ZodString;
|
|
1194
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
1195
|
+
}, z.core.$strict>]>>;
|
|
1196
|
+
testId: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
css: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
hasText: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1199
|
+
regex: z.ZodString;
|
|
1200
|
+
flags: z.ZodDefault<z.ZodString>;
|
|
1201
|
+
}, z.core.$strict>]>>;
|
|
1202
|
+
exact: z.ZodOptional<z.ZodBoolean>;
|
|
1203
|
+
nth: z.ZodOptional<z.ZodNumber>;
|
|
1204
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
1205
|
+
kind: "role";
|
|
1206
|
+
role: import("./actions-schema.js").AriaRole;
|
|
1207
|
+
name: import("./actions-schema.js").TextMatch | null;
|
|
1208
|
+
exact: boolean;
|
|
1209
|
+
nth: number | null;
|
|
1210
|
+
} | {
|
|
1211
|
+
kind: "text";
|
|
1212
|
+
text: import("./actions-schema.js").TextMatch;
|
|
1213
|
+
exact: boolean;
|
|
1214
|
+
nth: number | null;
|
|
1215
|
+
} | {
|
|
1216
|
+
kind: "label";
|
|
1217
|
+
label: import("./actions-schema.js").TextMatch;
|
|
1218
|
+
exact: boolean;
|
|
1219
|
+
nth: number | null;
|
|
1220
|
+
} | {
|
|
1221
|
+
kind: "testId";
|
|
1222
|
+
testId: string;
|
|
1223
|
+
nth: number | null;
|
|
1224
|
+
} | {
|
|
1225
|
+
kind: "css";
|
|
1226
|
+
css: string;
|
|
1227
|
+
hasText: import("./actions-schema.js").TextMatch | null;
|
|
1228
|
+
nth: number | null;
|
|
1229
|
+
}, {
|
|
1230
|
+
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;
|
|
1231
|
+
name?: string | {
|
|
1232
|
+
regex: string;
|
|
1233
|
+
flags: string;
|
|
1234
|
+
} | undefined;
|
|
1235
|
+
text?: string | {
|
|
1236
|
+
regex: string;
|
|
1237
|
+
flags: string;
|
|
1238
|
+
} | undefined;
|
|
1239
|
+
label?: string | {
|
|
1240
|
+
regex: string;
|
|
1241
|
+
flags: string;
|
|
1242
|
+
} | undefined;
|
|
1243
|
+
testId?: string | undefined;
|
|
1244
|
+
css?: string | undefined;
|
|
1245
|
+
hasText?: string | {
|
|
1246
|
+
regex: string;
|
|
1247
|
+
flags: string;
|
|
1248
|
+
} | undefined;
|
|
1249
|
+
exact?: boolean | undefined;
|
|
1250
|
+
nth?: number | undefined;
|
|
1251
|
+
}>>>;
|
|
633
1252
|
aspect: z.ZodPipe<z.ZodString, z.ZodTransform<Aspect, string>>;
|
|
634
1253
|
padding: z.ZodDefault<z.ZodNumber>;
|
|
1254
|
+
fill: z.ZodDefault<z.ZodBoolean>;
|
|
635
1255
|
}, z.core.$strict>;
|
|
636
1256
|
export type Crop = z.output<typeof cropSchema>;
|
|
637
1257
|
//# sourceMappingURL=shot-steps.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAaxB,2DAA2D;AAC3D,eAAO,MAAM,cAAc,QAAgC,CAAC;AAM5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAqCzB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkBrB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
|