@middlewr/contracts 0.0.27 → 0.0.28
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/cjs/index.d.ts +637 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +283 -219
- package/dist/cjs/links.schema.d.ts +212 -0
- package/dist/cjs/links.schema.d.ts.map +1 -1
- package/dist/cjs/rules.schema.d.ts +97 -0
- package/dist/cjs/rules.schema.d.ts.map +1 -0
- package/dist/esm/index.d.ts +637 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +281 -219
- package/dist/esm/links.schema.d.ts +212 -0
- package/dist/esm/links.schema.d.ts.map +1 -1
- package/dist/esm/rules.schema.d.ts +97 -0
- package/dist/esm/rules.schema.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/links.schema.ts +72 -55
- package/src/rules.schema.ts +58 -0
package/dist/cjs/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './billing.schema';
|
|
|
6
6
|
export * from './common.schema';
|
|
7
7
|
export * from './domains.schema';
|
|
8
8
|
export * from './links.schema';
|
|
9
|
+
export * from './rules.schema';
|
|
9
10
|
export * from './tags.schema';
|
|
10
11
|
export * from './users.schema';
|
|
11
12
|
export * from './workspaces.schema';
|
|
@@ -379,6 +380,59 @@ export declare const linksContract: {
|
|
|
379
380
|
frame_text_color: z.ZodString;
|
|
380
381
|
}, z.core.$strip>>>;
|
|
381
382
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
383
|
+
link_type: z.ZodOptional<z.ZodEnum<{
|
|
384
|
+
redirect: "redirect";
|
|
385
|
+
rules: "rules";
|
|
386
|
+
}>>;
|
|
387
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
388
|
+
entry: z.ZodString;
|
|
389
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
390
|
+
id: z.ZodString;
|
|
391
|
+
type: z.ZodLiteral<"condition">;
|
|
392
|
+
position: z.ZodObject<{
|
|
393
|
+
x: z.ZodNumber;
|
|
394
|
+
y: z.ZodNumber;
|
|
395
|
+
}, z.core.$strip>;
|
|
396
|
+
field: z.ZodString;
|
|
397
|
+
operator: z.ZodEnum<{
|
|
398
|
+
eq: "eq";
|
|
399
|
+
neq: "neq";
|
|
400
|
+
in: "in";
|
|
401
|
+
not_in: "not_in";
|
|
402
|
+
contains: "contains";
|
|
403
|
+
not_contains: "not_contains";
|
|
404
|
+
gt: "gt";
|
|
405
|
+
lt: "lt";
|
|
406
|
+
gte: "gte";
|
|
407
|
+
lte: "lte";
|
|
408
|
+
regex: "regex";
|
|
409
|
+
}>;
|
|
410
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
411
|
+
outputs: z.ZodObject<{
|
|
412
|
+
true: z.ZodNullable<z.ZodString>;
|
|
413
|
+
false: z.ZodNullable<z.ZodString>;
|
|
414
|
+
}, z.core.$strip>;
|
|
415
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
416
|
+
id: z.ZodString;
|
|
417
|
+
type: z.ZodLiteral<"split">;
|
|
418
|
+
position: z.ZodObject<{
|
|
419
|
+
x: z.ZodNumber;
|
|
420
|
+
y: z.ZodNumber;
|
|
421
|
+
}, z.core.$strip>;
|
|
422
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
423
|
+
weight: z.ZodNumber;
|
|
424
|
+
target: z.ZodNullable<z.ZodString>;
|
|
425
|
+
}, z.core.$strip>>;
|
|
426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
427
|
+
id: z.ZodString;
|
|
428
|
+
type: z.ZodLiteral<"destination">;
|
|
429
|
+
position: z.ZodObject<{
|
|
430
|
+
x: z.ZodNumber;
|
|
431
|
+
y: z.ZodNumber;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
url: z.ZodString;
|
|
434
|
+
}, z.core.$strip>], "type">>;
|
|
435
|
+
}, z.core.$strip>>>;
|
|
382
436
|
}, z.core.$strip>, z.ZodObject<{
|
|
383
437
|
id: z.ZodString;
|
|
384
438
|
workspace_id: z.ZodString;
|
|
@@ -428,6 +482,59 @@ export declare const linksContract: {
|
|
|
428
482
|
frame_color: z.ZodString;
|
|
429
483
|
frame_text_color: z.ZodString;
|
|
430
484
|
}, z.core.$strip>>;
|
|
485
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
486
|
+
redirect: "redirect";
|
|
487
|
+
rules: "rules";
|
|
488
|
+
}>>;
|
|
489
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
490
|
+
entry: z.ZodString;
|
|
491
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
492
|
+
id: z.ZodString;
|
|
493
|
+
type: z.ZodLiteral<"condition">;
|
|
494
|
+
position: z.ZodObject<{
|
|
495
|
+
x: z.ZodNumber;
|
|
496
|
+
y: z.ZodNumber;
|
|
497
|
+
}, z.core.$strip>;
|
|
498
|
+
field: z.ZodString;
|
|
499
|
+
operator: z.ZodEnum<{
|
|
500
|
+
eq: "eq";
|
|
501
|
+
neq: "neq";
|
|
502
|
+
in: "in";
|
|
503
|
+
not_in: "not_in";
|
|
504
|
+
contains: "contains";
|
|
505
|
+
not_contains: "not_contains";
|
|
506
|
+
gt: "gt";
|
|
507
|
+
lt: "lt";
|
|
508
|
+
gte: "gte";
|
|
509
|
+
lte: "lte";
|
|
510
|
+
regex: "regex";
|
|
511
|
+
}>;
|
|
512
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
513
|
+
outputs: z.ZodObject<{
|
|
514
|
+
true: z.ZodNullable<z.ZodString>;
|
|
515
|
+
false: z.ZodNullable<z.ZodString>;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
518
|
+
id: z.ZodString;
|
|
519
|
+
type: z.ZodLiteral<"split">;
|
|
520
|
+
position: z.ZodObject<{
|
|
521
|
+
x: z.ZodNumber;
|
|
522
|
+
y: z.ZodNumber;
|
|
523
|
+
}, z.core.$strip>;
|
|
524
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
525
|
+
weight: z.ZodNumber;
|
|
526
|
+
target: z.ZodNullable<z.ZodString>;
|
|
527
|
+
}, z.core.$strip>>;
|
|
528
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
529
|
+
id: z.ZodString;
|
|
530
|
+
type: z.ZodLiteral<"destination">;
|
|
531
|
+
position: z.ZodObject<{
|
|
532
|
+
x: z.ZodNumber;
|
|
533
|
+
y: z.ZodNumber;
|
|
534
|
+
}, z.core.$strip>;
|
|
535
|
+
url: z.ZodString;
|
|
536
|
+
}, z.core.$strip>], "type">>;
|
|
537
|
+
}, z.core.$strip>>>;
|
|
431
538
|
tags: z.ZodArray<z.ZodObject<{
|
|
432
539
|
id: z.ZodString;
|
|
433
540
|
workspace_id: z.ZodString;
|
|
@@ -520,6 +627,59 @@ export declare const linksContract: {
|
|
|
520
627
|
frame_color: z.ZodString;
|
|
521
628
|
frame_text_color: z.ZodString;
|
|
522
629
|
}, z.core.$strip>>;
|
|
630
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
631
|
+
redirect: "redirect";
|
|
632
|
+
rules: "rules";
|
|
633
|
+
}>>;
|
|
634
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
635
|
+
entry: z.ZodString;
|
|
636
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
637
|
+
id: z.ZodString;
|
|
638
|
+
type: z.ZodLiteral<"condition">;
|
|
639
|
+
position: z.ZodObject<{
|
|
640
|
+
x: z.ZodNumber;
|
|
641
|
+
y: z.ZodNumber;
|
|
642
|
+
}, z.core.$strip>;
|
|
643
|
+
field: z.ZodString;
|
|
644
|
+
operator: z.ZodEnum<{
|
|
645
|
+
eq: "eq";
|
|
646
|
+
neq: "neq";
|
|
647
|
+
in: "in";
|
|
648
|
+
not_in: "not_in";
|
|
649
|
+
contains: "contains";
|
|
650
|
+
not_contains: "not_contains";
|
|
651
|
+
gt: "gt";
|
|
652
|
+
lt: "lt";
|
|
653
|
+
gte: "gte";
|
|
654
|
+
lte: "lte";
|
|
655
|
+
regex: "regex";
|
|
656
|
+
}>;
|
|
657
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
658
|
+
outputs: z.ZodObject<{
|
|
659
|
+
true: z.ZodNullable<z.ZodString>;
|
|
660
|
+
false: z.ZodNullable<z.ZodString>;
|
|
661
|
+
}, z.core.$strip>;
|
|
662
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
663
|
+
id: z.ZodString;
|
|
664
|
+
type: z.ZodLiteral<"split">;
|
|
665
|
+
position: z.ZodObject<{
|
|
666
|
+
x: z.ZodNumber;
|
|
667
|
+
y: z.ZodNumber;
|
|
668
|
+
}, z.core.$strip>;
|
|
669
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
670
|
+
weight: z.ZodNumber;
|
|
671
|
+
target: z.ZodNullable<z.ZodString>;
|
|
672
|
+
}, z.core.$strip>>;
|
|
673
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
674
|
+
id: z.ZodString;
|
|
675
|
+
type: z.ZodLiteral<"destination">;
|
|
676
|
+
position: z.ZodObject<{
|
|
677
|
+
x: z.ZodNumber;
|
|
678
|
+
y: z.ZodNumber;
|
|
679
|
+
}, z.core.$strip>;
|
|
680
|
+
url: z.ZodString;
|
|
681
|
+
}, z.core.$strip>], "type">>;
|
|
682
|
+
}, z.core.$strip>>>;
|
|
523
683
|
tags: z.ZodArray<z.ZodObject<{
|
|
524
684
|
id: z.ZodString;
|
|
525
685
|
workspace_id: z.ZodString;
|
|
@@ -586,6 +746,59 @@ export declare const linksContract: {
|
|
|
586
746
|
frame_color: z.ZodString;
|
|
587
747
|
frame_text_color: z.ZodString;
|
|
588
748
|
}, z.core.$strip>>;
|
|
749
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
750
|
+
redirect: "redirect";
|
|
751
|
+
rules: "rules";
|
|
752
|
+
}>>;
|
|
753
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
754
|
+
entry: z.ZodString;
|
|
755
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
756
|
+
id: z.ZodString;
|
|
757
|
+
type: z.ZodLiteral<"condition">;
|
|
758
|
+
position: z.ZodObject<{
|
|
759
|
+
x: z.ZodNumber;
|
|
760
|
+
y: z.ZodNumber;
|
|
761
|
+
}, z.core.$strip>;
|
|
762
|
+
field: z.ZodString;
|
|
763
|
+
operator: z.ZodEnum<{
|
|
764
|
+
eq: "eq";
|
|
765
|
+
neq: "neq";
|
|
766
|
+
in: "in";
|
|
767
|
+
not_in: "not_in";
|
|
768
|
+
contains: "contains";
|
|
769
|
+
not_contains: "not_contains";
|
|
770
|
+
gt: "gt";
|
|
771
|
+
lt: "lt";
|
|
772
|
+
gte: "gte";
|
|
773
|
+
lte: "lte";
|
|
774
|
+
regex: "regex";
|
|
775
|
+
}>;
|
|
776
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
777
|
+
outputs: z.ZodObject<{
|
|
778
|
+
true: z.ZodNullable<z.ZodString>;
|
|
779
|
+
false: z.ZodNullable<z.ZodString>;
|
|
780
|
+
}, z.core.$strip>;
|
|
781
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
782
|
+
id: z.ZodString;
|
|
783
|
+
type: z.ZodLiteral<"split">;
|
|
784
|
+
position: z.ZodObject<{
|
|
785
|
+
x: z.ZodNumber;
|
|
786
|
+
y: z.ZodNumber;
|
|
787
|
+
}, z.core.$strip>;
|
|
788
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
789
|
+
weight: z.ZodNumber;
|
|
790
|
+
target: z.ZodNullable<z.ZodString>;
|
|
791
|
+
}, z.core.$strip>>;
|
|
792
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
793
|
+
id: z.ZodString;
|
|
794
|
+
type: z.ZodLiteral<"destination">;
|
|
795
|
+
position: z.ZodObject<{
|
|
796
|
+
x: z.ZodNumber;
|
|
797
|
+
y: z.ZodNumber;
|
|
798
|
+
}, z.core.$strip>;
|
|
799
|
+
url: z.ZodString;
|
|
800
|
+
}, z.core.$strip>], "type">>;
|
|
801
|
+
}, z.core.$strip>>>;
|
|
589
802
|
tags: z.ZodArray<z.ZodObject<{
|
|
590
803
|
id: z.ZodString;
|
|
591
804
|
workspace_id: z.ZodString;
|
|
@@ -640,6 +853,59 @@ export declare const linksContract: {
|
|
|
640
853
|
frame_text_color: z.ZodString;
|
|
641
854
|
}, z.core.$strip>>>;
|
|
642
855
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
856
|
+
link_type: z.ZodOptional<z.ZodEnum<{
|
|
857
|
+
redirect: "redirect";
|
|
858
|
+
rules: "rules";
|
|
859
|
+
}>>;
|
|
860
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
861
|
+
entry: z.ZodString;
|
|
862
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
863
|
+
id: z.ZodString;
|
|
864
|
+
type: z.ZodLiteral<"condition">;
|
|
865
|
+
position: z.ZodObject<{
|
|
866
|
+
x: z.ZodNumber;
|
|
867
|
+
y: z.ZodNumber;
|
|
868
|
+
}, z.core.$strip>;
|
|
869
|
+
field: z.ZodString;
|
|
870
|
+
operator: z.ZodEnum<{
|
|
871
|
+
eq: "eq";
|
|
872
|
+
neq: "neq";
|
|
873
|
+
in: "in";
|
|
874
|
+
not_in: "not_in";
|
|
875
|
+
contains: "contains";
|
|
876
|
+
not_contains: "not_contains";
|
|
877
|
+
gt: "gt";
|
|
878
|
+
lt: "lt";
|
|
879
|
+
gte: "gte";
|
|
880
|
+
lte: "lte";
|
|
881
|
+
regex: "regex";
|
|
882
|
+
}>;
|
|
883
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
884
|
+
outputs: z.ZodObject<{
|
|
885
|
+
true: z.ZodNullable<z.ZodString>;
|
|
886
|
+
false: z.ZodNullable<z.ZodString>;
|
|
887
|
+
}, z.core.$strip>;
|
|
888
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
889
|
+
id: z.ZodString;
|
|
890
|
+
type: z.ZodLiteral<"split">;
|
|
891
|
+
position: z.ZodObject<{
|
|
892
|
+
x: z.ZodNumber;
|
|
893
|
+
y: z.ZodNumber;
|
|
894
|
+
}, z.core.$strip>;
|
|
895
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
896
|
+
weight: z.ZodNumber;
|
|
897
|
+
target: z.ZodNullable<z.ZodString>;
|
|
898
|
+
}, z.core.$strip>>;
|
|
899
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
900
|
+
id: z.ZodString;
|
|
901
|
+
type: z.ZodLiteral<"destination">;
|
|
902
|
+
position: z.ZodObject<{
|
|
903
|
+
x: z.ZodNumber;
|
|
904
|
+
y: z.ZodNumber;
|
|
905
|
+
}, z.core.$strip>;
|
|
906
|
+
url: z.ZodString;
|
|
907
|
+
}, z.core.$strip>], "type">>;
|
|
908
|
+
}, z.core.$strip>>>;
|
|
643
909
|
}, z.core.$strip>, z.ZodObject<{
|
|
644
910
|
id: z.ZodString;
|
|
645
911
|
workspace_id: z.ZodString;
|
|
@@ -689,6 +955,59 @@ export declare const linksContract: {
|
|
|
689
955
|
frame_color: z.ZodString;
|
|
690
956
|
frame_text_color: z.ZodString;
|
|
691
957
|
}, z.core.$strip>>;
|
|
958
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
959
|
+
redirect: "redirect";
|
|
960
|
+
rules: "rules";
|
|
961
|
+
}>>;
|
|
962
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
963
|
+
entry: z.ZodString;
|
|
964
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
965
|
+
id: z.ZodString;
|
|
966
|
+
type: z.ZodLiteral<"condition">;
|
|
967
|
+
position: z.ZodObject<{
|
|
968
|
+
x: z.ZodNumber;
|
|
969
|
+
y: z.ZodNumber;
|
|
970
|
+
}, z.core.$strip>;
|
|
971
|
+
field: z.ZodString;
|
|
972
|
+
operator: z.ZodEnum<{
|
|
973
|
+
eq: "eq";
|
|
974
|
+
neq: "neq";
|
|
975
|
+
in: "in";
|
|
976
|
+
not_in: "not_in";
|
|
977
|
+
contains: "contains";
|
|
978
|
+
not_contains: "not_contains";
|
|
979
|
+
gt: "gt";
|
|
980
|
+
lt: "lt";
|
|
981
|
+
gte: "gte";
|
|
982
|
+
lte: "lte";
|
|
983
|
+
regex: "regex";
|
|
984
|
+
}>;
|
|
985
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
986
|
+
outputs: z.ZodObject<{
|
|
987
|
+
true: z.ZodNullable<z.ZodString>;
|
|
988
|
+
false: z.ZodNullable<z.ZodString>;
|
|
989
|
+
}, z.core.$strip>;
|
|
990
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
991
|
+
id: z.ZodString;
|
|
992
|
+
type: z.ZodLiteral<"split">;
|
|
993
|
+
position: z.ZodObject<{
|
|
994
|
+
x: z.ZodNumber;
|
|
995
|
+
y: z.ZodNumber;
|
|
996
|
+
}, z.core.$strip>;
|
|
997
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
998
|
+
weight: z.ZodNumber;
|
|
999
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1000
|
+
}, z.core.$strip>>;
|
|
1001
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1002
|
+
id: z.ZodString;
|
|
1003
|
+
type: z.ZodLiteral<"destination">;
|
|
1004
|
+
position: z.ZodObject<{
|
|
1005
|
+
x: z.ZodNumber;
|
|
1006
|
+
y: z.ZodNumber;
|
|
1007
|
+
}, z.core.$strip>;
|
|
1008
|
+
url: z.ZodString;
|
|
1009
|
+
}, z.core.$strip>], "type">>;
|
|
1010
|
+
}, z.core.$strip>>>;
|
|
692
1011
|
tags: z.ZodArray<z.ZodObject<{
|
|
693
1012
|
id: z.ZodString;
|
|
694
1013
|
workspace_id: z.ZodString;
|
|
@@ -1304,6 +1623,59 @@ export declare const contract: {
|
|
|
1304
1623
|
frame_text_color: z.ZodString;
|
|
1305
1624
|
}, z.core.$strip>>>;
|
|
1306
1625
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1626
|
+
link_type: z.ZodOptional<z.ZodEnum<{
|
|
1627
|
+
redirect: "redirect";
|
|
1628
|
+
rules: "rules";
|
|
1629
|
+
}>>;
|
|
1630
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1631
|
+
entry: z.ZodString;
|
|
1632
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1633
|
+
id: z.ZodString;
|
|
1634
|
+
type: z.ZodLiteral<"condition">;
|
|
1635
|
+
position: z.ZodObject<{
|
|
1636
|
+
x: z.ZodNumber;
|
|
1637
|
+
y: z.ZodNumber;
|
|
1638
|
+
}, z.core.$strip>;
|
|
1639
|
+
field: z.ZodString;
|
|
1640
|
+
operator: z.ZodEnum<{
|
|
1641
|
+
eq: "eq";
|
|
1642
|
+
neq: "neq";
|
|
1643
|
+
in: "in";
|
|
1644
|
+
not_in: "not_in";
|
|
1645
|
+
contains: "contains";
|
|
1646
|
+
not_contains: "not_contains";
|
|
1647
|
+
gt: "gt";
|
|
1648
|
+
lt: "lt";
|
|
1649
|
+
gte: "gte";
|
|
1650
|
+
lte: "lte";
|
|
1651
|
+
regex: "regex";
|
|
1652
|
+
}>;
|
|
1653
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
1654
|
+
outputs: z.ZodObject<{
|
|
1655
|
+
true: z.ZodNullable<z.ZodString>;
|
|
1656
|
+
false: z.ZodNullable<z.ZodString>;
|
|
1657
|
+
}, z.core.$strip>;
|
|
1658
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1659
|
+
id: z.ZodString;
|
|
1660
|
+
type: z.ZodLiteral<"split">;
|
|
1661
|
+
position: z.ZodObject<{
|
|
1662
|
+
x: z.ZodNumber;
|
|
1663
|
+
y: z.ZodNumber;
|
|
1664
|
+
}, z.core.$strip>;
|
|
1665
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1666
|
+
weight: z.ZodNumber;
|
|
1667
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1668
|
+
}, z.core.$strip>>;
|
|
1669
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1670
|
+
id: z.ZodString;
|
|
1671
|
+
type: z.ZodLiteral<"destination">;
|
|
1672
|
+
position: z.ZodObject<{
|
|
1673
|
+
x: z.ZodNumber;
|
|
1674
|
+
y: z.ZodNumber;
|
|
1675
|
+
}, z.core.$strip>;
|
|
1676
|
+
url: z.ZodString;
|
|
1677
|
+
}, z.core.$strip>], "type">>;
|
|
1678
|
+
}, z.core.$strip>>>;
|
|
1307
1679
|
}, z.core.$strip>, z.ZodObject<{
|
|
1308
1680
|
id: z.ZodString;
|
|
1309
1681
|
workspace_id: z.ZodString;
|
|
@@ -1353,6 +1725,59 @@ export declare const contract: {
|
|
|
1353
1725
|
frame_color: z.ZodString;
|
|
1354
1726
|
frame_text_color: z.ZodString;
|
|
1355
1727
|
}, z.core.$strip>>;
|
|
1728
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1729
|
+
redirect: "redirect";
|
|
1730
|
+
rules: "rules";
|
|
1731
|
+
}>>;
|
|
1732
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1733
|
+
entry: z.ZodString;
|
|
1734
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1735
|
+
id: z.ZodString;
|
|
1736
|
+
type: z.ZodLiteral<"condition">;
|
|
1737
|
+
position: z.ZodObject<{
|
|
1738
|
+
x: z.ZodNumber;
|
|
1739
|
+
y: z.ZodNumber;
|
|
1740
|
+
}, z.core.$strip>;
|
|
1741
|
+
field: z.ZodString;
|
|
1742
|
+
operator: z.ZodEnum<{
|
|
1743
|
+
eq: "eq";
|
|
1744
|
+
neq: "neq";
|
|
1745
|
+
in: "in";
|
|
1746
|
+
not_in: "not_in";
|
|
1747
|
+
contains: "contains";
|
|
1748
|
+
not_contains: "not_contains";
|
|
1749
|
+
gt: "gt";
|
|
1750
|
+
lt: "lt";
|
|
1751
|
+
gte: "gte";
|
|
1752
|
+
lte: "lte";
|
|
1753
|
+
regex: "regex";
|
|
1754
|
+
}>;
|
|
1755
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
1756
|
+
outputs: z.ZodObject<{
|
|
1757
|
+
true: z.ZodNullable<z.ZodString>;
|
|
1758
|
+
false: z.ZodNullable<z.ZodString>;
|
|
1759
|
+
}, z.core.$strip>;
|
|
1760
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1761
|
+
id: z.ZodString;
|
|
1762
|
+
type: z.ZodLiteral<"split">;
|
|
1763
|
+
position: z.ZodObject<{
|
|
1764
|
+
x: z.ZodNumber;
|
|
1765
|
+
y: z.ZodNumber;
|
|
1766
|
+
}, z.core.$strip>;
|
|
1767
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1768
|
+
weight: z.ZodNumber;
|
|
1769
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1770
|
+
}, z.core.$strip>>;
|
|
1771
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1772
|
+
id: z.ZodString;
|
|
1773
|
+
type: z.ZodLiteral<"destination">;
|
|
1774
|
+
position: z.ZodObject<{
|
|
1775
|
+
x: z.ZodNumber;
|
|
1776
|
+
y: z.ZodNumber;
|
|
1777
|
+
}, z.core.$strip>;
|
|
1778
|
+
url: z.ZodString;
|
|
1779
|
+
}, z.core.$strip>], "type">>;
|
|
1780
|
+
}, z.core.$strip>>>;
|
|
1356
1781
|
tags: z.ZodArray<z.ZodObject<{
|
|
1357
1782
|
id: z.ZodString;
|
|
1358
1783
|
workspace_id: z.ZodString;
|
|
@@ -1445,6 +1870,59 @@ export declare const contract: {
|
|
|
1445
1870
|
frame_color: z.ZodString;
|
|
1446
1871
|
frame_text_color: z.ZodString;
|
|
1447
1872
|
}, z.core.$strip>>;
|
|
1873
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1874
|
+
redirect: "redirect";
|
|
1875
|
+
rules: "rules";
|
|
1876
|
+
}>>;
|
|
1877
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1878
|
+
entry: z.ZodString;
|
|
1879
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1880
|
+
id: z.ZodString;
|
|
1881
|
+
type: z.ZodLiteral<"condition">;
|
|
1882
|
+
position: z.ZodObject<{
|
|
1883
|
+
x: z.ZodNumber;
|
|
1884
|
+
y: z.ZodNumber;
|
|
1885
|
+
}, z.core.$strip>;
|
|
1886
|
+
field: z.ZodString;
|
|
1887
|
+
operator: z.ZodEnum<{
|
|
1888
|
+
eq: "eq";
|
|
1889
|
+
neq: "neq";
|
|
1890
|
+
in: "in";
|
|
1891
|
+
not_in: "not_in";
|
|
1892
|
+
contains: "contains";
|
|
1893
|
+
not_contains: "not_contains";
|
|
1894
|
+
gt: "gt";
|
|
1895
|
+
lt: "lt";
|
|
1896
|
+
gte: "gte";
|
|
1897
|
+
lte: "lte";
|
|
1898
|
+
regex: "regex";
|
|
1899
|
+
}>;
|
|
1900
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
1901
|
+
outputs: z.ZodObject<{
|
|
1902
|
+
true: z.ZodNullable<z.ZodString>;
|
|
1903
|
+
false: z.ZodNullable<z.ZodString>;
|
|
1904
|
+
}, z.core.$strip>;
|
|
1905
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1906
|
+
id: z.ZodString;
|
|
1907
|
+
type: z.ZodLiteral<"split">;
|
|
1908
|
+
position: z.ZodObject<{
|
|
1909
|
+
x: z.ZodNumber;
|
|
1910
|
+
y: z.ZodNumber;
|
|
1911
|
+
}, z.core.$strip>;
|
|
1912
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1913
|
+
weight: z.ZodNumber;
|
|
1914
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1915
|
+
}, z.core.$strip>>;
|
|
1916
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1917
|
+
id: z.ZodString;
|
|
1918
|
+
type: z.ZodLiteral<"destination">;
|
|
1919
|
+
position: z.ZodObject<{
|
|
1920
|
+
x: z.ZodNumber;
|
|
1921
|
+
y: z.ZodNumber;
|
|
1922
|
+
}, z.core.$strip>;
|
|
1923
|
+
url: z.ZodString;
|
|
1924
|
+
}, z.core.$strip>], "type">>;
|
|
1925
|
+
}, z.core.$strip>>>;
|
|
1448
1926
|
tags: z.ZodArray<z.ZodObject<{
|
|
1449
1927
|
id: z.ZodString;
|
|
1450
1928
|
workspace_id: z.ZodString;
|
|
@@ -1511,6 +1989,59 @@ export declare const contract: {
|
|
|
1511
1989
|
frame_color: z.ZodString;
|
|
1512
1990
|
frame_text_color: z.ZodString;
|
|
1513
1991
|
}, z.core.$strip>>;
|
|
1992
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1993
|
+
redirect: "redirect";
|
|
1994
|
+
rules: "rules";
|
|
1995
|
+
}>>;
|
|
1996
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1997
|
+
entry: z.ZodString;
|
|
1998
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1999
|
+
id: z.ZodString;
|
|
2000
|
+
type: z.ZodLiteral<"condition">;
|
|
2001
|
+
position: z.ZodObject<{
|
|
2002
|
+
x: z.ZodNumber;
|
|
2003
|
+
y: z.ZodNumber;
|
|
2004
|
+
}, z.core.$strip>;
|
|
2005
|
+
field: z.ZodString;
|
|
2006
|
+
operator: z.ZodEnum<{
|
|
2007
|
+
eq: "eq";
|
|
2008
|
+
neq: "neq";
|
|
2009
|
+
in: "in";
|
|
2010
|
+
not_in: "not_in";
|
|
2011
|
+
contains: "contains";
|
|
2012
|
+
not_contains: "not_contains";
|
|
2013
|
+
gt: "gt";
|
|
2014
|
+
lt: "lt";
|
|
2015
|
+
gte: "gte";
|
|
2016
|
+
lte: "lte";
|
|
2017
|
+
regex: "regex";
|
|
2018
|
+
}>;
|
|
2019
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2020
|
+
outputs: z.ZodObject<{
|
|
2021
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2022
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2023
|
+
}, z.core.$strip>;
|
|
2024
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2025
|
+
id: z.ZodString;
|
|
2026
|
+
type: z.ZodLiteral<"split">;
|
|
2027
|
+
position: z.ZodObject<{
|
|
2028
|
+
x: z.ZodNumber;
|
|
2029
|
+
y: z.ZodNumber;
|
|
2030
|
+
}, z.core.$strip>;
|
|
2031
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2032
|
+
weight: z.ZodNumber;
|
|
2033
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2034
|
+
}, z.core.$strip>>;
|
|
2035
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2036
|
+
id: z.ZodString;
|
|
2037
|
+
type: z.ZodLiteral<"destination">;
|
|
2038
|
+
position: z.ZodObject<{
|
|
2039
|
+
x: z.ZodNumber;
|
|
2040
|
+
y: z.ZodNumber;
|
|
2041
|
+
}, z.core.$strip>;
|
|
2042
|
+
url: z.ZodString;
|
|
2043
|
+
}, z.core.$strip>], "type">>;
|
|
2044
|
+
}, z.core.$strip>>>;
|
|
1514
2045
|
tags: z.ZodArray<z.ZodObject<{
|
|
1515
2046
|
id: z.ZodString;
|
|
1516
2047
|
workspace_id: z.ZodString;
|
|
@@ -1565,6 +2096,59 @@ export declare const contract: {
|
|
|
1565
2096
|
frame_text_color: z.ZodString;
|
|
1566
2097
|
}, z.core.$strip>>>;
|
|
1567
2098
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2099
|
+
link_type: z.ZodOptional<z.ZodEnum<{
|
|
2100
|
+
redirect: "redirect";
|
|
2101
|
+
rules: "rules";
|
|
2102
|
+
}>>;
|
|
2103
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2104
|
+
entry: z.ZodString;
|
|
2105
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2106
|
+
id: z.ZodString;
|
|
2107
|
+
type: z.ZodLiteral<"condition">;
|
|
2108
|
+
position: z.ZodObject<{
|
|
2109
|
+
x: z.ZodNumber;
|
|
2110
|
+
y: z.ZodNumber;
|
|
2111
|
+
}, z.core.$strip>;
|
|
2112
|
+
field: z.ZodString;
|
|
2113
|
+
operator: z.ZodEnum<{
|
|
2114
|
+
eq: "eq";
|
|
2115
|
+
neq: "neq";
|
|
2116
|
+
in: "in";
|
|
2117
|
+
not_in: "not_in";
|
|
2118
|
+
contains: "contains";
|
|
2119
|
+
not_contains: "not_contains";
|
|
2120
|
+
gt: "gt";
|
|
2121
|
+
lt: "lt";
|
|
2122
|
+
gte: "gte";
|
|
2123
|
+
lte: "lte";
|
|
2124
|
+
regex: "regex";
|
|
2125
|
+
}>;
|
|
2126
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2127
|
+
outputs: z.ZodObject<{
|
|
2128
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2129
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2130
|
+
}, z.core.$strip>;
|
|
2131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2132
|
+
id: z.ZodString;
|
|
2133
|
+
type: z.ZodLiteral<"split">;
|
|
2134
|
+
position: z.ZodObject<{
|
|
2135
|
+
x: z.ZodNumber;
|
|
2136
|
+
y: z.ZodNumber;
|
|
2137
|
+
}, z.core.$strip>;
|
|
2138
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2139
|
+
weight: z.ZodNumber;
|
|
2140
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2141
|
+
}, z.core.$strip>>;
|
|
2142
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2143
|
+
id: z.ZodString;
|
|
2144
|
+
type: z.ZodLiteral<"destination">;
|
|
2145
|
+
position: z.ZodObject<{
|
|
2146
|
+
x: z.ZodNumber;
|
|
2147
|
+
y: z.ZodNumber;
|
|
2148
|
+
}, z.core.$strip>;
|
|
2149
|
+
url: z.ZodString;
|
|
2150
|
+
}, z.core.$strip>], "type">>;
|
|
2151
|
+
}, z.core.$strip>>>;
|
|
1568
2152
|
}, z.core.$strip>, z.ZodObject<{
|
|
1569
2153
|
id: z.ZodString;
|
|
1570
2154
|
workspace_id: z.ZodString;
|
|
@@ -1614,6 +2198,59 @@ export declare const contract: {
|
|
|
1614
2198
|
frame_color: z.ZodString;
|
|
1615
2199
|
frame_text_color: z.ZodString;
|
|
1616
2200
|
}, z.core.$strip>>;
|
|
2201
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2202
|
+
redirect: "redirect";
|
|
2203
|
+
rules: "rules";
|
|
2204
|
+
}>>;
|
|
2205
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2206
|
+
entry: z.ZodString;
|
|
2207
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2208
|
+
id: z.ZodString;
|
|
2209
|
+
type: z.ZodLiteral<"condition">;
|
|
2210
|
+
position: z.ZodObject<{
|
|
2211
|
+
x: z.ZodNumber;
|
|
2212
|
+
y: z.ZodNumber;
|
|
2213
|
+
}, z.core.$strip>;
|
|
2214
|
+
field: z.ZodString;
|
|
2215
|
+
operator: z.ZodEnum<{
|
|
2216
|
+
eq: "eq";
|
|
2217
|
+
neq: "neq";
|
|
2218
|
+
in: "in";
|
|
2219
|
+
not_in: "not_in";
|
|
2220
|
+
contains: "contains";
|
|
2221
|
+
not_contains: "not_contains";
|
|
2222
|
+
gt: "gt";
|
|
2223
|
+
lt: "lt";
|
|
2224
|
+
gte: "gte";
|
|
2225
|
+
lte: "lte";
|
|
2226
|
+
regex: "regex";
|
|
2227
|
+
}>;
|
|
2228
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2229
|
+
outputs: z.ZodObject<{
|
|
2230
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2231
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2232
|
+
}, z.core.$strip>;
|
|
2233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2234
|
+
id: z.ZodString;
|
|
2235
|
+
type: z.ZodLiteral<"split">;
|
|
2236
|
+
position: z.ZodObject<{
|
|
2237
|
+
x: z.ZodNumber;
|
|
2238
|
+
y: z.ZodNumber;
|
|
2239
|
+
}, z.core.$strip>;
|
|
2240
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2241
|
+
weight: z.ZodNumber;
|
|
2242
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2243
|
+
}, z.core.$strip>>;
|
|
2244
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2245
|
+
id: z.ZodString;
|
|
2246
|
+
type: z.ZodLiteral<"destination">;
|
|
2247
|
+
position: z.ZodObject<{
|
|
2248
|
+
x: z.ZodNumber;
|
|
2249
|
+
y: z.ZodNumber;
|
|
2250
|
+
}, z.core.$strip>;
|
|
2251
|
+
url: z.ZodString;
|
|
2252
|
+
}, z.core.$strip>], "type">>;
|
|
2253
|
+
}, z.core.$strip>>>;
|
|
1617
2254
|
tags: z.ZodArray<z.ZodObject<{
|
|
1618
2255
|
id: z.ZodString;
|
|
1619
2256
|
workspace_id: z.ZodString;
|