@valbuild/shared 0.73.0 → 0.73.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,4 @@
|
|
1
1
|
import { z } from "zod";
|
2
|
-
import { type ModuleFilePath } from "@valbuild/core";
|
3
|
-
declare const ModuleFilePath: z.ZodEffects<z.ZodString, ModuleFilePath, string>;
|
4
2
|
declare const cookies: z.ZodUnion<[z.ZodLiteral<"val_session">, z.ZodLiteral<"val_enable">, z.ZodLiteral<"val_state">]>;
|
5
3
|
type Cookies = z.infer<typeof cookies>;
|
6
4
|
declare const enableCookieValue: z.ZodObject<{
|
@@ -45,7 +43,7 @@ export declare const Api: {
|
|
45
43
|
redirect_to: z.ZodOptional<z.ZodString>;
|
46
44
|
};
|
47
45
|
cookies: {
|
48
|
-
|
46
|
+
[x: number]: z.ZodOptional<z.ZodString>;
|
49
47
|
};
|
50
48
|
};
|
51
49
|
res: z.ZodUnion<[z.ZodObject<{
|
@@ -105,7 +103,7 @@ export declare const Api: {
|
|
105
103
|
redirect_to: z.ZodOptional<z.ZodString>;
|
106
104
|
};
|
107
105
|
cookies: {
|
108
|
-
|
106
|
+
[x: number]: z.ZodOptional<z.ZodString>;
|
109
107
|
};
|
110
108
|
};
|
111
109
|
res: z.ZodUnion<[z.ZodObject<{
|
@@ -162,7 +160,7 @@ export declare const Api: {
|
|
162
160
|
GET: {
|
163
161
|
req: {
|
164
162
|
cookies: {
|
165
|
-
|
163
|
+
[x: number]: z.ZodOptional<z.ZodString>;
|
166
164
|
};
|
167
165
|
};
|
168
166
|
res: z.ZodUnion<[z.ZodObject<{
|
@@ -213,7 +211,7 @@ export declare const Api: {
|
|
213
211
|
redirect_to: z.ZodOptional<z.ZodString>;
|
214
212
|
};
|
215
213
|
cookies: {
|
216
|
-
|
214
|
+
[x: number]: z.ZodOptional<z.ZodString>;
|
217
215
|
};
|
218
216
|
};
|
219
217
|
res: z.ZodUnion<[z.ZodObject<{
|
@@ -239,7 +237,7 @@ export declare const Api: {
|
|
239
237
|
status: z.ZodLiteral<302>;
|
240
238
|
redirectTo: z.ZodString;
|
241
239
|
cookies: z.ZodObject<{
|
242
|
-
|
240
|
+
[x: number]: z.ZodObject<{
|
243
241
|
value: z.ZodLiteral<"true">;
|
244
242
|
options: z.ZodObject<{
|
245
243
|
httpOnly: z.ZodLiteral<false>;
|
@@ -263,8 +261,7 @@ export declare const Api: {
|
|
263
261
|
httpOnly: false;
|
264
262
|
sameSite: "lax";
|
265
263
|
};
|
266
|
-
}
|
267
|
-
val_state: z.ZodObject<{
|
264
|
+
}> | z.ZodObject<{
|
268
265
|
value: z.ZodString;
|
269
266
|
options: z.ZodObject<{
|
270
267
|
httpOnly: z.ZodLiteral<true>;
|
@@ -295,7 +292,13 @@ export declare const Api: {
|
|
295
292
|
};
|
296
293
|
}>;
|
297
294
|
}, "strip", z.ZodTypeAny, {
|
298
|
-
|
295
|
+
[x: number]: {
|
296
|
+
value: "true";
|
297
|
+
options: {
|
298
|
+
httpOnly: false;
|
299
|
+
sameSite: "lax";
|
300
|
+
};
|
301
|
+
} | {
|
299
302
|
value: string;
|
300
303
|
options: {
|
301
304
|
httpOnly: true;
|
@@ -303,15 +306,14 @@ export declare const Api: {
|
|
303
306
|
expires: Date;
|
304
307
|
};
|
305
308
|
};
|
306
|
-
|
309
|
+
}, {
|
310
|
+
[x: number]: {
|
307
311
|
value: "true";
|
308
312
|
options: {
|
309
313
|
httpOnly: false;
|
310
314
|
sameSite: "lax";
|
311
315
|
};
|
312
|
-
}
|
313
|
-
}, {
|
314
|
-
val_state: {
|
316
|
+
} | {
|
315
317
|
value: string;
|
316
318
|
options: {
|
317
319
|
httpOnly: true;
|
@@ -319,31 +321,23 @@ export declare const Api: {
|
|
319
321
|
expires: Date;
|
320
322
|
};
|
321
323
|
};
|
322
|
-
val_enable: {
|
323
|
-
value: "true";
|
324
|
-
options: {
|
325
|
-
httpOnly: false;
|
326
|
-
sameSite: "lax";
|
327
|
-
};
|
328
|
-
};
|
329
324
|
}>;
|
330
325
|
}, "strip", z.ZodTypeAny, {
|
331
326
|
status: 302;
|
332
327
|
redirectTo: string;
|
333
328
|
cookies: {
|
334
|
-
|
335
|
-
value:
|
329
|
+
[x: number]: {
|
330
|
+
value: "true";
|
336
331
|
options: {
|
337
|
-
httpOnly:
|
332
|
+
httpOnly: false;
|
338
333
|
sameSite: "lax";
|
339
|
-
expires: Date;
|
340
334
|
};
|
341
|
-
}
|
342
|
-
|
343
|
-
value: "true";
|
335
|
+
} | {
|
336
|
+
value: string;
|
344
337
|
options: {
|
345
|
-
httpOnly:
|
338
|
+
httpOnly: true;
|
346
339
|
sameSite: "lax";
|
340
|
+
expires: Date;
|
347
341
|
};
|
348
342
|
};
|
349
343
|
};
|
@@ -351,19 +345,18 @@ export declare const Api: {
|
|
351
345
|
status: 302;
|
352
346
|
redirectTo: string;
|
353
347
|
cookies: {
|
354
|
-
|
355
|
-
value:
|
348
|
+
[x: number]: {
|
349
|
+
value: "true";
|
356
350
|
options: {
|
357
|
-
httpOnly:
|
351
|
+
httpOnly: false;
|
358
352
|
sameSite: "lax";
|
359
|
-
expires: Date;
|
360
353
|
};
|
361
|
-
}
|
362
|
-
|
363
|
-
value: "true";
|
354
|
+
} | {
|
355
|
+
value: string;
|
364
356
|
options: {
|
365
|
-
httpOnly:
|
357
|
+
httpOnly: true;
|
366
358
|
sameSite: "lax";
|
359
|
+
expires: Date;
|
367
360
|
};
|
368
361
|
};
|
369
362
|
};
|
@@ -371,7 +364,7 @@ export declare const Api: {
|
|
371
364
|
status: z.ZodLiteral<302>;
|
372
365
|
redirectTo: z.ZodString;
|
373
366
|
cookies: z.ZodObject<{
|
374
|
-
|
367
|
+
[x: number]: z.ZodObject<{
|
375
368
|
value: z.ZodLiteral<"true">;
|
376
369
|
options: z.ZodObject<{
|
377
370
|
httpOnly: z.ZodLiteral<false>;
|
@@ -397,7 +390,7 @@ export declare const Api: {
|
|
397
390
|
};
|
398
391
|
}>;
|
399
392
|
}, "strip", z.ZodTypeAny, {
|
400
|
-
|
393
|
+
[x: number]: {
|
401
394
|
value: "true";
|
402
395
|
options: {
|
403
396
|
httpOnly: false;
|
@@ -405,7 +398,7 @@ export declare const Api: {
|
|
405
398
|
};
|
406
399
|
};
|
407
400
|
}, {
|
408
|
-
|
401
|
+
[x: number]: {
|
409
402
|
value: "true";
|
410
403
|
options: {
|
411
404
|
httpOnly: false;
|
@@ -417,7 +410,7 @@ export declare const Api: {
|
|
417
410
|
status: 302;
|
418
411
|
redirectTo: string;
|
419
412
|
cookies: {
|
420
|
-
|
413
|
+
[x: number]: {
|
421
414
|
value: "true";
|
422
415
|
options: {
|
423
416
|
httpOnly: false;
|
@@ -429,7 +422,7 @@ export declare const Api: {
|
|
429
422
|
status: 302;
|
430
423
|
redirectTo: string;
|
431
424
|
cookies: {
|
432
|
-
|
425
|
+
[x: number]: {
|
433
426
|
value: "true";
|
434
427
|
options: {
|
435
428
|
httpOnly: false;
|
@@ -466,7 +459,7 @@ export declare const Api: {
|
|
466
459
|
redirect_to: z.ZodOptional<z.ZodString>;
|
467
460
|
};
|
468
461
|
cookies: {
|
469
|
-
|
462
|
+
[x: number]: z.ZodOptional<z.ZodString>;
|
470
463
|
};
|
471
464
|
};
|
472
465
|
res: z.ZodUnion<[z.ZodObject<{
|
@@ -492,7 +485,7 @@ export declare const Api: {
|
|
492
485
|
status: z.ZodLiteral<302>;
|
493
486
|
redirectTo: z.ZodString;
|
494
487
|
cookies: z.ZodObject<{
|
495
|
-
|
488
|
+
[x: number]: z.ZodObject<{
|
496
489
|
value: z.ZodLiteral<"false">;
|
497
490
|
}, "strip", z.ZodTypeAny, {
|
498
491
|
value: "false";
|
@@ -500,11 +493,11 @@ export declare const Api: {
|
|
500
493
|
value: "false";
|
501
494
|
}>;
|
502
495
|
}, "strip", z.ZodTypeAny, {
|
503
|
-
|
496
|
+
[x: number]: {
|
504
497
|
value: "false";
|
505
498
|
};
|
506
499
|
}, {
|
507
|
-
|
500
|
+
[x: number]: {
|
508
501
|
value: "false";
|
509
502
|
};
|
510
503
|
}>;
|
@@ -512,7 +505,7 @@ export declare const Api: {
|
|
512
505
|
status: 302;
|
513
506
|
redirectTo: string;
|
514
507
|
cookies: {
|
515
|
-
|
508
|
+
[x: number]: {
|
516
509
|
value: "false";
|
517
510
|
};
|
518
511
|
};
|
@@ -520,7 +513,7 @@ export declare const Api: {
|
|
520
513
|
status: 302;
|
521
514
|
redirectTo: string;
|
522
515
|
cookies: {
|
523
|
-
|
516
|
+
[x: number]: {
|
524
517
|
value: "false";
|
525
518
|
};
|
526
519
|
};
|
@@ -557,7 +550,7 @@ export declare const Api: {
|
|
557
550
|
status: z.ZodLiteral<302>;
|
558
551
|
redirectTo: z.ZodString;
|
559
552
|
cookies: z.ZodObject<{
|
560
|
-
|
553
|
+
[x: number]: z.ZodObject<{
|
561
554
|
value: z.ZodLiteral<"true">;
|
562
555
|
options: z.ZodObject<{
|
563
556
|
httpOnly: z.ZodLiteral<false>;
|
@@ -581,8 +574,7 @@ export declare const Api: {
|
|
581
574
|
httpOnly: false;
|
582
575
|
sameSite: "lax";
|
583
576
|
};
|
584
|
-
}
|
585
|
-
val_state: z.ZodObject<{
|
577
|
+
}> | z.ZodObject<{
|
586
578
|
value: z.ZodString;
|
587
579
|
options: z.ZodObject<{
|
588
580
|
httpOnly: z.ZodLiteral<true>;
|
@@ -613,7 +605,13 @@ export declare const Api: {
|
|
613
605
|
};
|
614
606
|
}>;
|
615
607
|
}, "strip", z.ZodTypeAny, {
|
616
|
-
|
608
|
+
[x: number]: {
|
609
|
+
value: "true";
|
610
|
+
options: {
|
611
|
+
httpOnly: false;
|
612
|
+
sameSite: "lax";
|
613
|
+
};
|
614
|
+
} | {
|
617
615
|
value: string;
|
618
616
|
options: {
|
619
617
|
httpOnly: true;
|
@@ -621,15 +619,14 @@ export declare const Api: {
|
|
621
619
|
expires: Date;
|
622
620
|
};
|
623
621
|
};
|
624
|
-
|
622
|
+
}, {
|
623
|
+
[x: number]: {
|
625
624
|
value: "true";
|
626
625
|
options: {
|
627
626
|
httpOnly: false;
|
628
627
|
sameSite: "lax";
|
629
628
|
};
|
630
|
-
}
|
631
|
-
}, {
|
632
|
-
val_state: {
|
629
|
+
} | {
|
633
630
|
value: string;
|
634
631
|
options: {
|
635
632
|
httpOnly: true;
|
@@ -637,31 +634,23 @@ export declare const Api: {
|
|
637
634
|
expires: Date;
|
638
635
|
};
|
639
636
|
};
|
640
|
-
val_enable: {
|
641
|
-
value: "true";
|
642
|
-
options: {
|
643
|
-
httpOnly: false;
|
644
|
-
sameSite: "lax";
|
645
|
-
};
|
646
|
-
};
|
647
637
|
}>;
|
648
638
|
}, "strip", z.ZodTypeAny, {
|
649
639
|
status: 302;
|
650
640
|
redirectTo: string;
|
651
641
|
cookies: {
|
652
|
-
|
653
|
-
value:
|
642
|
+
[x: number]: {
|
643
|
+
value: "true";
|
654
644
|
options: {
|
655
|
-
httpOnly:
|
645
|
+
httpOnly: false;
|
656
646
|
sameSite: "lax";
|
657
|
-
expires: Date;
|
658
647
|
};
|
659
|
-
}
|
660
|
-
|
661
|
-
value: "true";
|
648
|
+
} | {
|
649
|
+
value: string;
|
662
650
|
options: {
|
663
|
-
httpOnly:
|
651
|
+
httpOnly: true;
|
664
652
|
sameSite: "lax";
|
653
|
+
expires: Date;
|
665
654
|
};
|
666
655
|
};
|
667
656
|
};
|
@@ -669,19 +658,18 @@ export declare const Api: {
|
|
669
658
|
status: 302;
|
670
659
|
redirectTo: string;
|
671
660
|
cookies: {
|
672
|
-
|
673
|
-
value:
|
661
|
+
[x: number]: {
|
662
|
+
value: "true";
|
674
663
|
options: {
|
675
|
-
httpOnly:
|
664
|
+
httpOnly: false;
|
676
665
|
sameSite: "lax";
|
677
|
-
expires: Date;
|
678
666
|
};
|
679
|
-
}
|
680
|
-
|
681
|
-
value: "true";
|
667
|
+
} | {
|
668
|
+
value: string;
|
682
669
|
options: {
|
683
|
-
httpOnly:
|
670
|
+
httpOnly: true;
|
684
671
|
sameSite: "lax";
|
672
|
+
expires: Date;
|
685
673
|
};
|
686
674
|
};
|
687
675
|
};
|
@@ -715,21 +703,14 @@ export declare const Api: {
|
|
715
703
|
state: z.ZodOptional<z.ZodString>;
|
716
704
|
};
|
717
705
|
cookies: {
|
718
|
-
|
706
|
+
[x: number]: z.ZodString;
|
719
707
|
};
|
720
708
|
};
|
721
709
|
res: z.ZodObject<{
|
722
710
|
status: z.ZodLiteral<302>;
|
723
711
|
redirectTo: z.ZodString;
|
724
712
|
cookies: z.ZodObject<{
|
725
|
-
|
726
|
-
value: z.ZodLiteral<null>;
|
727
|
-
}, "strip", z.ZodTypeAny, {
|
728
|
-
value: null;
|
729
|
-
}, {
|
730
|
-
value: null;
|
731
|
-
}>;
|
732
|
-
val_enable: z.ZodOptional<z.ZodObject<{
|
713
|
+
[x: number]: z.ZodOptional<z.ZodObject<{
|
733
714
|
value: z.ZodLiteral<"true">;
|
734
715
|
options: z.ZodObject<{
|
735
716
|
httpOnly: z.ZodLiteral<false>;
|
@@ -753,8 +734,13 @@ export declare const Api: {
|
|
753
734
|
httpOnly: false;
|
754
735
|
sameSite: "lax";
|
755
736
|
};
|
756
|
-
}
|
757
|
-
|
737
|
+
}>> | z.ZodObject<{
|
738
|
+
value: z.ZodLiteral<null>;
|
739
|
+
}, "strip", z.ZodTypeAny, {
|
740
|
+
value: null;
|
741
|
+
}, {
|
742
|
+
value: null;
|
743
|
+
}> | z.ZodOptional<z.ZodObject<{
|
758
744
|
value: z.ZodString;
|
759
745
|
options: z.ZodOptional<z.ZodObject<{
|
760
746
|
httpOnly: z.ZodLiteral<true>;
|
@@ -795,10 +781,15 @@ export declare const Api: {
|
|
795
781
|
} | undefined;
|
796
782
|
}>>;
|
797
783
|
}, "strip", z.ZodTypeAny, {
|
798
|
-
|
784
|
+
[x: number]: {
|
785
|
+
value: "true";
|
786
|
+
options: {
|
787
|
+
httpOnly: false;
|
788
|
+
sameSite: "lax";
|
789
|
+
};
|
790
|
+
} | {
|
799
791
|
value: null;
|
800
|
-
}
|
801
|
-
val_session?: {
|
792
|
+
} | {
|
802
793
|
value: string;
|
803
794
|
options?: {
|
804
795
|
path: string;
|
@@ -808,18 +799,16 @@ export declare const Api: {
|
|
808
799
|
secure: true;
|
809
800
|
} | undefined;
|
810
801
|
} | undefined;
|
811
|
-
|
802
|
+
}, {
|
803
|
+
[x: number]: {
|
812
804
|
value: "true";
|
813
805
|
options: {
|
814
806
|
httpOnly: false;
|
815
807
|
sameSite: "lax";
|
816
808
|
};
|
817
|
-
} |
|
818
|
-
}, {
|
819
|
-
val_state: {
|
809
|
+
} | {
|
820
810
|
value: null;
|
821
|
-
}
|
822
|
-
val_session?: {
|
811
|
+
} | {
|
823
812
|
value: string;
|
824
813
|
options?: {
|
825
814
|
path: string;
|
@@ -829,22 +818,20 @@ export declare const Api: {
|
|
829
818
|
secure: true;
|
830
819
|
} | undefined;
|
831
820
|
} | undefined;
|
832
|
-
val_enable?: {
|
833
|
-
value: "true";
|
834
|
-
options: {
|
835
|
-
httpOnly: false;
|
836
|
-
sameSite: "lax";
|
837
|
-
};
|
838
|
-
} | undefined;
|
839
821
|
}>;
|
840
822
|
}, "strip", z.ZodTypeAny, {
|
841
823
|
status: 302;
|
842
824
|
redirectTo: string;
|
843
825
|
cookies: {
|
844
|
-
|
826
|
+
[x: number]: {
|
827
|
+
value: "true";
|
828
|
+
options: {
|
829
|
+
httpOnly: false;
|
830
|
+
sameSite: "lax";
|
831
|
+
};
|
832
|
+
} | {
|
845
833
|
value: null;
|
846
|
-
}
|
847
|
-
val_session?: {
|
834
|
+
} | {
|
848
835
|
value: string;
|
849
836
|
options?: {
|
850
837
|
path: string;
|
@@ -854,22 +841,20 @@ export declare const Api: {
|
|
854
841
|
secure: true;
|
855
842
|
} | undefined;
|
856
843
|
} | undefined;
|
857
|
-
val_enable?: {
|
858
|
-
value: "true";
|
859
|
-
options: {
|
860
|
-
httpOnly: false;
|
861
|
-
sameSite: "lax";
|
862
|
-
};
|
863
|
-
} | undefined;
|
864
844
|
};
|
865
845
|
}, {
|
866
846
|
status: 302;
|
867
847
|
redirectTo: string;
|
868
848
|
cookies: {
|
869
|
-
|
849
|
+
[x: number]: {
|
850
|
+
value: "true";
|
851
|
+
options: {
|
852
|
+
httpOnly: false;
|
853
|
+
sameSite: "lax";
|
854
|
+
};
|
855
|
+
} | {
|
870
856
|
value: null;
|
871
|
-
}
|
872
|
-
val_session?: {
|
857
|
+
} | {
|
873
858
|
value: string;
|
874
859
|
options?: {
|
875
860
|
path: string;
|
@@ -879,13 +864,6 @@ export declare const Api: {
|
|
879
864
|
secure: true;
|
880
865
|
} | undefined;
|
881
866
|
} | undefined;
|
882
|
-
val_enable?: {
|
883
|
-
value: "true";
|
884
|
-
options: {
|
885
|
-
httpOnly: false;
|
886
|
-
sameSite: "lax";
|
887
|
-
};
|
888
|
-
} | undefined;
|
889
867
|
};
|
890
868
|
}>;
|
891
869
|
};
|
@@ -1048,14 +1026,7 @@ export declare const Api: {
|
|
1048
1026
|
res: z.ZodObject<{
|
1049
1027
|
status: z.ZodLiteral<200>;
|
1050
1028
|
cookies: z.ZodObject<{
|
1051
|
-
|
1052
|
-
value: z.ZodLiteral<null>;
|
1053
|
-
}, "strip", z.ZodTypeAny, {
|
1054
|
-
value: null;
|
1055
|
-
}, {
|
1056
|
-
value: null;
|
1057
|
-
}>;
|
1058
|
-
val_state: z.ZodObject<{
|
1029
|
+
[x: number]: z.ZodObject<{
|
1059
1030
|
value: z.ZodLiteral<null>;
|
1060
1031
|
}, "strip", z.ZodTypeAny, {
|
1061
1032
|
value: null;
|
@@ -1063,37 +1034,25 @@ export declare const Api: {
|
|
1063
1034
|
value: null;
|
1064
1035
|
}>;
|
1065
1036
|
}, "strip", z.ZodTypeAny, {
|
1066
|
-
|
1067
|
-
value: null;
|
1068
|
-
};
|
1069
|
-
val_state: {
|
1037
|
+
[x: number]: {
|
1070
1038
|
value: null;
|
1071
1039
|
};
|
1072
1040
|
}, {
|
1073
|
-
|
1074
|
-
value: null;
|
1075
|
-
};
|
1076
|
-
val_state: {
|
1041
|
+
[x: number]: {
|
1077
1042
|
value: null;
|
1078
1043
|
};
|
1079
1044
|
}>;
|
1080
1045
|
}, "strip", z.ZodTypeAny, {
|
1081
1046
|
status: 200;
|
1082
1047
|
cookies: {
|
1083
|
-
|
1084
|
-
value: null;
|
1085
|
-
};
|
1086
|
-
val_state: {
|
1048
|
+
[x: number]: {
|
1087
1049
|
value: null;
|
1088
1050
|
};
|
1089
1051
|
};
|
1090
1052
|
}, {
|
1091
1053
|
status: 200;
|
1092
1054
|
cookies: {
|
1093
|
-
|
1094
|
-
value: null;
|
1095
|
-
};
|
1096
|
-
val_state: {
|
1055
|
+
[x: number]: {
|
1097
1056
|
value: null;
|
1098
1057
|
};
|
1099
1058
|
};
|
@@ -1303,7 +1262,7 @@ export declare const Api: {
|
|
1303
1262
|
type: z.ZodUnion<[z.ZodLiteral<"request-again">, z.ZodLiteral<"no-change">, z.ZodLiteral<"did-change">]>;
|
1304
1263
|
baseSha: z.ZodString;
|
1305
1264
|
schemaSha: z.ZodString;
|
1306
|
-
patches: z.ZodArray<z.ZodEffects<z.ZodString,
|
1265
|
+
patches: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
|
1307
1266
|
config: z.ZodObject<{
|
1308
1267
|
project: z.ZodOptional<z.ZodString>;
|
1309
1268
|
root: z.ZodOptional<z.ZodString>;
|
@@ -1339,7 +1298,7 @@ export declare const Api: {
|
|
1339
1298
|
mode: "unknown" | "http" | "fs";
|
1340
1299
|
schemaSha: string;
|
1341
1300
|
baseSha: string;
|
1342
|
-
patches:
|
1301
|
+
patches: PatchIdT[];
|
1343
1302
|
config: {
|
1344
1303
|
project?: string | undefined;
|
1345
1304
|
root?: string | undefined;
|
@@ -1371,7 +1330,7 @@ export declare const Api: {
|
|
1371
1330
|
baseSha: z.ZodString;
|
1372
1331
|
schemaSha: z.ZodString;
|
1373
1332
|
commitSha: z.ZodString;
|
1374
|
-
patches: z.ZodArray<z.ZodEffects<z.ZodString,
|
1333
|
+
patches: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
|
1375
1334
|
config: z.ZodObject<{
|
1376
1335
|
project: z.ZodOptional<z.ZodString>;
|
1377
1336
|
root: z.ZodOptional<z.ZodString>;
|
@@ -1407,7 +1366,7 @@ export declare const Api: {
|
|
1407
1366
|
mode: "unknown" | "http" | "fs";
|
1408
1367
|
schemaSha: string;
|
1409
1368
|
baseSha: string;
|
1410
|
-
patches:
|
1369
|
+
patches: PatchIdT[];
|
1411
1370
|
config: {
|
1412
1371
|
project?: string | undefined;
|
1413
1372
|
root?: string | undefined;
|
@@ -1446,7 +1405,7 @@ export declare const Api: {
|
|
1446
1405
|
mode: "unknown" | "http" | "fs";
|
1447
1406
|
schemaSha: string;
|
1448
1407
|
baseSha: string;
|
1449
|
-
patches:
|
1408
|
+
patches: PatchIdT[];
|
1450
1409
|
config: {
|
1451
1410
|
project?: string | undefined;
|
1452
1411
|
root?: string | undefined;
|
@@ -1461,7 +1420,7 @@ export declare const Api: {
|
|
1461
1420
|
mode: "unknown" | "http" | "fs";
|
1462
1421
|
schemaSha: string;
|
1463
1422
|
baseSha: string;
|
1464
|
-
patches:
|
1423
|
+
patches: PatchIdT[];
|
1465
1424
|
config: {
|
1466
1425
|
project?: string | undefined;
|
1467
1426
|
root?: string | undefined;
|
@@ -1518,7 +1477,7 @@ export declare const Api: {
|
|
1518
1477
|
DELETE: {
|
1519
1478
|
req: {
|
1520
1479
|
query: {
|
1521
|
-
id: z.ZodArray<z.ZodEffects<z.ZodString,
|
1480
|
+
id: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
|
1522
1481
|
};
|
1523
1482
|
cookies: {
|
1524
1483
|
val_session: z.ZodOptional<z.ZodString>;
|
@@ -1548,13 +1507,11 @@ export declare const Api: {
|
|
1548
1507
|
json: z.ZodObject<{
|
1549
1508
|
message: z.ZodString;
|
1550
1509
|
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
1551
|
-
patchId: z.ZodEffects<z.ZodString,
|
1510
|
+
patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
|
1552
1511
|
message: z.ZodString;
|
1553
1512
|
}, "strip", z.ZodTypeAny, {
|
1554
1513
|
message: string;
|
1555
|
-
patchId
|
1556
|
-
VAL_DATA_TYPE: "PatchId";
|
1557
|
-
};
|
1514
|
+
patchId?: any;
|
1558
1515
|
}, {
|
1559
1516
|
message: string;
|
1560
1517
|
patchId: string;
|
@@ -1572,9 +1529,7 @@ export declare const Api: {
|
|
1572
1529
|
message: string;
|
1573
1530
|
errors: ({
|
1574
1531
|
message: string;
|
1575
|
-
patchId
|
1576
|
-
VAL_DATA_TYPE: "PatchId";
|
1577
|
-
};
|
1532
|
+
patchId?: any;
|
1578
1533
|
} | {
|
1579
1534
|
message: string;
|
1580
1535
|
parentPatchId: string;
|
@@ -1595,9 +1550,7 @@ export declare const Api: {
|
|
1595
1550
|
message: string;
|
1596
1551
|
errors: ({
|
1597
1552
|
message: string;
|
1598
|
-
patchId
|
1599
|
-
VAL_DATA_TYPE: "PatchId";
|
1600
|
-
};
|
1553
|
+
patchId?: any;
|
1601
1554
|
} | {
|
1602
1555
|
message: string;
|
1603
1556
|
parentPatchId: string;
|
@@ -1617,10 +1570,10 @@ export declare const Api: {
|
|
1617
1570
|
};
|
1618
1571
|
}>, z.ZodObject<{
|
1619
1572
|
status: z.ZodLiteral<200>;
|
1620
|
-
json: z.ZodArray<z.ZodEffects<z.ZodString,
|
1573
|
+
json: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
|
1621
1574
|
}, "strip", z.ZodTypeAny, {
|
1622
1575
|
status: 200;
|
1623
|
-
json:
|
1576
|
+
json: PatchIdT[];
|
1624
1577
|
}, {
|
1625
1578
|
status: 200;
|
1626
1579
|
json: string[];
|
@@ -1640,48 +1593,40 @@ export declare const Api: {
|
|
1640
1593
|
headBaseSha: string;
|
1641
1594
|
}>, z.ZodObject<{
|
1642
1595
|
type: z.ZodLiteral<"patch">;
|
1643
|
-
patchId: z.ZodEffects<z.ZodString,
|
1596
|
+
patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
|
1644
1597
|
}, "strip", z.ZodTypeAny, {
|
1645
1598
|
type: "patch";
|
1646
|
-
patchId
|
1647
|
-
VAL_DATA_TYPE: "PatchId";
|
1648
|
-
};
|
1599
|
+
patchId?: any;
|
1649
1600
|
}, {
|
1650
1601
|
type: "patch";
|
1651
1602
|
patchId: string;
|
1652
1603
|
}>]>;
|
1653
1604
|
patches: z.ZodArray<z.ZodObject<{
|
1654
1605
|
path: z.ZodEffects<z.ZodString, ModuleFilePath, string>;
|
1655
|
-
patch: z.ZodType<
|
1606
|
+
patch: z.ZodType<PatchT, z.ZodTypeDef, PatchT>;
|
1656
1607
|
}, "strip", z.ZodTypeAny, {
|
1657
|
-
path
|
1658
|
-
|
1659
|
-
};
|
1660
|
-
patch: import("@valbuild/core/patch").Patch;
|
1608
|
+
path?: any;
|
1609
|
+
patch?: any;
|
1661
1610
|
}, {
|
1662
1611
|
path: string;
|
1663
|
-
patch
|
1612
|
+
patch?: any;
|
1664
1613
|
}>, "many">;
|
1665
1614
|
}, "strip", z.ZodTypeAny, {
|
1666
1615
|
patches: {
|
1667
|
-
path
|
1668
|
-
|
1669
|
-
};
|
1670
|
-
patch: import("@valbuild/core/patch").Patch;
|
1616
|
+
path?: any;
|
1617
|
+
patch?: any;
|
1671
1618
|
}[];
|
1672
1619
|
parentRef: {
|
1673
1620
|
type: "head";
|
1674
1621
|
headBaseSha: string;
|
1675
1622
|
} | {
|
1676
1623
|
type: "patch";
|
1677
|
-
patchId
|
1678
|
-
VAL_DATA_TYPE: "PatchId";
|
1679
|
-
};
|
1624
|
+
patchId?: any;
|
1680
1625
|
};
|
1681
1626
|
}, {
|
1682
1627
|
patches: {
|
1683
1628
|
path: string;
|
1684
|
-
patch
|
1629
|
+
patch?: any;
|
1685
1630
|
}[];
|
1686
1631
|
parentRef: {
|
1687
1632
|
type: "head";
|
@@ -1763,11 +1708,11 @@ export declare const Api: {
|
|
1763
1708
|
}, "strip", z.ZodTypeAny, {
|
1764
1709
|
message: string;
|
1765
1710
|
type: "patch-error";
|
1766
|
-
errors:
|
1711
|
+
errors: Record<ModuleFilePath, {
|
1767
1712
|
error: {
|
1768
1713
|
message: string;
|
1769
1714
|
};
|
1770
|
-
}[]
|
1715
|
+
}[]>;
|
1771
1716
|
}, {
|
1772
1717
|
message: string;
|
1773
1718
|
type: "patch-error";
|
@@ -1782,11 +1727,11 @@ export declare const Api: {
|
|
1782
1727
|
json: {
|
1783
1728
|
message: string;
|
1784
1729
|
type: "patch-error";
|
1785
|
-
errors:
|
1730
|
+
errors: Record<ModuleFilePath, {
|
1786
1731
|
error: {
|
1787
1732
|
message: string;
|
1788
1733
|
};
|
1789
|
-
}[]
|
1734
|
+
}[]>;
|
1790
1735
|
};
|
1791
1736
|
}, {
|
1792
1737
|
status: 400;
|
@@ -1802,7 +1747,7 @@ export declare const Api: {
|
|
1802
1747
|
}>, z.ZodObject<{
|
1803
1748
|
status: z.ZodLiteral<200>;
|
1804
1749
|
json: z.ZodObject<{
|
1805
|
-
newPatchIds: z.ZodArray<z.ZodEffects<z.ZodString,
|
1750
|
+
newPatchIds: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
|
1806
1751
|
parentRef: z.ZodUnion<[z.ZodObject<{
|
1807
1752
|
type: z.ZodLiteral<"head">;
|
1808
1753
|
headBaseSha: z.ZodString;
|
@@ -1814,12 +1759,10 @@ export declare const Api: {
|
|
1814
1759
|
headBaseSha: string;
|
1815
1760
|
}>, z.ZodObject<{
|
1816
1761
|
type: z.ZodLiteral<"patch">;
|
1817
|
-
patchId: z.ZodEffects<z.ZodString,
|
1762
|
+
patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
|
1818
1763
|
}, "strip", z.ZodTypeAny, {
|
1819
1764
|
type: "patch";
|
1820
|
-
patchId
|
1821
|
-
VAL_DATA_TYPE: "PatchId";
|
1822
|
-
};
|
1765
|
+
patchId?: any;
|
1823
1766
|
}, {
|
1824
1767
|
type: "patch";
|
1825
1768
|
patchId: string;
|
@@ -1830,11 +1773,9 @@ export declare const Api: {
|
|
1830
1773
|
headBaseSha: string;
|
1831
1774
|
} | {
|
1832
1775
|
type: "patch";
|
1833
|
-
patchId
|
1834
|
-
VAL_DATA_TYPE: "PatchId";
|
1835
|
-
};
|
1776
|
+
patchId?: any;
|
1836
1777
|
};
|
1837
|
-
newPatchIds:
|
1778
|
+
newPatchIds: PatchIdT[];
|
1838
1779
|
}, {
|
1839
1780
|
parentRef: {
|
1840
1781
|
type: "head";
|
@@ -1853,11 +1794,9 @@ export declare const Api: {
|
|
1853
1794
|
headBaseSha: string;
|
1854
1795
|
} | {
|
1855
1796
|
type: "patch";
|
1856
|
-
patchId
|
1857
|
-
VAL_DATA_TYPE: "PatchId";
|
1858
|
-
};
|
1797
|
+
patchId?: any;
|
1859
1798
|
};
|
1860
|
-
newPatchIds:
|
1799
|
+
newPatchIds: PatchIdT[];
|
1861
1800
|
};
|
1862
1801
|
}, {
|
1863
1802
|
status: 200;
|
@@ -1876,7 +1815,7 @@ export declare const Api: {
|
|
1876
1815
|
GET: {
|
1877
1816
|
req: {
|
1878
1817
|
query: {
|
1879
|
-
patch_id: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString,
|
1818
|
+
patch_id: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">>;
|
1880
1819
|
exclude_patch_ops: z.ZodOptional<z.ZodBoolean>;
|
1881
1820
|
};
|
1882
1821
|
cookies: {
|
@@ -1907,13 +1846,11 @@ export declare const Api: {
|
|
1907
1846
|
json: z.ZodObject<{
|
1908
1847
|
message: z.ZodString;
|
1909
1848
|
patchErrors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
1910
|
-
patchId: z.ZodEffects<z.ZodString,
|
1849
|
+
patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
|
1911
1850
|
message: z.ZodString;
|
1912
1851
|
}, "strip", z.ZodTypeAny, {
|
1913
1852
|
message: string;
|
1914
|
-
patchId
|
1915
|
-
VAL_DATA_TYPE: "PatchId";
|
1916
|
-
};
|
1853
|
+
patchId?: any;
|
1917
1854
|
}, {
|
1918
1855
|
message: string;
|
1919
1856
|
patchId: string;
|
@@ -1931,9 +1868,7 @@ export declare const Api: {
|
|
1931
1868
|
message: string;
|
1932
1869
|
patchErrors: ({
|
1933
1870
|
message: string;
|
1934
|
-
patchId
|
1935
|
-
VAL_DATA_TYPE: "PatchId";
|
1936
|
-
};
|
1871
|
+
patchId?: any;
|
1937
1872
|
} | {
|
1938
1873
|
message: string;
|
1939
1874
|
parentPatchId: string;
|
@@ -1954,9 +1889,7 @@ export declare const Api: {
|
|
1954
1889
|
message: string;
|
1955
1890
|
patchErrors: ({
|
1956
1891
|
message: string;
|
1957
|
-
patchId
|
1958
|
-
VAL_DATA_TYPE: "PatchId";
|
1959
|
-
};
|
1892
|
+
patchId?: any;
|
1960
1893
|
} | {
|
1961
1894
|
message: string;
|
1962
1895
|
parentPatchId: string;
|
@@ -2017,8 +1950,8 @@ export declare const Api: {
|
|
2017
1950
|
json: z.ZodObject<{
|
2018
1951
|
patches: z.ZodArray<z.ZodObject<{
|
2019
1952
|
path: z.ZodEffects<z.ZodString, ModuleFilePath, string>;
|
2020
|
-
patch: z.ZodOptional<z.ZodType<
|
2021
|
-
patchId: z.ZodEffects<z.ZodString,
|
1953
|
+
patch: z.ZodOptional<z.ZodType<PatchT, z.ZodTypeDef, PatchT>>;
|
1954
|
+
patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
|
2022
1955
|
createdAt: z.ZodString;
|
2023
1956
|
authorId: z.ZodNullable<z.ZodString>;
|
2024
1957
|
appliedAt: z.ZodNullable<z.ZodObject<{
|
@@ -2029,18 +1962,14 @@ export declare const Api: {
|
|
2029
1962
|
commitSha: string;
|
2030
1963
|
}>>;
|
2031
1964
|
}, "strip", z.ZodTypeAny, {
|
2032
|
-
path: string & {
|
2033
|
-
VAL_DATA_TYPE: "ModuleFilePath";
|
2034
|
-
};
|
2035
|
-
patchId: string & {
|
2036
|
-
VAL_DATA_TYPE: "PatchId";
|
2037
|
-
};
|
2038
1965
|
createdAt: string;
|
2039
1966
|
authorId: string | null;
|
2040
1967
|
appliedAt: {
|
2041
1968
|
commitSha: string;
|
2042
1969
|
} | null;
|
2043
|
-
|
1970
|
+
path?: any;
|
1971
|
+
patchId?: any;
|
1972
|
+
patch?: any;
|
2044
1973
|
}, {
|
2045
1974
|
path: string;
|
2046
1975
|
patchId: string;
|
@@ -2049,7 +1978,7 @@ export declare const Api: {
|
|
2049
1978
|
appliedAt: {
|
2050
1979
|
commitSha: string;
|
2051
1980
|
} | null;
|
2052
|
-
patch?:
|
1981
|
+
patch?: any;
|
2053
1982
|
}>, "many">;
|
2054
1983
|
baseSha: z.ZodString;
|
2055
1984
|
error: z.ZodOptional<z.ZodObject<{
|
@@ -2059,7 +1988,7 @@ export declare const Api: {
|
|
2059
1988
|
}, {
|
2060
1989
|
message: string;
|
2061
1990
|
}>>;
|
2062
|
-
errors: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString,
|
1991
|
+
errors: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, PatchIdT, string>, z.ZodObject<{
|
2063
1992
|
message: z.ZodString;
|
2064
1993
|
}, "strip", z.ZodTypeAny, {
|
2065
1994
|
message: string;
|
@@ -2069,22 +1998,18 @@ export declare const Api: {
|
|
2069
1998
|
}, "strip", z.ZodTypeAny, {
|
2070
1999
|
baseSha: string;
|
2071
2000
|
patches: {
|
2072
|
-
path: string & {
|
2073
|
-
VAL_DATA_TYPE: "ModuleFilePath";
|
2074
|
-
};
|
2075
|
-
patchId: string & {
|
2076
|
-
VAL_DATA_TYPE: "PatchId";
|
2077
|
-
};
|
2078
2001
|
createdAt: string;
|
2079
2002
|
authorId: string | null;
|
2080
2003
|
appliedAt: {
|
2081
2004
|
commitSha: string;
|
2082
2005
|
} | null;
|
2083
|
-
|
2006
|
+
path?: any;
|
2007
|
+
patchId?: any;
|
2008
|
+
patch?: any;
|
2084
2009
|
}[];
|
2085
|
-
errors?:
|
2010
|
+
errors?: Record<PatchIdT, {
|
2086
2011
|
message: string;
|
2087
|
-
}
|
2012
|
+
}> | undefined;
|
2088
2013
|
error?: {
|
2089
2014
|
message: string;
|
2090
2015
|
} | undefined;
|
@@ -2098,7 +2023,7 @@ export declare const Api: {
|
|
2098
2023
|
appliedAt: {
|
2099
2024
|
commitSha: string;
|
2100
2025
|
} | null;
|
2101
|
-
patch?:
|
2026
|
+
patch?: any;
|
2102
2027
|
}[];
|
2103
2028
|
errors?: Record<string, {
|
2104
2029
|
message: string;
|
@@ -2112,22 +2037,18 @@ export declare const Api: {
|
|
2112
2037
|
json: {
|
2113
2038
|
baseSha: string;
|
2114
2039
|
patches: {
|
2115
|
-
path: string & {
|
2116
|
-
VAL_DATA_TYPE: "ModuleFilePath";
|
2117
|
-
};
|
2118
|
-
patchId: string & {
|
2119
|
-
VAL_DATA_TYPE: "PatchId";
|
2120
|
-
};
|
2121
2040
|
createdAt: string;
|
2122
2041
|
authorId: string | null;
|
2123
2042
|
appliedAt: {
|
2124
2043
|
commitSha: string;
|
2125
2044
|
} | null;
|
2126
|
-
|
2045
|
+
path?: any;
|
2046
|
+
patchId?: any;
|
2047
|
+
patch?: any;
|
2127
2048
|
}[];
|
2128
|
-
errors?:
|
2049
|
+
errors?: Record<PatchIdT, {
|
2129
2050
|
message: string;
|
2130
|
-
}
|
2051
|
+
}> | undefined;
|
2131
2052
|
error?: {
|
2132
2053
|
message: string;
|
2133
2054
|
} | undefined;
|
@@ -2144,7 +2065,7 @@ export declare const Api: {
|
|
2144
2065
|
appliedAt: {
|
2145
2066
|
commitSha: string;
|
2146
2067
|
} | null;
|
2147
|
-
patch?:
|
2068
|
+
patch?: any;
|
2148
2069
|
}[];
|
2149
2070
|
errors?: Record<string, {
|
2150
2071
|
message: string;
|
@@ -2191,7 +2112,7 @@ export declare const Api: {
|
|
2191
2112
|
path: z.ZodOptional<z.ZodEffects<z.ZodString, ModuleFilePath, string>>;
|
2192
2113
|
}, "strip", z.ZodTypeAny, {
|
2193
2114
|
message: string;
|
2194
|
-
path?:
|
2115
|
+
path?: any;
|
2195
2116
|
}, {
|
2196
2117
|
message: string;
|
2197
2118
|
path?: string | undefined;
|
@@ -2200,7 +2121,7 @@ export declare const Api: {
|
|
2200
2121
|
message: string;
|
2201
2122
|
details: {
|
2202
2123
|
message: string;
|
2203
|
-
path?:
|
2124
|
+
path?: any;
|
2204
2125
|
}[];
|
2205
2126
|
}, {
|
2206
2127
|
message: string;
|
@@ -2215,7 +2136,7 @@ export declare const Api: {
|
|
2215
2136
|
message: string;
|
2216
2137
|
details: {
|
2217
2138
|
message: string;
|
2218
|
-
path?:
|
2139
|
+
path?: any;
|
2219
2140
|
}[];
|
2220
2141
|
};
|
2221
2142
|
}, {
|
@@ -2269,10 +2190,10 @@ export declare const Api: {
|
|
2269
2190
|
status: z.ZodLiteral<200>;
|
2270
2191
|
json: z.ZodObject<{
|
2271
2192
|
schemaSha: z.ZodString;
|
2272
|
-
schemas: z.ZodRecord<z.ZodEffects<z.ZodString, ModuleFilePath, string>, z.ZodType<
|
2193
|
+
schemas: z.ZodRecord<z.ZodEffects<z.ZodString, ModuleFilePath, string>, z.ZodType<SerializedSchemaT, z.ZodTypeDef, unknown>>;
|
2273
2194
|
}, "strip", z.ZodTypeAny, {
|
2274
2195
|
schemaSha: string;
|
2275
|
-
schemas:
|
2196
|
+
schemas: Record<ModuleFilePath, SerializedSchemaT>;
|
2276
2197
|
}, {
|
2277
2198
|
schemaSha: string;
|
2278
2199
|
schemas: Record<string, unknown>;
|
@@ -2281,7 +2202,7 @@ export declare const Api: {
|
|
2281
2202
|
status: 200;
|
2282
2203
|
json: {
|
2283
2204
|
schemaSha: string;
|
2284
|
-
schemas:
|
2205
|
+
schemas: Record<ModuleFilePath, SerializedSchemaT>;
|
2285
2206
|
};
|
2286
2207
|
}, {
|
2287
2208
|
status: 200;
|
@@ -2352,7 +2273,7 @@ export declare const Api: {
|
|
2352
2273
|
path: z.ZodOptional<z.ZodEffects<z.ZodString, ModuleFilePath, string>>;
|
2353
2274
|
}, "strip", z.ZodTypeAny, {
|
2354
2275
|
message: string;
|
2355
|
-
path?:
|
2276
|
+
path?: any;
|
2356
2277
|
}, {
|
2357
2278
|
message: string;
|
2358
2279
|
path?: string | undefined;
|
@@ -2369,7 +2290,7 @@ export declare const Api: {
|
|
2369
2290
|
message: string;
|
2370
2291
|
} | {
|
2371
2292
|
message: string;
|
2372
|
-
path?:
|
2293
|
+
path?: any;
|
2373
2294
|
}[];
|
2374
2295
|
}, {
|
2375
2296
|
message: string;
|
@@ -2388,7 +2309,7 @@ export declare const Api: {
|
|
2388
2309
|
message: string;
|
2389
2310
|
} | {
|
2390
2311
|
message: string;
|
2391
|
-
path?:
|
2312
|
+
path?: any;
|
2392
2313
|
}[];
|
2393
2314
|
};
|
2394
2315
|
}, {
|
@@ -2430,7 +2351,7 @@ export declare const Api: {
|
|
2430
2351
|
path: z.ZodOptional<z.ZodEffects<z.ZodString, ModuleFilePath, string>>;
|
2431
2352
|
}, "strip", z.ZodTypeAny, {
|
2432
2353
|
message: string;
|
2433
|
-
path?:
|
2354
|
+
path?: any;
|
2434
2355
|
}, {
|
2435
2356
|
message: string;
|
2436
2357
|
path?: string | undefined;
|
@@ -2439,7 +2360,7 @@ export declare const Api: {
|
|
2439
2360
|
message: string;
|
2440
2361
|
details: {
|
2441
2362
|
message: string;
|
2442
|
-
path?:
|
2363
|
+
path?: any;
|
2443
2364
|
}[];
|
2444
2365
|
}, {
|
2445
2366
|
message: string;
|
@@ -2454,7 +2375,7 @@ export declare const Api: {
|
|
2454
2375
|
message: string;
|
2455
2376
|
details: {
|
2456
2377
|
message: string;
|
2457
|
-
path?:
|
2378
|
+
path?: any;
|
2458
2379
|
}[];
|
2459
2380
|
};
|
2460
2381
|
}, {
|
@@ -2473,9 +2394,9 @@ export declare const Api: {
|
|
2473
2394
|
modules: z.ZodRecord<z.ZodEffects<z.ZodString, ModuleFilePath, string>, z.ZodObject<{
|
2474
2395
|
source: z.ZodAny;
|
2475
2396
|
patches: z.ZodOptional<z.ZodObject<{
|
2476
|
-
applied: z.ZodArray<z.ZodEffects<z.ZodString,
|
2477
|
-
skipped: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString,
|
2478
|
-
errors: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString,
|
2397
|
+
applied: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
|
2398
|
+
skipped: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">>;
|
2399
|
+
errors: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, PatchIdT, string>, z.ZodObject<{
|
2479
2400
|
message: z.ZodString;
|
2480
2401
|
}, "strip", z.ZodTypeAny, {
|
2481
2402
|
message: string;
|
@@ -2483,11 +2404,11 @@ export declare const Api: {
|
|
2483
2404
|
message: string;
|
2484
2405
|
}>>>;
|
2485
2406
|
}, "strip", z.ZodTypeAny, {
|
2486
|
-
applied:
|
2487
|
-
errors?:
|
2407
|
+
applied: PatchIdT[];
|
2408
|
+
errors?: Record<PatchIdT, {
|
2488
2409
|
message: string;
|
2489
|
-
}
|
2490
|
-
skipped?:
|
2410
|
+
}> | undefined;
|
2411
|
+
skipped?: PatchIdT[] | undefined;
|
2491
2412
|
}, {
|
2492
2413
|
applied: string[];
|
2493
2414
|
errors?: Record<string, {
|
@@ -2499,32 +2420,32 @@ export declare const Api: {
|
|
2499
2420
|
message: z.ZodString;
|
2500
2421
|
value: z.ZodOptional<z.ZodUnknown>;
|
2501
2422
|
fatal: z.ZodOptional<z.ZodBoolean>;
|
2502
|
-
fixes: z.ZodOptional<z.ZodArray<z.ZodType<
|
2423
|
+
fixes: z.ZodOptional<z.ZodArray<z.ZodType<ValidationFix, z.ZodTypeDef, ValidationFix>, "many">>;
|
2503
2424
|
}, "strip", z.ZodTypeAny, {
|
2504
2425
|
message: string;
|
2505
2426
|
value?: unknown;
|
2506
2427
|
fatal?: boolean | undefined;
|
2507
|
-
fixes?:
|
2428
|
+
fixes?: ValidationFix[] | undefined;
|
2508
2429
|
}, {
|
2509
2430
|
message: string;
|
2510
2431
|
value?: unknown;
|
2511
2432
|
fatal?: boolean | undefined;
|
2512
|
-
fixes?:
|
2433
|
+
fixes?: ValidationFix[] | undefined;
|
2513
2434
|
}>, "many">>>;
|
2514
2435
|
}, "strip", z.ZodTypeAny, {
|
2515
2436
|
patches?: {
|
2516
|
-
applied:
|
2517
|
-
errors?:
|
2437
|
+
applied: PatchIdT[];
|
2438
|
+
errors?: Record<PatchIdT, {
|
2518
2439
|
message: string;
|
2519
|
-
}
|
2520
|
-
skipped?:
|
2440
|
+
}> | undefined;
|
2441
|
+
skipped?: PatchIdT[] | undefined;
|
2521
2442
|
} | undefined;
|
2522
2443
|
source?: any;
|
2523
2444
|
validationErrors?: Record<string, {
|
2524
2445
|
message: string;
|
2525
2446
|
value?: unknown;
|
2526
2447
|
fatal?: boolean | undefined;
|
2527
|
-
fixes?:
|
2448
|
+
fixes?: ValidationFix[] | undefined;
|
2528
2449
|
}[]> | undefined;
|
2529
2450
|
}, {
|
2530
2451
|
patches?: {
|
@@ -2539,27 +2460,27 @@ export declare const Api: {
|
|
2539
2460
|
message: string;
|
2540
2461
|
value?: unknown;
|
2541
2462
|
fatal?: boolean | undefined;
|
2542
|
-
fixes?:
|
2463
|
+
fixes?: ValidationFix[] | undefined;
|
2543
2464
|
}[]> | undefined;
|
2544
2465
|
}>>;
|
2545
2466
|
}, "strip", z.ZodTypeAny, {
|
2546
2467
|
schemaSha: string;
|
2547
|
-
modules:
|
2468
|
+
modules: Record<ModuleFilePath, {
|
2548
2469
|
patches?: {
|
2549
|
-
applied:
|
2550
|
-
errors?:
|
2470
|
+
applied: PatchIdT[];
|
2471
|
+
errors?: Record<PatchIdT, {
|
2551
2472
|
message: string;
|
2552
|
-
}
|
2553
|
-
skipped?:
|
2473
|
+
}> | undefined;
|
2474
|
+
skipped?: PatchIdT[] | undefined;
|
2554
2475
|
} | undefined;
|
2555
2476
|
source?: any;
|
2556
2477
|
validationErrors?: Record<string, {
|
2557
2478
|
message: string;
|
2558
2479
|
value?: unknown;
|
2559
2480
|
fatal?: boolean | undefined;
|
2560
|
-
fixes?:
|
2481
|
+
fixes?: ValidationFix[] | undefined;
|
2561
2482
|
}[]> | undefined;
|
2562
|
-
}
|
2483
|
+
}>;
|
2563
2484
|
}, {
|
2564
2485
|
schemaSha: string;
|
2565
2486
|
modules: Record<string, {
|
@@ -2575,7 +2496,7 @@ export declare const Api: {
|
|
2575
2496
|
message: string;
|
2576
2497
|
value?: unknown;
|
2577
2498
|
fatal?: boolean | undefined;
|
2578
|
-
fixes?:
|
2499
|
+
fixes?: ValidationFix[] | undefined;
|
2579
2500
|
}[]> | undefined;
|
2580
2501
|
}>;
|
2581
2502
|
}>;
|
@@ -2583,22 +2504,22 @@ export declare const Api: {
|
|
2583
2504
|
status: 200;
|
2584
2505
|
json: {
|
2585
2506
|
schemaSha: string;
|
2586
|
-
modules:
|
2507
|
+
modules: Record<ModuleFilePath, {
|
2587
2508
|
patches?: {
|
2588
|
-
applied:
|
2589
|
-
errors?:
|
2509
|
+
applied: PatchIdT[];
|
2510
|
+
errors?: Record<PatchIdT, {
|
2590
2511
|
message: string;
|
2591
|
-
}
|
2592
|
-
skipped?:
|
2512
|
+
}> | undefined;
|
2513
|
+
skipped?: PatchIdT[] | undefined;
|
2593
2514
|
} | undefined;
|
2594
2515
|
source?: any;
|
2595
2516
|
validationErrors?: Record<string, {
|
2596
2517
|
message: string;
|
2597
2518
|
value?: unknown;
|
2598
2519
|
fatal?: boolean | undefined;
|
2599
|
-
fixes?:
|
2520
|
+
fixes?: ValidationFix[] | undefined;
|
2600
2521
|
}[]> | undefined;
|
2601
|
-
}
|
2522
|
+
}>;
|
2602
2523
|
};
|
2603
2524
|
}, {
|
2604
2525
|
status: 200;
|
@@ -2617,7 +2538,7 @@ export declare const Api: {
|
|
2617
2538
|
message: string;
|
2618
2539
|
value?: unknown;
|
2619
2540
|
fatal?: boolean | undefined;
|
2620
|
-
fixes?:
|
2541
|
+
fixes?: ValidationFix[] | undefined;
|
2621
2542
|
}[]> | undefined;
|
2622
2543
|
}>;
|
2623
2544
|
};
|
@@ -2722,7 +2643,7 @@ export declare const Api: {
|
|
2722
2643
|
GET: {
|
2723
2644
|
req: {
|
2724
2645
|
query: {
|
2725
|
-
patch_id: z.ZodArray<z.ZodEffects<z.ZodString,
|
2646
|
+
patch_id: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
|
2726
2647
|
};
|
2727
2648
|
cookies: {
|
2728
2649
|
val_session: z.ZodOptional<z.ZodString>;
|
@@ -2769,12 +2690,12 @@ export declare const Api: {
|
|
2769
2690
|
}>, z.ZodObject<{
|
2770
2691
|
status: z.ZodLiteral<200>;
|
2771
2692
|
json: z.ZodObject<{
|
2772
|
-
patchIds: z.ZodArray<z.ZodEffects<z.ZodString,
|
2693
|
+
patchIds: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
|
2773
2694
|
baseSha: z.ZodString;
|
2774
2695
|
commitSummary: z.ZodNullable<z.ZodString>;
|
2775
2696
|
}, "strip", z.ZodTypeAny, {
|
2776
2697
|
baseSha: string;
|
2777
|
-
patchIds:
|
2698
|
+
patchIds: PatchIdT[];
|
2778
2699
|
commitSummary: string | null;
|
2779
2700
|
}, {
|
2780
2701
|
baseSha: string;
|
@@ -2785,7 +2706,7 @@ export declare const Api: {
|
|
2785
2706
|
status: 200;
|
2786
2707
|
json: {
|
2787
2708
|
baseSha: string;
|
2788
|
-
patchIds:
|
2709
|
+
patchIds: PatchIdT[];
|
2789
2710
|
commitSummary: string | null;
|
2790
2711
|
};
|
2791
2712
|
}, {
|
@@ -2803,9 +2724,9 @@ export declare const Api: {
|
|
2803
2724
|
req: {
|
2804
2725
|
body: z.ZodObject<{
|
2805
2726
|
message: z.ZodOptional<z.ZodString>;
|
2806
|
-
patchIds: z.ZodArray<z.ZodEffects<z.ZodString,
|
2727
|
+
patchIds: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
|
2807
2728
|
}, "strip", z.ZodTypeAny, {
|
2808
|
-
patchIds:
|
2729
|
+
patchIds: PatchIdT[];
|
2809
2730
|
message?: string | undefined;
|
2810
2731
|
}, {
|
2811
2732
|
patchIds: string[];
|
@@ -2887,9 +2808,9 @@ export declare const Api: {
|
|
2887
2808
|
message: string;
|
2888
2809
|
}>>;
|
2889
2810
|
}, "strip", z.ZodTypeAny, {
|
2890
|
-
sourceFilePatchErrors:
|
2811
|
+
sourceFilePatchErrors: Record<ModuleFilePath, {
|
2891
2812
|
message: string;
|
2892
|
-
}[]
|
2813
|
+
}[]>;
|
2893
2814
|
binaryFilePatchErrors: Record<string, {
|
2894
2815
|
message: string;
|
2895
2816
|
}>;
|
@@ -2912,9 +2833,9 @@ export declare const Api: {
|
|
2912
2833
|
details: {
|
2913
2834
|
message: string;
|
2914
2835
|
}[] | {
|
2915
|
-
sourceFilePatchErrors:
|
2836
|
+
sourceFilePatchErrors: Record<ModuleFilePath, {
|
2916
2837
|
message: string;
|
2917
|
-
}[]
|
2838
|
+
}[]>;
|
2918
2839
|
binaryFilePatchErrors: Record<string, {
|
2919
2840
|
message: string;
|
2920
2841
|
}>;
|
@@ -2948,9 +2869,9 @@ export declare const Api: {
|
|
2948
2869
|
details: {
|
2949
2870
|
message: string;
|
2950
2871
|
}[] | {
|
2951
|
-
sourceFilePatchErrors:
|
2872
|
+
sourceFilePatchErrors: Record<ModuleFilePath, {
|
2952
2873
|
message: string;
|
2953
|
-
}[]
|
2874
|
+
}[]>;
|
2954
2875
|
binaryFilePatchErrors: Record<string, {
|
2955
2876
|
message: string;
|
2956
2877
|
}>;
|
@@ -2985,7 +2906,7 @@ export declare const Api: {
|
|
2985
2906
|
req: {
|
2986
2907
|
path: z.ZodString;
|
2987
2908
|
query: {
|
2988
|
-
patch_id: z.ZodOptional<z.ZodEffects<z.ZodString,
|
2909
|
+
patch_id: z.ZodOptional<z.ZodEffects<z.ZodString, PatchIdT, string>>;
|
2989
2910
|
remote: z.ZodOptional<z.ZodString>;
|
2990
2911
|
};
|
2991
2912
|
};
|