@middlewr/contracts 0.0.27 → 0.0.29
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 +961 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +314 -219
- package/dist/cjs/links.schema.d.ts +320 -0
- package/dist/cjs/links.schema.d.ts.map +1 -1
- package/dist/cjs/rules.schema.d.ts +151 -0
- package/dist/cjs/rules.schema.d.ts.map +1 -0
- package/dist/esm/index.d.ts +961 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +312 -219
- package/dist/esm/links.schema.d.ts +320 -0
- package/dist/esm/links.schema.d.ts.map +1 -1
- package/dist/esm/rules.schema.d.ts +151 -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 +98 -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,86 @@ 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>, z.ZodObject<{
|
|
435
|
+
id: z.ZodString;
|
|
436
|
+
type: z.ZodLiteral<"transform">;
|
|
437
|
+
position: z.ZodObject<{
|
|
438
|
+
x: z.ZodNumber;
|
|
439
|
+
y: z.ZodNumber;
|
|
440
|
+
}, z.core.$strip>;
|
|
441
|
+
transforms: z.ZodObject<{
|
|
442
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
443
|
+
key: z.ZodString;
|
|
444
|
+
value: z.ZodString;
|
|
445
|
+
mode: z.ZodEnum<{
|
|
446
|
+
set: "set";
|
|
447
|
+
append: "append";
|
|
448
|
+
}>;
|
|
449
|
+
}, z.core.$strip>>>;
|
|
450
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
451
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
|
+
key: z.ZodString;
|
|
453
|
+
value: z.ZodString;
|
|
454
|
+
mode: z.ZodEnum<{
|
|
455
|
+
set: "set";
|
|
456
|
+
append: "append";
|
|
457
|
+
}>;
|
|
458
|
+
}, z.core.$strip>>>;
|
|
459
|
+
}, z.core.$strip>;
|
|
460
|
+
next: z.ZodNullable<z.ZodString>;
|
|
461
|
+
}, z.core.$strip>], "type">>;
|
|
462
|
+
}, z.core.$strip>>>;
|
|
382
463
|
}, z.core.$strip>, z.ZodObject<{
|
|
383
464
|
id: z.ZodString;
|
|
384
465
|
workspace_id: z.ZodString;
|
|
@@ -428,6 +509,86 @@ export declare const linksContract: {
|
|
|
428
509
|
frame_color: z.ZodString;
|
|
429
510
|
frame_text_color: z.ZodString;
|
|
430
511
|
}, z.core.$strip>>;
|
|
512
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
513
|
+
redirect: "redirect";
|
|
514
|
+
rules: "rules";
|
|
515
|
+
}>>;
|
|
516
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
517
|
+
entry: z.ZodString;
|
|
518
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
519
|
+
id: z.ZodString;
|
|
520
|
+
type: z.ZodLiteral<"condition">;
|
|
521
|
+
position: z.ZodObject<{
|
|
522
|
+
x: z.ZodNumber;
|
|
523
|
+
y: z.ZodNumber;
|
|
524
|
+
}, z.core.$strip>;
|
|
525
|
+
field: z.ZodString;
|
|
526
|
+
operator: z.ZodEnum<{
|
|
527
|
+
eq: "eq";
|
|
528
|
+
neq: "neq";
|
|
529
|
+
in: "in";
|
|
530
|
+
not_in: "not_in";
|
|
531
|
+
contains: "contains";
|
|
532
|
+
not_contains: "not_contains";
|
|
533
|
+
gt: "gt";
|
|
534
|
+
lt: "lt";
|
|
535
|
+
gte: "gte";
|
|
536
|
+
lte: "lte";
|
|
537
|
+
regex: "regex";
|
|
538
|
+
}>;
|
|
539
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
540
|
+
outputs: z.ZodObject<{
|
|
541
|
+
true: z.ZodNullable<z.ZodString>;
|
|
542
|
+
false: z.ZodNullable<z.ZodString>;
|
|
543
|
+
}, z.core.$strip>;
|
|
544
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
545
|
+
id: z.ZodString;
|
|
546
|
+
type: z.ZodLiteral<"split">;
|
|
547
|
+
position: z.ZodObject<{
|
|
548
|
+
x: z.ZodNumber;
|
|
549
|
+
y: z.ZodNumber;
|
|
550
|
+
}, z.core.$strip>;
|
|
551
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
552
|
+
weight: z.ZodNumber;
|
|
553
|
+
target: z.ZodNullable<z.ZodString>;
|
|
554
|
+
}, z.core.$strip>>;
|
|
555
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
556
|
+
id: z.ZodString;
|
|
557
|
+
type: z.ZodLiteral<"destination">;
|
|
558
|
+
position: z.ZodObject<{
|
|
559
|
+
x: z.ZodNumber;
|
|
560
|
+
y: z.ZodNumber;
|
|
561
|
+
}, z.core.$strip>;
|
|
562
|
+
url: z.ZodString;
|
|
563
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
564
|
+
id: z.ZodString;
|
|
565
|
+
type: z.ZodLiteral<"transform">;
|
|
566
|
+
position: z.ZodObject<{
|
|
567
|
+
x: z.ZodNumber;
|
|
568
|
+
y: z.ZodNumber;
|
|
569
|
+
}, z.core.$strip>;
|
|
570
|
+
transforms: z.ZodObject<{
|
|
571
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
572
|
+
key: z.ZodString;
|
|
573
|
+
value: z.ZodString;
|
|
574
|
+
mode: z.ZodEnum<{
|
|
575
|
+
set: "set";
|
|
576
|
+
append: "append";
|
|
577
|
+
}>;
|
|
578
|
+
}, z.core.$strip>>>;
|
|
579
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
580
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
581
|
+
key: z.ZodString;
|
|
582
|
+
value: z.ZodString;
|
|
583
|
+
mode: z.ZodEnum<{
|
|
584
|
+
set: "set";
|
|
585
|
+
append: "append";
|
|
586
|
+
}>;
|
|
587
|
+
}, z.core.$strip>>>;
|
|
588
|
+
}, z.core.$strip>;
|
|
589
|
+
next: z.ZodNullable<z.ZodString>;
|
|
590
|
+
}, z.core.$strip>], "type">>;
|
|
591
|
+
}, z.core.$strip>>>;
|
|
431
592
|
tags: z.ZodArray<z.ZodObject<{
|
|
432
593
|
id: z.ZodString;
|
|
433
594
|
workspace_id: z.ZodString;
|
|
@@ -520,6 +681,86 @@ export declare const linksContract: {
|
|
|
520
681
|
frame_color: z.ZodString;
|
|
521
682
|
frame_text_color: z.ZodString;
|
|
522
683
|
}, z.core.$strip>>;
|
|
684
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
685
|
+
redirect: "redirect";
|
|
686
|
+
rules: "rules";
|
|
687
|
+
}>>;
|
|
688
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
689
|
+
entry: z.ZodString;
|
|
690
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
691
|
+
id: z.ZodString;
|
|
692
|
+
type: z.ZodLiteral<"condition">;
|
|
693
|
+
position: z.ZodObject<{
|
|
694
|
+
x: z.ZodNumber;
|
|
695
|
+
y: z.ZodNumber;
|
|
696
|
+
}, z.core.$strip>;
|
|
697
|
+
field: z.ZodString;
|
|
698
|
+
operator: z.ZodEnum<{
|
|
699
|
+
eq: "eq";
|
|
700
|
+
neq: "neq";
|
|
701
|
+
in: "in";
|
|
702
|
+
not_in: "not_in";
|
|
703
|
+
contains: "contains";
|
|
704
|
+
not_contains: "not_contains";
|
|
705
|
+
gt: "gt";
|
|
706
|
+
lt: "lt";
|
|
707
|
+
gte: "gte";
|
|
708
|
+
lte: "lte";
|
|
709
|
+
regex: "regex";
|
|
710
|
+
}>;
|
|
711
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
712
|
+
outputs: z.ZodObject<{
|
|
713
|
+
true: z.ZodNullable<z.ZodString>;
|
|
714
|
+
false: z.ZodNullable<z.ZodString>;
|
|
715
|
+
}, z.core.$strip>;
|
|
716
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
717
|
+
id: z.ZodString;
|
|
718
|
+
type: z.ZodLiteral<"split">;
|
|
719
|
+
position: z.ZodObject<{
|
|
720
|
+
x: z.ZodNumber;
|
|
721
|
+
y: z.ZodNumber;
|
|
722
|
+
}, z.core.$strip>;
|
|
723
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
724
|
+
weight: z.ZodNumber;
|
|
725
|
+
target: z.ZodNullable<z.ZodString>;
|
|
726
|
+
}, z.core.$strip>>;
|
|
727
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
728
|
+
id: z.ZodString;
|
|
729
|
+
type: z.ZodLiteral<"destination">;
|
|
730
|
+
position: z.ZodObject<{
|
|
731
|
+
x: z.ZodNumber;
|
|
732
|
+
y: z.ZodNumber;
|
|
733
|
+
}, z.core.$strip>;
|
|
734
|
+
url: z.ZodString;
|
|
735
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
736
|
+
id: z.ZodString;
|
|
737
|
+
type: z.ZodLiteral<"transform">;
|
|
738
|
+
position: z.ZodObject<{
|
|
739
|
+
x: z.ZodNumber;
|
|
740
|
+
y: z.ZodNumber;
|
|
741
|
+
}, z.core.$strip>;
|
|
742
|
+
transforms: z.ZodObject<{
|
|
743
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
744
|
+
key: z.ZodString;
|
|
745
|
+
value: z.ZodString;
|
|
746
|
+
mode: z.ZodEnum<{
|
|
747
|
+
set: "set";
|
|
748
|
+
append: "append";
|
|
749
|
+
}>;
|
|
750
|
+
}, z.core.$strip>>>;
|
|
751
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
752
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
753
|
+
key: z.ZodString;
|
|
754
|
+
value: z.ZodString;
|
|
755
|
+
mode: z.ZodEnum<{
|
|
756
|
+
set: "set";
|
|
757
|
+
append: "append";
|
|
758
|
+
}>;
|
|
759
|
+
}, z.core.$strip>>>;
|
|
760
|
+
}, z.core.$strip>;
|
|
761
|
+
next: z.ZodNullable<z.ZodString>;
|
|
762
|
+
}, z.core.$strip>], "type">>;
|
|
763
|
+
}, z.core.$strip>>>;
|
|
523
764
|
tags: z.ZodArray<z.ZodObject<{
|
|
524
765
|
id: z.ZodString;
|
|
525
766
|
workspace_id: z.ZodString;
|
|
@@ -586,6 +827,86 @@ export declare const linksContract: {
|
|
|
586
827
|
frame_color: z.ZodString;
|
|
587
828
|
frame_text_color: z.ZodString;
|
|
588
829
|
}, z.core.$strip>>;
|
|
830
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
831
|
+
redirect: "redirect";
|
|
832
|
+
rules: "rules";
|
|
833
|
+
}>>;
|
|
834
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
835
|
+
entry: z.ZodString;
|
|
836
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
837
|
+
id: z.ZodString;
|
|
838
|
+
type: z.ZodLiteral<"condition">;
|
|
839
|
+
position: z.ZodObject<{
|
|
840
|
+
x: z.ZodNumber;
|
|
841
|
+
y: z.ZodNumber;
|
|
842
|
+
}, z.core.$strip>;
|
|
843
|
+
field: z.ZodString;
|
|
844
|
+
operator: z.ZodEnum<{
|
|
845
|
+
eq: "eq";
|
|
846
|
+
neq: "neq";
|
|
847
|
+
in: "in";
|
|
848
|
+
not_in: "not_in";
|
|
849
|
+
contains: "contains";
|
|
850
|
+
not_contains: "not_contains";
|
|
851
|
+
gt: "gt";
|
|
852
|
+
lt: "lt";
|
|
853
|
+
gte: "gte";
|
|
854
|
+
lte: "lte";
|
|
855
|
+
regex: "regex";
|
|
856
|
+
}>;
|
|
857
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
858
|
+
outputs: z.ZodObject<{
|
|
859
|
+
true: z.ZodNullable<z.ZodString>;
|
|
860
|
+
false: z.ZodNullable<z.ZodString>;
|
|
861
|
+
}, z.core.$strip>;
|
|
862
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
863
|
+
id: z.ZodString;
|
|
864
|
+
type: z.ZodLiteral<"split">;
|
|
865
|
+
position: z.ZodObject<{
|
|
866
|
+
x: z.ZodNumber;
|
|
867
|
+
y: z.ZodNumber;
|
|
868
|
+
}, z.core.$strip>;
|
|
869
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
870
|
+
weight: z.ZodNumber;
|
|
871
|
+
target: z.ZodNullable<z.ZodString>;
|
|
872
|
+
}, z.core.$strip>>;
|
|
873
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
874
|
+
id: z.ZodString;
|
|
875
|
+
type: z.ZodLiteral<"destination">;
|
|
876
|
+
position: z.ZodObject<{
|
|
877
|
+
x: z.ZodNumber;
|
|
878
|
+
y: z.ZodNumber;
|
|
879
|
+
}, z.core.$strip>;
|
|
880
|
+
url: z.ZodString;
|
|
881
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
882
|
+
id: z.ZodString;
|
|
883
|
+
type: z.ZodLiteral<"transform">;
|
|
884
|
+
position: z.ZodObject<{
|
|
885
|
+
x: z.ZodNumber;
|
|
886
|
+
y: z.ZodNumber;
|
|
887
|
+
}, z.core.$strip>;
|
|
888
|
+
transforms: z.ZodObject<{
|
|
889
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
890
|
+
key: z.ZodString;
|
|
891
|
+
value: z.ZodString;
|
|
892
|
+
mode: z.ZodEnum<{
|
|
893
|
+
set: "set";
|
|
894
|
+
append: "append";
|
|
895
|
+
}>;
|
|
896
|
+
}, z.core.$strip>>>;
|
|
897
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
898
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
899
|
+
key: z.ZodString;
|
|
900
|
+
value: z.ZodString;
|
|
901
|
+
mode: z.ZodEnum<{
|
|
902
|
+
set: "set";
|
|
903
|
+
append: "append";
|
|
904
|
+
}>;
|
|
905
|
+
}, z.core.$strip>>>;
|
|
906
|
+
}, z.core.$strip>;
|
|
907
|
+
next: z.ZodNullable<z.ZodString>;
|
|
908
|
+
}, z.core.$strip>], "type">>;
|
|
909
|
+
}, z.core.$strip>>>;
|
|
589
910
|
tags: z.ZodArray<z.ZodObject<{
|
|
590
911
|
id: z.ZodString;
|
|
591
912
|
workspace_id: z.ZodString;
|
|
@@ -640,6 +961,86 @@ export declare const linksContract: {
|
|
|
640
961
|
frame_text_color: z.ZodString;
|
|
641
962
|
}, z.core.$strip>>>;
|
|
642
963
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
964
|
+
link_type: z.ZodOptional<z.ZodEnum<{
|
|
965
|
+
redirect: "redirect";
|
|
966
|
+
rules: "rules";
|
|
967
|
+
}>>;
|
|
968
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
969
|
+
entry: z.ZodString;
|
|
970
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
971
|
+
id: z.ZodString;
|
|
972
|
+
type: z.ZodLiteral<"condition">;
|
|
973
|
+
position: z.ZodObject<{
|
|
974
|
+
x: z.ZodNumber;
|
|
975
|
+
y: z.ZodNumber;
|
|
976
|
+
}, z.core.$strip>;
|
|
977
|
+
field: z.ZodString;
|
|
978
|
+
operator: z.ZodEnum<{
|
|
979
|
+
eq: "eq";
|
|
980
|
+
neq: "neq";
|
|
981
|
+
in: "in";
|
|
982
|
+
not_in: "not_in";
|
|
983
|
+
contains: "contains";
|
|
984
|
+
not_contains: "not_contains";
|
|
985
|
+
gt: "gt";
|
|
986
|
+
lt: "lt";
|
|
987
|
+
gte: "gte";
|
|
988
|
+
lte: "lte";
|
|
989
|
+
regex: "regex";
|
|
990
|
+
}>;
|
|
991
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
992
|
+
outputs: z.ZodObject<{
|
|
993
|
+
true: z.ZodNullable<z.ZodString>;
|
|
994
|
+
false: z.ZodNullable<z.ZodString>;
|
|
995
|
+
}, z.core.$strip>;
|
|
996
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
997
|
+
id: z.ZodString;
|
|
998
|
+
type: z.ZodLiteral<"split">;
|
|
999
|
+
position: z.ZodObject<{
|
|
1000
|
+
x: z.ZodNumber;
|
|
1001
|
+
y: z.ZodNumber;
|
|
1002
|
+
}, z.core.$strip>;
|
|
1003
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1004
|
+
weight: z.ZodNumber;
|
|
1005
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1006
|
+
}, z.core.$strip>>;
|
|
1007
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1008
|
+
id: z.ZodString;
|
|
1009
|
+
type: z.ZodLiteral<"destination">;
|
|
1010
|
+
position: z.ZodObject<{
|
|
1011
|
+
x: z.ZodNumber;
|
|
1012
|
+
y: z.ZodNumber;
|
|
1013
|
+
}, z.core.$strip>;
|
|
1014
|
+
url: z.ZodString;
|
|
1015
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1016
|
+
id: z.ZodString;
|
|
1017
|
+
type: z.ZodLiteral<"transform">;
|
|
1018
|
+
position: z.ZodObject<{
|
|
1019
|
+
x: z.ZodNumber;
|
|
1020
|
+
y: z.ZodNumber;
|
|
1021
|
+
}, z.core.$strip>;
|
|
1022
|
+
transforms: z.ZodObject<{
|
|
1023
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1024
|
+
key: z.ZodString;
|
|
1025
|
+
value: z.ZodString;
|
|
1026
|
+
mode: z.ZodEnum<{
|
|
1027
|
+
set: "set";
|
|
1028
|
+
append: "append";
|
|
1029
|
+
}>;
|
|
1030
|
+
}, z.core.$strip>>>;
|
|
1031
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
1032
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1033
|
+
key: z.ZodString;
|
|
1034
|
+
value: z.ZodString;
|
|
1035
|
+
mode: z.ZodEnum<{
|
|
1036
|
+
set: "set";
|
|
1037
|
+
append: "append";
|
|
1038
|
+
}>;
|
|
1039
|
+
}, z.core.$strip>>>;
|
|
1040
|
+
}, z.core.$strip>;
|
|
1041
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1042
|
+
}, z.core.$strip>], "type">>;
|
|
1043
|
+
}, z.core.$strip>>>;
|
|
643
1044
|
}, z.core.$strip>, z.ZodObject<{
|
|
644
1045
|
id: z.ZodString;
|
|
645
1046
|
workspace_id: z.ZodString;
|
|
@@ -689,6 +1090,86 @@ export declare const linksContract: {
|
|
|
689
1090
|
frame_color: z.ZodString;
|
|
690
1091
|
frame_text_color: z.ZodString;
|
|
691
1092
|
}, z.core.$strip>>;
|
|
1093
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1094
|
+
redirect: "redirect";
|
|
1095
|
+
rules: "rules";
|
|
1096
|
+
}>>;
|
|
1097
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1098
|
+
entry: z.ZodString;
|
|
1099
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1100
|
+
id: z.ZodString;
|
|
1101
|
+
type: z.ZodLiteral<"condition">;
|
|
1102
|
+
position: z.ZodObject<{
|
|
1103
|
+
x: z.ZodNumber;
|
|
1104
|
+
y: z.ZodNumber;
|
|
1105
|
+
}, z.core.$strip>;
|
|
1106
|
+
field: z.ZodString;
|
|
1107
|
+
operator: z.ZodEnum<{
|
|
1108
|
+
eq: "eq";
|
|
1109
|
+
neq: "neq";
|
|
1110
|
+
in: "in";
|
|
1111
|
+
not_in: "not_in";
|
|
1112
|
+
contains: "contains";
|
|
1113
|
+
not_contains: "not_contains";
|
|
1114
|
+
gt: "gt";
|
|
1115
|
+
lt: "lt";
|
|
1116
|
+
gte: "gte";
|
|
1117
|
+
lte: "lte";
|
|
1118
|
+
regex: "regex";
|
|
1119
|
+
}>;
|
|
1120
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
1121
|
+
outputs: z.ZodObject<{
|
|
1122
|
+
true: z.ZodNullable<z.ZodString>;
|
|
1123
|
+
false: z.ZodNullable<z.ZodString>;
|
|
1124
|
+
}, z.core.$strip>;
|
|
1125
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1126
|
+
id: z.ZodString;
|
|
1127
|
+
type: z.ZodLiteral<"split">;
|
|
1128
|
+
position: z.ZodObject<{
|
|
1129
|
+
x: z.ZodNumber;
|
|
1130
|
+
y: z.ZodNumber;
|
|
1131
|
+
}, z.core.$strip>;
|
|
1132
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1133
|
+
weight: z.ZodNumber;
|
|
1134
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1135
|
+
}, z.core.$strip>>;
|
|
1136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1137
|
+
id: z.ZodString;
|
|
1138
|
+
type: z.ZodLiteral<"destination">;
|
|
1139
|
+
position: z.ZodObject<{
|
|
1140
|
+
x: z.ZodNumber;
|
|
1141
|
+
y: z.ZodNumber;
|
|
1142
|
+
}, z.core.$strip>;
|
|
1143
|
+
url: z.ZodString;
|
|
1144
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1145
|
+
id: z.ZodString;
|
|
1146
|
+
type: z.ZodLiteral<"transform">;
|
|
1147
|
+
position: z.ZodObject<{
|
|
1148
|
+
x: z.ZodNumber;
|
|
1149
|
+
y: z.ZodNumber;
|
|
1150
|
+
}, z.core.$strip>;
|
|
1151
|
+
transforms: z.ZodObject<{
|
|
1152
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1153
|
+
key: z.ZodString;
|
|
1154
|
+
value: z.ZodString;
|
|
1155
|
+
mode: z.ZodEnum<{
|
|
1156
|
+
set: "set";
|
|
1157
|
+
append: "append";
|
|
1158
|
+
}>;
|
|
1159
|
+
}, z.core.$strip>>>;
|
|
1160
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
1161
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1162
|
+
key: z.ZodString;
|
|
1163
|
+
value: z.ZodString;
|
|
1164
|
+
mode: z.ZodEnum<{
|
|
1165
|
+
set: "set";
|
|
1166
|
+
append: "append";
|
|
1167
|
+
}>;
|
|
1168
|
+
}, z.core.$strip>>>;
|
|
1169
|
+
}, z.core.$strip>;
|
|
1170
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1171
|
+
}, z.core.$strip>], "type">>;
|
|
1172
|
+
}, z.core.$strip>>>;
|
|
692
1173
|
tags: z.ZodArray<z.ZodObject<{
|
|
693
1174
|
id: z.ZodString;
|
|
694
1175
|
workspace_id: z.ZodString;
|
|
@@ -1304,6 +1785,86 @@ export declare const contract: {
|
|
|
1304
1785
|
frame_text_color: z.ZodString;
|
|
1305
1786
|
}, z.core.$strip>>>;
|
|
1306
1787
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1788
|
+
link_type: z.ZodOptional<z.ZodEnum<{
|
|
1789
|
+
redirect: "redirect";
|
|
1790
|
+
rules: "rules";
|
|
1791
|
+
}>>;
|
|
1792
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1793
|
+
entry: z.ZodString;
|
|
1794
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1795
|
+
id: z.ZodString;
|
|
1796
|
+
type: z.ZodLiteral<"condition">;
|
|
1797
|
+
position: z.ZodObject<{
|
|
1798
|
+
x: z.ZodNumber;
|
|
1799
|
+
y: z.ZodNumber;
|
|
1800
|
+
}, z.core.$strip>;
|
|
1801
|
+
field: z.ZodString;
|
|
1802
|
+
operator: z.ZodEnum<{
|
|
1803
|
+
eq: "eq";
|
|
1804
|
+
neq: "neq";
|
|
1805
|
+
in: "in";
|
|
1806
|
+
not_in: "not_in";
|
|
1807
|
+
contains: "contains";
|
|
1808
|
+
not_contains: "not_contains";
|
|
1809
|
+
gt: "gt";
|
|
1810
|
+
lt: "lt";
|
|
1811
|
+
gte: "gte";
|
|
1812
|
+
lte: "lte";
|
|
1813
|
+
regex: "regex";
|
|
1814
|
+
}>;
|
|
1815
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
1816
|
+
outputs: z.ZodObject<{
|
|
1817
|
+
true: z.ZodNullable<z.ZodString>;
|
|
1818
|
+
false: z.ZodNullable<z.ZodString>;
|
|
1819
|
+
}, z.core.$strip>;
|
|
1820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1821
|
+
id: z.ZodString;
|
|
1822
|
+
type: z.ZodLiteral<"split">;
|
|
1823
|
+
position: z.ZodObject<{
|
|
1824
|
+
x: z.ZodNumber;
|
|
1825
|
+
y: z.ZodNumber;
|
|
1826
|
+
}, z.core.$strip>;
|
|
1827
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1828
|
+
weight: z.ZodNumber;
|
|
1829
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1830
|
+
}, z.core.$strip>>;
|
|
1831
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1832
|
+
id: z.ZodString;
|
|
1833
|
+
type: z.ZodLiteral<"destination">;
|
|
1834
|
+
position: z.ZodObject<{
|
|
1835
|
+
x: z.ZodNumber;
|
|
1836
|
+
y: z.ZodNumber;
|
|
1837
|
+
}, z.core.$strip>;
|
|
1838
|
+
url: z.ZodString;
|
|
1839
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1840
|
+
id: z.ZodString;
|
|
1841
|
+
type: z.ZodLiteral<"transform">;
|
|
1842
|
+
position: z.ZodObject<{
|
|
1843
|
+
x: z.ZodNumber;
|
|
1844
|
+
y: z.ZodNumber;
|
|
1845
|
+
}, z.core.$strip>;
|
|
1846
|
+
transforms: z.ZodObject<{
|
|
1847
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1848
|
+
key: z.ZodString;
|
|
1849
|
+
value: z.ZodString;
|
|
1850
|
+
mode: z.ZodEnum<{
|
|
1851
|
+
set: "set";
|
|
1852
|
+
append: "append";
|
|
1853
|
+
}>;
|
|
1854
|
+
}, z.core.$strip>>>;
|
|
1855
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
1856
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1857
|
+
key: z.ZodString;
|
|
1858
|
+
value: z.ZodString;
|
|
1859
|
+
mode: z.ZodEnum<{
|
|
1860
|
+
set: "set";
|
|
1861
|
+
append: "append";
|
|
1862
|
+
}>;
|
|
1863
|
+
}, z.core.$strip>>>;
|
|
1864
|
+
}, z.core.$strip>;
|
|
1865
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1866
|
+
}, z.core.$strip>], "type">>;
|
|
1867
|
+
}, z.core.$strip>>>;
|
|
1307
1868
|
}, z.core.$strip>, z.ZodObject<{
|
|
1308
1869
|
id: z.ZodString;
|
|
1309
1870
|
workspace_id: z.ZodString;
|
|
@@ -1353,6 +1914,86 @@ export declare const contract: {
|
|
|
1353
1914
|
frame_color: z.ZodString;
|
|
1354
1915
|
frame_text_color: z.ZodString;
|
|
1355
1916
|
}, z.core.$strip>>;
|
|
1917
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1918
|
+
redirect: "redirect";
|
|
1919
|
+
rules: "rules";
|
|
1920
|
+
}>>;
|
|
1921
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1922
|
+
entry: z.ZodString;
|
|
1923
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1924
|
+
id: z.ZodString;
|
|
1925
|
+
type: z.ZodLiteral<"condition">;
|
|
1926
|
+
position: z.ZodObject<{
|
|
1927
|
+
x: z.ZodNumber;
|
|
1928
|
+
y: z.ZodNumber;
|
|
1929
|
+
}, z.core.$strip>;
|
|
1930
|
+
field: z.ZodString;
|
|
1931
|
+
operator: z.ZodEnum<{
|
|
1932
|
+
eq: "eq";
|
|
1933
|
+
neq: "neq";
|
|
1934
|
+
in: "in";
|
|
1935
|
+
not_in: "not_in";
|
|
1936
|
+
contains: "contains";
|
|
1937
|
+
not_contains: "not_contains";
|
|
1938
|
+
gt: "gt";
|
|
1939
|
+
lt: "lt";
|
|
1940
|
+
gte: "gte";
|
|
1941
|
+
lte: "lte";
|
|
1942
|
+
regex: "regex";
|
|
1943
|
+
}>;
|
|
1944
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
1945
|
+
outputs: z.ZodObject<{
|
|
1946
|
+
true: z.ZodNullable<z.ZodString>;
|
|
1947
|
+
false: z.ZodNullable<z.ZodString>;
|
|
1948
|
+
}, z.core.$strip>;
|
|
1949
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1950
|
+
id: z.ZodString;
|
|
1951
|
+
type: z.ZodLiteral<"split">;
|
|
1952
|
+
position: z.ZodObject<{
|
|
1953
|
+
x: z.ZodNumber;
|
|
1954
|
+
y: z.ZodNumber;
|
|
1955
|
+
}, z.core.$strip>;
|
|
1956
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1957
|
+
weight: z.ZodNumber;
|
|
1958
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1959
|
+
}, z.core.$strip>>;
|
|
1960
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1961
|
+
id: z.ZodString;
|
|
1962
|
+
type: z.ZodLiteral<"destination">;
|
|
1963
|
+
position: z.ZodObject<{
|
|
1964
|
+
x: z.ZodNumber;
|
|
1965
|
+
y: z.ZodNumber;
|
|
1966
|
+
}, z.core.$strip>;
|
|
1967
|
+
url: z.ZodString;
|
|
1968
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1969
|
+
id: z.ZodString;
|
|
1970
|
+
type: z.ZodLiteral<"transform">;
|
|
1971
|
+
position: z.ZodObject<{
|
|
1972
|
+
x: z.ZodNumber;
|
|
1973
|
+
y: z.ZodNumber;
|
|
1974
|
+
}, z.core.$strip>;
|
|
1975
|
+
transforms: z.ZodObject<{
|
|
1976
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1977
|
+
key: z.ZodString;
|
|
1978
|
+
value: z.ZodString;
|
|
1979
|
+
mode: z.ZodEnum<{
|
|
1980
|
+
set: "set";
|
|
1981
|
+
append: "append";
|
|
1982
|
+
}>;
|
|
1983
|
+
}, z.core.$strip>>>;
|
|
1984
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
1985
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1986
|
+
key: z.ZodString;
|
|
1987
|
+
value: z.ZodString;
|
|
1988
|
+
mode: z.ZodEnum<{
|
|
1989
|
+
set: "set";
|
|
1990
|
+
append: "append";
|
|
1991
|
+
}>;
|
|
1992
|
+
}, z.core.$strip>>>;
|
|
1993
|
+
}, z.core.$strip>;
|
|
1994
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1995
|
+
}, z.core.$strip>], "type">>;
|
|
1996
|
+
}, z.core.$strip>>>;
|
|
1356
1997
|
tags: z.ZodArray<z.ZodObject<{
|
|
1357
1998
|
id: z.ZodString;
|
|
1358
1999
|
workspace_id: z.ZodString;
|
|
@@ -1445,6 +2086,86 @@ export declare const contract: {
|
|
|
1445
2086
|
frame_color: z.ZodString;
|
|
1446
2087
|
frame_text_color: z.ZodString;
|
|
1447
2088
|
}, z.core.$strip>>;
|
|
2089
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2090
|
+
redirect: "redirect";
|
|
2091
|
+
rules: "rules";
|
|
2092
|
+
}>>;
|
|
2093
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2094
|
+
entry: z.ZodString;
|
|
2095
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2096
|
+
id: z.ZodString;
|
|
2097
|
+
type: z.ZodLiteral<"condition">;
|
|
2098
|
+
position: z.ZodObject<{
|
|
2099
|
+
x: z.ZodNumber;
|
|
2100
|
+
y: z.ZodNumber;
|
|
2101
|
+
}, z.core.$strip>;
|
|
2102
|
+
field: z.ZodString;
|
|
2103
|
+
operator: z.ZodEnum<{
|
|
2104
|
+
eq: "eq";
|
|
2105
|
+
neq: "neq";
|
|
2106
|
+
in: "in";
|
|
2107
|
+
not_in: "not_in";
|
|
2108
|
+
contains: "contains";
|
|
2109
|
+
not_contains: "not_contains";
|
|
2110
|
+
gt: "gt";
|
|
2111
|
+
lt: "lt";
|
|
2112
|
+
gte: "gte";
|
|
2113
|
+
lte: "lte";
|
|
2114
|
+
regex: "regex";
|
|
2115
|
+
}>;
|
|
2116
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2117
|
+
outputs: z.ZodObject<{
|
|
2118
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2119
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2120
|
+
}, z.core.$strip>;
|
|
2121
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2122
|
+
id: z.ZodString;
|
|
2123
|
+
type: z.ZodLiteral<"split">;
|
|
2124
|
+
position: z.ZodObject<{
|
|
2125
|
+
x: z.ZodNumber;
|
|
2126
|
+
y: z.ZodNumber;
|
|
2127
|
+
}, z.core.$strip>;
|
|
2128
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2129
|
+
weight: z.ZodNumber;
|
|
2130
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2131
|
+
}, z.core.$strip>>;
|
|
2132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2133
|
+
id: z.ZodString;
|
|
2134
|
+
type: z.ZodLiteral<"destination">;
|
|
2135
|
+
position: z.ZodObject<{
|
|
2136
|
+
x: z.ZodNumber;
|
|
2137
|
+
y: z.ZodNumber;
|
|
2138
|
+
}, z.core.$strip>;
|
|
2139
|
+
url: z.ZodString;
|
|
2140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2141
|
+
id: z.ZodString;
|
|
2142
|
+
type: z.ZodLiteral<"transform">;
|
|
2143
|
+
position: z.ZodObject<{
|
|
2144
|
+
x: z.ZodNumber;
|
|
2145
|
+
y: z.ZodNumber;
|
|
2146
|
+
}, z.core.$strip>;
|
|
2147
|
+
transforms: z.ZodObject<{
|
|
2148
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2149
|
+
key: z.ZodString;
|
|
2150
|
+
value: z.ZodString;
|
|
2151
|
+
mode: z.ZodEnum<{
|
|
2152
|
+
set: "set";
|
|
2153
|
+
append: "append";
|
|
2154
|
+
}>;
|
|
2155
|
+
}, z.core.$strip>>>;
|
|
2156
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
2157
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2158
|
+
key: z.ZodString;
|
|
2159
|
+
value: z.ZodString;
|
|
2160
|
+
mode: z.ZodEnum<{
|
|
2161
|
+
set: "set";
|
|
2162
|
+
append: "append";
|
|
2163
|
+
}>;
|
|
2164
|
+
}, z.core.$strip>>>;
|
|
2165
|
+
}, z.core.$strip>;
|
|
2166
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2167
|
+
}, z.core.$strip>], "type">>;
|
|
2168
|
+
}, z.core.$strip>>>;
|
|
1448
2169
|
tags: z.ZodArray<z.ZodObject<{
|
|
1449
2170
|
id: z.ZodString;
|
|
1450
2171
|
workspace_id: z.ZodString;
|
|
@@ -1511,6 +2232,86 @@ export declare const contract: {
|
|
|
1511
2232
|
frame_color: z.ZodString;
|
|
1512
2233
|
frame_text_color: z.ZodString;
|
|
1513
2234
|
}, z.core.$strip>>;
|
|
2235
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2236
|
+
redirect: "redirect";
|
|
2237
|
+
rules: "rules";
|
|
2238
|
+
}>>;
|
|
2239
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2240
|
+
entry: z.ZodString;
|
|
2241
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2242
|
+
id: z.ZodString;
|
|
2243
|
+
type: z.ZodLiteral<"condition">;
|
|
2244
|
+
position: z.ZodObject<{
|
|
2245
|
+
x: z.ZodNumber;
|
|
2246
|
+
y: z.ZodNumber;
|
|
2247
|
+
}, z.core.$strip>;
|
|
2248
|
+
field: z.ZodString;
|
|
2249
|
+
operator: z.ZodEnum<{
|
|
2250
|
+
eq: "eq";
|
|
2251
|
+
neq: "neq";
|
|
2252
|
+
in: "in";
|
|
2253
|
+
not_in: "not_in";
|
|
2254
|
+
contains: "contains";
|
|
2255
|
+
not_contains: "not_contains";
|
|
2256
|
+
gt: "gt";
|
|
2257
|
+
lt: "lt";
|
|
2258
|
+
gte: "gte";
|
|
2259
|
+
lte: "lte";
|
|
2260
|
+
regex: "regex";
|
|
2261
|
+
}>;
|
|
2262
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2263
|
+
outputs: z.ZodObject<{
|
|
2264
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2265
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2266
|
+
}, z.core.$strip>;
|
|
2267
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2268
|
+
id: z.ZodString;
|
|
2269
|
+
type: z.ZodLiteral<"split">;
|
|
2270
|
+
position: z.ZodObject<{
|
|
2271
|
+
x: z.ZodNumber;
|
|
2272
|
+
y: z.ZodNumber;
|
|
2273
|
+
}, z.core.$strip>;
|
|
2274
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2275
|
+
weight: z.ZodNumber;
|
|
2276
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2277
|
+
}, z.core.$strip>>;
|
|
2278
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2279
|
+
id: z.ZodString;
|
|
2280
|
+
type: z.ZodLiteral<"destination">;
|
|
2281
|
+
position: z.ZodObject<{
|
|
2282
|
+
x: z.ZodNumber;
|
|
2283
|
+
y: z.ZodNumber;
|
|
2284
|
+
}, z.core.$strip>;
|
|
2285
|
+
url: z.ZodString;
|
|
2286
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2287
|
+
id: z.ZodString;
|
|
2288
|
+
type: z.ZodLiteral<"transform">;
|
|
2289
|
+
position: z.ZodObject<{
|
|
2290
|
+
x: z.ZodNumber;
|
|
2291
|
+
y: z.ZodNumber;
|
|
2292
|
+
}, z.core.$strip>;
|
|
2293
|
+
transforms: z.ZodObject<{
|
|
2294
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2295
|
+
key: z.ZodString;
|
|
2296
|
+
value: z.ZodString;
|
|
2297
|
+
mode: z.ZodEnum<{
|
|
2298
|
+
set: "set";
|
|
2299
|
+
append: "append";
|
|
2300
|
+
}>;
|
|
2301
|
+
}, z.core.$strip>>>;
|
|
2302
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
2303
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2304
|
+
key: z.ZodString;
|
|
2305
|
+
value: z.ZodString;
|
|
2306
|
+
mode: z.ZodEnum<{
|
|
2307
|
+
set: "set";
|
|
2308
|
+
append: "append";
|
|
2309
|
+
}>;
|
|
2310
|
+
}, z.core.$strip>>>;
|
|
2311
|
+
}, z.core.$strip>;
|
|
2312
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2313
|
+
}, z.core.$strip>], "type">>;
|
|
2314
|
+
}, z.core.$strip>>>;
|
|
1514
2315
|
tags: z.ZodArray<z.ZodObject<{
|
|
1515
2316
|
id: z.ZodString;
|
|
1516
2317
|
workspace_id: z.ZodString;
|
|
@@ -1565,6 +2366,86 @@ export declare const contract: {
|
|
|
1565
2366
|
frame_text_color: z.ZodString;
|
|
1566
2367
|
}, z.core.$strip>>>;
|
|
1567
2368
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2369
|
+
link_type: z.ZodOptional<z.ZodEnum<{
|
|
2370
|
+
redirect: "redirect";
|
|
2371
|
+
rules: "rules";
|
|
2372
|
+
}>>;
|
|
2373
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2374
|
+
entry: z.ZodString;
|
|
2375
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2376
|
+
id: z.ZodString;
|
|
2377
|
+
type: z.ZodLiteral<"condition">;
|
|
2378
|
+
position: z.ZodObject<{
|
|
2379
|
+
x: z.ZodNumber;
|
|
2380
|
+
y: z.ZodNumber;
|
|
2381
|
+
}, z.core.$strip>;
|
|
2382
|
+
field: z.ZodString;
|
|
2383
|
+
operator: z.ZodEnum<{
|
|
2384
|
+
eq: "eq";
|
|
2385
|
+
neq: "neq";
|
|
2386
|
+
in: "in";
|
|
2387
|
+
not_in: "not_in";
|
|
2388
|
+
contains: "contains";
|
|
2389
|
+
not_contains: "not_contains";
|
|
2390
|
+
gt: "gt";
|
|
2391
|
+
lt: "lt";
|
|
2392
|
+
gte: "gte";
|
|
2393
|
+
lte: "lte";
|
|
2394
|
+
regex: "regex";
|
|
2395
|
+
}>;
|
|
2396
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2397
|
+
outputs: z.ZodObject<{
|
|
2398
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2399
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2400
|
+
}, z.core.$strip>;
|
|
2401
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2402
|
+
id: z.ZodString;
|
|
2403
|
+
type: z.ZodLiteral<"split">;
|
|
2404
|
+
position: z.ZodObject<{
|
|
2405
|
+
x: z.ZodNumber;
|
|
2406
|
+
y: z.ZodNumber;
|
|
2407
|
+
}, z.core.$strip>;
|
|
2408
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2409
|
+
weight: z.ZodNumber;
|
|
2410
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2411
|
+
}, z.core.$strip>>;
|
|
2412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2413
|
+
id: z.ZodString;
|
|
2414
|
+
type: z.ZodLiteral<"destination">;
|
|
2415
|
+
position: z.ZodObject<{
|
|
2416
|
+
x: z.ZodNumber;
|
|
2417
|
+
y: z.ZodNumber;
|
|
2418
|
+
}, z.core.$strip>;
|
|
2419
|
+
url: z.ZodString;
|
|
2420
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2421
|
+
id: z.ZodString;
|
|
2422
|
+
type: z.ZodLiteral<"transform">;
|
|
2423
|
+
position: z.ZodObject<{
|
|
2424
|
+
x: z.ZodNumber;
|
|
2425
|
+
y: z.ZodNumber;
|
|
2426
|
+
}, z.core.$strip>;
|
|
2427
|
+
transforms: z.ZodObject<{
|
|
2428
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2429
|
+
key: z.ZodString;
|
|
2430
|
+
value: z.ZodString;
|
|
2431
|
+
mode: z.ZodEnum<{
|
|
2432
|
+
set: "set";
|
|
2433
|
+
append: "append";
|
|
2434
|
+
}>;
|
|
2435
|
+
}, z.core.$strip>>>;
|
|
2436
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
2437
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2438
|
+
key: z.ZodString;
|
|
2439
|
+
value: z.ZodString;
|
|
2440
|
+
mode: z.ZodEnum<{
|
|
2441
|
+
set: "set";
|
|
2442
|
+
append: "append";
|
|
2443
|
+
}>;
|
|
2444
|
+
}, z.core.$strip>>>;
|
|
2445
|
+
}, z.core.$strip>;
|
|
2446
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2447
|
+
}, z.core.$strip>], "type">>;
|
|
2448
|
+
}, z.core.$strip>>>;
|
|
1568
2449
|
}, z.core.$strip>, z.ZodObject<{
|
|
1569
2450
|
id: z.ZodString;
|
|
1570
2451
|
workspace_id: z.ZodString;
|
|
@@ -1614,6 +2495,86 @@ export declare const contract: {
|
|
|
1614
2495
|
frame_color: z.ZodString;
|
|
1615
2496
|
frame_text_color: z.ZodString;
|
|
1616
2497
|
}, z.core.$strip>>;
|
|
2498
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2499
|
+
redirect: "redirect";
|
|
2500
|
+
rules: "rules";
|
|
2501
|
+
}>>;
|
|
2502
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2503
|
+
entry: z.ZodString;
|
|
2504
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2505
|
+
id: z.ZodString;
|
|
2506
|
+
type: z.ZodLiteral<"condition">;
|
|
2507
|
+
position: z.ZodObject<{
|
|
2508
|
+
x: z.ZodNumber;
|
|
2509
|
+
y: z.ZodNumber;
|
|
2510
|
+
}, z.core.$strip>;
|
|
2511
|
+
field: z.ZodString;
|
|
2512
|
+
operator: z.ZodEnum<{
|
|
2513
|
+
eq: "eq";
|
|
2514
|
+
neq: "neq";
|
|
2515
|
+
in: "in";
|
|
2516
|
+
not_in: "not_in";
|
|
2517
|
+
contains: "contains";
|
|
2518
|
+
not_contains: "not_contains";
|
|
2519
|
+
gt: "gt";
|
|
2520
|
+
lt: "lt";
|
|
2521
|
+
gte: "gte";
|
|
2522
|
+
lte: "lte";
|
|
2523
|
+
regex: "regex";
|
|
2524
|
+
}>;
|
|
2525
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2526
|
+
outputs: z.ZodObject<{
|
|
2527
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2528
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2529
|
+
}, z.core.$strip>;
|
|
2530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2531
|
+
id: z.ZodString;
|
|
2532
|
+
type: z.ZodLiteral<"split">;
|
|
2533
|
+
position: z.ZodObject<{
|
|
2534
|
+
x: z.ZodNumber;
|
|
2535
|
+
y: z.ZodNumber;
|
|
2536
|
+
}, z.core.$strip>;
|
|
2537
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2538
|
+
weight: z.ZodNumber;
|
|
2539
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2540
|
+
}, z.core.$strip>>;
|
|
2541
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2542
|
+
id: z.ZodString;
|
|
2543
|
+
type: z.ZodLiteral<"destination">;
|
|
2544
|
+
position: z.ZodObject<{
|
|
2545
|
+
x: z.ZodNumber;
|
|
2546
|
+
y: z.ZodNumber;
|
|
2547
|
+
}, z.core.$strip>;
|
|
2548
|
+
url: z.ZodString;
|
|
2549
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2550
|
+
id: z.ZodString;
|
|
2551
|
+
type: z.ZodLiteral<"transform">;
|
|
2552
|
+
position: z.ZodObject<{
|
|
2553
|
+
x: z.ZodNumber;
|
|
2554
|
+
y: z.ZodNumber;
|
|
2555
|
+
}, z.core.$strip>;
|
|
2556
|
+
transforms: z.ZodObject<{
|
|
2557
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2558
|
+
key: z.ZodString;
|
|
2559
|
+
value: z.ZodString;
|
|
2560
|
+
mode: z.ZodEnum<{
|
|
2561
|
+
set: "set";
|
|
2562
|
+
append: "append";
|
|
2563
|
+
}>;
|
|
2564
|
+
}, z.core.$strip>>>;
|
|
2565
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
2566
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2567
|
+
key: z.ZodString;
|
|
2568
|
+
value: z.ZodString;
|
|
2569
|
+
mode: z.ZodEnum<{
|
|
2570
|
+
set: "set";
|
|
2571
|
+
append: "append";
|
|
2572
|
+
}>;
|
|
2573
|
+
}, z.core.$strip>>>;
|
|
2574
|
+
}, z.core.$strip>;
|
|
2575
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2576
|
+
}, z.core.$strip>], "type">>;
|
|
2577
|
+
}, z.core.$strip>>>;
|
|
1617
2578
|
tags: z.ZodArray<z.ZodObject<{
|
|
1618
2579
|
id: z.ZodString;
|
|
1619
2580
|
workspace_id: z.ZodString;
|