@camox/api-contract 0.57.0 → 0.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/router.d.ts CHANGED
@@ -6225,7 +6225,19 @@ type EnvAnswer = {
6225
6225
  };
6226
6226
  };
6227
6227
  //#endregion
6228
+ //#region ../../apps/api/src/lib/timing.d.ts
6229
+ /** What a span's line says beside its name and duration. Undefined fields are left out. */
6230
+ type SpanFields = Record<string, string | number | boolean | null | undefined>;
6231
+ //#endregion
6228
6232
  //#region ../../apps/api/src/durable-objects/draft-code.d.ts
6233
+ /** A revision of the draft whose build goes up as its publish script. */
6234
+ type PublishUpload = {
6235
+ /** The project's Project ID. */
6236
+ project: string;
6237
+ revision: string;
6238
+ /** Its build in `REVISION_BUILDS`. */
6239
+ archiveKey: string;
6240
+ };
6229
6241
  /** A commit `prepareCommit` made, not on the branch yet. */
6230
6242
  type PreparedCommit = {
6231
6243
  commit: string;
@@ -6319,6 +6331,23 @@ declare class DraftCode extends DurableObject<Bindings> {
6319
6331
  * clashed: unless the files still hold a merge no commit landed.
6320
6332
  */
6321
6333
  settleClash(): Promise<void>;
6334
+ /**
6335
+ * Uploads the build of the draft's revision `revision` as the draft's publish script, ahead of
6336
+ * its publish, unless the script holds it already: its publish then only checks it's there
6337
+ * (`uploadForPublish`). Nothing once a publish took the script, until that publish ends, nor
6338
+ * once the draft ended. A draft that ended during the upload, deleted, loses the script.
6339
+ */
6340
+ prepareUpload(toUpload: PublishUpload): Promise<void>;
6341
+ /**
6342
+ * The draft's publish script holding the build of `revision`, which the publish `instanceId`
6343
+ * ships, taking it: no upload ahead replaces it until that publish ends. Uploads it unless the
6344
+ * script holds it already, as the upload ahead left it. Returns its name, and whether this
6345
+ * uploaded it.
6346
+ */
6347
+ uploadForPublish(toUpload: PublishUpload, instanceId: string, span?: SpanFields): Promise<{
6348
+ script: string;
6349
+ uploaded: boolean;
6350
+ }>;
6322
6351
  /** Records that a build of the draft's code started, or ended. */
6323
6352
  markBuilding(building: boolean): Promise<void>;
6324
6353
  /**
@@ -6352,6 +6381,12 @@ declare class DraftCode extends DurableObject<Bindings> {
6352
6381
  * only files the branch's head doesn't hold as they are, since no commit holds markers.
6353
6382
  */
6354
6383
  conflicts(): Promise<string[]>;
6384
+ /**
6385
+ * The working copy's files that installing its dependencies reads, as a tar archive, with its
6386
+ * lockfile: what its sandbox needs to install ahead of a build, which `prepareCommit` would
6387
+ * give only once it staged and committed every change.
6388
+ */
6389
+ installFiles(): Promise<Pick<PreparedCommit, "files" | "lockfile">>;
6355
6390
  /**
6356
6391
  * Stages the working copy's every change and makes, without moving the branch, the commit it
6357
6392
  * would be: `message` on top of the branch's head. Returns the commit and its tree, with the
@@ -6460,22 +6495,30 @@ type RevisionToLoad = {
6460
6495
  };
6461
6496
  /** Dispatch's `CamoxRevisions` entrypoint. */
6462
6497
  type Dispatch = {
6463
- /** A revision's Definition Set, as its build's entrypoint gives it: JSON, not yet checked. */
6464
- readDefinitionSet(revision: RevisionToLoad): Promise<unknown>;
6465
6498
  /**
6466
- * Readies a revision before its draft's viewers are told of it: dispatch serves its client
6467
- * assets from then on, and has loaded and rendered it once. Says how many client assets it
6468
- * stored and how long that and the render took, for the API's timing logs (none from a
6469
- * dispatch older than that).
6499
+ * Readies a revision before its draft's viewers are told of it, reading its build once:
6500
+ * dispatch serves its client assets from then on, and has loaded and rendered it once. Returns
6501
+ * its Definition Set (JSON, not yet checked), with what each part took, for the API's timing
6502
+ * logs.
6470
6503
  */
6471
- prewarm(revision: RevisionToLoad): Promise<PrewarmTimings | void>;
6504
+ prepare(revision: RevisionToLoad): Promise<PreparedRevision>;
6472
6505
  };
6473
- /** What a prewarm took. Mirrored in apps/dispatch/src/revisions.ts: keep the two in sync. */
6474
- type PrewarmTimings = {
6506
+ /**
6507
+ * What preparing a revision took: reading its build, then, at once, storing its client assets
6508
+ * (how many) and reading its Definition Set, then the first render. Mirrored in
6509
+ * apps/dispatch/src/revisions.ts: keep the two in sync.
6510
+ */
6511
+ type PrepareTimings = {
6475
6512
  assets: number;
6513
+ readMs: number;
6476
6514
  assetsMs: number;
6515
+ definitionSetMs: number;
6477
6516
  renderMs: number;
6478
6517
  };
6518
+ /** A prepared revision's Definition Set, with what preparing it took. */
6519
+ type PreparedRevision = PrepareTimings & {
6520
+ definitionSet: unknown;
6521
+ };
6479
6522
  //#endregion
6480
6523
  //#region ../../apps/api/src/types.d.ts
6481
6524
  type Bindings = {
@@ -6904,6 +6947,8 @@ type BlockRow = typeof blocks.$inferSelect;
6904
6947
  type ShownBlock = Conformed<BlockRow> & {
6905
6948
  summary: string;
6906
6949
  title: string;
6950
+ /** The hash of each artifact source in its content, by field (`artifactHashesOf`). */
6951
+ artifactHashes: Record<string, string>;
6907
6952
  };
6908
6953
  //#endregion
6909
6954
  //#region ../../apps/api/src/domains/content/structured-data.d.ts
@@ -7173,8 +7218,8 @@ declare const router: {
7173
7218
  studio?: boolean | null | undefined;
7174
7219
  };
7175
7220
  db: Database;
7176
- env: Bindings;
7177
7221
  headers: Headers;
7222
+ env: Bindings;
7178
7223
  client: string;
7179
7224
  telemetryDisabled: boolean;
7180
7225
  waitUntil: (promise: Promise<unknown>) => void;
@@ -7262,8 +7307,8 @@ declare const router: {
7262
7307
  studio?: boolean | null | undefined;
7263
7308
  };
7264
7309
  db: Database;
7265
- env: Bindings;
7266
7310
  headers: Headers;
7311
+ env: Bindings;
7267
7312
  client: string;
7268
7313
  telemetryDisabled: boolean;
7269
7314
  waitUntil: (promise: Promise<unknown>) => void;
@@ -7349,8 +7394,8 @@ declare const router: {
7349
7394
  studio?: boolean | null | undefined;
7350
7395
  };
7351
7396
  db: Database;
7352
- env: Bindings;
7353
7397
  headers: Headers;
7398
+ env: Bindings;
7354
7399
  client: string;
7355
7400
  telemetryDisabled: boolean;
7356
7401
  waitUntil: (promise: Promise<unknown>) => void;
@@ -7440,8 +7485,8 @@ declare const router: {
7440
7485
  studio?: boolean | null | undefined;
7441
7486
  };
7442
7487
  db: Database;
7443
- env: Bindings;
7444
7488
  headers: Headers;
7489
+ env: Bindings;
7445
7490
  client: string;
7446
7491
  telemetryDisabled: boolean;
7447
7492
  waitUntil: (promise: Promise<unknown>) => void;
@@ -7548,8 +7593,8 @@ declare const router: {
7548
7593
  studio?: boolean | null | undefined;
7549
7594
  };
7550
7595
  db: Database;
7551
- env: Bindings;
7552
7596
  headers: Headers;
7597
+ env: Bindings;
7553
7598
  client: string;
7554
7599
  telemetryDisabled: boolean;
7555
7600
  waitUntil: (promise: Promise<unknown>) => void;
@@ -7639,8 +7684,8 @@ declare const router: {
7639
7684
  studio?: boolean | null | undefined;
7640
7685
  };
7641
7686
  db: Database;
7642
- env: Bindings;
7643
7687
  headers: Headers;
7688
+ env: Bindings;
7644
7689
  client: string;
7645
7690
  telemetryDisabled: boolean;
7646
7691
  waitUntil: (promise: Promise<unknown>) => void;
@@ -7698,8 +7743,8 @@ declare const router: {
7698
7743
  studio?: boolean | null | undefined;
7699
7744
  };
7700
7745
  db: Database;
7701
- env: Bindings;
7702
7746
  headers: Headers;
7747
+ env: Bindings;
7703
7748
  client: string;
7704
7749
  telemetryDisabled: boolean;
7705
7750
  waitUntil: (promise: Promise<unknown>) => void;
@@ -7787,8 +7832,8 @@ declare const router: {
7787
7832
  studio?: boolean | null | undefined;
7788
7833
  };
7789
7834
  db: Database;
7790
- env: Bindings;
7791
7835
  headers: Headers;
7836
+ env: Bindings;
7792
7837
  client: string;
7793
7838
  telemetryDisabled: boolean;
7794
7839
  waitUntil: (promise: Promise<unknown>) => void;
@@ -7875,8 +7920,8 @@ declare const router: {
7875
7920
  studio?: boolean | null | undefined;
7876
7921
  };
7877
7922
  db: Database;
7878
- env: Bindings;
7879
7923
  headers: Headers;
7924
+ env: Bindings;
7880
7925
  client: string;
7881
7926
  telemetryDisabled: boolean;
7882
7927
  waitUntil: (promise: Promise<unknown>) => void;
@@ -7938,8 +7983,8 @@ declare const router: {
7938
7983
  studio?: boolean | null | undefined;
7939
7984
  };
7940
7985
  db: Database;
7941
- env: Bindings;
7942
7986
  headers: Headers;
7987
+ env: Bindings;
7943
7988
  client: string;
7944
7989
  telemetryDisabled: boolean;
7945
7990
  waitUntil: (promise: Promise<unknown>) => void;
@@ -7992,8 +8037,8 @@ declare const router: {
7992
8037
  studio?: boolean | null | undefined;
7993
8038
  };
7994
8039
  db: Database;
7995
- env: Bindings;
7996
8040
  headers: Headers;
8041
+ env: Bindings;
7997
8042
  client: string;
7998
8043
  telemetryDisabled: boolean;
7999
8044
  waitUntil: (promise: Promise<unknown>) => void;
@@ -8097,6 +8142,7 @@ declare const router: {
8097
8142
  afterBlockIds: string[];
8098
8143
  } | null;
8099
8144
  blocks: (Omit<{
8145
+ type: string;
8100
8146
  draftId: string | null;
8101
8147
  id: string;
8102
8148
  deleted: boolean;
@@ -8104,7 +8150,6 @@ declare const router: {
8104
8150
  locale: string;
8105
8151
  pageId: string | null;
8106
8152
  layoutId: string | null;
8107
- type: string;
8108
8153
  content: unknown;
8109
8154
  createdAt: number;
8110
8155
  updatedAt: number;
@@ -8122,6 +8167,7 @@ declare const router: {
8122
8167
  } & {
8123
8168
  summary: string;
8124
8169
  title: string;
8170
+ artifactHashes: Record<string, string>;
8125
8171
  } & {
8126
8172
  references: ResolvedReferences;
8127
8173
  })[];
@@ -8152,6 +8198,7 @@ declare const router: {
8152
8198
  blockId: string;
8153
8199
  summary: string;
8154
8200
  title: string;
8201
+ artifactHashes: Record<string, string>;
8155
8202
  } & {
8156
8203
  references: ResolvedReferences;
8157
8204
  })[];
@@ -8202,6 +8249,7 @@ declare const router: {
8202
8249
  afterBlockIds: string[];
8203
8250
  } | null;
8204
8251
  blocks: (Omit<{
8252
+ type: string;
8205
8253
  draftId: string | null;
8206
8254
  id: string;
8207
8255
  deleted: boolean;
@@ -8209,7 +8257,6 @@ declare const router: {
8209
8257
  locale: string;
8210
8258
  pageId: string | null;
8211
8259
  layoutId: string | null;
8212
- type: string;
8213
8260
  content: unknown;
8214
8261
  createdAt: number;
8215
8262
  updatedAt: number;
@@ -8227,6 +8274,7 @@ declare const router: {
8227
8274
  } & {
8228
8275
  summary: string;
8229
8276
  title: string;
8277
+ artifactHashes: Record<string, string>;
8230
8278
  } & {
8231
8279
  references: ResolvedReferences;
8232
8280
  })[];
@@ -8257,6 +8305,7 @@ declare const router: {
8257
8305
  blockId: string;
8258
8306
  summary: string;
8259
8307
  title: string;
8308
+ artifactHashes: Record<string, string>;
8260
8309
  } & {
8261
8310
  references: ResolvedReferences;
8262
8311
  })[];
@@ -8687,8 +8736,8 @@ declare const router: {
8687
8736
  studio?: boolean | null | undefined;
8688
8737
  };
8689
8738
  db: Database;
8690
- env: Bindings;
8691
8739
  headers: Headers;
8740
+ env: Bindings;
8692
8741
  client: string;
8693
8742
  telemetryDisabled: boolean;
8694
8743
  waitUntil: (promise: Promise<unknown>) => void;
@@ -8723,8 +8772,8 @@ declare const router: {
8723
8772
  studio?: boolean | null | undefined;
8724
8773
  };
8725
8774
  db: Database;
8726
- env: Bindings;
8727
8775
  headers: Headers;
8776
+ env: Bindings;
8728
8777
  client: string;
8729
8778
  telemetryDisabled: boolean;
8730
8779
  waitUntil: (promise: Promise<unknown>) => void;
@@ -8833,8 +8882,8 @@ declare const router: {
8833
8882
  studio?: boolean | null | undefined;
8834
8883
  };
8835
8884
  db: Database;
8836
- env: Bindings;
8837
8885
  headers: Headers;
8886
+ env: Bindings;
8838
8887
  client: string;
8839
8888
  telemetryDisabled: boolean;
8840
8889
  waitUntil: (promise: Promise<unknown>) => void;
@@ -8869,8 +8918,8 @@ declare const router: {
8869
8918
  studio?: boolean | null | undefined;
8870
8919
  };
8871
8920
  db: Database;
8872
- env: Bindings;
8873
8921
  headers: Headers;
8922
+ env: Bindings;
8874
8923
  client: string;
8875
8924
  telemetryDisabled: boolean;
8876
8925
  waitUntil: (promise: Promise<unknown>) => void;
@@ -8971,8 +9020,8 @@ declare const router: {
8971
9020
  studio?: boolean | null | undefined;
8972
9021
  };
8973
9022
  db: Database;
8974
- env: Bindings;
8975
9023
  headers: Headers;
9024
+ env: Bindings;
8976
9025
  client: string;
8977
9026
  telemetryDisabled: boolean;
8978
9027
  waitUntil: (promise: Promise<unknown>) => void;
@@ -9007,8 +9056,8 @@ declare const router: {
9007
9056
  studio?: boolean | null | undefined;
9008
9057
  };
9009
9058
  db: Database;
9010
- env: Bindings;
9011
9059
  headers: Headers;
9060
+ env: Bindings;
9012
9061
  client: string;
9013
9062
  telemetryDisabled: boolean;
9014
9063
  waitUntil: (promise: Promise<unknown>) => void;
@@ -9106,8 +9155,8 @@ declare const router: {
9106
9155
  studio?: boolean | null | undefined;
9107
9156
  };
9108
9157
  db: Database;
9109
- env: Bindings;
9110
9158
  headers: Headers;
9159
+ env: Bindings;
9111
9160
  client: string;
9112
9161
  telemetryDisabled: boolean;
9113
9162
  waitUntil: (promise: Promise<unknown>) => void;
@@ -9142,8 +9191,8 @@ declare const router: {
9142
9191
  studio?: boolean | null | undefined;
9143
9192
  };
9144
9193
  db: Database;
9145
- env: Bindings;
9146
9194
  headers: Headers;
9195
+ env: Bindings;
9147
9196
  client: string;
9148
9197
  telemetryDisabled: boolean;
9149
9198
  waitUntil: (promise: Promise<unknown>) => void;
@@ -9244,8 +9293,8 @@ declare const router: {
9244
9293
  studio?: boolean | null | undefined;
9245
9294
  };
9246
9295
  db: Database;
9247
- env: Bindings;
9248
9296
  headers: Headers;
9297
+ env: Bindings;
9249
9298
  client: string;
9250
9299
  telemetryDisabled: boolean;
9251
9300
  waitUntil: (promise: Promise<unknown>) => void;
@@ -9280,8 +9329,8 @@ declare const router: {
9280
9329
  studio?: boolean | null | undefined;
9281
9330
  };
9282
9331
  db: Database;
9283
- env: Bindings;
9284
9332
  headers: Headers;
9333
+ env: Bindings;
9285
9334
  client: string;
9286
9335
  telemetryDisabled: boolean;
9287
9336
  waitUntil: (promise: Promise<unknown>) => void;
@@ -9378,8 +9427,8 @@ declare const router: {
9378
9427
  studio?: boolean | null | undefined;
9379
9428
  };
9380
9429
  db: Database;
9381
- env: Bindings;
9382
9430
  headers: Headers;
9431
+ env: Bindings;
9383
9432
  client: string;
9384
9433
  telemetryDisabled: boolean;
9385
9434
  waitUntil: (promise: Promise<unknown>) => void;
@@ -9450,6 +9499,7 @@ declare const router: {
9450
9499
  id: import("zod").ZodUUID;
9451
9500
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
9452
9501
  block: Omit<{
9502
+ type: string;
9453
9503
  draftId: string | null;
9454
9504
  id: string;
9455
9505
  deleted: boolean;
@@ -9457,7 +9507,6 @@ declare const router: {
9457
9507
  locale: string;
9458
9508
  pageId: string | null;
9459
9509
  layoutId: string | null;
9460
- type: string;
9461
9510
  content: unknown;
9462
9511
  createdAt: number;
9463
9512
  updatedAt: number;
@@ -9475,6 +9524,7 @@ declare const router: {
9475
9524
  } & {
9476
9525
  summary: string;
9477
9526
  title: string;
9527
+ artifactHashes: Record<string, string>;
9478
9528
  } & {
9479
9529
  references: ResolvedReferences;
9480
9530
  };
@@ -9505,12 +9555,14 @@ declare const router: {
9505
9555
  blockId: string;
9506
9556
  summary: string;
9507
9557
  title: string;
9558
+ artifactHashes: Record<string, string>;
9508
9559
  } & {
9509
9560
  references: ResolvedReferences;
9510
9561
  })[];
9511
9562
  files: FileView[];
9512
9563
  }, {
9513
9564
  block: Omit<{
9565
+ type: string;
9514
9566
  draftId: string | null;
9515
9567
  id: string;
9516
9568
  deleted: boolean;
@@ -9518,7 +9570,6 @@ declare const router: {
9518
9570
  locale: string;
9519
9571
  pageId: string | null;
9520
9572
  layoutId: string | null;
9521
- type: string;
9522
9573
  content: unknown;
9523
9574
  createdAt: number;
9524
9575
  updatedAt: number;
@@ -9536,6 +9587,7 @@ declare const router: {
9536
9587
  } & {
9537
9588
  summary: string;
9538
9589
  title: string;
9590
+ artifactHashes: Record<string, string>;
9539
9591
  } & {
9540
9592
  references: ResolvedReferences;
9541
9593
  };
@@ -9566,6 +9618,7 @@ declare const router: {
9566
9618
  blockId: string;
9567
9619
  summary: string;
9568
9620
  title: string;
9621
+ artifactHashes: Record<string, string>;
9569
9622
  } & {
9570
9623
  references: ResolvedReferences;
9571
9624
  })[];
@@ -9646,6 +9699,7 @@ declare const router: {
9646
9699
  type: import("zod").ZodString;
9647
9700
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
9648
9701
  block: Omit<{
9702
+ type: string;
9649
9703
  draftId: string | null;
9650
9704
  id: string;
9651
9705
  deleted: boolean;
@@ -9653,7 +9707,6 @@ declare const router: {
9653
9707
  locale: string;
9654
9708
  pageId: string | null;
9655
9709
  layoutId: string | null;
9656
- type: string;
9657
9710
  content: unknown;
9658
9711
  createdAt: number;
9659
9712
  updatedAt: number;
@@ -9671,6 +9724,7 @@ declare const router: {
9671
9724
  } & {
9672
9725
  summary: string;
9673
9726
  title: string;
9727
+ artifactHashes: Record<string, string>;
9674
9728
  } & {
9675
9729
  references: ResolvedReferences;
9676
9730
  };
@@ -9701,12 +9755,14 @@ declare const router: {
9701
9755
  blockId: string;
9702
9756
  summary: string;
9703
9757
  title: string;
9758
+ artifactHashes: Record<string, string>;
9704
9759
  } & {
9705
9760
  references: ResolvedReferences;
9706
9761
  })[];
9707
9762
  files: FileView[];
9708
9763
  } | null, {
9709
9764
  block: Omit<{
9765
+ type: string;
9710
9766
  draftId: string | null;
9711
9767
  id: string;
9712
9768
  deleted: boolean;
@@ -9714,7 +9770,6 @@ declare const router: {
9714
9770
  locale: string;
9715
9771
  pageId: string | null;
9716
9772
  layoutId: string | null;
9717
- type: string;
9718
9773
  content: unknown;
9719
9774
  createdAt: number;
9720
9775
  updatedAt: number;
@@ -9732,6 +9787,7 @@ declare const router: {
9732
9787
  } & {
9733
9788
  summary: string;
9734
9789
  title: string;
9790
+ artifactHashes: Record<string, string>;
9735
9791
  } & {
9736
9792
  references: ResolvedReferences;
9737
9793
  };
@@ -9762,6 +9818,7 @@ declare const router: {
9762
9818
  blockId: string;
9763
9819
  summary: string;
9764
9820
  title: string;
9821
+ artifactHashes: Record<string, string>;
9765
9822
  } & {
9766
9823
  references: ResolvedReferences;
9767
9824
  })[];
@@ -9804,8 +9861,8 @@ declare const router: {
9804
9861
  studio?: boolean | null | undefined;
9805
9862
  };
9806
9863
  db: Database;
9807
- env: Bindings;
9808
9864
  headers: Headers;
9865
+ env: Bindings;
9809
9866
  client: string;
9810
9867
  telemetryDisabled: boolean;
9811
9868
  waitUntil: (promise: Promise<unknown>) => void;
@@ -9840,8 +9897,8 @@ declare const router: {
9840
9897
  studio?: boolean | null | undefined;
9841
9898
  };
9842
9899
  db: Database;
9843
- env: Bindings;
9844
9900
  headers: Headers;
9901
+ env: Bindings;
9845
9902
  client: string;
9846
9903
  telemetryDisabled: boolean;
9847
9904
  waitUntil: (promise: Promise<unknown>) => void;
@@ -9866,6 +9923,7 @@ declare const router: {
9866
9923
  position: import("zod").ZodString;
9867
9924
  }, import("zod/v4/core").$strip>>>;
9868
9925
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<Omit<{
9926
+ type: string;
9869
9927
  draftId: string | null;
9870
9928
  id: string;
9871
9929
  deleted: boolean;
@@ -9873,7 +9931,6 @@ declare const router: {
9873
9931
  locale: string;
9874
9932
  pageId: string | null;
9875
9933
  layoutId: string | null;
9876
- type: string;
9877
9934
  content: unknown;
9878
9935
  createdAt: number;
9879
9936
  updatedAt: number;
@@ -9891,9 +9948,11 @@ declare const router: {
9891
9948
  } & {
9892
9949
  summary: string;
9893
9950
  title: string;
9951
+ artifactHashes: Record<string, string>;
9894
9952
  } & {
9895
9953
  warnings?: string[];
9896
9954
  }, Omit<{
9955
+ type: string;
9897
9956
  draftId: string | null;
9898
9957
  id: string;
9899
9958
  deleted: boolean;
@@ -9901,7 +9960,6 @@ declare const router: {
9901
9960
  locale: string;
9902
9961
  pageId: string | null;
9903
9962
  layoutId: string | null;
9904
- type: string;
9905
9963
  content: unknown;
9906
9964
  createdAt: number;
9907
9965
  updatedAt: number;
@@ -9919,6 +9977,7 @@ declare const router: {
9919
9977
  } & {
9920
9978
  summary: string;
9921
9979
  title: string;
9980
+ artifactHashes: Record<string, string>;
9922
9981
  } & {
9923
9982
  warnings?: string[];
9924
9983
  }>, Record<never, never>, Record<never, never>>;
@@ -9959,8 +10018,8 @@ declare const router: {
9959
10018
  studio?: boolean | null | undefined;
9960
10019
  };
9961
10020
  db: Database;
9962
- env: Bindings;
9963
10021
  headers: Headers;
10022
+ env: Bindings;
9964
10023
  client: string;
9965
10024
  telemetryDisabled: boolean;
9966
10025
  waitUntil: (promise: Promise<unknown>) => void;
@@ -9995,8 +10054,8 @@ declare const router: {
9995
10054
  studio?: boolean | null | undefined;
9996
10055
  };
9997
10056
  db: Database;
9998
- env: Bindings;
9999
10057
  headers: Headers;
10058
+ env: Bindings;
10000
10059
  client: string;
10001
10060
  telemetryDisabled: boolean;
10002
10061
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10045,8 +10104,8 @@ declare const router: {
10045
10104
  studio?: boolean | null | undefined;
10046
10105
  };
10047
10106
  db: Database;
10048
- env: Bindings;
10049
10107
  headers: Headers;
10108
+ env: Bindings;
10050
10109
  client: string;
10051
10110
  telemetryDisabled: boolean;
10052
10111
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10081,8 +10140,8 @@ declare const router: {
10081
10140
  studio?: boolean | null | undefined;
10082
10141
  };
10083
10142
  db: Database;
10084
- env: Bindings;
10085
10143
  headers: Headers;
10144
+ env: Bindings;
10086
10145
  client: string;
10087
10146
  telemetryDisabled: boolean;
10088
10147
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10131,8 +10190,8 @@ declare const router: {
10131
10190
  studio?: boolean | null | undefined;
10132
10191
  };
10133
10192
  db: Database;
10134
- env: Bindings;
10135
10193
  headers: Headers;
10194
+ env: Bindings;
10136
10195
  client: string;
10137
10196
  telemetryDisabled: boolean;
10138
10197
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10167,8 +10226,8 @@ declare const router: {
10167
10226
  studio?: boolean | null | undefined;
10168
10227
  };
10169
10228
  db: Database;
10170
- env: Bindings;
10171
10229
  headers: Headers;
10230
+ env: Bindings;
10172
10231
  client: string;
10173
10232
  telemetryDisabled: boolean;
10174
10233
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10218,8 +10277,8 @@ declare const router: {
10218
10277
  studio?: boolean | null | undefined;
10219
10278
  };
10220
10279
  db: Database;
10221
- env: Bindings;
10222
10280
  headers: Headers;
10281
+ env: Bindings;
10223
10282
  client: string;
10224
10283
  telemetryDisabled: boolean;
10225
10284
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10254,8 +10313,8 @@ declare const router: {
10254
10313
  studio?: boolean | null | undefined;
10255
10314
  };
10256
10315
  db: Database;
10257
- env: Bindings;
10258
10316
  headers: Headers;
10317
+ env: Bindings;
10259
10318
  client: string;
10260
10319
  telemetryDisabled: boolean;
10261
10320
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10303,8 +10362,8 @@ declare const router: {
10303
10362
  studio?: boolean | null | undefined;
10304
10363
  };
10305
10364
  db: Database;
10306
- env: Bindings;
10307
10365
  headers: Headers;
10366
+ env: Bindings;
10308
10367
  client: string;
10309
10368
  telemetryDisabled: boolean;
10310
10369
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10339,8 +10398,8 @@ declare const router: {
10339
10398
  studio?: boolean | null | undefined;
10340
10399
  };
10341
10400
  db: Database;
10342
- env: Bindings;
10343
10401
  headers: Headers;
10402
+ env: Bindings;
10344
10403
  client: string;
10345
10404
  telemetryDisabled: boolean;
10346
10405
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10386,8 +10445,8 @@ declare const router: {
10386
10445
  studio?: boolean | null | undefined;
10387
10446
  };
10388
10447
  db: Database;
10389
- env: Bindings;
10390
10448
  headers: Headers;
10449
+ env: Bindings;
10391
10450
  client: string;
10392
10451
  telemetryDisabled: boolean;
10393
10452
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10435,8 +10494,8 @@ declare const router: {
10435
10494
  studio?: boolean | null | undefined;
10436
10495
  };
10437
10496
  db: Database;
10438
- env: Bindings;
10439
10497
  headers: Headers;
10498
+ env: Bindings;
10440
10499
  client: string;
10441
10500
  telemetryDisabled: boolean;
10442
10501
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10471,8 +10530,8 @@ declare const router: {
10471
10530
  studio?: boolean | null | undefined;
10472
10531
  };
10473
10532
  db: Database;
10474
- env: Bindings;
10475
10533
  headers: Headers;
10534
+ env: Bindings;
10476
10535
  client: string;
10477
10536
  telemetryDisabled: boolean;
10478
10537
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10508,6 +10567,7 @@ declare const router: {
10508
10567
  afterBlockIds: string[];
10509
10568
  };
10510
10569
  blocks: (Omit<{
10570
+ type: string;
10511
10571
  draftId: string | null;
10512
10572
  id: string;
10513
10573
  deleted: boolean;
@@ -10515,7 +10575,6 @@ declare const router: {
10515
10575
  locale: string;
10516
10576
  pageId: string | null;
10517
10577
  layoutId: string | null;
10518
- type: string;
10519
10578
  content: unknown;
10520
10579
  createdAt: number;
10521
10580
  updatedAt: number;
@@ -10533,6 +10592,7 @@ declare const router: {
10533
10592
  } & {
10534
10593
  summary: string;
10535
10594
  title: string;
10595
+ artifactHashes: Record<string, string>;
10536
10596
  } & {
10537
10597
  references: ResolvedReferences;
10538
10598
  })[];
@@ -10563,6 +10623,7 @@ declare const router: {
10563
10623
  blockId: string;
10564
10624
  summary: string;
10565
10625
  title: string;
10626
+ artifactHashes: Record<string, string>;
10566
10627
  } & {
10567
10628
  references: ResolvedReferences;
10568
10629
  })[];
@@ -10585,6 +10646,7 @@ declare const router: {
10585
10646
  afterBlockIds: string[];
10586
10647
  };
10587
10648
  blocks: (Omit<{
10649
+ type: string;
10588
10650
  draftId: string | null;
10589
10651
  id: string;
10590
10652
  deleted: boolean;
@@ -10592,7 +10654,6 @@ declare const router: {
10592
10654
  locale: string;
10593
10655
  pageId: string | null;
10594
10656
  layoutId: string | null;
10595
- type: string;
10596
10657
  content: unknown;
10597
10658
  createdAt: number;
10598
10659
  updatedAt: number;
@@ -10610,6 +10671,7 @@ declare const router: {
10610
10671
  } & {
10611
10672
  summary: string;
10612
10673
  title: string;
10674
+ artifactHashes: Record<string, string>;
10613
10675
  } & {
10614
10676
  references: ResolvedReferences;
10615
10677
  })[];
@@ -10640,6 +10702,7 @@ declare const router: {
10640
10702
  blockId: string;
10641
10703
  summary: string;
10642
10704
  title: string;
10705
+ artifactHashes: Record<string, string>;
10643
10706
  } & {
10644
10707
  references: ResolvedReferences;
10645
10708
  })[];
@@ -10728,8 +10791,8 @@ declare const router: {
10728
10791
  studio?: boolean | null | undefined;
10729
10792
  };
10730
10793
  db: Database;
10731
- env: Bindings;
10732
10794
  headers: Headers;
10795
+ env: Bindings;
10733
10796
  client: string;
10734
10797
  telemetryDisabled: boolean;
10735
10798
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10764,8 +10827,8 @@ declare const router: {
10764
10827
  studio?: boolean | null | undefined;
10765
10828
  };
10766
10829
  db: Database;
10767
- env: Bindings;
10768
10830
  headers: Headers;
10831
+ env: Bindings;
10769
10832
  client: string;
10770
10833
  telemetryDisabled: boolean;
10771
10834
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10814,8 +10877,8 @@ declare const router: {
10814
10877
  studio?: boolean | null | undefined;
10815
10878
  };
10816
10879
  db: Database;
10817
- env: Bindings;
10818
10880
  headers: Headers;
10881
+ env: Bindings;
10819
10882
  client: string;
10820
10883
  telemetryDisabled: boolean;
10821
10884
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10850,8 +10913,8 @@ declare const router: {
10850
10913
  studio?: boolean | null | undefined;
10851
10914
  };
10852
10915
  db: Database;
10853
- env: Bindings;
10854
10916
  headers: Headers;
10917
+ env: Bindings;
10855
10918
  client: string;
10856
10919
  telemetryDisabled: boolean;
10857
10920
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10898,8 +10961,8 @@ declare const router: {
10898
10961
  studio?: boolean | null | undefined;
10899
10962
  };
10900
10963
  db: Database;
10901
- env: Bindings;
10902
10964
  headers: Headers;
10965
+ env: Bindings;
10903
10966
  client: string;
10904
10967
  telemetryDisabled: boolean;
10905
10968
  waitUntil: (promise: Promise<unknown>) => void;
@@ -10946,8 +11009,8 @@ declare const router: {
10946
11009
  studio?: boolean | null | undefined;
10947
11010
  };
10948
11011
  db: Database;
10949
- env: Bindings;
10950
11012
  headers: Headers;
11013
+ env: Bindings;
10951
11014
  client: string;
10952
11015
  telemetryDisabled: boolean;
10953
11016
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11001,8 +11064,8 @@ declare const router: {
11001
11064
  studio?: boolean | null | undefined;
11002
11065
  };
11003
11066
  db: Database;
11004
- env: Bindings;
11005
11067
  headers: Headers;
11068
+ env: Bindings;
11006
11069
  client: string;
11007
11070
  telemetryDisabled: boolean;
11008
11071
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11037,8 +11100,8 @@ declare const router: {
11037
11100
  studio?: boolean | null | undefined;
11038
11101
  };
11039
11102
  db: Database;
11040
- env: Bindings;
11041
11103
  headers: Headers;
11104
+ env: Bindings;
11042
11105
  client: string;
11043
11106
  telemetryDisabled: boolean;
11044
11107
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11069,10 +11132,10 @@ declare const router: {
11069
11132
  }>, import("zod").ZodObject<{
11070
11133
  projectId: import("zod").ZodNumber;
11071
11134
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
11135
+ path: string;
11072
11136
  draftId: string | null;
11073
11137
  id: string;
11074
11138
  deleted: boolean;
11075
- path: string;
11076
11139
  createdAt: number;
11077
11140
  updatedAt: number;
11078
11141
  projectId: number;
@@ -11093,10 +11156,10 @@ declare const router: {
11093
11156
  height: number | null;
11094
11157
  blobId: string;
11095
11158
  }>[], FileView<{
11159
+ path: string;
11096
11160
  draftId: string | null;
11097
11161
  id: string;
11098
11162
  deleted: boolean;
11099
- path: string;
11100
11163
  createdAt: number;
11101
11164
  updatedAt: number;
11102
11165
  projectId: number;
@@ -11124,10 +11187,10 @@ declare const router: {
11124
11187
  }>, import("zod").ZodObject<{
11125
11188
  id: import("zod").ZodUUID;
11126
11189
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
11190
+ path: string;
11127
11191
  draftId: string | null;
11128
11192
  id: string;
11129
11193
  deleted: boolean;
11130
- path: string;
11131
11194
  createdAt: number;
11132
11195
  updatedAt: number;
11133
11196
  projectId: number;
@@ -11148,10 +11211,10 @@ declare const router: {
11148
11211
  height: number | null;
11149
11212
  blobId: string;
11150
11213
  }>, FileView<{
11214
+ path: string;
11151
11215
  draftId: string | null;
11152
11216
  id: string;
11153
11217
  deleted: boolean;
11154
- path: string;
11155
11218
  createdAt: number;
11156
11219
  updatedAt: number;
11157
11220
  projectId: number;
@@ -11220,8 +11283,8 @@ declare const router: {
11220
11283
  studio?: boolean | null | undefined;
11221
11284
  };
11222
11285
  db: Database;
11223
- env: Bindings;
11224
11286
  headers: Headers;
11287
+ env: Bindings;
11225
11288
  client: string;
11226
11289
  telemetryDisabled: boolean;
11227
11290
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11256,8 +11319,8 @@ declare const router: {
11256
11319
  studio?: boolean | null | undefined;
11257
11320
  };
11258
11321
  db: Database;
11259
- env: Bindings;
11260
11322
  headers: Headers;
11323
+ env: Bindings;
11261
11324
  client: string;
11262
11325
  telemetryDisabled: boolean;
11263
11326
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11269,10 +11332,10 @@ declare const router: {
11269
11332
  id: import("zod").ZodUUID;
11270
11333
  alt: import("zod").ZodString;
11271
11334
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
11335
+ path: string;
11272
11336
  draftId: string | null;
11273
11337
  id: string;
11274
11338
  deleted: boolean;
11275
- path: string;
11276
11339
  createdAt: number;
11277
11340
  updatedAt: number;
11278
11341
  projectId: number;
@@ -11293,10 +11356,10 @@ declare const router: {
11293
11356
  height: number | null;
11294
11357
  blobId: string;
11295
11358
  }>, FileView<{
11359
+ path: string;
11296
11360
  draftId: string | null;
11297
11361
  id: string;
11298
11362
  deleted: boolean;
11299
- path: string;
11300
11363
  createdAt: number;
11301
11364
  updatedAt: number;
11302
11365
  projectId: number;
@@ -11354,8 +11417,8 @@ declare const router: {
11354
11417
  studio?: boolean | null | undefined;
11355
11418
  };
11356
11419
  db: Database;
11357
- env: Bindings;
11358
11420
  headers: Headers;
11421
+ env: Bindings;
11359
11422
  client: string;
11360
11423
  telemetryDisabled: boolean;
11361
11424
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11390,8 +11453,8 @@ declare const router: {
11390
11453
  studio?: boolean | null | undefined;
11391
11454
  };
11392
11455
  db: Database;
11393
- env: Bindings;
11394
11456
  headers: Headers;
11457
+ env: Bindings;
11395
11458
  client: string;
11396
11459
  telemetryDisabled: boolean;
11397
11460
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11403,10 +11466,10 @@ declare const router: {
11403
11466
  id: import("zod").ZodUUID;
11404
11467
  filename: import("zod").ZodString;
11405
11468
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
11469
+ path: string;
11406
11470
  draftId: string | null;
11407
11471
  id: string;
11408
11472
  deleted: boolean;
11409
- path: string;
11410
11473
  createdAt: number;
11411
11474
  updatedAt: number;
11412
11475
  projectId: number;
@@ -11427,10 +11490,10 @@ declare const router: {
11427
11490
  height: number | null;
11428
11491
  blobId: string;
11429
11492
  }>, FileView<{
11493
+ path: string;
11430
11494
  draftId: string | null;
11431
11495
  id: string;
11432
11496
  deleted: boolean;
11433
- path: string;
11434
11497
  createdAt: number;
11435
11498
  updatedAt: number;
11436
11499
  projectId: number;
@@ -11488,8 +11551,8 @@ declare const router: {
11488
11551
  studio?: boolean | null | undefined;
11489
11552
  };
11490
11553
  db: Database;
11491
- env: Bindings;
11492
11554
  headers: Headers;
11555
+ env: Bindings;
11493
11556
  client: string;
11494
11557
  telemetryDisabled: boolean;
11495
11558
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11524,8 +11587,8 @@ declare const router: {
11524
11587
  studio?: boolean | null | undefined;
11525
11588
  };
11526
11589
  db: Database;
11527
- env: Bindings;
11528
11590
  headers: Headers;
11591
+ env: Bindings;
11529
11592
  client: string;
11530
11593
  telemetryDisabled: boolean;
11531
11594
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11536,10 +11599,10 @@ declare const router: {
11536
11599
  }>, Record<never, never>>, import("zod").ZodObject<{
11537
11600
  id: import("zod").ZodUUID;
11538
11601
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
11602
+ path: string;
11539
11603
  draftId: string | null;
11540
11604
  id: string;
11541
11605
  deleted: boolean;
11542
- path: string;
11543
11606
  createdAt: number;
11544
11607
  updatedAt: number;
11545
11608
  projectId: number;
@@ -11560,10 +11623,10 @@ declare const router: {
11560
11623
  height: number | null;
11561
11624
  blobId: string;
11562
11625
  }, {
11626
+ path: string;
11563
11627
  draftId: string | null;
11564
11628
  id: string;
11565
11629
  deleted: boolean;
11566
- path: string;
11567
11630
  createdAt: number;
11568
11631
  updatedAt: number;
11569
11632
  projectId: number;
@@ -11621,8 +11684,8 @@ declare const router: {
11621
11684
  studio?: boolean | null | undefined;
11622
11685
  };
11623
11686
  db: Database;
11624
- env: Bindings;
11625
11687
  headers: Headers;
11688
+ env: Bindings;
11626
11689
  client: string;
11627
11690
  telemetryDisabled: boolean;
11628
11691
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11657,8 +11720,8 @@ declare const router: {
11657
11720
  studio?: boolean | null | undefined;
11658
11721
  };
11659
11722
  db: Database;
11660
- env: Bindings;
11661
11723
  headers: Headers;
11724
+ env: Bindings;
11662
11725
  client: string;
11663
11726
  telemetryDisabled: boolean;
11664
11727
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11706,8 +11769,8 @@ declare const router: {
11706
11769
  studio?: boolean | null | undefined;
11707
11770
  };
11708
11771
  db: Database;
11709
- env: Bindings;
11710
11772
  headers: Headers;
11773
+ env: Bindings;
11711
11774
  client: string;
11712
11775
  telemetryDisabled: boolean;
11713
11776
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11742,8 +11805,8 @@ declare const router: {
11742
11805
  studio?: boolean | null | undefined;
11743
11806
  };
11744
11807
  db: Database;
11745
- env: Bindings;
11746
11808
  headers: Headers;
11809
+ env: Bindings;
11747
11810
  client: string;
11748
11811
  telemetryDisabled: boolean;
11749
11812
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11755,10 +11818,10 @@ declare const router: {
11755
11818
  id: import("zod").ZodUUID;
11756
11819
  enabled: import("zod").ZodBoolean;
11757
11820
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
11821
+ path: string;
11758
11822
  draftId: string | null;
11759
11823
  id: string;
11760
11824
  deleted: boolean;
11761
- path: string;
11762
11825
  createdAt: number;
11763
11826
  updatedAt: number;
11764
11827
  projectId: number;
@@ -11779,10 +11842,10 @@ declare const router: {
11779
11842
  height: number | null;
11780
11843
  blobId: string;
11781
11844
  }>, FileView<{
11845
+ path: string;
11782
11846
  draftId: string | null;
11783
11847
  id: string;
11784
11848
  deleted: boolean;
11785
- path: string;
11786
11849
  createdAt: number;
11787
11850
  updatedAt: number;
11788
11851
  projectId: number;
@@ -11838,8 +11901,8 @@ declare const router: {
11838
11901
  studio?: boolean | null | undefined;
11839
11902
  };
11840
11903
  db: Database;
11841
- env: Bindings;
11842
11904
  headers: Headers;
11905
+ env: Bindings;
11843
11906
  client: string;
11844
11907
  telemetryDisabled: boolean;
11845
11908
  waitUntil: (promise: Promise<unknown>) => void;
@@ -11850,10 +11913,10 @@ declare const router: {
11850
11913
  }>, import("zod").ZodObject<{
11851
11914
  id: import("zod").ZodUUID;
11852
11915
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
11916
+ path: string;
11853
11917
  draftId: string | null;
11854
11918
  id: string;
11855
11919
  deleted: boolean;
11856
- path: string;
11857
11920
  createdAt: number;
11858
11921
  updatedAt: number;
11859
11922
  projectId: number;
@@ -11874,10 +11937,10 @@ declare const router: {
11874
11937
  height: number | null;
11875
11938
  blobId: string;
11876
11939
  }> | undefined, FileView<{
11940
+ path: string;
11877
11941
  draftId: string | null;
11878
11942
  id: string;
11879
11943
  deleted: boolean;
11880
- path: string;
11881
11944
  createdAt: number;
11882
11945
  updatedAt: number;
11883
11946
  projectId: number;
@@ -11912,6 +11975,9 @@ declare const router: {
11912
11975
  blockId: string | null;
11913
11976
  summary: string;
11914
11977
  title: string;
11978
+ artifactHashes: {
11979
+ [k: string]: string;
11980
+ };
11915
11981
  references: ResolvedReferences;
11916
11982
  draftId: string | null;
11917
11983
  id: string;
@@ -11939,6 +12005,9 @@ declare const router: {
11939
12005
  blockId: string | null;
11940
12006
  summary: string;
11941
12007
  title: string;
12008
+ artifactHashes: {
12009
+ [k: string]: string;
12010
+ };
11942
12011
  references: ResolvedReferences;
11943
12012
  draftId: string | null;
11944
12013
  id: string;
@@ -11998,8 +12067,8 @@ declare const router: {
11998
12067
  studio?: boolean | null | undefined;
11999
12068
  };
12000
12069
  db: Database;
12001
- env: Bindings;
12002
12070
  headers: Headers;
12071
+ env: Bindings;
12003
12072
  client: string;
12004
12073
  telemetryDisabled: boolean;
12005
12074
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12034,8 +12103,8 @@ declare const router: {
12034
12103
  studio?: boolean | null | undefined;
12035
12104
  };
12036
12105
  db: Database;
12037
- env: Bindings;
12038
12106
  headers: Headers;
12107
+ env: Bindings;
12039
12108
  client: string;
12040
12109
  telemetryDisabled: boolean;
12041
12110
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12143,8 +12212,8 @@ declare const router: {
12143
12212
  studio?: boolean | null | undefined;
12144
12213
  };
12145
12214
  db: Database;
12146
- env: Bindings;
12147
12215
  headers: Headers;
12216
+ env: Bindings;
12148
12217
  client: string;
12149
12218
  telemetryDisabled: boolean;
12150
12219
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12179,8 +12248,8 @@ declare const router: {
12179
12248
  studio?: boolean | null | undefined;
12180
12249
  };
12181
12250
  db: Database;
12182
- env: Bindings;
12183
12251
  headers: Headers;
12252
+ env: Bindings;
12184
12253
  client: string;
12185
12254
  telemetryDisabled: boolean;
12186
12255
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12275,8 +12344,8 @@ declare const router: {
12275
12344
  studio?: boolean | null | undefined;
12276
12345
  };
12277
12346
  db: Database;
12278
- env: Bindings;
12279
12347
  headers: Headers;
12348
+ env: Bindings;
12280
12349
  client: string;
12281
12350
  telemetryDisabled: boolean;
12282
12351
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12311,8 +12380,8 @@ declare const router: {
12311
12380
  studio?: boolean | null | undefined;
12312
12381
  };
12313
12382
  db: Database;
12314
- env: Bindings;
12315
12383
  headers: Headers;
12384
+ env: Bindings;
12316
12385
  client: string;
12317
12386
  telemetryDisabled: boolean;
12318
12387
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12407,8 +12476,8 @@ declare const router: {
12407
12476
  studio?: boolean | null | undefined;
12408
12477
  };
12409
12478
  db: Database;
12410
- env: Bindings;
12411
12479
  headers: Headers;
12480
+ env: Bindings;
12412
12481
  client: string;
12413
12482
  telemetryDisabled: boolean;
12414
12483
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12443,8 +12512,8 @@ declare const router: {
12443
12512
  studio?: boolean | null | undefined;
12444
12513
  };
12445
12514
  db: Database;
12446
- env: Bindings;
12447
12515
  headers: Headers;
12516
+ env: Bindings;
12448
12517
  client: string;
12449
12518
  telemetryDisabled: boolean;
12450
12519
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12540,8 +12609,8 @@ declare const router: {
12540
12609
  studio?: boolean | null | undefined;
12541
12610
  };
12542
12611
  db: Database;
12543
- env: Bindings;
12544
12612
  headers: Headers;
12613
+ env: Bindings;
12545
12614
  client: string;
12546
12615
  telemetryDisabled: boolean;
12547
12616
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12576,8 +12645,8 @@ declare const router: {
12576
12645
  studio?: boolean | null | undefined;
12577
12646
  };
12578
12647
  db: Database;
12579
- env: Bindings;
12580
12648
  headers: Headers;
12649
+ env: Bindings;
12581
12650
  client: string;
12582
12651
  telemetryDisabled: boolean;
12583
12652
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12669,8 +12738,8 @@ declare const router: {
12669
12738
  studio?: boolean | null | undefined;
12670
12739
  };
12671
12740
  db: Database;
12672
- env: Bindings;
12673
12741
  headers: Headers;
12742
+ env: Bindings;
12674
12743
  client: string;
12675
12744
  telemetryDisabled: boolean;
12676
12745
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12764,8 +12833,8 @@ declare const router: {
12764
12833
  studio?: boolean | null | undefined;
12765
12834
  };
12766
12835
  db: Database;
12767
- env: Bindings;
12768
12836
  headers: Headers;
12837
+ env: Bindings;
12769
12838
  client: string;
12770
12839
  telemetryDisabled: boolean;
12771
12840
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12800,8 +12869,8 @@ declare const router: {
12800
12869
  studio?: boolean | null | undefined;
12801
12870
  };
12802
12871
  db: Database;
12803
- env: Bindings;
12804
12872
  headers: Headers;
12873
+ env: Bindings;
12805
12874
  client: string;
12806
12875
  telemetryDisabled: boolean;
12807
12876
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12936,8 +13005,8 @@ declare const router: {
12936
13005
  studio?: boolean | null | undefined;
12937
13006
  };
12938
13007
  db: Database;
12939
- env: Bindings;
12940
13008
  headers: Headers;
13009
+ env: Bindings;
12941
13010
  client: string;
12942
13011
  telemetryDisabled: boolean;
12943
13012
  waitUntil: (promise: Promise<unknown>) => void;
@@ -12995,8 +13064,8 @@ declare const router: {
12995
13064
  studio?: boolean | null | undefined;
12996
13065
  };
12997
13066
  db: Database;
12998
- env: Bindings;
12999
13067
  headers: Headers;
13068
+ env: Bindings;
13000
13069
  client: string;
13001
13070
  telemetryDisabled: boolean;
13002
13071
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13057,8 +13126,8 @@ declare const router: {
13057
13126
  studio?: boolean | null | undefined;
13058
13127
  };
13059
13128
  db: Database;
13060
- env: Bindings;
13061
13129
  headers: Headers;
13130
+ env: Bindings;
13062
13131
  client: string;
13063
13132
  telemetryDisabled: boolean;
13064
13133
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13115,8 +13184,8 @@ declare const router: {
13115
13184
  studio?: boolean | null | undefined;
13116
13185
  };
13117
13186
  db: Database;
13118
- env: Bindings;
13119
13187
  headers: Headers;
13188
+ env: Bindings;
13120
13189
  client: string;
13121
13190
  telemetryDisabled: boolean;
13122
13191
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13180,8 +13249,8 @@ declare const router: {
13180
13249
  studio?: boolean | null | undefined;
13181
13250
  };
13182
13251
  db: Database;
13183
- env: Bindings;
13184
13252
  headers: Headers;
13253
+ env: Bindings;
13185
13254
  client: string;
13186
13255
  telemetryDisabled: boolean;
13187
13256
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13300,8 +13369,8 @@ declare const router: {
13300
13369
  studio?: boolean | null | undefined;
13301
13370
  };
13302
13371
  db: Database;
13303
- env: Bindings;
13304
13372
  headers: Headers;
13373
+ env: Bindings;
13305
13374
  client: string;
13306
13375
  telemetryDisabled: boolean;
13307
13376
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13336,8 +13405,8 @@ declare const router: {
13336
13405
  studio?: boolean | null | undefined;
13337
13406
  };
13338
13407
  db: Database;
13339
- env: Bindings;
13340
13408
  headers: Headers;
13409
+ env: Bindings;
13341
13410
  client: string;
13342
13411
  telemetryDisabled: boolean;
13343
13412
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13404,8 +13473,8 @@ declare const router: {
13404
13473
  studio?: boolean | null | undefined;
13405
13474
  };
13406
13475
  db: Database;
13407
- env: Bindings;
13408
13476
  headers: Headers;
13477
+ env: Bindings;
13409
13478
  client: string;
13410
13479
  telemetryDisabled: boolean;
13411
13480
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13440,8 +13509,8 @@ declare const router: {
13440
13509
  studio?: boolean | null | undefined;
13441
13510
  };
13442
13511
  db: Database;
13443
- env: Bindings;
13444
13512
  headers: Headers;
13513
+ env: Bindings;
13445
13514
  client: string;
13446
13515
  telemetryDisabled: boolean;
13447
13516
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13508,8 +13577,8 @@ declare const router: {
13508
13577
  studio?: boolean | null | undefined;
13509
13578
  };
13510
13579
  db: Database;
13511
- env: Bindings;
13512
13580
  headers: Headers;
13581
+ env: Bindings;
13513
13582
  client: string;
13514
13583
  telemetryDisabled: boolean;
13515
13584
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13544,8 +13613,8 @@ declare const router: {
13544
13613
  studio?: boolean | null | undefined;
13545
13614
  };
13546
13615
  db: Database;
13547
- env: Bindings;
13548
13616
  headers: Headers;
13617
+ env: Bindings;
13549
13618
  client: string;
13550
13619
  telemetryDisabled: boolean;
13551
13620
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13625,14 +13694,14 @@ declare const router: {
13625
13694
  properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
13626
13695
  fieldType: import("zod").ZodEnum<{
13627
13696
  String: "String";
13697
+ Embed: "Embed";
13698
+ Link: "Link";
13628
13699
  Boolean: "Boolean";
13629
13700
  Enum: "Enum";
13630
- Embed: "Embed";
13631
13701
  Image: "Image";
13632
13702
  File: "File";
13633
13703
  ImageList: "ImageList";
13634
13704
  FileList: "FileList";
13635
- Link: "Link";
13636
13705
  Repeater: "Repeater";
13637
13706
  Reference: "Reference";
13638
13707
  ReferenceList: "ReferenceList";
@@ -13675,7 +13744,7 @@ declare const router: {
13675
13744
  contentSchema: {
13676
13745
  type: "object";
13677
13746
  properties: Record<string, {
13678
- fieldType: "String" | "Boolean" | "Enum" | "Embed" | "Image" | "File" | "ImageList" | "FileList" | "Link" | "Repeater" | "Reference" | "ReferenceList";
13747
+ fieldType: "String" | "Embed" | "Link" | "Boolean" | "Enum" | "Image" | "File" | "ImageList" | "FileList" | "Repeater" | "Reference" | "ReferenceList";
13679
13748
  type?: string | undefined;
13680
13749
  anyOf?: unknown;
13681
13750
  title?: string | undefined;
@@ -13712,7 +13781,7 @@ declare const router: {
13712
13781
  contentSchema: {
13713
13782
  type: "object";
13714
13783
  properties: Record<string, {
13715
- fieldType: "String" | "Boolean" | "Enum" | "Embed" | "Image" | "File" | "ImageList" | "FileList" | "Link" | "Repeater" | "Reference" | "ReferenceList";
13784
+ fieldType: "String" | "Embed" | "Link" | "Boolean" | "Enum" | "Image" | "File" | "ImageList" | "FileList" | "Repeater" | "Reference" | "ReferenceList";
13716
13785
  type?: string | undefined;
13717
13786
  anyOf?: unknown;
13718
13787
  title?: string | undefined;
@@ -13856,8 +13925,8 @@ declare const router: {
13856
13925
  studio?: boolean | null | undefined;
13857
13926
  };
13858
13927
  db: Database;
13859
- env: Bindings;
13860
13928
  headers: Headers;
13929
+ env: Bindings;
13861
13930
  client: string;
13862
13931
  telemetryDisabled: boolean;
13863
13932
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13917,8 +13986,8 @@ declare const router: {
13917
13986
  studio?: boolean | null | undefined;
13918
13987
  };
13919
13988
  db: Database;
13920
- env: Bindings;
13921
13989
  headers: Headers;
13990
+ env: Bindings;
13922
13991
  client: string;
13923
13992
  telemetryDisabled: boolean;
13924
13993
  waitUntil: (promise: Promise<unknown>) => void;
@@ -13965,8 +14034,8 @@ declare const router: {
13965
14034
  studio?: boolean | null | undefined;
13966
14035
  };
13967
14036
  db: Database;
13968
- env: Bindings;
13969
14037
  headers: Headers;
14038
+ env: Bindings;
13970
14039
  client: string;
13971
14040
  telemetryDisabled: boolean;
13972
14041
  waitUntil: (promise: Promise<unknown>) => void;
@@ -14012,8 +14081,8 @@ declare const router: {
14012
14081
  studio?: boolean | null | undefined;
14013
14082
  };
14014
14083
  db: Database;
14015
- env: Bindings;
14016
14084
  headers: Headers;
14085
+ env: Bindings;
14017
14086
  client: string;
14018
14087
  telemetryDisabled: boolean;
14019
14088
  waitUntil: (promise: Promise<unknown>) => void;
@@ -14060,8 +14129,8 @@ declare const router: {
14060
14129
  studio?: boolean | null | undefined;
14061
14130
  };
14062
14131
  db: Database;
14063
- env: Bindings;
14064
14132
  headers: Headers;
14133
+ env: Bindings;
14065
14134
  client: string;
14066
14135
  telemetryDisabled: boolean;
14067
14136
  waitUntil: (promise: Promise<unknown>) => void;
@@ -14151,8 +14220,8 @@ declare const router: {
14151
14220
  studio?: boolean | null | undefined;
14152
14221
  };
14153
14222
  db: Database;
14154
- env: Bindings;
14155
14223
  headers: Headers;
14224
+ env: Bindings;
14156
14225
  client: string;
14157
14226
  telemetryDisabled: boolean;
14158
14227
  waitUntil: (promise: Promise<unknown>) => void;
@@ -14198,8 +14267,8 @@ declare const router: {
14198
14267
  studio?: boolean | null | undefined;
14199
14268
  };
14200
14269
  db: Database;
14201
- env: Bindings;
14202
14270
  headers: Headers;
14271
+ env: Bindings;
14203
14272
  client: string;
14204
14273
  telemetryDisabled: boolean;
14205
14274
  waitUntil: (promise: Promise<unknown>) => void;
@@ -14248,8 +14317,8 @@ declare const router: {
14248
14317
  studio?: boolean | null | undefined;
14249
14318
  };
14250
14319
  db: Database;
14251
- env: Bindings;
14252
14320
  headers: Headers;
14321
+ env: Bindings;
14253
14322
  client: string;
14254
14323
  telemetryDisabled: boolean;
14255
14324
  waitUntil: (promise: Promise<unknown>) => void;
@@ -14299,8 +14368,8 @@ declare const router: {
14299
14368
  studio?: boolean | null | undefined;
14300
14369
  };
14301
14370
  db: Database;
14302
- env: Bindings;
14303
14371
  headers: Headers;
14372
+ env: Bindings;
14304
14373
  client: string;
14305
14374
  telemetryDisabled: boolean;
14306
14375
  waitUntil: (promise: Promise<unknown>) => void;
@@ -14359,8 +14428,8 @@ declare const router: {
14359
14428
  studio?: boolean | null | undefined;
14360
14429
  };
14361
14430
  db: Database;
14362
- env: Bindings;
14363
14431
  headers: Headers;
14432
+ env: Bindings;
14364
14433
  client: string;
14365
14434
  telemetryDisabled: boolean;
14366
14435
  waitUntil: (promise: Promise<unknown>) => void;
@@ -14408,8 +14477,8 @@ declare const router: {
14408
14477
  studio?: boolean | null | undefined;
14409
14478
  };
14410
14479
  db: Database;
14411
- env: Bindings;
14412
14480
  headers: Headers;
14481
+ env: Bindings;
14413
14482
  client: string;
14414
14483
  telemetryDisabled: boolean;
14415
14484
  waitUntil: (promise: Promise<unknown>) => void;
@@ -14457,8 +14526,8 @@ declare const router: {
14457
14526
  studio?: boolean | null | undefined;
14458
14527
  };
14459
14528
  db: Database;
14460
- env: Bindings;
14461
14529
  headers: Headers;
14530
+ env: Bindings;
14462
14531
  client: string;
14463
14532
  telemetryDisabled: boolean;
14464
14533
  waitUntil: (promise: Promise<unknown>) => void;