@valbuild/shared 0.150.12 → 0.150.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/client/dist/valbuild-shared-client.cjs.dev.js +2 -1
- package/client/dist/valbuild-shared-client.cjs.prod.js +2 -1
- package/client/dist/valbuild-shared-client.esm.js +1 -1
- package/dist/declarations/src/client/index.d.ts +1 -0
- package/dist/declarations/src/internal/ApiRoutes.d.ts +123 -94
- package/dist/declarations/src/internal/index.d.ts +1 -0
- package/dist/declarations/src/internal/pageScreenshot.d.ts +40 -0
- package/dist/declarations/src/internal/server/types.d.ts +3 -3
- package/dist/declarations/src/internal/valCanvasProtocol.d.ts +21 -0
- package/dist/declarations/src/internal/zod/History.d.ts +7 -7
- package/dist/declarations/src/internal/zod/Patch.d.ts +1 -0
- package/dist/declarations/src/internal/zod/SerializedSchema.d.ts +20 -2
- package/dist/{getSitemapTree-97b3166f.esm.js → getSitemapTree-7c848c94.esm.js} +137 -2
- package/dist/{getSitemapTree-5354ce90.cjs.prod.js → getSitemapTree-97713490.cjs.prod.js} +155 -1
- package/dist/{getSitemapTree-d934ff9c.cjs.dev.js → getSitemapTree-98642b57.cjs.dev.js} +155 -1
- package/internal/dist/valbuild-shared-internal.cjs.dev.js +2 -1
- package/internal/dist/valbuild-shared-internal.cjs.prod.js +2 -1
- package/internal/dist/valbuild-shared-internal.esm.js +1 -1
- package/package.json +2 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import {
|
|
2
|
+
import { type ModuleFilePath } from "@valbuild/core";
|
|
3
|
+
declare const ModuleFilePath: z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>;
|
|
3
4
|
/**
|
|
4
5
|
* Why Val Build refused a write for the project's plan, as data: the `error` of
|
|
5
6
|
* its 403 (`refusalError` in valbuild/home's `billing/projectLimits.ts`).
|
|
@@ -89,7 +90,7 @@ export declare const Api: {
|
|
|
89
90
|
redirect_to: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
|
|
90
91
|
};
|
|
91
92
|
cookies: {
|
|
92
|
-
|
|
93
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
93
94
|
};
|
|
94
95
|
};
|
|
95
96
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -115,7 +116,7 @@ export declare const Api: {
|
|
|
115
116
|
redirect_to: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
|
|
116
117
|
};
|
|
117
118
|
cookies: {
|
|
118
|
-
|
|
119
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
119
120
|
};
|
|
120
121
|
};
|
|
121
122
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -156,7 +157,7 @@ export declare const Api: {
|
|
|
156
157
|
GET: {
|
|
157
158
|
req: {
|
|
158
159
|
cookies: {
|
|
159
|
-
|
|
160
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
160
161
|
};
|
|
161
162
|
};
|
|
162
163
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -179,7 +180,7 @@ export declare const Api: {
|
|
|
179
180
|
redirect_to: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
|
|
180
181
|
};
|
|
181
182
|
cookies: {
|
|
182
|
-
|
|
183
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
183
184
|
};
|
|
184
185
|
};
|
|
185
186
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -191,13 +192,14 @@ export declare const Api: {
|
|
|
191
192
|
status: z.ZodLiteral<302>;
|
|
192
193
|
redirectTo: z.ZodString;
|
|
193
194
|
cookies: z.ZodObject<{
|
|
194
|
-
|
|
195
|
+
val_enable: z.ZodObject<{
|
|
195
196
|
value: z.ZodLiteral<"true">;
|
|
196
197
|
options: z.ZodObject<{
|
|
197
198
|
httpOnly: z.ZodLiteral<false>;
|
|
198
199
|
sameSite: z.ZodLiteral<"lax">;
|
|
199
200
|
}, z.core.$strip>;
|
|
200
|
-
}, z.core.$strip
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
val_state: z.ZodObject<{
|
|
201
203
|
value: z.ZodString;
|
|
202
204
|
options: z.ZodObject<{
|
|
203
205
|
httpOnly: z.ZodLiteral<true>;
|
|
@@ -210,7 +212,7 @@ export declare const Api: {
|
|
|
210
212
|
status: z.ZodLiteral<302>;
|
|
211
213
|
redirectTo: z.ZodString;
|
|
212
214
|
cookies: z.ZodObject<{
|
|
213
|
-
|
|
215
|
+
val_enable: z.ZodObject<{
|
|
214
216
|
value: z.ZodLiteral<"true">;
|
|
215
217
|
options: z.ZodObject<{
|
|
216
218
|
httpOnly: z.ZodLiteral<false>;
|
|
@@ -233,7 +235,7 @@ export declare const Api: {
|
|
|
233
235
|
redirect_to: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
|
|
234
236
|
};
|
|
235
237
|
cookies: {
|
|
236
|
-
|
|
238
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
237
239
|
};
|
|
238
240
|
};
|
|
239
241
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -245,7 +247,7 @@ export declare const Api: {
|
|
|
245
247
|
status: z.ZodLiteral<302>;
|
|
246
248
|
redirectTo: z.ZodString;
|
|
247
249
|
cookies: z.ZodObject<{
|
|
248
|
-
|
|
250
|
+
val_enable: z.ZodObject<{
|
|
249
251
|
value: z.ZodLiteral<"false">;
|
|
250
252
|
}, z.core.$strip>;
|
|
251
253
|
}, z.core.$strip>;
|
|
@@ -268,13 +270,14 @@ export declare const Api: {
|
|
|
268
270
|
status: z.ZodLiteral<302>;
|
|
269
271
|
redirectTo: z.ZodString;
|
|
270
272
|
cookies: z.ZodObject<{
|
|
271
|
-
|
|
273
|
+
val_enable: z.ZodObject<{
|
|
272
274
|
value: z.ZodLiteral<"true">;
|
|
273
275
|
options: z.ZodObject<{
|
|
274
276
|
httpOnly: z.ZodLiteral<false>;
|
|
275
277
|
sameSite: z.ZodLiteral<"lax">;
|
|
276
278
|
}, z.core.$strip>;
|
|
277
|
-
}, z.core.$strip
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
val_state: z.ZodObject<{
|
|
278
281
|
value: z.ZodString;
|
|
279
282
|
options: z.ZodObject<{
|
|
280
283
|
httpOnly: z.ZodLiteral<true>;
|
|
@@ -299,22 +302,24 @@ export declare const Api: {
|
|
|
299
302
|
state: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
|
|
300
303
|
};
|
|
301
304
|
cookies: {
|
|
302
|
-
|
|
305
|
+
val_state: z.ZodString;
|
|
303
306
|
};
|
|
304
307
|
};
|
|
305
308
|
res: z.ZodObject<{
|
|
306
309
|
status: z.ZodLiteral<302>;
|
|
307
310
|
redirectTo: z.ZodString;
|
|
308
311
|
cookies: z.ZodObject<{
|
|
309
|
-
|
|
312
|
+
val_state: z.ZodObject<{
|
|
310
313
|
value: z.ZodLiteral<null>;
|
|
311
|
-
}, z.core.$strip
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
val_enable: z.ZodOptional<z.ZodObject<{
|
|
312
316
|
value: z.ZodLiteral<"true">;
|
|
313
317
|
options: z.ZodObject<{
|
|
314
318
|
httpOnly: z.ZodLiteral<false>;
|
|
315
319
|
sameSite: z.ZodLiteral<"lax">;
|
|
316
320
|
}, z.core.$strip>;
|
|
317
|
-
}, z.core.$strip
|
|
321
|
+
}, z.core.$strip>>;
|
|
322
|
+
val_session: z.ZodOptional<z.ZodObject<{
|
|
318
323
|
value: z.ZodString;
|
|
319
324
|
options: z.ZodOptional<z.ZodObject<{
|
|
320
325
|
httpOnly: z.ZodLiteral<true>;
|
|
@@ -338,7 +343,17 @@ export declare const Api: {
|
|
|
338
343
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
339
344
|
status: z.ZodLiteral<200>;
|
|
340
345
|
cookies: z.ZodObject<{
|
|
341
|
-
|
|
346
|
+
val_session: z.ZodOptional<z.ZodObject<{
|
|
347
|
+
value: z.ZodString;
|
|
348
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
349
|
+
httpOnly: z.ZodLiteral<true>;
|
|
350
|
+
sameSite: z.ZodLiteral<"strict">;
|
|
351
|
+
path: z.ZodString;
|
|
352
|
+
secure: z.ZodLiteral<true>;
|
|
353
|
+
expires: z.ZodCustom<Date, Date>;
|
|
354
|
+
}, z.core.$strip>>;
|
|
355
|
+
}, z.core.$strip>>;
|
|
356
|
+
val_state: z.ZodOptional<z.ZodObject<{
|
|
342
357
|
value: z.ZodString;
|
|
343
358
|
options: z.ZodOptional<z.ZodObject<{
|
|
344
359
|
httpOnly: z.ZodLiteral<true>;
|
|
@@ -353,7 +368,17 @@ export declare const Api: {
|
|
|
353
368
|
status: z.ZodLiteral<302>;
|
|
354
369
|
redirectTo: z.ZodString;
|
|
355
370
|
cookies: z.ZodObject<{
|
|
356
|
-
|
|
371
|
+
val_session: z.ZodOptional<z.ZodObject<{
|
|
372
|
+
value: z.ZodString;
|
|
373
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
374
|
+
httpOnly: z.ZodLiteral<true>;
|
|
375
|
+
sameSite: z.ZodLiteral<"strict">;
|
|
376
|
+
path: z.ZodString;
|
|
377
|
+
secure: z.ZodLiteral<true>;
|
|
378
|
+
expires: z.ZodCustom<Date, Date>;
|
|
379
|
+
}, z.core.$strip>>;
|
|
380
|
+
}, z.core.$strip>>;
|
|
381
|
+
val_state: z.ZodOptional<z.ZodObject<{
|
|
357
382
|
value: z.ZodString;
|
|
358
383
|
options: z.ZodOptional<z.ZodObject<{
|
|
359
384
|
httpOnly: z.ZodLiteral<true>;
|
|
@@ -474,13 +499,13 @@ export declare const Api: {
|
|
|
474
499
|
baseSha: z.ZodString;
|
|
475
500
|
schemaSha: z.ZodString;
|
|
476
501
|
sourcesSha: z.ZodString;
|
|
477
|
-
patches: z.ZodArray<z.ZodString & z.ZodType<
|
|
478
|
-
appliedPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<
|
|
479
|
-
publishingPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<
|
|
480
|
-
heldBackPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<
|
|
502
|
+
patches: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
503
|
+
appliedPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
504
|
+
publishingPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
505
|
+
heldBackPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
481
506
|
headCommitSha: z.ZodOptional<z.ZodString>;
|
|
482
507
|
removed: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
483
|
-
patchId: z.ZodString & z.ZodType<
|
|
508
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
484
509
|
reason: z.ZodString;
|
|
485
510
|
}, z.core.$strip>>>;
|
|
486
511
|
config: z.ZodObject<{
|
|
@@ -514,12 +539,12 @@ export declare const Api: {
|
|
|
514
539
|
schemaSha: z.ZodString;
|
|
515
540
|
sourcesSha: z.ZodString;
|
|
516
541
|
commitSha: z.ZodOptional<z.ZodString>;
|
|
517
|
-
patches: z.ZodArray<z.ZodString & z.ZodType<
|
|
518
|
-
appliedPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<
|
|
519
|
-
publishingPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<
|
|
520
|
-
heldBackPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<
|
|
542
|
+
patches: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
543
|
+
appliedPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
544
|
+
publishingPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
545
|
+
heldBackPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
521
546
|
headCommitSha: z.ZodOptional<z.ZodString>;
|
|
522
|
-
headPatchId: z.ZodOptional<z.ZodNullable<z.ZodString & z.ZodType<
|
|
547
|
+
headPatchId: z.ZodOptional<z.ZodNullable<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
523
548
|
headVersion: z.ZodOptional<z.ZodNumber>;
|
|
524
549
|
commits: z.ZodArray<z.ZodObject<{
|
|
525
550
|
commitSha: z.ZodString;
|
|
@@ -685,7 +710,7 @@ export declare const Api: {
|
|
|
685
710
|
headBaseSha: z.ZodString;
|
|
686
711
|
}, z.core.$strip>, z.ZodObject<{
|
|
687
712
|
type: z.ZodLiteral<"patch">;
|
|
688
|
-
patchId: z.ZodString & z.ZodType<
|
|
713
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
689
714
|
}, z.core.$strip>]>;
|
|
690
715
|
filePath: z.ZodString;
|
|
691
716
|
data: z.ZodAny;
|
|
@@ -703,7 +728,7 @@ export declare const Api: {
|
|
|
703
728
|
status: z.ZodLiteral<200>;
|
|
704
729
|
json: z.ZodObject<{
|
|
705
730
|
filePath: z.ZodString;
|
|
706
|
-
patchId: z.ZodString & z.ZodType<
|
|
731
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
707
732
|
}, z.core.$strip>;
|
|
708
733
|
}, z.core.$strip>]>;
|
|
709
734
|
};
|
|
@@ -794,7 +819,7 @@ export declare const Api: {
|
|
|
794
819
|
DELETE: {
|
|
795
820
|
req: {
|
|
796
821
|
query: {
|
|
797
|
-
id: z.ZodArray<z.ZodString & z.ZodType<
|
|
822
|
+
id: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
798
823
|
};
|
|
799
824
|
body: z.ZodOptional<z.ZodObject<{
|
|
800
825
|
reportHeadVersion: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -813,7 +838,7 @@ export declare const Api: {
|
|
|
813
838
|
json: z.ZodObject<{
|
|
814
839
|
message: z.ZodString;
|
|
815
840
|
errors: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
816
|
-
patchId: z.ZodString & z.ZodType<
|
|
841
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
817
842
|
message: z.ZodString;
|
|
818
843
|
publishJobId: z.ZodOptional<z.ZodString>;
|
|
819
844
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -823,8 +848,8 @@ export declare const Api: {
|
|
|
823
848
|
}, z.core.$strip>;
|
|
824
849
|
}, z.core.$strip>, z.ZodObject<{
|
|
825
850
|
status: z.ZodLiteral<200>;
|
|
826
|
-
json: z.ZodUnion<readonly [z.ZodArray<z.ZodString & z.ZodType<
|
|
827
|
-
deleted: z.ZodArray<z.ZodString & z.ZodType<
|
|
851
|
+
json: z.ZodUnion<readonly [z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>, z.ZodObject<{
|
|
852
|
+
deleted: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
828
853
|
headVersion: z.ZodOptional<z.ZodNumber>;
|
|
829
854
|
}, z.core.$strip>]>;
|
|
830
855
|
}, z.core.$strip>]>;
|
|
@@ -837,12 +862,12 @@ export declare const Api: {
|
|
|
837
862
|
headBaseSha: z.ZodString;
|
|
838
863
|
}, z.core.$strip>, z.ZodObject<{
|
|
839
864
|
type: z.ZodLiteral<"patch">;
|
|
840
|
-
patchId: z.ZodString & z.ZodType<
|
|
865
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
841
866
|
}, z.core.$strip>]>;
|
|
842
867
|
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
843
868
|
patches: z.ZodArray<z.ZodObject<{
|
|
844
869
|
path: z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>;
|
|
845
|
-
patchId: z.ZodString & z.ZodType<
|
|
870
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
846
871
|
patch: z.ZodAny;
|
|
847
872
|
}, z.core.$strip>>;
|
|
848
873
|
}, z.core.$strip>;
|
|
@@ -883,26 +908,26 @@ export declare const Api: {
|
|
|
883
908
|
until: z.ZodOptional<z.ZodString>;
|
|
884
909
|
billingUrl: z.ZodOptional<z.ZodString>;
|
|
885
910
|
}, z.core.$strip>;
|
|
886
|
-
newPatchIds: z.ZodArray<z.ZodString & z.ZodType<
|
|
911
|
+
newPatchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
887
912
|
parentRef: z.ZodUnion<readonly [z.ZodObject<{
|
|
888
913
|
type: z.ZodLiteral<"head">;
|
|
889
914
|
headBaseSha: z.ZodString;
|
|
890
915
|
}, z.core.$strip>, z.ZodObject<{
|
|
891
916
|
type: z.ZodLiteral<"patch">;
|
|
892
|
-
patchId: z.ZodString & z.ZodType<
|
|
917
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
893
918
|
}, z.core.$strip>]>;
|
|
894
919
|
headVersion: z.ZodOptional<z.ZodNumber>;
|
|
895
920
|
}, z.core.$strip>;
|
|
896
921
|
}, z.core.$strip>, z.ZodObject<{
|
|
897
922
|
status: z.ZodLiteral<200>;
|
|
898
923
|
json: z.ZodObject<{
|
|
899
|
-
newPatchIds: z.ZodArray<z.ZodString & z.ZodType<
|
|
924
|
+
newPatchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
900
925
|
parentRef: z.ZodUnion<readonly [z.ZodObject<{
|
|
901
926
|
type: z.ZodLiteral<"head">;
|
|
902
927
|
headBaseSha: z.ZodString;
|
|
903
928
|
}, z.core.$strip>, z.ZodObject<{
|
|
904
929
|
type: z.ZodLiteral<"patch">;
|
|
905
|
-
patchId: z.ZodString & z.ZodType<
|
|
930
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
906
931
|
}, z.core.$strip>]>;
|
|
907
932
|
headVersion: z.ZodOptional<z.ZodNumber>;
|
|
908
933
|
}, z.core.$strip>;
|
|
@@ -911,7 +936,7 @@ export declare const Api: {
|
|
|
911
936
|
GET: {
|
|
912
937
|
req: {
|
|
913
938
|
query: {
|
|
914
|
-
patch_id: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<
|
|
939
|
+
patch_id: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
915
940
|
exclude_patch_ops: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>> & z.ZodType<"true" | "false", string[], z.core.$ZodTypeInternals<"true" | "false", string[]>>, z.ZodTransform<boolean, "true" | "false">>>;
|
|
916
941
|
};
|
|
917
942
|
cookies: {
|
|
@@ -928,7 +953,7 @@ export declare const Api: {
|
|
|
928
953
|
json: z.ZodObject<{
|
|
929
954
|
message: z.ZodString;
|
|
930
955
|
patchErrors: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
931
|
-
patchId: z.ZodString & z.ZodType<
|
|
956
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
932
957
|
message: z.ZodString;
|
|
933
958
|
publishJobId: z.ZodOptional<z.ZodString>;
|
|
934
959
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -952,14 +977,14 @@ export declare const Api: {
|
|
|
952
977
|
patch: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
953
978
|
op: z.ZodLiteral<"add">;
|
|
954
979
|
path: z.ZodArray<z.ZodString>;
|
|
955
|
-
value: z.ZodType<
|
|
980
|
+
value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
|
|
956
981
|
}, z.core.$strict>, z.ZodObject<{
|
|
957
982
|
op: z.ZodLiteral<"remove">;
|
|
958
983
|
path: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
959
984
|
}, z.core.$strict>, z.ZodObject<{
|
|
960
985
|
op: z.ZodLiteral<"replace">;
|
|
961
986
|
path: z.ZodArray<z.ZodString>;
|
|
962
|
-
value: z.ZodType<
|
|
987
|
+
value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
|
|
963
988
|
}, z.core.$strict>, z.ZodObject<{
|
|
964
989
|
op: z.ZodLiteral<"move">;
|
|
965
990
|
from: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
@@ -971,17 +996,17 @@ export declare const Api: {
|
|
|
971
996
|
}, z.core.$strict>, z.ZodObject<{
|
|
972
997
|
op: z.ZodLiteral<"test">;
|
|
973
998
|
path: z.ZodArray<z.ZodString>;
|
|
974
|
-
value: z.ZodType<
|
|
999
|
+
value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
|
|
975
1000
|
}, z.core.$strict>, z.ZodObject<{
|
|
976
1001
|
op: z.ZodLiteral<"file">;
|
|
977
1002
|
path: z.ZodArray<z.ZodString>;
|
|
978
1003
|
filePath: z.ZodString;
|
|
979
|
-
value: z.ZodType<
|
|
1004
|
+
value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
|
|
980
1005
|
remote: z.ZodBoolean;
|
|
981
1006
|
nestedFilePath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
982
|
-
metadata: z.ZodOptional<z.ZodType<
|
|
1007
|
+
metadata: z.ZodOptional<z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>>;
|
|
983
1008
|
}, z.core.$strict>], "op">>>;
|
|
984
|
-
patchId: z.ZodString & z.ZodType<
|
|
1009
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
985
1010
|
createdAt: z.ZodString;
|
|
986
1011
|
authorId: z.ZodNullable<z.ZodString>;
|
|
987
1012
|
appliedAt: z.ZodNullable<z.ZodObject<{
|
|
@@ -992,7 +1017,7 @@ export declare const Api: {
|
|
|
992
1017
|
error: z.ZodOptional<z.ZodObject<{
|
|
993
1018
|
message: z.ZodString;
|
|
994
1019
|
}, z.core.$strip>>;
|
|
995
|
-
errors: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<
|
|
1020
|
+
errors: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>, z.ZodObject<{
|
|
996
1021
|
message: z.ZodString;
|
|
997
1022
|
}, z.core.$strip>>>;
|
|
998
1023
|
}, z.core.$strip>;
|
|
@@ -1032,7 +1057,7 @@ export declare const Api: {
|
|
|
1032
1057
|
status: z.ZodLiteral<200>;
|
|
1033
1058
|
json: z.ZodObject<{
|
|
1034
1059
|
schemaSha: z.ZodString;
|
|
1035
|
-
schemas: z.ZodRecord<z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>, z.ZodType<
|
|
1060
|
+
schemas: z.ZodRecord<z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>, z.ZodType<import("@valbuild/core").SerializedSchema, unknown, z.core.$ZodTypeInternals<import("@valbuild/core").SerializedSchema, unknown>>>;
|
|
1036
1061
|
}, z.core.$strip>;
|
|
1037
1062
|
}, z.core.$strip>]>;
|
|
1038
1063
|
};
|
|
@@ -1096,9 +1121,9 @@ export declare const Api: {
|
|
|
1096
1121
|
source: z.ZodOptional<z.ZodAny>;
|
|
1097
1122
|
baseSource: z.ZodOptional<z.ZodAny>;
|
|
1098
1123
|
patches: z.ZodOptional<z.ZodObject<{
|
|
1099
|
-
applied: z.ZodArray<z.ZodString & z.ZodType<
|
|
1100
|
-
skipped: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<
|
|
1101
|
-
errors: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<
|
|
1124
|
+
applied: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
1125
|
+
skipped: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
1126
|
+
errors: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>, z.ZodObject<{
|
|
1102
1127
|
message: z.ZodString;
|
|
1103
1128
|
}, z.core.$strip>>>;
|
|
1104
1129
|
}, z.core.$strip>>;
|
|
@@ -1106,7 +1131,7 @@ export declare const Api: {
|
|
|
1106
1131
|
message: z.ZodString;
|
|
1107
1132
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1108
1133
|
fatal: z.ZodOptional<z.ZodBoolean>;
|
|
1109
|
-
fixes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
1134
|
+
fixes: z.ZodOptional<z.ZodArray<z.ZodType<"image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "images:check-remote" | "images:upload-remote" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "files:check-remote" | "files:upload-remote" | "video:add-metadata" | "video:upload-remote" | "video:download-remote" | "videos:add-metadata" | "videos:check-remote" | "videos:upload-remote" | "keyof:check-keys" | "image:check-gallery" | "file:check-gallery" | "video:check-gallery" | "router:check-route" | "locale:check-locale" | "router:check-locale-param" | "images:check-unique-folder" | "files:check-unique-folder" | "images:check-all-files" | "files:check-all-files" | "videos:check-unique-folder" | "videos:check-all-files" | "jsonValues:extract-entry" | "record:fill-keys" | "external:upload" | "view:check-module" | "remote:rewrite-host", unknown, z.core.$ZodTypeInternals<"image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "images:check-remote" | "images:upload-remote" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "files:check-remote" | "files:upload-remote" | "video:add-metadata" | "video:upload-remote" | "video:download-remote" | "videos:add-metadata" | "videos:check-remote" | "videos:upload-remote" | "keyof:check-keys" | "image:check-gallery" | "file:check-gallery" | "video:check-gallery" | "router:check-route" | "locale:check-locale" | "router:check-locale-param" | "images:check-unique-folder" | "files:check-unique-folder" | "images:check-all-files" | "files:check-all-files" | "videos:check-unique-folder" | "videos:check-all-files" | "jsonValues:extract-entry" | "record:fill-keys" | "external:upload" | "view:check-module" | "remote:rewrite-host", unknown>>>>;
|
|
1110
1135
|
}, z.core.$strip>>>>;
|
|
1111
1136
|
}, z.core.$strip>>;
|
|
1112
1137
|
}, z.core.$strip>;
|
|
@@ -1123,7 +1148,7 @@ export declare const Api: {
|
|
|
1123
1148
|
req: {
|
|
1124
1149
|
body: z.ZodObject<{
|
|
1125
1150
|
moduleFilePath: z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>;
|
|
1126
|
-
patchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<
|
|
1151
|
+
patchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
1127
1152
|
}, z.core.$strip>;
|
|
1128
1153
|
cookies: {
|
|
1129
1154
|
val_session: z.ZodOptional<z.ZodString>;
|
|
@@ -1157,14 +1182,14 @@ export declare const Api: {
|
|
|
1157
1182
|
message: z.ZodString;
|
|
1158
1183
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1159
1184
|
fatal: z.ZodOptional<z.ZodBoolean>;
|
|
1160
|
-
fixes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
1185
|
+
fixes: z.ZodOptional<z.ZodArray<z.ZodType<"image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "images:check-remote" | "images:upload-remote" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "files:check-remote" | "files:upload-remote" | "video:add-metadata" | "video:upload-remote" | "video:download-remote" | "videos:add-metadata" | "videos:check-remote" | "videos:upload-remote" | "keyof:check-keys" | "image:check-gallery" | "file:check-gallery" | "video:check-gallery" | "router:check-route" | "locale:check-locale" | "router:check-locale-param" | "images:check-unique-folder" | "files:check-unique-folder" | "images:check-all-files" | "files:check-all-files" | "videos:check-unique-folder" | "videos:check-all-files" | "jsonValues:extract-entry" | "record:fill-keys" | "external:upload" | "view:check-module" | "remote:rewrite-host", unknown, z.core.$ZodTypeInternals<"image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "images:check-remote" | "images:upload-remote" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "files:check-remote" | "files:upload-remote" | "video:add-metadata" | "video:upload-remote" | "video:download-remote" | "videos:add-metadata" | "videos:check-remote" | "videos:upload-remote" | "keyof:check-keys" | "image:check-gallery" | "file:check-gallery" | "video:check-gallery" | "router:check-route" | "locale:check-locale" | "router:check-locale-param" | "images:check-unique-folder" | "files:check-unique-folder" | "images:check-all-files" | "files:check-all-files" | "videos:check-unique-folder" | "videos:check-all-files" | "jsonValues:extract-entry" | "record:fill-keys" | "external:upload" | "view:check-module" | "remote:rewrite-host", unknown>>>>;
|
|
1161
1186
|
}, z.core.$strip>>>;
|
|
1162
1187
|
invalidSource: z.ZodOptional<z.ZodString>;
|
|
1163
1188
|
remoteHosts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1164
1189
|
host: z.ZodString;
|
|
1165
1190
|
status: z.ZodUnion<readonly [z.ZodLiteral<"missing">, z.ZodLiteral<"unreachable">]>;
|
|
1166
1191
|
details: z.ZodString;
|
|
1167
|
-
sourcePaths: z.ZodArray<z.ZodType<
|
|
1192
|
+
sourcePaths: z.ZodArray<z.ZodType<import("@valbuild/core").SourcePath, unknown, z.core.$ZodTypeInternals<import("@valbuild/core").SourcePath, unknown>>>;
|
|
1168
1193
|
}, z.core.$strip>>>;
|
|
1169
1194
|
}, z.core.$strip>;
|
|
1170
1195
|
}, z.core.$strip>]>;
|
|
@@ -1181,9 +1206,9 @@ export declare const Api: {
|
|
|
1181
1206
|
req: {
|
|
1182
1207
|
body: z.ZodObject<{
|
|
1183
1208
|
moduleFilePath: z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>;
|
|
1184
|
-
sourcePath: z.ZodType<
|
|
1185
|
-
fix: z.ZodType<
|
|
1186
|
-
patchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<
|
|
1209
|
+
sourcePath: z.ZodType<import("@valbuild/core").SourcePath, unknown, z.core.$ZodTypeInternals<import("@valbuild/core").SourcePath, unknown>>;
|
|
1210
|
+
fix: z.ZodType<"image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "images:check-remote" | "images:upload-remote" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "files:check-remote" | "files:upload-remote" | "video:add-metadata" | "video:upload-remote" | "video:download-remote" | "videos:add-metadata" | "videos:check-remote" | "videos:upload-remote" | "keyof:check-keys" | "image:check-gallery" | "file:check-gallery" | "video:check-gallery" | "router:check-route" | "locale:check-locale" | "router:check-locale-param" | "images:check-unique-folder" | "files:check-unique-folder" | "images:check-all-files" | "files:check-all-files" | "videos:check-unique-folder" | "videos:check-all-files" | "jsonValues:extract-entry" | "record:fill-keys" | "external:upload" | "view:check-module" | "remote:rewrite-host", unknown, z.core.$ZodTypeInternals<"image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "images:check-remote" | "images:upload-remote" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "files:check-remote" | "files:upload-remote" | "video:add-metadata" | "video:upload-remote" | "video:download-remote" | "videos:add-metadata" | "videos:check-remote" | "videos:upload-remote" | "keyof:check-keys" | "image:check-gallery" | "file:check-gallery" | "video:check-gallery" | "router:check-route" | "locale:check-locale" | "router:check-locale-param" | "images:check-unique-folder" | "files:check-unique-folder" | "images:check-all-files" | "files:check-all-files" | "videos:check-unique-folder" | "videos:check-all-files" | "jsonValues:extract-entry" | "record:fill-keys" | "external:upload" | "view:check-module" | "remote:rewrite-host", unknown>>;
|
|
1211
|
+
patchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
|
|
1187
1212
|
}, z.core.$strip>;
|
|
1188
1213
|
cookies: {
|
|
1189
1214
|
val_session: z.ZodOptional<z.ZodString>;
|
|
@@ -1220,14 +1245,14 @@ export declare const Api: {
|
|
|
1220
1245
|
patch: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1221
1246
|
op: z.ZodLiteral<"add">;
|
|
1222
1247
|
path: z.ZodArray<z.ZodString>;
|
|
1223
|
-
value: z.ZodType<
|
|
1248
|
+
value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
|
|
1224
1249
|
}, z.core.$strict>, z.ZodObject<{
|
|
1225
1250
|
op: z.ZodLiteral<"remove">;
|
|
1226
1251
|
path: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
1227
1252
|
}, z.core.$strict>, z.ZodObject<{
|
|
1228
1253
|
op: z.ZodLiteral<"replace">;
|
|
1229
1254
|
path: z.ZodArray<z.ZodString>;
|
|
1230
|
-
value: z.ZodType<
|
|
1255
|
+
value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
|
|
1231
1256
|
}, z.core.$strict>, z.ZodObject<{
|
|
1232
1257
|
op: z.ZodLiteral<"move">;
|
|
1233
1258
|
from: z.ZodTuple<[z.ZodString], z.ZodString>;
|
|
@@ -1239,21 +1264,21 @@ export declare const Api: {
|
|
|
1239
1264
|
}, z.core.$strict>, z.ZodObject<{
|
|
1240
1265
|
op: z.ZodLiteral<"test">;
|
|
1241
1266
|
path: z.ZodArray<z.ZodString>;
|
|
1242
|
-
value: z.ZodType<
|
|
1267
|
+
value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
|
|
1243
1268
|
}, z.core.$strict>, z.ZodObject<{
|
|
1244
1269
|
op: z.ZodLiteral<"file">;
|
|
1245
1270
|
path: z.ZodArray<z.ZodString>;
|
|
1246
1271
|
filePath: z.ZodString;
|
|
1247
|
-
value: z.ZodType<
|
|
1272
|
+
value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
|
|
1248
1273
|
remote: z.ZodBoolean;
|
|
1249
1274
|
nestedFilePath: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1250
|
-
metadata: z.ZodOptional<z.ZodType<
|
|
1275
|
+
metadata: z.ZodOptional<z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>>;
|
|
1251
1276
|
}, z.core.$strict>], "op">>;
|
|
1252
1277
|
remainingErrors: z.ZodArray<z.ZodObject<{
|
|
1253
1278
|
message: z.ZodString;
|
|
1254
1279
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1255
1280
|
fatal: z.ZodOptional<z.ZodBoolean>;
|
|
1256
|
-
fixes: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
1281
|
+
fixes: z.ZodOptional<z.ZodArray<z.ZodType<"image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "images:check-remote" | "images:upload-remote" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "files:check-remote" | "files:upload-remote" | "video:add-metadata" | "video:upload-remote" | "video:download-remote" | "videos:add-metadata" | "videos:check-remote" | "videos:upload-remote" | "keyof:check-keys" | "image:check-gallery" | "file:check-gallery" | "video:check-gallery" | "router:check-route" | "locale:check-locale" | "router:check-locale-param" | "images:check-unique-folder" | "files:check-unique-folder" | "images:check-all-files" | "files:check-all-files" | "videos:check-unique-folder" | "videos:check-all-files" | "jsonValues:extract-entry" | "record:fill-keys" | "external:upload" | "view:check-module" | "remote:rewrite-host", unknown, z.core.$ZodTypeInternals<"image:add-metadata" | "image:check-metadata" | "image:upload-remote" | "image:download-remote" | "image:check-remote" | "images:check-remote" | "images:upload-remote" | "file:add-metadata" | "file:check-metadata" | "file:upload-remote" | "file:download-remote" | "file:check-remote" | "files:check-remote" | "files:upload-remote" | "video:add-metadata" | "video:upload-remote" | "video:download-remote" | "videos:add-metadata" | "videos:check-remote" | "videos:upload-remote" | "keyof:check-keys" | "image:check-gallery" | "file:check-gallery" | "video:check-gallery" | "router:check-route" | "locale:check-locale" | "router:check-locale-param" | "images:check-unique-folder" | "files:check-unique-folder" | "images:check-all-files" | "files:check-all-files" | "videos:check-unique-folder" | "videos:check-all-files" | "jsonValues:extract-entry" | "record:fill-keys" | "external:upload" | "view:check-module" | "remote:rewrite-host", unknown>>>>;
|
|
1257
1282
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1258
1283
|
}, z.core.$strip>>;
|
|
1259
1284
|
}, z.core.$strip>;
|
|
@@ -1266,7 +1291,7 @@ export declare const Api: {
|
|
|
1266
1291
|
body: z.ZodObject<{
|
|
1267
1292
|
jobId: z.ZodString;
|
|
1268
1293
|
tab: z.ZodString;
|
|
1269
|
-
patchIds: z.ZodArray<z.ZodString & z.ZodType<
|
|
1294
|
+
patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
1270
1295
|
}, z.core.$strip>;
|
|
1271
1296
|
cookies: {
|
|
1272
1297
|
val_session: z.ZodOptional<z.ZodString>;
|
|
@@ -1397,7 +1422,7 @@ export declare const Api: {
|
|
|
1397
1422
|
POST: {
|
|
1398
1423
|
req: {
|
|
1399
1424
|
body: z.ZodObject<{
|
|
1400
|
-
patchIds: z.ZodArray<z.ZodString & z.ZodType<
|
|
1425
|
+
patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
1401
1426
|
displayName: z.ZodString;
|
|
1402
1427
|
requestId: z.ZodString;
|
|
1403
1428
|
}, z.core.$strip>;
|
|
@@ -1445,7 +1470,7 @@ export declare const Api: {
|
|
|
1445
1470
|
req: {
|
|
1446
1471
|
body: z.ZodObject<{
|
|
1447
1472
|
message: z.ZodOptional<z.ZodString>;
|
|
1448
|
-
patchIds: z.ZodArray<z.ZodString & z.ZodType<
|
|
1473
|
+
patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
1449
1474
|
expectedHeadCommitSha: z.ZodOptional<z.ZodString>;
|
|
1450
1475
|
}, z.core.$strip>;
|
|
1451
1476
|
cookies: {
|
|
@@ -1466,7 +1491,7 @@ export declare const Api: {
|
|
|
1466
1491
|
branch: z.ZodOptional<z.ZodString>;
|
|
1467
1492
|
binaryFilesUnread: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1468
1493
|
removed: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1469
|
-
patchId: z.ZodString & z.ZodType<
|
|
1494
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
1470
1495
|
moduleFilePath: z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>;
|
|
1471
1496
|
message: z.ZodString;
|
|
1472
1497
|
}, z.core.$strip>>>;
|
|
@@ -1505,7 +1530,7 @@ export declare const Api: {
|
|
|
1505
1530
|
binaryFilePatchErrors: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1506
1531
|
message: z.ZodString;
|
|
1507
1532
|
}, z.core.$strip>>;
|
|
1508
|
-
unappliablePatches: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<
|
|
1533
|
+
unappliablePatches: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>, z.ZodObject<{
|
|
1509
1534
|
moduleFilePath: z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>;
|
|
1510
1535
|
message: z.ZodString;
|
|
1511
1536
|
}, z.core.$strip>>>;
|
|
@@ -1631,9 +1656,9 @@ export declare const Api: {
|
|
|
1631
1656
|
hasArchive: z.ZodBoolean;
|
|
1632
1657
|
}, z.core.$strip>;
|
|
1633
1658
|
modules: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1634
|
-
source: z.ZodNullable<z.ZodType<
|
|
1635
|
-
schema: z.ZodNullable<z.ZodType<
|
|
1636
|
-
patchIds: z.ZodArray<z.ZodString & z.ZodType<
|
|
1659
|
+
source: z.ZodNullable<z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>>;
|
|
1660
|
+
schema: z.ZodNullable<z.ZodType<import("@valbuild/core").SerializedSchema, unknown, z.core.$ZodTypeInternals<import("@valbuild/core").SerializedSchema, unknown>>>;
|
|
1661
|
+
patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
1637
1662
|
changedPaths: z.ZodArray<z.ZodString>;
|
|
1638
1663
|
failures: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1639
1664
|
kind: z.ZodLiteral<"commit-not-found">;
|
|
@@ -1661,7 +1686,7 @@ export declare const Api: {
|
|
|
1661
1686
|
}, z.core.$strip>], "kind">>;
|
|
1662
1687
|
}, z.core.$strip>>;
|
|
1663
1688
|
patches: z.ZodArray<z.ZodObject<{
|
|
1664
|
-
patchId: z.ZodString & z.ZodType<
|
|
1689
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
1665
1690
|
moduleFilePath: z.ZodString;
|
|
1666
1691
|
patch: z.ZodUnknown;
|
|
1667
1692
|
authorId: z.ZodNullable<z.ZodString>;
|
|
@@ -1751,9 +1776,9 @@ export declare const Api: {
|
|
|
1751
1776
|
json: z.ZodObject<{
|
|
1752
1777
|
moduleFilePath: z.ZodString;
|
|
1753
1778
|
module: z.ZodNullable<z.ZodObject<{
|
|
1754
|
-
source: z.ZodNullable<z.ZodType<
|
|
1755
|
-
schema: z.ZodNullable<z.ZodType<
|
|
1756
|
-
patchIds: z.ZodArray<z.ZodString & z.ZodType<
|
|
1779
|
+
source: z.ZodNullable<z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>>;
|
|
1780
|
+
schema: z.ZodNullable<z.ZodType<import("@valbuild/core").SerializedSchema, unknown, z.core.$ZodTypeInternals<import("@valbuild/core").SerializedSchema, unknown>>>;
|
|
1781
|
+
patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
|
|
1757
1782
|
changedPaths: z.ZodArray<z.ZodString>;
|
|
1758
1783
|
failures: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1759
1784
|
kind: z.ZodLiteral<"commit-not-found">;
|
|
@@ -1904,7 +1929,11 @@ export declare const Api: {
|
|
|
1904
1929
|
req: {
|
|
1905
1930
|
path: z.ZodString;
|
|
1906
1931
|
query: {
|
|
1907
|
-
patch_id: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString & z.ZodType<
|
|
1932
|
+
patch_id: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>, z.ZodTransform<string & {
|
|
1933
|
+
VAL_DATA_TYPE: "PatchId";
|
|
1934
|
+
}, (string & {
|
|
1935
|
+
VAL_DATA_TYPE: "PatchId";
|
|
1936
|
+
})[]>>>;
|
|
1908
1937
|
remote: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
|
|
1909
1938
|
};
|
|
1910
1939
|
headers: {
|
|
@@ -1947,7 +1976,7 @@ export declare const Api: {
|
|
|
1947
1976
|
apply_patches: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>> & z.ZodType<"true" | "false", string[], z.core.$ZodTypeInternals<"true" | "false", string[]>>, z.ZodTransform<boolean, "true" | "false">>>;
|
|
1948
1977
|
};
|
|
1949
1978
|
cookies: {
|
|
1950
|
-
|
|
1979
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
1951
1980
|
};
|
|
1952
1981
|
};
|
|
1953
1982
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2001,7 +2030,7 @@ export declare const Api: {
|
|
|
2001
2030
|
POST: {
|
|
2002
2031
|
req: {
|
|
2003
2032
|
cookies: {
|
|
2004
|
-
|
|
2033
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2005
2034
|
};
|
|
2006
2035
|
};
|
|
2007
2036
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2045,7 +2074,7 @@ export declare const Api: {
|
|
|
2045
2074
|
proposal: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
|
|
2046
2075
|
};
|
|
2047
2076
|
cookies: {
|
|
2048
|
-
|
|
2077
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2049
2078
|
};
|
|
2050
2079
|
};
|
|
2051
2080
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2082,7 +2111,7 @@ export declare const Api: {
|
|
|
2082
2111
|
name: z.ZodString;
|
|
2083
2112
|
}, z.core.$strip>;
|
|
2084
2113
|
cookies: {
|
|
2085
|
-
|
|
2114
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2086
2115
|
};
|
|
2087
2116
|
};
|
|
2088
2117
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2111,7 +2140,7 @@ export declare const Api: {
|
|
|
2111
2140
|
cursor_id: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
|
|
2112
2141
|
};
|
|
2113
2142
|
cookies: {
|
|
2114
|
-
|
|
2143
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2115
2144
|
};
|
|
2116
2145
|
};
|
|
2117
2146
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2157,13 +2186,13 @@ export declare const Api: {
|
|
|
2157
2186
|
POST: {
|
|
2158
2187
|
req: {
|
|
2159
2188
|
body: z.ZodObject<{
|
|
2160
|
-
patchId: z.ZodString & z.ZodType<
|
|
2189
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
2161
2190
|
parentRef: z.ZodUnion<readonly [z.ZodObject<{
|
|
2162
2191
|
type: z.ZodLiteral<"head">;
|
|
2163
2192
|
headBaseSha: z.ZodString;
|
|
2164
2193
|
}, z.core.$strip>, z.ZodObject<{
|
|
2165
2194
|
type: z.ZodLiteral<"patch">;
|
|
2166
|
-
patchId: z.ZodString & z.ZodType<
|
|
2195
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
2167
2196
|
}, z.core.$strip>]>;
|
|
2168
2197
|
files: z.ZodArray<z.ZodObject<{
|
|
2169
2198
|
filePath: z.ZodString;
|
|
@@ -2172,7 +2201,7 @@ export declare const Api: {
|
|
|
2172
2201
|
}, z.core.$strip>>;
|
|
2173
2202
|
}, z.core.$strip>;
|
|
2174
2203
|
cookies: {
|
|
2175
|
-
|
|
2204
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2176
2205
|
};
|
|
2177
2206
|
};
|
|
2178
2207
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2183,7 +2212,7 @@ export declare const Api: {
|
|
|
2183
2212
|
}, z.core.$strip>, z.ZodObject<{
|
|
2184
2213
|
status: z.ZodLiteral<200>;
|
|
2185
2214
|
json: z.ZodObject<{
|
|
2186
|
-
patchId: z.ZodString & z.ZodType<
|
|
2215
|
+
patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
|
|
2187
2216
|
files: z.ZodArray<z.ZodObject<{
|
|
2188
2217
|
filePath: z.ZodString;
|
|
2189
2218
|
metadata: z.ZodObject<{
|
|
@@ -2219,7 +2248,7 @@ export declare const Api: {
|
|
|
2219
2248
|
contentType: z.ZodString;
|
|
2220
2249
|
}, z.core.$strip>;
|
|
2221
2250
|
cookies: {
|
|
2222
|
-
|
|
2251
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2223
2252
|
};
|
|
2224
2253
|
};
|
|
2225
2254
|
res: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2244,7 +2273,7 @@ export declare const Api: {
|
|
|
2244
2273
|
GET: {
|
|
2245
2274
|
req: {
|
|
2246
2275
|
cookies: {
|
|
2247
|
-
|
|
2276
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2248
2277
|
};
|
|
2249
2278
|
};
|
|
2250
2279
|
res: z.ZodObject<{
|
|
@@ -2268,7 +2297,7 @@ export declare const Api: {
|
|
|
2268
2297
|
"x-val-studio": z.ZodOptional<z.ZodString>;
|
|
2269
2298
|
};
|
|
2270
2299
|
cookies: {
|
|
2271
|
-
|
|
2300
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2272
2301
|
};
|
|
2273
2302
|
body: z.ZodUnknown;
|
|
2274
2303
|
};
|
|
@@ -2285,7 +2314,7 @@ export declare const Api: {
|
|
|
2285
2314
|
"x-val-studio": z.ZodOptional<z.ZodString>;
|
|
2286
2315
|
};
|
|
2287
2316
|
cookies: {
|
|
2288
|
-
|
|
2317
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2289
2318
|
};
|
|
2290
2319
|
body: z.ZodUnknown;
|
|
2291
2320
|
};
|
|
@@ -2302,7 +2331,7 @@ export declare const Api: {
|
|
|
2302
2331
|
"x-val-studio": z.ZodOptional<z.ZodString>;
|
|
2303
2332
|
};
|
|
2304
2333
|
cookies: {
|
|
2305
|
-
|
|
2334
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2306
2335
|
};
|
|
2307
2336
|
body: z.ZodUnknown;
|
|
2308
2337
|
};
|
|
@@ -2319,7 +2348,7 @@ export declare const Api: {
|
|
|
2319
2348
|
"x-val-studio": z.ZodOptional<z.ZodString>;
|
|
2320
2349
|
};
|
|
2321
2350
|
cookies: {
|
|
2322
|
-
|
|
2351
|
+
val_session: z.ZodOptional<z.ZodString>;
|
|
2323
2352
|
};
|
|
2324
2353
|
body: z.ZodUnknown;
|
|
2325
2354
|
};
|