@valbuild/shared 0.144.0 → 0.144.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @valbuild/shared
2
2
 
3
+ ## 0.144.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#832](https://github.com/valbuild/val/pull/832) [`ab0ea20`](https://github.com/valbuild/val/commit/ab0ea2046e3872c4955f34b363881f76d48d1b1e) Thanks [@freekh](https://github.com/freekh)! - A site served by Val's platform can now be given its content separately from its build. When the platform hands a TanStack app a content version (`VAL_CONTENT`) that differs from what the build bundles, Val renders that content, in the Studio and in draft mode too. It reads it the way it already reads a proposal's saved content.
8
+
9
+ Nothing changes for an app that is not given one, and nothing hands one over yet. This is the reading side of publishing content without rebuilding the site.
10
+
11
+ A version too large for one environment variable can name others under `refs` (`"env://VAL_CONTENT_1"`), each holding one module's Source or one file's text. Only `refs` is resolved, never a string inside your content, and only variables named `VAL_CONTENT_<n>` are read.
12
+
13
+ At a proposal's address, a proposal's saved content is shown over the content version the site serves, so modules the proposal did not change show what the site shows rather than what the build bundles.
14
+
15
+ When Val's platform puts a publish live without building the site, because it changed only content, the Studio shows it being checked and going live instead of "Building".
16
+
17
+ - [#829](https://github.com/valbuild/val/pull/829) [`44a5636`](https://github.com/valbuild/val/commit/44a5636955e005a40f2e6c8544e5cf4378fd0fdf) Thanks [@freekh](https://github.com/freekh)! - Val Studio now shows errors in a gallery's keys, and does not publish them. A remote URL in an `s.imagedir()`, `s.filedir()` or `s.videodir()` gallery that is not `.remote()`, a remote URL that is not valid, or one outside the gallery's directory was hidden in the Studio and did not stop a publish, because it was treated as something saving would repair. Nothing repairs it, so the entry's tile is now marked with the error and publishing waits until it is fixed. `npx val validate` already reports these errors.
18
+
3
19
  ## 0.144.0
4
20
 
5
21
  ### Patch Changes
@@ -1,6 +1,5 @@
1
1
  import { z } from "zod";
2
- import { type ModuleFilePath } from "@valbuild/core";
3
- declare const ModuleFilePath: z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>;
2
+ import { VAL_SESSION_COOKIE, VAL_STATE_COOKIE } from "./server/types.js";
4
3
  /**
5
4
  * The header a request to `/admin/proxy` must carry. A cross-site form or
6
5
  * `<img>` cannot set a custom header, so without it the proxy cannot be driven
@@ -19,7 +18,7 @@ export declare const PatchGroup: z.ZodObject<{
19
18
  authorId: z.ZodNullable<z.ZodString>;
20
19
  createdAt: z.ZodString;
21
20
  publishedAt: z.ZodNullable<z.ZodString>;
22
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
21
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
23
22
  }, z.core.$strip>;
24
23
  export type PatchGroupT = z.infer<typeof PatchGroup>;
25
24
  declare const cookies: z.ZodUnion<readonly [z.ZodLiteral<"val_session">, z.ZodLiteral<"val_enable">, z.ZodLiteral<"val_state">]>;
@@ -54,7 +53,7 @@ export declare const Api: {
54
53
  redirect_to: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
55
54
  };
56
55
  cookies: {
57
- val_session: z.ZodOptional<z.ZodString>;
56
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
58
57
  };
59
58
  };
60
59
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -80,7 +79,7 @@ export declare const Api: {
80
79
  redirect_to: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
81
80
  };
82
81
  cookies: {
83
- val_session: z.ZodOptional<z.ZodString>;
82
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
84
83
  };
85
84
  };
86
85
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -103,7 +102,7 @@ export declare const Api: {
103
102
  GET: {
104
103
  req: {
105
104
  cookies: {
106
- val_session: z.ZodOptional<z.ZodString>;
105
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
107
106
  };
108
107
  };
109
108
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -126,7 +125,7 @@ export declare const Api: {
126
125
  redirect_to: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
127
126
  };
128
127
  cookies: {
129
- val_session: z.ZodOptional<z.ZodString>;
128
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
130
129
  };
131
130
  };
132
131
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -138,14 +137,13 @@ export declare const Api: {
138
137
  status: z.ZodLiteral<302>;
139
138
  redirectTo: z.ZodString;
140
139
  cookies: z.ZodObject<{
141
- val_enable: z.ZodObject<{
140
+ [x: number]: z.ZodObject<{
142
141
  value: z.ZodLiteral<"true">;
143
142
  options: z.ZodObject<{
144
143
  httpOnly: z.ZodLiteral<false>;
145
144
  sameSite: z.ZodLiteral<"lax">;
146
145
  }, z.core.$strip>;
147
- }, z.core.$strip>;
148
- val_state: z.ZodObject<{
146
+ }, z.core.$strip> | z.ZodObject<{
149
147
  value: z.ZodString;
150
148
  options: z.ZodObject<{
151
149
  httpOnly: z.ZodLiteral<true>;
@@ -158,7 +156,7 @@ export declare const Api: {
158
156
  status: z.ZodLiteral<302>;
159
157
  redirectTo: z.ZodString;
160
158
  cookies: z.ZodObject<{
161
- val_enable: z.ZodObject<{
159
+ [x: number]: z.ZodObject<{
162
160
  value: z.ZodLiteral<"true">;
163
161
  options: z.ZodObject<{
164
162
  httpOnly: z.ZodLiteral<false>;
@@ -181,7 +179,7 @@ export declare const Api: {
181
179
  redirect_to: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
182
180
  };
183
181
  cookies: {
184
- val_session: z.ZodOptional<z.ZodString>;
182
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
185
183
  };
186
184
  };
187
185
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -193,7 +191,7 @@ export declare const Api: {
193
191
  status: z.ZodLiteral<302>;
194
192
  redirectTo: z.ZodString;
195
193
  cookies: z.ZodObject<{
196
- val_enable: z.ZodObject<{
194
+ [x: number]: z.ZodObject<{
197
195
  value: z.ZodLiteral<"false">;
198
196
  }, z.core.$strip>;
199
197
  }, z.core.$strip>;
@@ -216,14 +214,13 @@ export declare const Api: {
216
214
  status: z.ZodLiteral<302>;
217
215
  redirectTo: z.ZodString;
218
216
  cookies: z.ZodObject<{
219
- val_enable: z.ZodObject<{
217
+ [x: number]: z.ZodObject<{
220
218
  value: z.ZodLiteral<"true">;
221
219
  options: z.ZodObject<{
222
220
  httpOnly: z.ZodLiteral<false>;
223
221
  sameSite: z.ZodLiteral<"lax">;
224
222
  }, z.core.$strip>;
225
- }, z.core.$strip>;
226
- val_state: z.ZodObject<{
223
+ }, z.core.$strip> | z.ZodObject<{
227
224
  value: z.ZodString;
228
225
  options: z.ZodObject<{
229
226
  httpOnly: z.ZodLiteral<true>;
@@ -248,24 +245,22 @@ export declare const Api: {
248
245
  state: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
249
246
  };
250
247
  cookies: {
251
- val_state: z.ZodString;
248
+ [VAL_STATE_COOKIE]: z.ZodString;
252
249
  };
253
250
  };
254
251
  res: z.ZodObject<{
255
252
  status: z.ZodLiteral<302>;
256
253
  redirectTo: z.ZodString;
257
254
  cookies: z.ZodObject<{
258
- val_state: z.ZodObject<{
255
+ [x: number]: z.ZodObject<{
259
256
  value: z.ZodLiteral<null>;
260
- }, z.core.$strip>;
261
- val_enable: z.ZodOptional<z.ZodObject<{
257
+ }, z.core.$strip> | z.ZodOptional<z.ZodObject<{
262
258
  value: z.ZodLiteral<"true">;
263
259
  options: z.ZodObject<{
264
260
  httpOnly: z.ZodLiteral<false>;
265
261
  sameSite: z.ZodLiteral<"lax">;
266
262
  }, z.core.$strip>;
267
- }, z.core.$strip>>;
268
- val_session: z.ZodOptional<z.ZodObject<{
263
+ }, z.core.$strip>> | z.ZodOptional<z.ZodObject<{
269
264
  value: z.ZodString;
270
265
  options: z.ZodOptional<z.ZodObject<{
271
266
  httpOnly: z.ZodLiteral<true>;
@@ -289,17 +284,7 @@ export declare const Api: {
289
284
  res: z.ZodUnion<readonly [z.ZodObject<{
290
285
  status: z.ZodLiteral<200>;
291
286
  cookies: z.ZodObject<{
292
- val_session: z.ZodOptional<z.ZodObject<{
293
- value: z.ZodString;
294
- options: z.ZodOptional<z.ZodObject<{
295
- httpOnly: z.ZodLiteral<true>;
296
- sameSite: z.ZodLiteral<"strict">;
297
- path: z.ZodString;
298
- secure: z.ZodLiteral<true>;
299
- expires: z.ZodCustom<Date, Date>;
300
- }, z.core.$strip>>;
301
- }, z.core.$strip>>;
302
- val_state: z.ZodOptional<z.ZodObject<{
287
+ [x: number]: z.ZodOptional<z.ZodObject<{
303
288
  value: z.ZodString;
304
289
  options: z.ZodOptional<z.ZodObject<{
305
290
  httpOnly: z.ZodLiteral<true>;
@@ -314,17 +299,7 @@ export declare const Api: {
314
299
  status: z.ZodLiteral<302>;
315
300
  redirectTo: z.ZodString;
316
301
  cookies: z.ZodObject<{
317
- val_session: z.ZodOptional<z.ZodObject<{
318
- value: z.ZodString;
319
- options: z.ZodOptional<z.ZodObject<{
320
- httpOnly: z.ZodLiteral<true>;
321
- sameSite: z.ZodLiteral<"strict">;
322
- path: z.ZodString;
323
- secure: z.ZodLiteral<true>;
324
- expires: z.ZodCustom<Date, Date>;
325
- }, z.core.$strip>>;
326
- }, z.core.$strip>>;
327
- val_state: z.ZodOptional<z.ZodObject<{
302
+ [x: number]: z.ZodOptional<z.ZodObject<{
328
303
  value: z.ZodString;
329
304
  options: z.ZodOptional<z.ZodObject<{
330
305
  httpOnly: z.ZodLiteral<true>;
@@ -410,12 +385,12 @@ export declare const Api: {
410
385
  baseSha: z.ZodString;
411
386
  schemaSha: z.ZodString;
412
387
  sourcesSha: z.ZodString;
413
- patches: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
414
- appliedPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
415
- publishingPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
388
+ patches: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
389
+ appliedPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
390
+ publishingPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
416
391
  headCommitSha: z.ZodOptional<z.ZodString>;
417
392
  removed: z.ZodOptional<z.ZodArray<z.ZodObject<{
418
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
393
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
419
394
  reason: z.ZodString;
420
395
  }, z.core.$strip>>>;
421
396
  config: z.ZodObject<{
@@ -448,18 +423,18 @@ export declare const Api: {
448
423
  schemaSha: z.ZodString;
449
424
  sourcesSha: z.ZodString;
450
425
  commitSha: z.ZodOptional<z.ZodString>;
451
- patches: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
452
- appliedPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
453
- publishingPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
426
+ patches: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
427
+ appliedPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
428
+ publishingPatches: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
454
429
  headCommitSha: z.ZodOptional<z.ZodString>;
455
- headPatchId: z.ZodOptional<z.ZodNullable<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
430
+ headPatchId: z.ZodOptional<z.ZodNullable<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
456
431
  headVersion: z.ZodOptional<z.ZodNumber>;
457
432
  patchGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
458
433
  patchGroupId: z.ZodString;
459
434
  authorId: z.ZodNullable<z.ZodString>;
460
435
  createdAt: z.ZodString;
461
436
  publishedAt: z.ZodNullable<z.ZodString>;
462
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
437
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
463
438
  }, z.core.$strip>>>;
464
439
  commits: z.ZodArray<z.ZodObject<{
465
440
  commitSha: z.ZodString;
@@ -624,7 +599,7 @@ export declare const Api: {
624
599
  headBaseSha: z.ZodString;
625
600
  }, z.core.$strip>, z.ZodObject<{
626
601
  type: z.ZodLiteral<"patch">;
627
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
602
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
628
603
  }, z.core.$strip>]>;
629
604
  filePath: z.ZodString;
630
605
  data: z.ZodAny;
@@ -642,7 +617,7 @@ export declare const Api: {
642
617
  status: z.ZodLiteral<200>;
643
618
  json: z.ZodObject<{
644
619
  filePath: z.ZodString;
645
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
620
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
646
621
  }, z.core.$strip>;
647
622
  }, z.core.$strip>]>;
648
623
  };
@@ -733,10 +708,10 @@ export declare const Api: {
733
708
  DELETE: {
734
709
  req: {
735
710
  query: {
736
- id: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
711
+ id: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
737
712
  };
738
713
  body: z.ZodOptional<z.ZodObject<{
739
- unstagePatchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
714
+ unstagePatchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
740
715
  reportHeadVersion: z.ZodOptional<z.ZodLiteral<true>>;
741
716
  }, z.core.$strip>>;
742
717
  cookies: {
@@ -753,7 +728,7 @@ export declare const Api: {
753
728
  json: z.ZodObject<{
754
729
  message: z.ZodString;
755
730
  errors: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
756
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
731
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
757
732
  message: z.ZodString;
758
733
  }, z.core.$strip>, z.ZodObject<{
759
734
  parentPatchId: z.ZodString;
@@ -762,8 +737,8 @@ export declare const Api: {
762
737
  }, z.core.$strip>;
763
738
  }, z.core.$strip>, z.ZodObject<{
764
739
  status: z.ZodLiteral<200>;
765
- 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<{
766
- deleted: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
740
+ json: z.ZodUnion<readonly [z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>, z.ZodObject<{
741
+ deleted: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
767
742
  headVersion: z.ZodOptional<z.ZodNumber>;
768
743
  }, z.core.$strip>]>;
769
744
  }, z.core.$strip>]>;
@@ -776,16 +751,16 @@ export declare const Api: {
776
751
  headBaseSha: z.ZodString;
777
752
  }, z.core.$strip>, z.ZodObject<{
778
753
  type: z.ZodLiteral<"patch">;
779
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
754
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
780
755
  }, z.core.$strip>]>;
781
756
  sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
782
757
  patches: z.ZodArray<z.ZodObject<{
783
758
  path: z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>;
784
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
759
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
785
760
  patch: z.ZodAny;
786
761
  }, z.core.$strip>>;
787
762
  patchGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
788
- withPatchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
763
+ withPatchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
789
764
  }, z.core.$strip>;
790
765
  cookies: {
791
766
  val_session: z.ZodOptional<z.ZodString>;
@@ -816,13 +791,13 @@ export declare const Api: {
816
791
  }, z.core.$strip>, z.ZodObject<{
817
792
  status: z.ZodLiteral<200>;
818
793
  json: z.ZodObject<{
819
- newPatchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
794
+ newPatchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
820
795
  parentRef: z.ZodUnion<readonly [z.ZodObject<{
821
796
  type: z.ZodLiteral<"head">;
822
797
  headBaseSha: z.ZodString;
823
798
  }, z.core.$strip>, z.ZodObject<{
824
799
  type: z.ZodLiteral<"patch">;
825
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
800
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
826
801
  }, z.core.$strip>]>;
827
802
  patchGroupId: z.ZodOptional<z.ZodString>;
828
803
  headVersion: z.ZodOptional<z.ZodNumber>;
@@ -832,7 +807,7 @@ export declare const Api: {
832
807
  GET: {
833
808
  req: {
834
809
  query: {
835
- patch_id: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
810
+ patch_id: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
836
811
  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">>>;
837
812
  /**
838
813
  * Include the patch group annotation in the answer.
@@ -858,7 +833,7 @@ export declare const Api: {
858
833
  json: z.ZodObject<{
859
834
  message: z.ZodString;
860
835
  patchErrors: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
861
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
836
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
862
837
  message: z.ZodString;
863
838
  }, z.core.$strip>, z.ZodObject<{
864
839
  parentPatchId: z.ZodString;
@@ -881,14 +856,14 @@ export declare const Api: {
881
856
  patch: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
882
857
  op: z.ZodLiteral<"add">;
883
858
  path: z.ZodArray<z.ZodString>;
884
- value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
859
+ value: z.ZodType<JSONValueT, unknown, z.core.$ZodTypeInternals<JSONValueT, unknown>>;
885
860
  }, z.core.$strict>, z.ZodObject<{
886
861
  op: z.ZodLiteral<"remove">;
887
862
  path: z.ZodTuple<[z.ZodString], z.ZodString>;
888
863
  }, z.core.$strict>, z.ZodObject<{
889
864
  op: z.ZodLiteral<"replace">;
890
865
  path: z.ZodArray<z.ZodString>;
891
- value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
866
+ value: z.ZodType<JSONValueT, unknown, z.core.$ZodTypeInternals<JSONValueT, unknown>>;
892
867
  }, z.core.$strict>, z.ZodObject<{
893
868
  op: z.ZodLiteral<"move">;
894
869
  from: z.ZodTuple<[z.ZodString], z.ZodString>;
@@ -900,17 +875,17 @@ export declare const Api: {
900
875
  }, z.core.$strict>, z.ZodObject<{
901
876
  op: z.ZodLiteral<"test">;
902
877
  path: z.ZodArray<z.ZodString>;
903
- value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
878
+ value: z.ZodType<JSONValueT, unknown, z.core.$ZodTypeInternals<JSONValueT, unknown>>;
904
879
  }, z.core.$strict>, z.ZodObject<{
905
880
  op: z.ZodLiteral<"file">;
906
881
  path: z.ZodArray<z.ZodString>;
907
882
  filePath: z.ZodString;
908
- value: z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>;
883
+ value: z.ZodType<JSONValueT, unknown, z.core.$ZodTypeInternals<JSONValueT, unknown>>;
909
884
  remote: z.ZodBoolean;
910
885
  nestedFilePath: z.ZodOptional<z.ZodArray<z.ZodString>>;
911
- metadata: z.ZodOptional<z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>>;
886
+ metadata: z.ZodOptional<z.ZodType<JSONValueT, unknown, z.core.$ZodTypeInternals<JSONValueT, unknown>>>;
912
887
  }, z.core.$strict>], "op">>>;
913
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
888
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
914
889
  createdAt: z.ZodString;
915
890
  authorId: z.ZodNullable<z.ZodString>;
916
891
  appliedAt: z.ZodNullable<z.ZodObject<{
@@ -923,13 +898,13 @@ export declare const Api: {
923
898
  authorId: z.ZodNullable<z.ZodString>;
924
899
  createdAt: z.ZodString;
925
900
  publishedAt: z.ZodNullable<z.ZodString>;
926
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
901
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
927
902
  }, z.core.$strip>>>;
928
903
  baseSha: z.ZodString;
929
904
  error: z.ZodOptional<z.ZodObject<{
930
905
  message: z.ZodString;
931
906
  }, z.core.$strip>>;
932
- errors: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>, z.ZodObject<{
907
+ errors: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>, z.ZodObject<{
933
908
  message: z.ZodString;
934
909
  }, z.core.$strip>>>;
935
910
  }, z.core.$strip>;
@@ -941,8 +916,8 @@ export declare const Api: {
941
916
  req: {
942
917
  body: z.ZodObject<{
943
918
  patchGroupId: z.ZodOptional<z.ZodString>;
944
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
945
- withPatchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
919
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
920
+ withPatchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
946
921
  }, z.core.$strip>;
947
922
  cookies: {
948
923
  val_session: z.ZodOptional<z.ZodString>;
@@ -972,7 +947,7 @@ export declare const Api: {
972
947
  status: z.ZodLiteral<200>;
973
948
  json: z.ZodObject<{
974
949
  patchGroupId: z.ZodNullable<z.ZodString>;
975
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
950
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
976
951
  headVersion: z.ZodOptional<z.ZodNumber>;
977
952
  }, z.core.$strip>;
978
953
  }, z.core.$strip>]>;
@@ -981,8 +956,8 @@ export declare const Api: {
981
956
  req: {
982
957
  body: z.ZodObject<{
983
958
  patchGroupId: z.ZodOptional<z.ZodString>;
984
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
985
- withPatchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
959
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
960
+ withPatchIds: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
986
961
  }, z.core.$strip>;
987
962
  cookies: {
988
963
  val_session: z.ZodOptional<z.ZodString>;
@@ -1012,7 +987,7 @@ export declare const Api: {
1012
987
  status: z.ZodLiteral<200>;
1013
988
  json: z.ZodObject<{
1014
989
  patchGroupId: z.ZodNullable<z.ZodString>;
1015
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
990
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
1016
991
  headVersion: z.ZodOptional<z.ZodNumber>;
1017
992
  }, z.core.$strip>;
1018
993
  }, z.core.$strip>]>;
@@ -1051,7 +1026,7 @@ export declare const Api: {
1051
1026
  status: z.ZodLiteral<200>;
1052
1027
  json: z.ZodObject<{
1053
1028
  schemaSha: z.ZodString;
1054
- 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>>>;
1029
+ schemas: z.ZodRecord<z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>, z.ZodType<SerializedSchemaT, unknown, z.core.$ZodTypeInternals<SerializedSchemaT, unknown>>>;
1055
1030
  }, z.core.$strip>;
1056
1031
  }, z.core.$strip>]>;
1057
1032
  };
@@ -1078,7 +1053,7 @@ export declare const Api: {
1078
1053
  * answer and is honoured as one: a group holding nothing renders
1079
1054
  * base.
1080
1055
  */
1081
- patch_id: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
1056
+ patch_id: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
1082
1057
  /**
1083
1058
  * Apply only the patches in the CALLER'S OWN patch groups.
1084
1059
  *
@@ -1142,9 +1117,9 @@ export declare const Api: {
1142
1117
  source: z.ZodOptional<z.ZodAny>;
1143
1118
  baseSource: z.ZodOptional<z.ZodAny>;
1144
1119
  patches: z.ZodOptional<z.ZodObject<{
1145
- applied: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
1146
- skipped: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
1147
- errors: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>, z.ZodObject<{
1120
+ applied: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
1121
+ skipped: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>>;
1122
+ errors: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>, z.ZodObject<{
1148
1123
  message: z.ZodString;
1149
1124
  }, z.core.$strip>>>;
1150
1125
  }, z.core.$strip>>;
@@ -1152,7 +1127,7 @@ export declare const Api: {
1152
1127
  message: z.ZodString;
1153
1128
  value: z.ZodOptional<z.ZodUnknown>;
1154
1129
  fatal: z.ZodOptional<z.ZodBoolean>;
1155
- 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" | "router:check-route" | "locale:check-locale" | "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", 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" | "router:check-route" | "locale:check-locale" | "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", unknown>>>>;
1130
+ fixes: z.ZodOptional<z.ZodArray<z.ZodType<ValidationFix, unknown, z.core.$ZodTypeInternals<ValidationFix, unknown>>>>;
1156
1131
  }, z.core.$strip>>>>;
1157
1132
  }, z.core.$strip>>;
1158
1133
  }, z.core.$strip>;
@@ -1165,7 +1140,7 @@ export declare const Api: {
1165
1140
  body: z.ZodObject<{
1166
1141
  jobId: z.ZodString;
1167
1142
  tab: z.ZodString;
1168
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
1143
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
1169
1144
  }, z.core.$strip>;
1170
1145
  cookies: {
1171
1146
  val_session: z.ZodOptional<z.ZodString>;
@@ -1287,7 +1262,7 @@ export declare const Api: {
1287
1262
  req: {
1288
1263
  body: z.ZodObject<{
1289
1264
  message: z.ZodOptional<z.ZodString>;
1290
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
1265
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
1291
1266
  patchGroupId: z.ZodOptional<z.ZodString>;
1292
1267
  expectedHeadCommitSha: z.ZodOptional<z.ZodString>;
1293
1268
  }, z.core.$strip>;
@@ -1309,7 +1284,7 @@ export declare const Api: {
1309
1284
  branch: z.ZodOptional<z.ZodString>;
1310
1285
  binaryFilesUnread: z.ZodOptional<z.ZodArray<z.ZodString>>;
1311
1286
  removed: z.ZodOptional<z.ZodArray<z.ZodObject<{
1312
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
1287
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
1313
1288
  moduleFilePath: z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>;
1314
1289
  message: z.ZodString;
1315
1290
  }, z.core.$strip>>>;
@@ -1356,7 +1331,7 @@ export declare const Api: {
1356
1331
  binaryFilePatchErrors: z.ZodRecord<z.ZodString, z.ZodObject<{
1357
1332
  message: z.ZodString;
1358
1333
  }, z.core.$strip>>;
1359
- unappliablePatches: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>, z.ZodObject<{
1334
+ unappliablePatches: z.ZodOptional<z.ZodRecord<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>, z.ZodObject<{
1360
1335
  moduleFilePath: z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>;
1361
1336
  message: z.ZodString;
1362
1337
  }, z.core.$strip>>>;
@@ -1482,9 +1457,9 @@ export declare const Api: {
1482
1457
  hasArchive: z.ZodBoolean;
1483
1458
  }, z.core.$strip>;
1484
1459
  modules: z.ZodRecord<z.ZodString, z.ZodObject<{
1485
- source: z.ZodNullable<z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>>;
1486
- schema: z.ZodNullable<z.ZodType<import("@valbuild/core").SerializedSchema, unknown, z.core.$ZodTypeInternals<import("@valbuild/core").SerializedSchema, unknown>>>;
1487
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
1460
+ source: z.ZodNullable<z.ZodType<JSONValueT, unknown, z.core.$ZodTypeInternals<JSONValueT, unknown>>>;
1461
+ schema: z.ZodNullable<z.ZodType<SerializedSchemaT, unknown, z.core.$ZodTypeInternals<SerializedSchemaT, unknown>>>;
1462
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
1488
1463
  changedPaths: z.ZodArray<z.ZodString>;
1489
1464
  failures: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1490
1465
  kind: z.ZodLiteral<"commit-not-found">;
@@ -1512,7 +1487,7 @@ export declare const Api: {
1512
1487
  }, z.core.$strip>], "kind">>;
1513
1488
  }, z.core.$strip>>;
1514
1489
  patches: z.ZodArray<z.ZodObject<{
1515
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
1490
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
1516
1491
  moduleFilePath: z.ZodString;
1517
1492
  patch: z.ZodUnknown;
1518
1493
  authorId: z.ZodNullable<z.ZodString>;
@@ -1602,9 +1577,9 @@ export declare const Api: {
1602
1577
  json: z.ZodObject<{
1603
1578
  moduleFilePath: z.ZodString;
1604
1579
  module: z.ZodNullable<z.ZodObject<{
1605
- source: z.ZodNullable<z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>>;
1606
- schema: z.ZodNullable<z.ZodType<import("@valbuild/core").SerializedSchema, unknown, z.core.$ZodTypeInternals<import("@valbuild/core").SerializedSchema, unknown>>>;
1607
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
1580
+ source: z.ZodNullable<z.ZodType<JSONValueT, unknown, z.core.$ZodTypeInternals<JSONValueT, unknown>>>;
1581
+ schema: z.ZodNullable<z.ZodType<SerializedSchemaT, unknown, z.core.$ZodTypeInternals<SerializedSchemaT, unknown>>>;
1582
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
1608
1583
  changedPaths: z.ZodArray<z.ZodString>;
1609
1584
  failures: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1610
1585
  kind: z.ZodLiteral<"commit-not-found">;
@@ -1755,11 +1730,7 @@ export declare const Api: {
1755
1730
  req: {
1756
1731
  path: z.ZodString;
1757
1732
  query: {
1758
- 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 & {
1759
- VAL_DATA_TYPE: "PatchId";
1760
- }, (string & {
1761
- VAL_DATA_TYPE: "PatchId";
1762
- })[]>>>;
1733
+ patch_id: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>, z.ZodTransform<any, any[]>>>;
1763
1734
  remote: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
1764
1735
  };
1765
1736
  headers: {
@@ -1811,7 +1782,7 @@ export declare const Api: {
1811
1782
  own_patch_groups_only: 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">>>;
1812
1783
  };
1813
1784
  cookies: {
1814
- val_session: z.ZodOptional<z.ZodString>;
1785
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
1815
1786
  };
1816
1787
  };
1817
1788
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -1865,7 +1836,7 @@ export declare const Api: {
1865
1836
  POST: {
1866
1837
  req: {
1867
1838
  cookies: {
1868
- val_session: z.ZodOptional<z.ZodString>;
1839
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
1869
1840
  };
1870
1841
  };
1871
1842
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -1903,7 +1874,7 @@ export declare const Api: {
1903
1874
  cursor_id: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
1904
1875
  };
1905
1876
  cookies: {
1906
- val_session: z.ZodOptional<z.ZodString>;
1877
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
1907
1878
  };
1908
1879
  };
1909
1880
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -1939,7 +1910,7 @@ export declare const Api: {
1939
1910
  name: z.ZodString;
1940
1911
  }, z.core.$strip>;
1941
1912
  cookies: {
1942
- val_session: z.ZodOptional<z.ZodString>;
1913
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
1943
1914
  };
1944
1915
  };
1945
1916
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -1968,7 +1939,7 @@ export declare const Api: {
1968
1939
  cursor_id: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
1969
1940
  };
1970
1941
  cookies: {
1971
- val_session: z.ZodOptional<z.ZodString>;
1942
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
1972
1943
  };
1973
1944
  };
1974
1945
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -2006,13 +1977,13 @@ export declare const Api: {
2006
1977
  POST: {
2007
1978
  req: {
2008
1979
  body: z.ZodObject<{
2009
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
1980
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
2010
1981
  parentRef: z.ZodUnion<readonly [z.ZodObject<{
2011
1982
  type: z.ZodLiteral<"head">;
2012
1983
  headBaseSha: z.ZodString;
2013
1984
  }, z.core.$strip>, z.ZodObject<{
2014
1985
  type: z.ZodLiteral<"patch">;
2015
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
1986
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
2016
1987
  }, z.core.$strip>]>;
2017
1988
  files: z.ZodArray<z.ZodObject<{
2018
1989
  filePath: z.ZodString;
@@ -2021,7 +1992,7 @@ export declare const Api: {
2021
1992
  }, z.core.$strip>>;
2022
1993
  }, z.core.$strip>;
2023
1994
  cookies: {
2024
- val_session: z.ZodOptional<z.ZodString>;
1995
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
2025
1996
  };
2026
1997
  };
2027
1998
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -2032,7 +2003,7 @@ export declare const Api: {
2032
2003
  }, z.core.$strip>, z.ZodObject<{
2033
2004
  status: z.ZodLiteral<200>;
2034
2005
  json: z.ZodObject<{
2035
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
2006
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
2036
2007
  files: z.ZodArray<z.ZodObject<{
2037
2008
  filePath: z.ZodString;
2038
2009
  metadata: z.ZodObject<{
@@ -2067,7 +2038,7 @@ export declare const Api: {
2067
2038
  contentType: z.ZodString;
2068
2039
  }, z.core.$strip>;
2069
2040
  cookies: {
2070
- val_session: z.ZodOptional<z.ZodString>;
2041
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
2071
2042
  };
2072
2043
  };
2073
2044
  res: z.ZodUnion<readonly [z.ZodObject<{
@@ -2092,7 +2063,7 @@ export declare const Api: {
2092
2063
  GET: {
2093
2064
  req: {
2094
2065
  cookies: {
2095
- val_session: z.ZodOptional<z.ZodString>;
2066
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
2096
2067
  };
2097
2068
  };
2098
2069
  res: z.ZodObject<{
@@ -2116,7 +2087,7 @@ export declare const Api: {
2116
2087
  "x-val-studio": z.ZodOptional<z.ZodString>;
2117
2088
  };
2118
2089
  cookies: {
2119
- val_session: z.ZodOptional<z.ZodString>;
2090
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
2120
2091
  };
2121
2092
  body: z.ZodUnknown;
2122
2093
  };
@@ -2133,7 +2104,7 @@ export declare const Api: {
2133
2104
  "x-val-studio": z.ZodOptional<z.ZodString>;
2134
2105
  };
2135
2106
  cookies: {
2136
- val_session: z.ZodOptional<z.ZodString>;
2107
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
2137
2108
  };
2138
2109
  body: z.ZodUnknown;
2139
2110
  };
@@ -2150,7 +2121,7 @@ export declare const Api: {
2150
2121
  "x-val-studio": z.ZodOptional<z.ZodString>;
2151
2122
  };
2152
2123
  cookies: {
2153
- val_session: z.ZodOptional<z.ZodString>;
2124
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
2154
2125
  };
2155
2126
  body: z.ZodUnknown;
2156
2127
  };
@@ -2167,7 +2138,7 @@ export declare const Api: {
2167
2138
  "x-val-studio": z.ZodOptional<z.ZodString>;
2168
2139
  };
2169
2140
  cookies: {
2170
- val_session: z.ZodOptional<z.ZodString>;
2141
+ [VAL_SESSION_COOKIE]: z.ZodOptional<z.ZodString>;
2171
2142
  };
2172
2143
  body: z.ZodUnknown;
2173
2144
  };
@@ -426,4 +426,10 @@ export type PublishTabJob = {
426
426
  base: string | null;
427
427
  /** The changes its build is to include, on top of `base`. */
428
428
  patches: string[];
429
+ /**
430
+ * Its content goes live on the build already live: content's prepare found
431
+ * it changes only Val content, which that build shows, so nothing is built
432
+ * for it. Set on the answer that hands it over (`step: null`).
433
+ */
434
+ contentOnly?: true;
429
435
  };
@@ -1,7 +1,7 @@
1
1
  import { Json } from "@valbuild/core";
2
- export declare const VAL_SESSION_COOKIE: "val_session";
3
- export declare const VAL_STATE_COOKIE: "val_state";
4
- export declare const VAL_ENABLE_COOKIE_NAME: "val_enable";
2
+ export declare const VAL_SESSION_COOKIE: any;
3
+ export declare const VAL_STATE_COOKIE: any;
4
+ export declare const VAL_ENABLE_COOKIE_NAME: any;
5
5
  export type VAL_SESSION_COOKIE = typeof VAL_SESSION_COOKIE;
6
6
  export type VAL_STATE_COOKIE = typeof VAL_STATE_COOKIE;
7
7
  export type VAL_ENABLE_COOKIE_NAME = typeof VAL_ENABLE_COOKIE_NAME;
@@ -5,7 +5,8 @@ import type { SourcePath, ValidationError } from "@valbuild/core";
5
5
  * `skipped` errors carry only fix codes the user can't (or shouldn't) act on
6
6
  * in the browser:
7
7
  * - image/file metadata checks (need to read bytes from disk)
8
- * - remote upload/download/check (need a personal access token + network)
8
+ * - remote upload/download, and the singular remote check (need a personal
9
+ * access token + network)
9
10
  * - gallery directory uniqueness + untracked-files checks (need fs traversal)
10
11
  *
11
12
  * The server (ValOps + createFixPatch) resolves all of these automatically on
@@ -64,9 +64,9 @@ export declare const BinaryFileRef: z.ZodObject<{
64
64
  }, z.core.$strip>;
65
65
  export type BinaryFileRef = z.infer<typeof BinaryFileRef>;
66
66
  export declare const HistoricalModule: z.ZodObject<{
67
- source: z.ZodNullable<z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>>;
68
- schema: z.ZodNullable<z.ZodType<import("@valbuild/core").SerializedSchema, unknown, z.core.$ZodTypeInternals<import("@valbuild/core").SerializedSchema, unknown>>>;
69
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
67
+ source: z.ZodNullable<z.ZodType<JSONValueT, unknown, z.core.$ZodTypeInternals<JSONValueT, unknown>>>;
68
+ schema: z.ZodNullable<z.ZodType<SerializedSchemaT, unknown, z.core.$ZodTypeInternals<SerializedSchemaT, unknown>>>;
69
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
70
70
  changedPaths: z.ZodArray<z.ZodString>;
71
71
  failures: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
72
72
  kind: z.ZodLiteral<"commit-not-found">;
@@ -109,9 +109,9 @@ export declare const HistoricalPatchSet: z.ZodObject<{
109
109
  hasArchive: z.ZodBoolean;
110
110
  }, z.core.$strip>;
111
111
  modules: z.ZodRecord<z.ZodString, z.ZodObject<{
112
- source: z.ZodNullable<z.ZodType<import("@valbuild/core/patch").JSONValue, unknown, z.core.$ZodTypeInternals<import("@valbuild/core/patch").JSONValue, unknown>>>;
113
- schema: z.ZodNullable<z.ZodType<import("@valbuild/core").SerializedSchema, unknown, z.core.$ZodTypeInternals<import("@valbuild/core").SerializedSchema, unknown>>>;
114
- patchIds: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
112
+ source: z.ZodNullable<z.ZodType<JSONValueT, unknown, z.core.$ZodTypeInternals<JSONValueT, unknown>>>;
113
+ schema: z.ZodNullable<z.ZodType<SerializedSchemaT, unknown, z.core.$ZodTypeInternals<SerializedSchemaT, unknown>>>;
114
+ patchIds: z.ZodArray<z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>>;
115
115
  changedPaths: z.ZodArray<z.ZodString>;
116
116
  failures: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
117
117
  kind: z.ZodLiteral<"commit-not-found">;
@@ -139,7 +139,7 @@ export declare const HistoricalPatchSet: z.ZodObject<{
139
139
  }, z.core.$strip>], "kind">>;
140
140
  }, z.core.$strip>>;
141
141
  patches: z.ZodArray<z.ZodObject<{
142
- patchId: z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>;
142
+ patchId: z.ZodString & z.ZodType<PatchIdT, string, z.core.$ZodTypeInternals<PatchIdT, string>>;
143
143
  moduleFilePath: z.ZodString;
144
144
  patch: z.ZodUnknown;
145
145
  authorId: z.ZodNullable<z.ZodString>;
@@ -1,5 +1,4 @@
1
1
  import type { JSONValue as JSONValueT, PatchJSON as PatchJSONT, PatchBlock as PatchBlockT, ParentRef as ParentRefT } from "@valbuild/core/patch";
2
- import type { PatchId as PatchIdT } from "@valbuild/core";
3
2
  import { z } from "zod";
4
3
  /**
5
4
  * JSON, recursively — the shape of a Source over the wire.
@@ -66,25 +66,7 @@ export declare const ColorOptions: z.ZodObject<{
66
66
  export declare const SerializedColorSchema: z.ZodType<SerializedColorSchemaT>;
67
67
  export declare const CodeOptions: z.ZodObject<{
68
68
  language: z.ZodOptional<z.ZodEnum<{
69
- json: "json";
70
- typescript: "typescript";
71
- javascript: "javascript";
72
- javascriptreact: "javascriptreact";
73
- typescriptreact: "typescriptreact";
74
- java: "java";
75
- html: "html";
76
- css: "css";
77
- xml: "xml";
78
- markdown: "markdown";
79
- sql: "sql";
80
- python: "python";
81
- rust: "rust";
82
- php: "php";
83
- go: "go";
84
- cpp: "cpp";
85
- sass: "sass";
86
- vue: "vue";
87
- angular: "angular";
69
+ [x: string]: any;
88
70
  }>>;
89
71
  }, z.core.$strip>;
90
72
  export declare const SerializedCodeSchema: z.ZodType<SerializedCodeSchemaT>;
@@ -101,7 +83,7 @@ export declare const SerializedSettingsSchema: z.ZodType<SerializedSettingsSchem
101
83
  */
102
84
  export declare const SerializedValViewSchema: z.ZodObject<{
103
85
  type: z.ZodLiteral<"view">;
104
- moduleFilePath: z.ZodType<import("@valbuild/core").ModuleFilePath, unknown, z.core.$ZodTypeInternals<import("@valbuild/core").ModuleFilePath, unknown>>;
86
+ moduleFilePath: z.ZodType<ModuleFilePathT, unknown, z.core.$ZodTypeInternals<ModuleFilePathT, unknown>>;
105
87
  opt: z.ZodLiteral<false>;
106
88
  readonly: z.ZodOptional<z.ZodBoolean>;
107
89
  hidden: z.ZodOptional<z.ZodBoolean>;
@@ -6196,7 +6196,8 @@ function describeContainerAtPath(moduleSchema, moduleSource, path) {
6196
6196
  * `skipped` errors carry only fix codes the user can't (or shouldn't) act on
6197
6197
  * in the browser:
6198
6198
  * - image/file metadata checks (need to read bytes from disk)
6199
- * - remote upload/download/check (need a personal access token + network)
6199
+ * - remote upload/download, and the singular remote check (need a personal
6200
+ * access token + network)
6200
6201
  * - gallery directory uniqueness + untracked-files checks (need fs traversal)
6201
6202
  *
6202
6203
  * The server (ValOps + createFixPatch) resolves all of these automatically on
@@ -6256,20 +6257,17 @@ function isSkippableFixCode(fix) {
6256
6257
  case "image:upload-remote":
6257
6258
  case "image:download-remote":
6258
6259
  case "image:check-remote":
6259
- case "images:check-remote":
6260
6260
  case "images:upload-remote":
6261
6261
  case "file:add-metadata":
6262
6262
  case "file:check-metadata":
6263
6263
  case "file:upload-remote":
6264
6264
  case "file:download-remote":
6265
6265
  case "file:check-remote":
6266
- case "files:check-remote":
6267
6266
  case "files:upload-remote":
6268
6267
  case "video:add-metadata": // the Studio writes it on upload; --fix for the rest
6269
6268
  case "video:upload-remote":
6270
6269
  case "video:download-remote":
6271
6270
  case "videos:add-metadata": // as `video:add-metadata`, for a set's entry
6272
- case "videos:check-remote":
6273
6271
  case "videos:upload-remote":
6274
6272
  case "videos:check-unique-folder":
6275
6273
  case "videos:check-all-files":
@@ -6280,6 +6278,18 @@ function isSkippableFixCode(fix) {
6280
6278
  case "view:check-module":
6281
6279
  // schema is code: nothing for an editor to do
6282
6280
  return true;
6281
+ case "images:check-remote":
6282
+ case "files:check-remote":
6283
+ case "videos:check-remote":
6284
+ // A collection KEY that is wrong as a key: a remote URL in a gallery that
6285
+ // is not `.remote()`, one that does not parse, one outside the gallery's
6286
+ // directory. Unlike the singular `image:check-remote` above (core's "not
6287
+ // checked" marker on EVERY remote value, which the server does check),
6288
+ // core emits these only when the key is wrong, and nothing repairs that
6289
+ // on save -- not the server, not `val validate --fix`. Only a person knows
6290
+ // whether the key or the gallery's options are the mistake. Skipping them
6291
+ // also took them off the publish gate, so a broken key published unseen.
6292
+ return false;
6283
6293
  case "keyof:check-keys":
6284
6294
  case "router:check-route":
6285
6295
  case "locale:check-locale":
@@ -7911,7 +7921,8 @@ var tabJob = zod.z.object({
7911
7921
  id: zod.z.string(),
7912
7922
  step: zod.z["enum"](["prepare", "build", "upload"]).nullable(),
7913
7923
  base: zod.z.string().nullable(),
7914
- patches: zod.z.array(zod.z.string())
7924
+ patches: zod.z.array(zod.z.string()),
7925
+ contentOnly: zod.z.literal(true).optional()
7915
7926
  });
7916
7927
  var pressResponse = zod.z.object({
7917
7928
  request: requestStatus,
@@ -6196,7 +6196,8 @@ function describeContainerAtPath(moduleSchema, moduleSource, path) {
6196
6196
  * `skipped` errors carry only fix codes the user can't (or shouldn't) act on
6197
6197
  * in the browser:
6198
6198
  * - image/file metadata checks (need to read bytes from disk)
6199
- * - remote upload/download/check (need a personal access token + network)
6199
+ * - remote upload/download, and the singular remote check (need a personal
6200
+ * access token + network)
6200
6201
  * - gallery directory uniqueness + untracked-files checks (need fs traversal)
6201
6202
  *
6202
6203
  * The server (ValOps + createFixPatch) resolves all of these automatically on
@@ -6256,20 +6257,17 @@ function isSkippableFixCode(fix) {
6256
6257
  case "image:upload-remote":
6257
6258
  case "image:download-remote":
6258
6259
  case "image:check-remote":
6259
- case "images:check-remote":
6260
6260
  case "images:upload-remote":
6261
6261
  case "file:add-metadata":
6262
6262
  case "file:check-metadata":
6263
6263
  case "file:upload-remote":
6264
6264
  case "file:download-remote":
6265
6265
  case "file:check-remote":
6266
- case "files:check-remote":
6267
6266
  case "files:upload-remote":
6268
6267
  case "video:add-metadata": // the Studio writes it on upload; --fix for the rest
6269
6268
  case "video:upload-remote":
6270
6269
  case "video:download-remote":
6271
6270
  case "videos:add-metadata": // as `video:add-metadata`, for a set's entry
6272
- case "videos:check-remote":
6273
6271
  case "videos:upload-remote":
6274
6272
  case "videos:check-unique-folder":
6275
6273
  case "videos:check-all-files":
@@ -6280,6 +6278,18 @@ function isSkippableFixCode(fix) {
6280
6278
  case "view:check-module":
6281
6279
  // schema is code: nothing for an editor to do
6282
6280
  return true;
6281
+ case "images:check-remote":
6282
+ case "files:check-remote":
6283
+ case "videos:check-remote":
6284
+ // A collection KEY that is wrong as a key: a remote URL in a gallery that
6285
+ // is not `.remote()`, one that does not parse, one outside the gallery's
6286
+ // directory. Unlike the singular `image:check-remote` above (core's "not
6287
+ // checked" marker on EVERY remote value, which the server does check),
6288
+ // core emits these only when the key is wrong, and nothing repairs that
6289
+ // on save -- not the server, not `val validate --fix`. Only a person knows
6290
+ // whether the key or the gallery's options are the mistake. Skipping them
6291
+ // also took them off the publish gate, so a broken key published unseen.
6292
+ return false;
6283
6293
  case "keyof:check-keys":
6284
6294
  case "router:check-route":
6285
6295
  case "locale:check-locale":
@@ -7911,7 +7921,8 @@ var tabJob = zod.z.object({
7911
7921
  id: zod.z.string(),
7912
7922
  step: zod.z["enum"](["prepare", "build", "upload"]).nullable(),
7913
7923
  base: zod.z.string().nullable(),
7914
- patches: zod.z.array(zod.z.string())
7924
+ patches: zod.z.array(zod.z.string()),
7925
+ contentOnly: zod.z.literal(true).optional()
7915
7926
  });
7916
7927
  var pressResponse = zod.z.object({
7917
7928
  request: requestStatus,
@@ -6189,7 +6189,8 @@ function describeContainerAtPath(moduleSchema, moduleSource, path) {
6189
6189
  * `skipped` errors carry only fix codes the user can't (or shouldn't) act on
6190
6190
  * in the browser:
6191
6191
  * - image/file metadata checks (need to read bytes from disk)
6192
- * - remote upload/download/check (need a personal access token + network)
6192
+ * - remote upload/download, and the singular remote check (need a personal
6193
+ * access token + network)
6193
6194
  * - gallery directory uniqueness + untracked-files checks (need fs traversal)
6194
6195
  *
6195
6196
  * The server (ValOps + createFixPatch) resolves all of these automatically on
@@ -6249,20 +6250,17 @@ function isSkippableFixCode(fix) {
6249
6250
  case "image:upload-remote":
6250
6251
  case "image:download-remote":
6251
6252
  case "image:check-remote":
6252
- case "images:check-remote":
6253
6253
  case "images:upload-remote":
6254
6254
  case "file:add-metadata":
6255
6255
  case "file:check-metadata":
6256
6256
  case "file:upload-remote":
6257
6257
  case "file:download-remote":
6258
6258
  case "file:check-remote":
6259
- case "files:check-remote":
6260
6259
  case "files:upload-remote":
6261
6260
  case "video:add-metadata": // the Studio writes it on upload; --fix for the rest
6262
6261
  case "video:upload-remote":
6263
6262
  case "video:download-remote":
6264
6263
  case "videos:add-metadata": // as `video:add-metadata`, for a set's entry
6265
- case "videos:check-remote":
6266
6264
  case "videos:upload-remote":
6267
6265
  case "videos:check-unique-folder":
6268
6266
  case "videos:check-all-files":
@@ -6273,6 +6271,18 @@ function isSkippableFixCode(fix) {
6273
6271
  case "view:check-module":
6274
6272
  // schema is code: nothing for an editor to do
6275
6273
  return true;
6274
+ case "images:check-remote":
6275
+ case "files:check-remote":
6276
+ case "videos:check-remote":
6277
+ // A collection KEY that is wrong as a key: a remote URL in a gallery that
6278
+ // is not `.remote()`, one that does not parse, one outside the gallery's
6279
+ // directory. Unlike the singular `image:check-remote` above (core's "not
6280
+ // checked" marker on EVERY remote value, which the server does check),
6281
+ // core emits these only when the key is wrong, and nothing repairs that
6282
+ // on save -- not the server, not `val validate --fix`. Only a person knows
6283
+ // whether the key or the gallery's options are the mistake. Skipping them
6284
+ // also took them off the publish gate, so a broken key published unseen.
6285
+ return false;
6276
6286
  case "keyof:check-keys":
6277
6287
  case "router:check-route":
6278
6288
  case "locale:check-locale":
@@ -7904,7 +7914,8 @@ var tabJob = z.object({
7904
7914
  id: z.string(),
7905
7915
  step: z["enum"](["prepare", "build", "upload"]).nullable(),
7906
7916
  base: z.string().nullable(),
7907
- patches: z.array(z.string())
7917
+ patches: z.array(z.string()),
7918
+ contentOnly: z.literal(true).optional()
7908
7919
  });
7909
7920
  var pressResponse = z.object({
7910
7921
  request: requestStatus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/shared",
3
- "version": "0.144.0",
3
+ "version": "0.144.2",
4
4
  "private": false,
5
5
  "description": "Val shared types and utilities",
6
6
  "repository": {