@valbuild/shared 0.79.4 → 0.81.0

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,4 +1,6 @@
1
1
  import { z } from "zod";
2
+ import { type ModuleFilePath } from "@valbuild/core";
3
+ declare const ModuleFilePath: z.ZodEffects<z.ZodString, ModuleFilePath, string>;
2
4
  declare const cookies: z.ZodUnion<[z.ZodLiteral<"val_session">, z.ZodLiteral<"val_enable">, z.ZodLiteral<"val_state">]>;
3
5
  type Cookies = z.infer<typeof cookies>;
4
6
  declare const enableCookieValue: z.ZodObject<{
@@ -43,7 +45,7 @@ export declare const Api: {
43
45
  redirect_to: z.ZodOptional<z.ZodString>;
44
46
  };
45
47
  cookies: {
46
- [x: number]: z.ZodOptional<z.ZodString>;
48
+ val_session: z.ZodOptional<z.ZodString>;
47
49
  };
48
50
  };
49
51
  res: z.ZodUnion<[z.ZodObject<{
@@ -103,7 +105,7 @@ export declare const Api: {
103
105
  redirect_to: z.ZodOptional<z.ZodString>;
104
106
  };
105
107
  cookies: {
106
- [x: number]: z.ZodOptional<z.ZodString>;
108
+ val_session: z.ZodOptional<z.ZodString>;
107
109
  };
108
110
  };
109
111
  res: z.ZodUnion<[z.ZodObject<{
@@ -160,7 +162,7 @@ export declare const Api: {
160
162
  GET: {
161
163
  req: {
162
164
  cookies: {
163
- [x: number]: z.ZodOptional<z.ZodString>;
165
+ val_session: z.ZodOptional<z.ZodString>;
164
166
  };
165
167
  };
166
168
  res: z.ZodUnion<[z.ZodObject<{
@@ -211,7 +213,7 @@ export declare const Api: {
211
213
  redirect_to: z.ZodOptional<z.ZodString>;
212
214
  };
213
215
  cookies: {
214
- [x: number]: z.ZodOptional<z.ZodString>;
216
+ val_session: z.ZodOptional<z.ZodString>;
215
217
  };
216
218
  };
217
219
  res: z.ZodUnion<[z.ZodObject<{
@@ -237,7 +239,7 @@ export declare const Api: {
237
239
  status: z.ZodLiteral<302>;
238
240
  redirectTo: z.ZodString;
239
241
  cookies: z.ZodObject<{
240
- [x: number]: z.ZodObject<{
242
+ val_enable: z.ZodObject<{
241
243
  value: z.ZodLiteral<"true">;
242
244
  options: z.ZodObject<{
243
245
  httpOnly: z.ZodLiteral<false>;
@@ -261,7 +263,8 @@ export declare const Api: {
261
263
  httpOnly: false;
262
264
  sameSite: "lax";
263
265
  };
264
- }> | z.ZodObject<{
266
+ }>;
267
+ val_state: z.ZodObject<{
265
268
  value: z.ZodString;
266
269
  options: z.ZodObject<{
267
270
  httpOnly: z.ZodLiteral<true>;
@@ -292,13 +295,14 @@ export declare const Api: {
292
295
  };
293
296
  }>;
294
297
  }, "strip", z.ZodTypeAny, {
295
- [x: number]: {
298
+ val_enable: {
296
299
  value: "true";
297
300
  options: {
298
301
  httpOnly: false;
299
302
  sameSite: "lax";
300
303
  };
301
- } | {
304
+ };
305
+ val_state: {
302
306
  value: string;
303
307
  options: {
304
308
  httpOnly: true;
@@ -307,13 +311,14 @@ export declare const Api: {
307
311
  };
308
312
  };
309
313
  }, {
310
- [x: number]: {
314
+ val_enable: {
311
315
  value: "true";
312
316
  options: {
313
317
  httpOnly: false;
314
318
  sameSite: "lax";
315
319
  };
316
- } | {
320
+ };
321
+ val_state: {
317
322
  value: string;
318
323
  options: {
319
324
  httpOnly: true;
@@ -326,13 +331,14 @@ export declare const Api: {
326
331
  status: 302;
327
332
  redirectTo: string;
328
333
  cookies: {
329
- [x: number]: {
334
+ val_enable: {
330
335
  value: "true";
331
336
  options: {
332
337
  httpOnly: false;
333
338
  sameSite: "lax";
334
339
  };
335
- } | {
340
+ };
341
+ val_state: {
336
342
  value: string;
337
343
  options: {
338
344
  httpOnly: true;
@@ -345,13 +351,14 @@ export declare const Api: {
345
351
  status: 302;
346
352
  redirectTo: string;
347
353
  cookies: {
348
- [x: number]: {
354
+ val_enable: {
349
355
  value: "true";
350
356
  options: {
351
357
  httpOnly: false;
352
358
  sameSite: "lax";
353
359
  };
354
- } | {
360
+ };
361
+ val_state: {
355
362
  value: string;
356
363
  options: {
357
364
  httpOnly: true;
@@ -364,7 +371,7 @@ export declare const Api: {
364
371
  status: z.ZodLiteral<302>;
365
372
  redirectTo: z.ZodString;
366
373
  cookies: z.ZodObject<{
367
- [x: number]: z.ZodObject<{
374
+ val_enable: z.ZodObject<{
368
375
  value: z.ZodLiteral<"true">;
369
376
  options: z.ZodObject<{
370
377
  httpOnly: z.ZodLiteral<false>;
@@ -390,7 +397,7 @@ export declare const Api: {
390
397
  };
391
398
  }>;
392
399
  }, "strip", z.ZodTypeAny, {
393
- [x: number]: {
400
+ val_enable: {
394
401
  value: "true";
395
402
  options: {
396
403
  httpOnly: false;
@@ -398,7 +405,7 @@ export declare const Api: {
398
405
  };
399
406
  };
400
407
  }, {
401
- [x: number]: {
408
+ val_enable: {
402
409
  value: "true";
403
410
  options: {
404
411
  httpOnly: false;
@@ -410,7 +417,7 @@ export declare const Api: {
410
417
  status: 302;
411
418
  redirectTo: string;
412
419
  cookies: {
413
- [x: number]: {
420
+ val_enable: {
414
421
  value: "true";
415
422
  options: {
416
423
  httpOnly: false;
@@ -422,7 +429,7 @@ export declare const Api: {
422
429
  status: 302;
423
430
  redirectTo: string;
424
431
  cookies: {
425
- [x: number]: {
432
+ val_enable: {
426
433
  value: "true";
427
434
  options: {
428
435
  httpOnly: false;
@@ -459,7 +466,7 @@ export declare const Api: {
459
466
  redirect_to: z.ZodOptional<z.ZodString>;
460
467
  };
461
468
  cookies: {
462
- [x: number]: z.ZodOptional<z.ZodString>;
469
+ val_session: z.ZodOptional<z.ZodString>;
463
470
  };
464
471
  };
465
472
  res: z.ZodUnion<[z.ZodObject<{
@@ -485,7 +492,7 @@ export declare const Api: {
485
492
  status: z.ZodLiteral<302>;
486
493
  redirectTo: z.ZodString;
487
494
  cookies: z.ZodObject<{
488
- [x: number]: z.ZodObject<{
495
+ val_enable: z.ZodObject<{
489
496
  value: z.ZodLiteral<"false">;
490
497
  }, "strip", z.ZodTypeAny, {
491
498
  value: "false";
@@ -493,11 +500,11 @@ export declare const Api: {
493
500
  value: "false";
494
501
  }>;
495
502
  }, "strip", z.ZodTypeAny, {
496
- [x: number]: {
503
+ val_enable: {
497
504
  value: "false";
498
505
  };
499
506
  }, {
500
- [x: number]: {
507
+ val_enable: {
501
508
  value: "false";
502
509
  };
503
510
  }>;
@@ -505,7 +512,7 @@ export declare const Api: {
505
512
  status: 302;
506
513
  redirectTo: string;
507
514
  cookies: {
508
- [x: number]: {
515
+ val_enable: {
509
516
  value: "false";
510
517
  };
511
518
  };
@@ -513,7 +520,7 @@ export declare const Api: {
513
520
  status: 302;
514
521
  redirectTo: string;
515
522
  cookies: {
516
- [x: number]: {
523
+ val_enable: {
517
524
  value: "false";
518
525
  };
519
526
  };
@@ -550,7 +557,7 @@ export declare const Api: {
550
557
  status: z.ZodLiteral<302>;
551
558
  redirectTo: z.ZodString;
552
559
  cookies: z.ZodObject<{
553
- [x: number]: z.ZodObject<{
560
+ val_enable: z.ZodObject<{
554
561
  value: z.ZodLiteral<"true">;
555
562
  options: z.ZodObject<{
556
563
  httpOnly: z.ZodLiteral<false>;
@@ -574,7 +581,8 @@ export declare const Api: {
574
581
  httpOnly: false;
575
582
  sameSite: "lax";
576
583
  };
577
- }> | z.ZodObject<{
584
+ }>;
585
+ val_state: z.ZodObject<{
578
586
  value: z.ZodString;
579
587
  options: z.ZodObject<{
580
588
  httpOnly: z.ZodLiteral<true>;
@@ -605,13 +613,14 @@ export declare const Api: {
605
613
  };
606
614
  }>;
607
615
  }, "strip", z.ZodTypeAny, {
608
- [x: number]: {
616
+ val_enable: {
609
617
  value: "true";
610
618
  options: {
611
619
  httpOnly: false;
612
620
  sameSite: "lax";
613
621
  };
614
- } | {
622
+ };
623
+ val_state: {
615
624
  value: string;
616
625
  options: {
617
626
  httpOnly: true;
@@ -620,13 +629,14 @@ export declare const Api: {
620
629
  };
621
630
  };
622
631
  }, {
623
- [x: number]: {
632
+ val_enable: {
624
633
  value: "true";
625
634
  options: {
626
635
  httpOnly: false;
627
636
  sameSite: "lax";
628
637
  };
629
- } | {
638
+ };
639
+ val_state: {
630
640
  value: string;
631
641
  options: {
632
642
  httpOnly: true;
@@ -639,13 +649,14 @@ export declare const Api: {
639
649
  status: 302;
640
650
  redirectTo: string;
641
651
  cookies: {
642
- [x: number]: {
652
+ val_enable: {
643
653
  value: "true";
644
654
  options: {
645
655
  httpOnly: false;
646
656
  sameSite: "lax";
647
657
  };
648
- } | {
658
+ };
659
+ val_state: {
649
660
  value: string;
650
661
  options: {
651
662
  httpOnly: true;
@@ -658,13 +669,14 @@ export declare const Api: {
658
669
  status: 302;
659
670
  redirectTo: string;
660
671
  cookies: {
661
- [x: number]: {
672
+ val_enable: {
662
673
  value: "true";
663
674
  options: {
664
675
  httpOnly: false;
665
676
  sameSite: "lax";
666
677
  };
667
- } | {
678
+ };
679
+ val_state: {
668
680
  value: string;
669
681
  options: {
670
682
  httpOnly: true;
@@ -703,14 +715,21 @@ export declare const Api: {
703
715
  state: z.ZodOptional<z.ZodString>;
704
716
  };
705
717
  cookies: {
706
- [x: number]: z.ZodString;
718
+ val_state: z.ZodString;
707
719
  };
708
720
  };
709
721
  res: z.ZodObject<{
710
722
  status: z.ZodLiteral<302>;
711
723
  redirectTo: z.ZodString;
712
724
  cookies: z.ZodObject<{
713
- [x: number]: z.ZodOptional<z.ZodObject<{
725
+ val_state: z.ZodObject<{
726
+ value: z.ZodLiteral<null>;
727
+ }, "strip", z.ZodTypeAny, {
728
+ value: null;
729
+ }, {
730
+ value: null;
731
+ }>;
732
+ val_enable: z.ZodOptional<z.ZodObject<{
714
733
  value: z.ZodLiteral<"true">;
715
734
  options: z.ZodObject<{
716
735
  httpOnly: z.ZodLiteral<false>;
@@ -734,13 +753,8 @@ export declare const Api: {
734
753
  httpOnly: false;
735
754
  sameSite: "lax";
736
755
  };
737
- }>> | z.ZodObject<{
738
- value: z.ZodLiteral<null>;
739
- }, "strip", z.ZodTypeAny, {
740
- value: null;
741
- }, {
742
- value: null;
743
- }> | z.ZodOptional<z.ZodObject<{
756
+ }>>;
757
+ val_session: z.ZodOptional<z.ZodObject<{
744
758
  value: z.ZodString;
745
759
  options: z.ZodOptional<z.ZodObject<{
746
760
  httpOnly: z.ZodLiteral<true>;
@@ -781,15 +795,17 @@ export declare const Api: {
781
795
  } | undefined;
782
796
  }>>;
783
797
  }, "strip", z.ZodTypeAny, {
784
- [x: number]: {
798
+ val_state: {
799
+ value: null;
800
+ };
801
+ val_enable?: {
785
802
  value: "true";
786
803
  options: {
787
804
  httpOnly: false;
788
805
  sameSite: "lax";
789
806
  };
790
- } | {
791
- value: null;
792
- } | {
807
+ } | undefined;
808
+ val_session?: {
793
809
  value: string;
794
810
  options?: {
795
811
  path: string;
@@ -800,15 +816,17 @@ export declare const Api: {
800
816
  } | undefined;
801
817
  } | undefined;
802
818
  }, {
803
- [x: number]: {
819
+ val_state: {
820
+ value: null;
821
+ };
822
+ val_enable?: {
804
823
  value: "true";
805
824
  options: {
806
825
  httpOnly: false;
807
826
  sameSite: "lax";
808
827
  };
809
- } | {
810
- value: null;
811
- } | {
828
+ } | undefined;
829
+ val_session?: {
812
830
  value: string;
813
831
  options?: {
814
832
  path: string;
@@ -823,15 +841,17 @@ export declare const Api: {
823
841
  status: 302;
824
842
  redirectTo: string;
825
843
  cookies: {
826
- [x: number]: {
844
+ val_state: {
845
+ value: null;
846
+ };
847
+ val_enable?: {
827
848
  value: "true";
828
849
  options: {
829
850
  httpOnly: false;
830
851
  sameSite: "lax";
831
852
  };
832
- } | {
833
- value: null;
834
- } | {
853
+ } | undefined;
854
+ val_session?: {
835
855
  value: string;
836
856
  options?: {
837
857
  path: string;
@@ -846,15 +866,17 @@ export declare const Api: {
846
866
  status: 302;
847
867
  redirectTo: string;
848
868
  cookies: {
849
- [x: number]: {
869
+ val_state: {
870
+ value: null;
871
+ };
872
+ val_enable?: {
850
873
  value: "true";
851
874
  options: {
852
875
  httpOnly: false;
853
876
  sameSite: "lax";
854
877
  };
855
- } | {
856
- value: null;
857
- } | {
878
+ } | undefined;
879
+ val_session?: {
858
880
  value: string;
859
881
  options?: {
860
882
  path: string;
@@ -1030,7 +1052,47 @@ export declare const Api: {
1030
1052
  res: z.ZodUnion<[z.ZodObject<{
1031
1053
  status: z.ZodLiteral<200>;
1032
1054
  cookies: z.ZodObject<{
1033
- [x: number]: z.ZodOptional<z.ZodObject<{
1055
+ val_session: z.ZodOptional<z.ZodObject<{
1056
+ value: z.ZodString;
1057
+ options: z.ZodOptional<z.ZodObject<{
1058
+ httpOnly: z.ZodLiteral<true>;
1059
+ sameSite: z.ZodLiteral<"strict">;
1060
+ path: z.ZodString;
1061
+ secure: z.ZodLiteral<true>;
1062
+ expires: z.ZodType<Date, z.ZodTypeDef, Date>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ path: string;
1065
+ httpOnly: true;
1066
+ sameSite: "strict";
1067
+ expires: Date;
1068
+ secure: true;
1069
+ }, {
1070
+ path: string;
1071
+ httpOnly: true;
1072
+ sameSite: "strict";
1073
+ expires: Date;
1074
+ secure: true;
1075
+ }>>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ value: string;
1078
+ options?: {
1079
+ path: string;
1080
+ httpOnly: true;
1081
+ sameSite: "strict";
1082
+ expires: Date;
1083
+ secure: true;
1084
+ } | undefined;
1085
+ }, {
1086
+ value: string;
1087
+ options?: {
1088
+ path: string;
1089
+ httpOnly: true;
1090
+ sameSite: "strict";
1091
+ expires: Date;
1092
+ secure: true;
1093
+ } | undefined;
1094
+ }>>;
1095
+ val_state: z.ZodOptional<z.ZodObject<{
1034
1096
  value: z.ZodString;
1035
1097
  options: z.ZodOptional<z.ZodObject<{
1036
1098
  httpOnly: z.ZodLiteral<true>;
@@ -1071,7 +1133,17 @@ export declare const Api: {
1071
1133
  } | undefined;
1072
1134
  }>>;
1073
1135
  }, "strip", z.ZodTypeAny, {
1074
- [x: number]: {
1136
+ val_state?: {
1137
+ value: string;
1138
+ options?: {
1139
+ path: string;
1140
+ httpOnly: true;
1141
+ sameSite: "strict";
1142
+ expires: Date;
1143
+ secure: true;
1144
+ } | undefined;
1145
+ } | undefined;
1146
+ val_session?: {
1075
1147
  value: string;
1076
1148
  options?: {
1077
1149
  path: string;
@@ -1082,7 +1154,17 @@ export declare const Api: {
1082
1154
  } | undefined;
1083
1155
  } | undefined;
1084
1156
  }, {
1085
- [x: number]: {
1157
+ val_state?: {
1158
+ value: string;
1159
+ options?: {
1160
+ path: string;
1161
+ httpOnly: true;
1162
+ sameSite: "strict";
1163
+ expires: Date;
1164
+ secure: true;
1165
+ } | undefined;
1166
+ } | undefined;
1167
+ val_session?: {
1086
1168
  value: string;
1087
1169
  options?: {
1088
1170
  path: string;
@@ -1096,7 +1178,17 @@ export declare const Api: {
1096
1178
  }, "strip", z.ZodTypeAny, {
1097
1179
  status: 200;
1098
1180
  cookies: {
1099
- [x: number]: {
1181
+ val_state?: {
1182
+ value: string;
1183
+ options?: {
1184
+ path: string;
1185
+ httpOnly: true;
1186
+ sameSite: "strict";
1187
+ expires: Date;
1188
+ secure: true;
1189
+ } | undefined;
1190
+ } | undefined;
1191
+ val_session?: {
1100
1192
  value: string;
1101
1193
  options?: {
1102
1194
  path: string;
@@ -1110,7 +1202,17 @@ export declare const Api: {
1110
1202
  }, {
1111
1203
  status: 200;
1112
1204
  cookies: {
1113
- [x: number]: {
1205
+ val_state?: {
1206
+ value: string;
1207
+ options?: {
1208
+ path: string;
1209
+ httpOnly: true;
1210
+ sameSite: "strict";
1211
+ expires: Date;
1212
+ secure: true;
1213
+ } | undefined;
1214
+ } | undefined;
1215
+ val_session?: {
1114
1216
  value: string;
1115
1217
  options?: {
1116
1218
  path: string;
@@ -1125,7 +1227,47 @@ export declare const Api: {
1125
1227
  status: z.ZodLiteral<302>;
1126
1228
  redirectTo: z.ZodString;
1127
1229
  cookies: z.ZodObject<{
1128
- [x: number]: z.ZodOptional<z.ZodObject<{
1230
+ val_session: z.ZodOptional<z.ZodObject<{
1231
+ value: z.ZodString;
1232
+ options: z.ZodOptional<z.ZodObject<{
1233
+ httpOnly: z.ZodLiteral<true>;
1234
+ sameSite: z.ZodLiteral<"strict">;
1235
+ path: z.ZodString;
1236
+ secure: z.ZodLiteral<true>;
1237
+ expires: z.ZodType<Date, z.ZodTypeDef, Date>;
1238
+ }, "strip", z.ZodTypeAny, {
1239
+ path: string;
1240
+ httpOnly: true;
1241
+ sameSite: "strict";
1242
+ expires: Date;
1243
+ secure: true;
1244
+ }, {
1245
+ path: string;
1246
+ httpOnly: true;
1247
+ sameSite: "strict";
1248
+ expires: Date;
1249
+ secure: true;
1250
+ }>>;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ value: string;
1253
+ options?: {
1254
+ path: string;
1255
+ httpOnly: true;
1256
+ sameSite: "strict";
1257
+ expires: Date;
1258
+ secure: true;
1259
+ } | undefined;
1260
+ }, {
1261
+ value: string;
1262
+ options?: {
1263
+ path: string;
1264
+ httpOnly: true;
1265
+ sameSite: "strict";
1266
+ expires: Date;
1267
+ secure: true;
1268
+ } | undefined;
1269
+ }>>;
1270
+ val_state: z.ZodOptional<z.ZodObject<{
1129
1271
  value: z.ZodString;
1130
1272
  options: z.ZodOptional<z.ZodObject<{
1131
1273
  httpOnly: z.ZodLiteral<true>;
@@ -1166,7 +1308,17 @@ export declare const Api: {
1166
1308
  } | undefined;
1167
1309
  }>>;
1168
1310
  }, "strip", z.ZodTypeAny, {
1169
- [x: number]: {
1311
+ val_state?: {
1312
+ value: string;
1313
+ options?: {
1314
+ path: string;
1315
+ httpOnly: true;
1316
+ sameSite: "strict";
1317
+ expires: Date;
1318
+ secure: true;
1319
+ } | undefined;
1320
+ } | undefined;
1321
+ val_session?: {
1170
1322
  value: string;
1171
1323
  options?: {
1172
1324
  path: string;
@@ -1177,7 +1329,17 @@ export declare const Api: {
1177
1329
  } | undefined;
1178
1330
  } | undefined;
1179
1331
  }, {
1180
- [x: number]: {
1332
+ val_state?: {
1333
+ value: string;
1334
+ options?: {
1335
+ path: string;
1336
+ httpOnly: true;
1337
+ sameSite: "strict";
1338
+ expires: Date;
1339
+ secure: true;
1340
+ } | undefined;
1341
+ } | undefined;
1342
+ val_session?: {
1181
1343
  value: string;
1182
1344
  options?: {
1183
1345
  path: string;
@@ -1192,7 +1354,17 @@ export declare const Api: {
1192
1354
  status: 302;
1193
1355
  redirectTo: string;
1194
1356
  cookies: {
1195
- [x: number]: {
1357
+ val_state?: {
1358
+ value: string;
1359
+ options?: {
1360
+ path: string;
1361
+ httpOnly: true;
1362
+ sameSite: "strict";
1363
+ expires: Date;
1364
+ secure: true;
1365
+ } | undefined;
1366
+ } | undefined;
1367
+ val_session?: {
1196
1368
  value: string;
1197
1369
  options?: {
1198
1370
  path: string;
@@ -1207,7 +1379,17 @@ export declare const Api: {
1207
1379
  status: 302;
1208
1380
  redirectTo: string;
1209
1381
  cookies: {
1210
- [x: number]: {
1382
+ val_state?: {
1383
+ value: string;
1384
+ options?: {
1385
+ path: string;
1386
+ httpOnly: true;
1387
+ sameSite: "strict";
1388
+ expires: Date;
1389
+ secure: true;
1390
+ } | undefined;
1391
+ } | undefined;
1392
+ val_session?: {
1211
1393
  value: string;
1212
1394
  options?: {
1213
1395
  path: string;
@@ -1428,7 +1610,7 @@ export declare const Api: {
1428
1610
  baseSha: z.ZodString;
1429
1611
  schemaSha: z.ZodString;
1430
1612
  sourcesSha: z.ZodString;
1431
- patches: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
1613
+ patches: z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">;
1432
1614
  config: z.ZodObject<{
1433
1615
  project: z.ZodOptional<z.ZodString>;
1434
1616
  root: z.ZodOptional<z.ZodString>;
@@ -1466,7 +1648,7 @@ export declare const Api: {
1466
1648
  sourcesSha: string;
1467
1649
  schemaSha: string;
1468
1650
  baseSha: string;
1469
- patches: PatchIdT[];
1651
+ patches: import("@valbuild/core").PatchId[];
1470
1652
  config: {
1471
1653
  project?: string | undefined;
1472
1654
  root?: string | undefined;
@@ -1502,7 +1684,7 @@ export declare const Api: {
1502
1684
  schemaSha: z.ZodString;
1503
1685
  sourcesSha: z.ZodString;
1504
1686
  commitSha: z.ZodString;
1505
- patches: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
1687
+ patches: z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">;
1506
1688
  commits: z.ZodArray<z.ZodObject<{
1507
1689
  commitSha: z.ZodString;
1508
1690
  clientCommitSha: z.ZodString;
@@ -1565,7 +1747,7 @@ export declare const Api: {
1565
1747
  sourcesSha: string;
1566
1748
  schemaSha: string;
1567
1749
  baseSha: string;
1568
- patches: PatchIdT[];
1750
+ patches: import("@valbuild/core").PatchId[];
1569
1751
  config: {
1570
1752
  project?: string | undefined;
1571
1753
  root?: string | undefined;
@@ -1626,7 +1808,7 @@ export declare const Api: {
1626
1808
  sourcesSha: string;
1627
1809
  schemaSha: string;
1628
1810
  baseSha: string;
1629
- patches: PatchIdT[];
1811
+ patches: import("@valbuild/core").PatchId[];
1630
1812
  config: {
1631
1813
  project?: string | undefined;
1632
1814
  root?: string | undefined;
@@ -1643,7 +1825,7 @@ export declare const Api: {
1643
1825
  sourcesSha: string;
1644
1826
  schemaSha: string;
1645
1827
  baseSha: string;
1646
- patches: PatchIdT[];
1828
+ patches: import("@valbuild/core").PatchId[];
1647
1829
  config: {
1648
1830
  project?: string | undefined;
1649
1831
  root?: string | undefined;
@@ -1735,10 +1917,12 @@ export declare const Api: {
1735
1917
  headBaseSha: string;
1736
1918
  }>, z.ZodObject<{
1737
1919
  type: z.ZodLiteral<"patch">;
1738
- patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
1920
+ patchId: z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>;
1739
1921
  }, "strip", z.ZodTypeAny, {
1740
1922
  type: "patch";
1741
- patchId?: any;
1923
+ patchId: string & {
1924
+ VAL_DATA_TYPE: "PatchId";
1925
+ };
1742
1926
  }, {
1743
1927
  type: "patch";
1744
1928
  patchId: string;
@@ -1749,19 +1933,22 @@ export declare const Api: {
1749
1933
  metadata: z.ZodAny;
1750
1934
  remote: z.ZodBoolean;
1751
1935
  }, "strip", z.ZodTypeAny, {
1936
+ remote: boolean;
1752
1937
  type: "file" | "image";
1753
1938
  parentRef: {
1754
1939
  type: "head";
1755
1940
  headBaseSha: string;
1756
1941
  } | {
1757
1942
  type: "patch";
1758
- patchId?: any;
1943
+ patchId: string & {
1944
+ VAL_DATA_TYPE: "PatchId";
1945
+ };
1759
1946
  };
1760
1947
  filePath: string;
1761
- remote: boolean;
1762
1948
  data?: any;
1763
1949
  metadata?: any;
1764
1950
  }, {
1951
+ remote: boolean;
1765
1952
  type: "file" | "image";
1766
1953
  parentRef: {
1767
1954
  type: "head";
@@ -1771,7 +1958,6 @@ export declare const Api: {
1771
1958
  patchId: string;
1772
1959
  };
1773
1960
  filePath: string;
1774
- remote: boolean;
1775
1961
  data?: any;
1776
1962
  metadata?: any;
1777
1963
  }>;
@@ -1799,10 +1985,12 @@ export declare const Api: {
1799
1985
  status: z.ZodLiteral<200>;
1800
1986
  json: z.ZodObject<{
1801
1987
  filePath: z.ZodString;
1802
- patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
1988
+ patchId: z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>;
1803
1989
  }, "strip", z.ZodTypeAny, {
1990
+ patchId: string & {
1991
+ VAL_DATA_TYPE: "PatchId";
1992
+ };
1804
1993
  filePath: string;
1805
- patchId?: any;
1806
1994
  }, {
1807
1995
  patchId: string;
1808
1996
  filePath: string;
@@ -1810,8 +1998,10 @@ export declare const Api: {
1810
1998
  }, "strip", z.ZodTypeAny, {
1811
1999
  status: 200;
1812
2000
  json: {
2001
+ patchId: string & {
2002
+ VAL_DATA_TYPE: "PatchId";
2003
+ };
1813
2004
  filePath: string;
1814
- patchId?: any;
1815
2005
  };
1816
2006
  }, {
1817
2007
  status: 200;
@@ -1917,7 +2107,7 @@ export declare const Api: {
1917
2107
  DELETE: {
1918
2108
  req: {
1919
2109
  query: {
1920
- id: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
2110
+ id: z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">;
1921
2111
  };
1922
2112
  cookies: {
1923
2113
  val_session: z.ZodOptional<z.ZodString>;
@@ -1947,11 +2137,13 @@ export declare const Api: {
1947
2137
  json: z.ZodObject<{
1948
2138
  message: z.ZodString;
1949
2139
  errors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1950
- patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
2140
+ patchId: z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>;
1951
2141
  message: z.ZodString;
1952
2142
  }, "strip", z.ZodTypeAny, {
1953
2143
  message: string;
1954
- patchId?: any;
2144
+ patchId: string & {
2145
+ VAL_DATA_TYPE: "PatchId";
2146
+ };
1955
2147
  }, {
1956
2148
  message: string;
1957
2149
  patchId: string;
@@ -1969,7 +2161,9 @@ export declare const Api: {
1969
2161
  message: string;
1970
2162
  errors: ({
1971
2163
  message: string;
1972
- patchId?: any;
2164
+ patchId: string & {
2165
+ VAL_DATA_TYPE: "PatchId";
2166
+ };
1973
2167
  } | {
1974
2168
  message: string;
1975
2169
  parentPatchId: string;
@@ -1990,7 +2184,9 @@ export declare const Api: {
1990
2184
  message: string;
1991
2185
  errors: ({
1992
2186
  message: string;
1993
- patchId?: any;
2187
+ patchId: string & {
2188
+ VAL_DATA_TYPE: "PatchId";
2189
+ };
1994
2190
  } | {
1995
2191
  message: string;
1996
2192
  parentPatchId: string;
@@ -2010,10 +2206,10 @@ export declare const Api: {
2010
2206
  };
2011
2207
  }>, z.ZodObject<{
2012
2208
  status: z.ZodLiteral<200>;
2013
- json: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
2209
+ json: z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">;
2014
2210
  }, "strip", z.ZodTypeAny, {
2015
2211
  status: 200;
2016
- json: PatchIdT[];
2212
+ json: import("@valbuild/core").PatchId[];
2017
2213
  }, {
2018
2214
  status: 200;
2019
2215
  json: string[];
@@ -2033,22 +2229,28 @@ export declare const Api: {
2033
2229
  headBaseSha: string;
2034
2230
  }>, z.ZodObject<{
2035
2231
  type: z.ZodLiteral<"patch">;
2036
- patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
2232
+ patchId: z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>;
2037
2233
  }, "strip", z.ZodTypeAny, {
2038
2234
  type: "patch";
2039
- patchId?: any;
2235
+ patchId: string & {
2236
+ VAL_DATA_TYPE: "PatchId";
2237
+ };
2040
2238
  }, {
2041
2239
  type: "patch";
2042
2240
  patchId: string;
2043
2241
  }>]>;
2044
2242
  patches: z.ZodArray<z.ZodObject<{
2045
2243
  path: z.ZodEffects<z.ZodString, ModuleFilePath, string>;
2046
- patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
2244
+ patchId: z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>;
2047
2245
  patch: z.ZodAny;
2048
2246
  }, "strip", z.ZodTypeAny, {
2049
- path?: any;
2247
+ path: string & {
2248
+ VAL_DATA_TYPE: "ModuleFilePath";
2249
+ };
2250
+ patchId: string & {
2251
+ VAL_DATA_TYPE: "PatchId";
2252
+ };
2050
2253
  patch?: any;
2051
- patchId?: any;
2052
2254
  }, {
2053
2255
  path: string;
2054
2256
  patchId: string;
@@ -2056,16 +2258,22 @@ export declare const Api: {
2056
2258
  }>, "many">;
2057
2259
  }, "strip", z.ZodTypeAny, {
2058
2260
  patches: {
2059
- path?: any;
2261
+ path: string & {
2262
+ VAL_DATA_TYPE: "ModuleFilePath";
2263
+ };
2264
+ patchId: string & {
2265
+ VAL_DATA_TYPE: "PatchId";
2266
+ };
2060
2267
  patch?: any;
2061
- patchId?: any;
2062
2268
  }[];
2063
2269
  parentRef: {
2064
2270
  type: "head";
2065
2271
  headBaseSha: string;
2066
2272
  } | {
2067
2273
  type: "patch";
2068
- patchId?: any;
2274
+ patchId: string & {
2275
+ VAL_DATA_TYPE: "PatchId";
2276
+ };
2069
2277
  };
2070
2278
  }, {
2071
2279
  patches: {
@@ -2153,11 +2361,11 @@ export declare const Api: {
2153
2361
  }, "strip", z.ZodTypeAny, {
2154
2362
  message: string;
2155
2363
  type: "patch-error";
2156
- errors: Record<ModuleFilePath, {
2364
+ errors: Partial<Record<ModuleFilePath, {
2157
2365
  error: {
2158
2366
  message: string;
2159
2367
  };
2160
- }[]>;
2368
+ }[]>>;
2161
2369
  }, {
2162
2370
  message: string;
2163
2371
  type: "patch-error";
@@ -2172,11 +2380,11 @@ export declare const Api: {
2172
2380
  json: {
2173
2381
  message: string;
2174
2382
  type: "patch-error";
2175
- errors: Record<ModuleFilePath, {
2383
+ errors: Partial<Record<ModuleFilePath, {
2176
2384
  error: {
2177
2385
  message: string;
2178
2386
  };
2179
- }[]>;
2387
+ }[]>>;
2180
2388
  };
2181
2389
  }, {
2182
2390
  status: 400;
@@ -2192,7 +2400,7 @@ export declare const Api: {
2192
2400
  }>, z.ZodObject<{
2193
2401
  status: z.ZodLiteral<200>;
2194
2402
  json: z.ZodObject<{
2195
- newPatchIds: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
2403
+ newPatchIds: z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">;
2196
2404
  parentRef: z.ZodUnion<[z.ZodObject<{
2197
2405
  type: z.ZodLiteral<"head">;
2198
2406
  headBaseSha: z.ZodString;
@@ -2204,10 +2412,12 @@ export declare const Api: {
2204
2412
  headBaseSha: string;
2205
2413
  }>, z.ZodObject<{
2206
2414
  type: z.ZodLiteral<"patch">;
2207
- patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
2415
+ patchId: z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>;
2208
2416
  }, "strip", z.ZodTypeAny, {
2209
2417
  type: "patch";
2210
- patchId?: any;
2418
+ patchId: string & {
2419
+ VAL_DATA_TYPE: "PatchId";
2420
+ };
2211
2421
  }, {
2212
2422
  type: "patch";
2213
2423
  patchId: string;
@@ -2218,9 +2428,11 @@ export declare const Api: {
2218
2428
  headBaseSha: string;
2219
2429
  } | {
2220
2430
  type: "patch";
2221
- patchId?: any;
2431
+ patchId: string & {
2432
+ VAL_DATA_TYPE: "PatchId";
2433
+ };
2222
2434
  };
2223
- newPatchIds: PatchIdT[];
2435
+ newPatchIds: import("@valbuild/core").PatchId[];
2224
2436
  }, {
2225
2437
  parentRef: {
2226
2438
  type: "head";
@@ -2239,9 +2451,11 @@ export declare const Api: {
2239
2451
  headBaseSha: string;
2240
2452
  } | {
2241
2453
  type: "patch";
2242
- patchId?: any;
2454
+ patchId: string & {
2455
+ VAL_DATA_TYPE: "PatchId";
2456
+ };
2243
2457
  };
2244
- newPatchIds: PatchIdT[];
2458
+ newPatchIds: import("@valbuild/core").PatchId[];
2245
2459
  };
2246
2460
  }, {
2247
2461
  status: 200;
@@ -2260,7 +2474,7 @@ export declare const Api: {
2260
2474
  GET: {
2261
2475
  req: {
2262
2476
  query: {
2263
- patch_id: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">>;
2477
+ patch_id: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">>;
2264
2478
  exclude_patch_ops: z.ZodOptional<z.ZodBoolean>;
2265
2479
  };
2266
2480
  cookies: {
@@ -2291,11 +2505,13 @@ export declare const Api: {
2291
2505
  json: z.ZodObject<{
2292
2506
  message: z.ZodString;
2293
2507
  patchErrors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2294
- patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
2508
+ patchId: z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>;
2295
2509
  message: z.ZodString;
2296
2510
  }, "strip", z.ZodTypeAny, {
2297
2511
  message: string;
2298
- patchId?: any;
2512
+ patchId: string & {
2513
+ VAL_DATA_TYPE: "PatchId";
2514
+ };
2299
2515
  }, {
2300
2516
  message: string;
2301
2517
  patchId: string;
@@ -2313,7 +2529,9 @@ export declare const Api: {
2313
2529
  message: string;
2314
2530
  patchErrors: ({
2315
2531
  message: string;
2316
- patchId?: any;
2532
+ patchId: string & {
2533
+ VAL_DATA_TYPE: "PatchId";
2534
+ };
2317
2535
  } | {
2318
2536
  message: string;
2319
2537
  parentPatchId: string;
@@ -2334,7 +2552,9 @@ export declare const Api: {
2334
2552
  message: string;
2335
2553
  patchErrors: ({
2336
2554
  message: string;
2337
- patchId?: any;
2555
+ patchId: string & {
2556
+ VAL_DATA_TYPE: "PatchId";
2557
+ };
2338
2558
  } | {
2339
2559
  message: string;
2340
2560
  parentPatchId: string;
@@ -2395,8 +2615,8 @@ export declare const Api: {
2395
2615
  json: z.ZodObject<{
2396
2616
  patches: z.ZodArray<z.ZodObject<{
2397
2617
  path: z.ZodEffects<z.ZodString, ModuleFilePath, string>;
2398
- patch: z.ZodOptional<z.ZodType<PatchT, z.ZodTypeDef, PatchT>>;
2399
- patchId: z.ZodEffects<z.ZodString, PatchIdT, string>;
2618
+ patch: z.ZodOptional<z.ZodType<import("@valbuild/core/patch").Patch, z.ZodTypeDef, import("@valbuild/core/patch").Patch>>;
2619
+ patchId: z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>;
2400
2620
  createdAt: z.ZodString;
2401
2621
  authorId: z.ZodNullable<z.ZodString>;
2402
2622
  appliedAt: z.ZodNullable<z.ZodObject<{
@@ -2407,14 +2627,18 @@ export declare const Api: {
2407
2627
  commitSha: string;
2408
2628
  }>>;
2409
2629
  }, "strip", z.ZodTypeAny, {
2630
+ path: string & {
2631
+ VAL_DATA_TYPE: "ModuleFilePath";
2632
+ };
2410
2633
  createdAt: string;
2634
+ patchId: string & {
2635
+ VAL_DATA_TYPE: "PatchId";
2636
+ };
2411
2637
  authorId: string | null;
2412
2638
  appliedAt: {
2413
2639
  commitSha: string;
2414
2640
  } | null;
2415
- path?: any;
2416
- patch?: any;
2417
- patchId?: any;
2641
+ patch?: import("@valbuild/core/patch").Patch | undefined;
2418
2642
  }, {
2419
2643
  path: string;
2420
2644
  createdAt: string;
@@ -2423,7 +2647,7 @@ export declare const Api: {
2423
2647
  appliedAt: {
2424
2648
  commitSha: string;
2425
2649
  } | null;
2426
- patch?: any;
2650
+ patch?: import("@valbuild/core/patch").Patch | undefined;
2427
2651
  }>, "many">;
2428
2652
  baseSha: z.ZodString;
2429
2653
  error: z.ZodOptional<z.ZodObject<{
@@ -2433,7 +2657,7 @@ export declare const Api: {
2433
2657
  }, {
2434
2658
  message: string;
2435
2659
  }>>;
2436
- errors: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, PatchIdT, string>, z.ZodObject<{
2660
+ errors: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, z.ZodObject<{
2437
2661
  message: z.ZodString;
2438
2662
  }, "strip", z.ZodTypeAny, {
2439
2663
  message: string;
@@ -2443,18 +2667,22 @@ export declare const Api: {
2443
2667
  }, "strip", z.ZodTypeAny, {
2444
2668
  baseSha: string;
2445
2669
  patches: {
2670
+ path: string & {
2671
+ VAL_DATA_TYPE: "ModuleFilePath";
2672
+ };
2446
2673
  createdAt: string;
2674
+ patchId: string & {
2675
+ VAL_DATA_TYPE: "PatchId";
2676
+ };
2447
2677
  authorId: string | null;
2448
2678
  appliedAt: {
2449
2679
  commitSha: string;
2450
2680
  } | null;
2451
- path?: any;
2452
- patch?: any;
2453
- patchId?: any;
2681
+ patch?: import("@valbuild/core/patch").Patch | undefined;
2454
2682
  }[];
2455
- errors?: Record<PatchIdT, {
2683
+ errors?: Partial<Record<import("@valbuild/core").PatchId, {
2456
2684
  message: string;
2457
- }> | undefined;
2685
+ }>> | undefined;
2458
2686
  error?: {
2459
2687
  message: string;
2460
2688
  } | undefined;
@@ -2468,7 +2696,7 @@ export declare const Api: {
2468
2696
  appliedAt: {
2469
2697
  commitSha: string;
2470
2698
  } | null;
2471
- patch?: any;
2699
+ patch?: import("@valbuild/core/patch").Patch | undefined;
2472
2700
  }[];
2473
2701
  errors?: Record<string, {
2474
2702
  message: string;
@@ -2482,18 +2710,22 @@ export declare const Api: {
2482
2710
  json: {
2483
2711
  baseSha: string;
2484
2712
  patches: {
2713
+ path: string & {
2714
+ VAL_DATA_TYPE: "ModuleFilePath";
2715
+ };
2485
2716
  createdAt: string;
2717
+ patchId: string & {
2718
+ VAL_DATA_TYPE: "PatchId";
2719
+ };
2486
2720
  authorId: string | null;
2487
2721
  appliedAt: {
2488
2722
  commitSha: string;
2489
2723
  } | null;
2490
- path?: any;
2491
- patch?: any;
2492
- patchId?: any;
2724
+ patch?: import("@valbuild/core/patch").Patch | undefined;
2493
2725
  }[];
2494
- errors?: Record<PatchIdT, {
2726
+ errors?: Partial<Record<import("@valbuild/core").PatchId, {
2495
2727
  message: string;
2496
- }> | undefined;
2728
+ }>> | undefined;
2497
2729
  error?: {
2498
2730
  message: string;
2499
2731
  } | undefined;
@@ -2510,7 +2742,7 @@ export declare const Api: {
2510
2742
  appliedAt: {
2511
2743
  commitSha: string;
2512
2744
  } | null;
2513
- patch?: any;
2745
+ patch?: import("@valbuild/core/patch").Patch | undefined;
2514
2746
  }[];
2515
2747
  errors?: Record<string, {
2516
2748
  message: string;
@@ -2557,7 +2789,7 @@ export declare const Api: {
2557
2789
  path: z.ZodOptional<z.ZodEffects<z.ZodString, ModuleFilePath, string>>;
2558
2790
  }, "strip", z.ZodTypeAny, {
2559
2791
  message: string;
2560
- path?: any;
2792
+ path?: ModuleFilePath | undefined;
2561
2793
  }, {
2562
2794
  message: string;
2563
2795
  path?: string | undefined;
@@ -2566,7 +2798,7 @@ export declare const Api: {
2566
2798
  message: string;
2567
2799
  details: {
2568
2800
  message: string;
2569
- path?: any;
2801
+ path?: ModuleFilePath | undefined;
2570
2802
  }[];
2571
2803
  }, {
2572
2804
  message: string;
@@ -2581,7 +2813,7 @@ export declare const Api: {
2581
2813
  message: string;
2582
2814
  details: {
2583
2815
  message: string;
2584
- path?: any;
2816
+ path?: ModuleFilePath | undefined;
2585
2817
  }[];
2586
2818
  };
2587
2819
  }, {
@@ -2635,10 +2867,10 @@ export declare const Api: {
2635
2867
  status: z.ZodLiteral<200>;
2636
2868
  json: z.ZodObject<{
2637
2869
  schemaSha: z.ZodString;
2638
- schemas: z.ZodRecord<z.ZodEffects<z.ZodString, ModuleFilePath, string>, z.ZodType<SerializedSchemaT, z.ZodTypeDef, unknown>>;
2870
+ schemas: z.ZodRecord<z.ZodEffects<z.ZodString, ModuleFilePath, string>, z.ZodType<import("@valbuild/core").SerializedSchema, z.ZodTypeDef, unknown>>;
2639
2871
  }, "strip", z.ZodTypeAny, {
2640
2872
  schemaSha: string;
2641
- schemas: Record<ModuleFilePath, SerializedSchemaT>;
2873
+ schemas: Partial<Record<ModuleFilePath, import("@valbuild/core").SerializedSchema>>;
2642
2874
  }, {
2643
2875
  schemaSha: string;
2644
2876
  schemas: Record<string, unknown>;
@@ -2647,7 +2879,7 @@ export declare const Api: {
2647
2879
  status: 200;
2648
2880
  json: {
2649
2881
  schemaSha: string;
2650
- schemas: Record<ModuleFilePath, SerializedSchemaT>;
2882
+ schemas: Partial<Record<ModuleFilePath, import("@valbuild/core").SerializedSchema>>;
2651
2883
  };
2652
2884
  }, {
2653
2885
  status: 200;
@@ -2717,7 +2949,7 @@ export declare const Api: {
2717
2949
  path: z.ZodOptional<z.ZodEffects<z.ZodString, ModuleFilePath, string>>;
2718
2950
  }, "strip", z.ZodTypeAny, {
2719
2951
  message: string;
2720
- path?: any;
2952
+ path?: ModuleFilePath | undefined;
2721
2953
  }, {
2722
2954
  message: string;
2723
2955
  path?: string | undefined;
@@ -2734,7 +2966,7 @@ export declare const Api: {
2734
2966
  message: string;
2735
2967
  } | {
2736
2968
  message: string;
2737
- path?: any;
2969
+ path?: ModuleFilePath | undefined;
2738
2970
  }[];
2739
2971
  }, {
2740
2972
  message: string;
@@ -2753,7 +2985,7 @@ export declare const Api: {
2753
2985
  message: string;
2754
2986
  } | {
2755
2987
  message: string;
2756
- path?: any;
2988
+ path?: ModuleFilePath | undefined;
2757
2989
  }[];
2758
2990
  };
2759
2991
  }, {
@@ -2795,7 +3027,7 @@ export declare const Api: {
2795
3027
  path: z.ZodOptional<z.ZodEffects<z.ZodString, ModuleFilePath, string>>;
2796
3028
  }, "strip", z.ZodTypeAny, {
2797
3029
  message: string;
2798
- path?: any;
3030
+ path?: ModuleFilePath | undefined;
2799
3031
  }, {
2800
3032
  message: string;
2801
3033
  path?: string | undefined;
@@ -2804,7 +3036,7 @@ export declare const Api: {
2804
3036
  message: string;
2805
3037
  details: {
2806
3038
  message: string;
2807
- path?: any;
3039
+ path?: ModuleFilePath | undefined;
2808
3040
  }[];
2809
3041
  }, {
2810
3042
  message: string;
@@ -2819,7 +3051,7 @@ export declare const Api: {
2819
3051
  message: string;
2820
3052
  details: {
2821
3053
  message: string;
2822
- path?: any;
3054
+ path?: ModuleFilePath | undefined;
2823
3055
  }[];
2824
3056
  };
2825
3057
  }, {
@@ -2840,9 +3072,9 @@ export declare const Api: {
2840
3072
  preview: z.ZodAny;
2841
3073
  source: z.ZodAny;
2842
3074
  patches: z.ZodOptional<z.ZodObject<{
2843
- applied: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
2844
- skipped: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">>;
2845
- errors: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, PatchIdT, string>, z.ZodObject<{
3075
+ applied: z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">;
3076
+ skipped: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">>;
3077
+ errors: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, z.ZodObject<{
2846
3078
  message: z.ZodString;
2847
3079
  }, "strip", z.ZodTypeAny, {
2848
3080
  message: string;
@@ -2850,11 +3082,11 @@ export declare const Api: {
2850
3082
  message: string;
2851
3083
  }>>>;
2852
3084
  }, "strip", z.ZodTypeAny, {
2853
- applied: PatchIdT[];
2854
- errors?: Record<PatchIdT, {
3085
+ applied: import("@valbuild/core").PatchId[];
3086
+ errors?: Partial<Record<import("@valbuild/core").PatchId, {
2855
3087
  message: string;
2856
- }> | undefined;
2857
- skipped?: PatchIdT[] | undefined;
3088
+ }>> | undefined;
3089
+ skipped?: import("@valbuild/core").PatchId[] | undefined;
2858
3090
  }, {
2859
3091
  applied: string[];
2860
3092
  errors?: Record<string, {
@@ -2866,25 +3098,25 @@ export declare const Api: {
2866
3098
  message: z.ZodString;
2867
3099
  value: z.ZodOptional<z.ZodUnknown>;
2868
3100
  fatal: z.ZodOptional<z.ZodBoolean>;
2869
- fixes: z.ZodOptional<z.ZodArray<z.ZodType<ValidationFix, z.ZodTypeDef, ValidationFix>, "many">>;
3101
+ fixes: z.ZodOptional<z.ZodArray<z.ZodType<"image:change-extension" | "image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "file:change-extension" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "keyof:check-keys", z.ZodTypeDef, "image:change-extension" | "image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "file:change-extension" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "keyof:check-keys">, "many">>;
2870
3102
  }, "strip", z.ZodTypeAny, {
2871
3103
  message: string;
2872
3104
  value?: unknown;
2873
3105
  fatal?: boolean | undefined;
2874
- fixes?: ValidationFix[] | undefined;
3106
+ fixes?: ("image:change-extension" | "image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "file:change-extension" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "keyof:check-keys")[] | undefined;
2875
3107
  }, {
2876
3108
  message: string;
2877
3109
  value?: unknown;
2878
3110
  fatal?: boolean | undefined;
2879
- fixes?: ValidationFix[] | undefined;
3111
+ fixes?: ("image:change-extension" | "image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "file:change-extension" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "keyof:check-keys")[] | undefined;
2880
3112
  }>, "many">>>;
2881
3113
  }, "strip", z.ZodTypeAny, {
2882
3114
  patches?: {
2883
- applied: PatchIdT[];
2884
- errors?: Record<PatchIdT, {
3115
+ applied: import("@valbuild/core").PatchId[];
3116
+ errors?: Partial<Record<import("@valbuild/core").PatchId, {
2885
3117
  message: string;
2886
- }> | undefined;
2887
- skipped?: PatchIdT[] | undefined;
3118
+ }>> | undefined;
3119
+ skipped?: import("@valbuild/core").PatchId[] | undefined;
2888
3120
  } | undefined;
2889
3121
  preview?: any;
2890
3122
  source?: any;
@@ -2892,7 +3124,7 @@ export declare const Api: {
2892
3124
  message: string;
2893
3125
  value?: unknown;
2894
3126
  fatal?: boolean | undefined;
2895
- fixes?: ValidationFix[] | undefined;
3127
+ fixes?: ("image:change-extension" | "image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "file:change-extension" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "keyof:check-keys")[] | undefined;
2896
3128
  }[]> | undefined;
2897
3129
  }, {
2898
3130
  patches?: {
@@ -2908,19 +3140,19 @@ export declare const Api: {
2908
3140
  message: string;
2909
3141
  value?: unknown;
2910
3142
  fatal?: boolean | undefined;
2911
- fixes?: ValidationFix[] | undefined;
3143
+ fixes?: ("image:change-extension" | "image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "file:change-extension" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "keyof:check-keys")[] | undefined;
2912
3144
  }[]> | undefined;
2913
3145
  }>>;
2914
3146
  }, "strip", z.ZodTypeAny, {
2915
3147
  sourcesSha: string;
2916
3148
  schemaSha: string;
2917
- modules: Record<ModuleFilePath, {
3149
+ modules: Partial<Record<ModuleFilePath, {
2918
3150
  patches?: {
2919
- applied: PatchIdT[];
2920
- errors?: Record<PatchIdT, {
3151
+ applied: import("@valbuild/core").PatchId[];
3152
+ errors?: Partial<Record<import("@valbuild/core").PatchId, {
2921
3153
  message: string;
2922
- }> | undefined;
2923
- skipped?: PatchIdT[] | undefined;
3154
+ }>> | undefined;
3155
+ skipped?: import("@valbuild/core").PatchId[] | undefined;
2924
3156
  } | undefined;
2925
3157
  preview?: any;
2926
3158
  source?: any;
@@ -2928,9 +3160,9 @@ export declare const Api: {
2928
3160
  message: string;
2929
3161
  value?: unknown;
2930
3162
  fatal?: boolean | undefined;
2931
- fixes?: ValidationFix[] | undefined;
3163
+ fixes?: ("image:change-extension" | "image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "file:change-extension" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "keyof:check-keys")[] | undefined;
2932
3164
  }[]> | undefined;
2933
- }>;
3165
+ }>>;
2934
3166
  }, {
2935
3167
  sourcesSha: string;
2936
3168
  schemaSha: string;
@@ -2948,7 +3180,7 @@ export declare const Api: {
2948
3180
  message: string;
2949
3181
  value?: unknown;
2950
3182
  fatal?: boolean | undefined;
2951
- fixes?: ValidationFix[] | undefined;
3183
+ fixes?: ("image:change-extension" | "image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "file:change-extension" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "keyof:check-keys")[] | undefined;
2952
3184
  }[]> | undefined;
2953
3185
  }>;
2954
3186
  }>;
@@ -2957,13 +3189,13 @@ export declare const Api: {
2957
3189
  json: {
2958
3190
  sourcesSha: string;
2959
3191
  schemaSha: string;
2960
- modules: Record<ModuleFilePath, {
3192
+ modules: Partial<Record<ModuleFilePath, {
2961
3193
  patches?: {
2962
- applied: PatchIdT[];
2963
- errors?: Record<PatchIdT, {
3194
+ applied: import("@valbuild/core").PatchId[];
3195
+ errors?: Partial<Record<import("@valbuild/core").PatchId, {
2964
3196
  message: string;
2965
- }> | undefined;
2966
- skipped?: PatchIdT[] | undefined;
3197
+ }>> | undefined;
3198
+ skipped?: import("@valbuild/core").PatchId[] | undefined;
2967
3199
  } | undefined;
2968
3200
  preview?: any;
2969
3201
  source?: any;
@@ -2971,9 +3203,9 @@ export declare const Api: {
2971
3203
  message: string;
2972
3204
  value?: unknown;
2973
3205
  fatal?: boolean | undefined;
2974
- fixes?: ValidationFix[] | undefined;
3206
+ fixes?: ("image:change-extension" | "image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "file:change-extension" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "keyof:check-keys")[] | undefined;
2975
3207
  }[]> | undefined;
2976
- }>;
3208
+ }>>;
2977
3209
  };
2978
3210
  }, {
2979
3211
  status: 200;
@@ -2994,7 +3226,7 @@ export declare const Api: {
2994
3226
  message: string;
2995
3227
  value?: unknown;
2996
3228
  fatal?: boolean | undefined;
2997
- fixes?: ValidationFix[] | undefined;
3229
+ fixes?: ("image:change-extension" | "image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "file:change-extension" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "keyof:check-keys")[] | undefined;
2998
3230
  }[]> | undefined;
2999
3231
  }>;
3000
3232
  };
@@ -3106,7 +3338,7 @@ export declare const Api: {
3106
3338
  GET: {
3107
3339
  req: {
3108
3340
  query: {
3109
- patch_id: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
3341
+ patch_id: z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">;
3110
3342
  };
3111
3343
  cookies: {
3112
3344
  val_session: z.ZodOptional<z.ZodString>;
@@ -3153,12 +3385,12 @@ export declare const Api: {
3153
3385
  }>, z.ZodObject<{
3154
3386
  status: z.ZodLiteral<200>;
3155
3387
  json: z.ZodObject<{
3156
- patchIds: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
3388
+ patchIds: z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">;
3157
3389
  baseSha: z.ZodString;
3158
3390
  commitSummary: z.ZodNullable<z.ZodString>;
3159
3391
  }, "strip", z.ZodTypeAny, {
3160
3392
  baseSha: string;
3161
- patchIds: PatchIdT[];
3393
+ patchIds: import("@valbuild/core").PatchId[];
3162
3394
  commitSummary: string | null;
3163
3395
  }, {
3164
3396
  baseSha: string;
@@ -3169,7 +3401,7 @@ export declare const Api: {
3169
3401
  status: 200;
3170
3402
  json: {
3171
3403
  baseSha: string;
3172
- patchIds: PatchIdT[];
3404
+ patchIds: import("@valbuild/core").PatchId[];
3173
3405
  commitSummary: string | null;
3174
3406
  };
3175
3407
  }, {
@@ -3187,9 +3419,9 @@ export declare const Api: {
3187
3419
  req: {
3188
3420
  body: z.ZodObject<{
3189
3421
  message: z.ZodOptional<z.ZodString>;
3190
- patchIds: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
3422
+ patchIds: z.ZodArray<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>, "many">;
3191
3423
  }, "strip", z.ZodTypeAny, {
3192
- patchIds: PatchIdT[];
3424
+ patchIds: import("@valbuild/core").PatchId[];
3193
3425
  message?: string | undefined;
3194
3426
  }, {
3195
3427
  patchIds: string[];
@@ -3271,9 +3503,9 @@ export declare const Api: {
3271
3503
  message: string;
3272
3504
  }>>;
3273
3505
  }, "strip", z.ZodTypeAny, {
3274
- sourceFilePatchErrors: Record<ModuleFilePath, {
3506
+ sourceFilePatchErrors: Partial<Record<ModuleFilePath, {
3275
3507
  message: string;
3276
- }[]>;
3508
+ }[]>>;
3277
3509
  binaryFilePatchErrors: Record<string, {
3278
3510
  message: string;
3279
3511
  }>;
@@ -3296,9 +3528,9 @@ export declare const Api: {
3296
3528
  details?: {
3297
3529
  message: string;
3298
3530
  }[] | {
3299
- sourceFilePatchErrors: Record<ModuleFilePath, {
3531
+ sourceFilePatchErrors: Partial<Record<ModuleFilePath, {
3300
3532
  message: string;
3301
- }[]>;
3533
+ }[]>>;
3302
3534
  binaryFilePatchErrors: Record<string, {
3303
3535
  message: string;
3304
3536
  }>;
@@ -3332,9 +3564,9 @@ export declare const Api: {
3332
3564
  details?: {
3333
3565
  message: string;
3334
3566
  }[] | {
3335
- sourceFilePatchErrors: Record<ModuleFilePath, {
3567
+ sourceFilePatchErrors: Partial<Record<ModuleFilePath, {
3336
3568
  message: string;
3337
- }[]>;
3569
+ }[]>>;
3338
3570
  binaryFilePatchErrors: Record<string, {
3339
3571
  message: string;
3340
3572
  }>;
@@ -3369,7 +3601,7 @@ export declare const Api: {
3369
3601
  req: {
3370
3602
  path: z.ZodString;
3371
3603
  query: {
3372
- patch_id: z.ZodOptional<z.ZodEffects<z.ZodString, PatchIdT, string>>;
3604
+ patch_id: z.ZodOptional<z.ZodEffects<z.ZodString, import("@valbuild/core").PatchId, string>>;
3373
3605
  remote: z.ZodOptional<z.ZodString>;
3374
3606
  };
3375
3607
  };