@camox/api-contract 0.59.0 → 0.60.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/dist/router.d.ts CHANGED
@@ -12,6 +12,7 @@ import { PiHarness, PiHarnessOptions } from "agents/harness/pi";
12
12
  import { CapabilityStartContext, Lifecycle } from "agents/lifecycle";
13
13
  import { WebSockets } from "agents/websockets";
14
14
  import { FileErrorCode } from "@earendil-works/pi-durable/env";
15
+ import "camox/_internal/sdkBundleName";
15
16
  import "@camox/ai-tools";
16
17
  import "@earendil-works/pi-durable";
17
18
  import { CiParams, CloudflareArtifacts } from "@cloudflare/ci";
@@ -6602,12 +6603,13 @@ type RevisionToLoad = {
6602
6603
  /** Dispatch's `CamoxRevisions` entrypoint. */
6603
6604
  type Dispatch = {
6604
6605
  /**
6605
- * Readies a revision before its draft's viewers are told of it, reading its build once:
6606
+ * Readies a revision before its draft's viewers are told of it, reading its build once, from
6607
+ * `archive` when the API sends it, as it does while it stores it, or else from R2:
6606
6608
  * dispatch serves its client assets from then on, and has loaded and rendered it once. Returns
6607
6609
  * its Definition Set (JSON, not yet checked), with what each part took, for the API's timing
6608
6610
  * logs.
6609
6611
  */
6610
- prepare(revision: RevisionToLoad): Promise<PreparedRevision>;
6612
+ prepare(revision: RevisionToLoad, archive?: Uint8Array): Promise<PreparedRevision>;
6611
6613
  };
6612
6614
  /**
6613
6615
  * What preparing a revision took: reading its build, then, at once, storing its client assets
@@ -6638,6 +6640,11 @@ type Bindings = {
6638
6640
  EMAIL: SendEmail;
6639
6641
  /** Where alerts go, such as a failed release's. Cloudflare Email Routing forwards it. */
6640
6642
  ALERT_EMAIL_TO: string;
6643
+ /**
6644
+ * The largest revision build, in bytes, the API sends dispatch in one message
6645
+ * (`DISPATCH_ARCHIVE_LIMIT` in domains/revisions/build.ts when unset). Set only by tests.
6646
+ */
6647
+ DISPATCH_ARCHIVE_LIMIT_BYTES?: string;
6641
6648
  OPEN_ROUTER_API_KEY: string;
6642
6649
  /** Camox's Google Fonts Developer API key, which the daily fonts snapshot is taken with. */
6643
6650
  GOOGLE_FONTS_API_KEY: string;
@@ -7533,10 +7540,10 @@ declare const router: {
7533
7540
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
7534
7541
  organizationSlug: string | null;
7535
7542
  analytics: AnalyticsProviders;
7543
+ uuid: string;
7536
7544
  name: string;
7537
7545
  status: import("@camox/api-contract/projects").ProjectStatus;
7538
7546
  id: number;
7539
- uuid: string;
7540
7547
  slug: string;
7541
7548
  customDomain: string | null;
7542
7549
  deployToken: string;
@@ -7557,10 +7564,10 @@ declare const router: {
7557
7564
  }, {
7558
7565
  organizationSlug: string | null;
7559
7566
  analytics: AnalyticsProviders;
7567
+ uuid: string;
7560
7568
  name: string;
7561
7569
  status: import("@camox/api-contract/projects").ProjectStatus;
7562
7570
  id: number;
7563
- uuid: string;
7564
7571
  slug: string;
7565
7572
  customDomain: string | null;
7566
7573
  deployToken: string;
@@ -7628,10 +7635,10 @@ declare const router: {
7628
7635
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
7629
7636
  organizationSlug: string | null;
7630
7637
  analytics: AnalyticsProviders;
7638
+ uuid: string;
7631
7639
  name: string;
7632
7640
  status: import("@camox/api-contract/projects").ProjectStatus;
7633
7641
  id: number;
7634
- uuid: string;
7635
7642
  slug: string;
7636
7643
  customDomain: string | null;
7637
7644
  deployToken: string;
@@ -7652,10 +7659,10 @@ declare const router: {
7652
7659
  }, {
7653
7660
  organizationSlug: string | null;
7654
7661
  analytics: AnalyticsProviders;
7662
+ uuid: string;
7655
7663
  name: string;
7656
7664
  status: import("@camox/api-contract/projects").ProjectStatus;
7657
7665
  id: number;
7658
- uuid: string;
7659
7666
  slug: string;
7660
7667
  customDomain: string | null;
7661
7668
  deployToken: string;
@@ -7740,10 +7747,10 @@ declare const router: {
7740
7747
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
7741
7748
  organizationSlug: string | null;
7742
7749
  analytics: AnalyticsProviders;
7750
+ uuid: string;
7743
7751
  name: string;
7744
7752
  status: import("@camox/api-contract/projects").ProjectStatus;
7745
7753
  id: number;
7746
- uuid: string;
7747
7754
  slug: string;
7748
7755
  customDomain: string | null;
7749
7756
  deployToken: string;
@@ -7764,10 +7771,10 @@ declare const router: {
7764
7771
  }, {
7765
7772
  organizationSlug: string | null;
7766
7773
  analytics: AnalyticsProviders;
7774
+ uuid: string;
7767
7775
  name: string;
7768
7776
  status: import("@camox/api-contract/projects").ProjectStatus;
7769
7777
  id: number;
7770
- uuid: string;
7771
7778
  slug: string;
7772
7779
  customDomain: string | null;
7773
7780
  deployToken: string;
@@ -7894,10 +7901,10 @@ declare const router: {
7894
7901
  slug: import("zod").ZodString;
7895
7902
  organizationId: import("zod").ZodString;
7896
7903
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
7904
+ uuid: string;
7897
7905
  name: string;
7898
7906
  status: import("@camox/api-contract/projects").ProjectStatus;
7899
7907
  id: number;
7900
- uuid: string;
7901
7908
  slug: string;
7902
7909
  customDomain: string | null;
7903
7910
  deployToken: string;
@@ -7916,10 +7923,10 @@ declare const router: {
7916
7923
  codeOutsideCamox: boolean;
7917
7924
  updatedAt: number;
7918
7925
  }, {
7926
+ uuid: string;
7919
7927
  name: string;
7920
7928
  status: import("@camox/api-contract/projects").ProjectStatus;
7921
7929
  id: number;
7922
- uuid: string;
7923
7930
  slug: string;
7924
7931
  customDomain: string | null;
7925
7932
  deployToken: string;
@@ -7986,10 +7993,10 @@ declare const router: {
7986
7993
  id: import("zod").ZodNumber;
7987
7994
  name: import("zod").ZodString;
7988
7995
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
7996
+ uuid: string;
7989
7997
  name: string;
7990
7998
  status: import("@camox/api-contract/projects").ProjectStatus;
7991
7999
  id: number;
7992
- uuid: string;
7993
8000
  slug: string;
7994
8001
  customDomain: string | null;
7995
8002
  deployToken: string;
@@ -8008,10 +8015,10 @@ declare const router: {
8008
8015
  codeOutsideCamox: boolean;
8009
8016
  updatedAt: number;
8010
8017
  }, {
8018
+ uuid: string;
8011
8019
  name: string;
8012
8020
  status: import("@camox/api-contract/projects").ProjectStatus;
8013
8021
  id: number;
8014
- uuid: string;
8015
8022
  slug: string;
8016
8023
  customDomain: string | null;
8017
8024
  deployToken: string;
@@ -8251,10 +8258,10 @@ declare const router: {
8251
8258
  }>, import("zod").ZodObject<{
8252
8259
  id: import("zod").ZodNumber;
8253
8260
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
8261
+ uuid: string;
8254
8262
  name: string;
8255
8263
  status: import("@camox/api-contract/projects").ProjectStatus;
8256
8264
  id: number;
8257
- uuid: string;
8258
8265
  slug: string;
8259
8266
  customDomain: string | null;
8260
8267
  deployToken: string;
@@ -8273,10 +8280,10 @@ declare const router: {
8273
8280
  codeOutsideCamox: boolean;
8274
8281
  updatedAt: number;
8275
8282
  } | undefined, {
8283
+ uuid: string;
8276
8284
  name: string;
8277
8285
  status: import("@camox/api-contract/projects").ProjectStatus;
8278
8286
  id: number;
8279
- uuid: string;
8280
8287
  slug: string;
8281
8288
  customDomain: string | null;
8282
8289
  deployToken: string;
@@ -8348,6 +8355,7 @@ declare const router: {
8348
8355
  afterBlockIds: string[];
8349
8356
  } | null;
8350
8357
  blocks: (Omit<{
8358
+ type: string;
8351
8359
  draftId: string | null;
8352
8360
  id: string;
8353
8361
  deleted: boolean;
@@ -8355,7 +8363,6 @@ declare const router: {
8355
8363
  locale: string;
8356
8364
  pageId: string | null;
8357
8365
  layoutId: string | null;
8358
- type: string;
8359
8366
  content: unknown;
8360
8367
  createdAt: number;
8361
8368
  updatedAt: number;
@@ -8384,6 +8391,7 @@ declare const router: {
8384
8391
  settings: unknown;
8385
8392
  locale: string;
8386
8393
  blockId: string | null;
8394
+ fieldName: string;
8387
8395
  content: unknown;
8388
8396
  createdAt: number;
8389
8397
  updatedAt: number;
@@ -8397,7 +8405,6 @@ declare const router: {
8397
8405
  position: string;
8398
8406
  sharedContentType: string | null;
8399
8407
  parentItemId: string | null;
8400
- fieldName: string;
8401
8408
  }, "content"> & {
8402
8409
  content: Record<string, unknown>;
8403
8410
  } & {
@@ -8455,6 +8462,7 @@ declare const router: {
8455
8462
  afterBlockIds: string[];
8456
8463
  } | null;
8457
8464
  blocks: (Omit<{
8465
+ type: string;
8458
8466
  draftId: string | null;
8459
8467
  id: string;
8460
8468
  deleted: boolean;
@@ -8462,7 +8470,6 @@ declare const router: {
8462
8470
  locale: string;
8463
8471
  pageId: string | null;
8464
8472
  layoutId: string | null;
8465
- type: string;
8466
8473
  content: unknown;
8467
8474
  createdAt: number;
8468
8475
  updatedAt: number;
@@ -8491,6 +8498,7 @@ declare const router: {
8491
8498
  settings: unknown;
8492
8499
  locale: string;
8493
8500
  blockId: string | null;
8501
+ fieldName: string;
8494
8502
  content: unknown;
8495
8503
  createdAt: number;
8496
8504
  updatedAt: number;
@@ -8504,7 +8512,6 @@ declare const router: {
8504
8512
  position: string;
8505
8513
  sharedContentType: string | null;
8506
8514
  parentItemId: string | null;
8507
- fieldName: string;
8508
8515
  }, "content"> & {
8509
8516
  content: Record<string, unknown>;
8510
8517
  } & {
@@ -9705,6 +9712,7 @@ declare const router: {
9705
9712
  id: import("zod").ZodUUID;
9706
9713
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
9707
9714
  block: Omit<{
9715
+ type: string;
9708
9716
  draftId: string | null;
9709
9717
  id: string;
9710
9718
  deleted: boolean;
@@ -9712,7 +9720,6 @@ declare const router: {
9712
9720
  locale: string;
9713
9721
  pageId: string | null;
9714
9722
  layoutId: string | null;
9715
- type: string;
9716
9723
  content: unknown;
9717
9724
  createdAt: number;
9718
9725
  updatedAt: number;
@@ -9741,6 +9748,7 @@ declare const router: {
9741
9748
  settings: unknown;
9742
9749
  locale: string;
9743
9750
  blockId: string | null;
9751
+ fieldName: string;
9744
9752
  content: unknown;
9745
9753
  createdAt: number;
9746
9754
  updatedAt: number;
@@ -9754,7 +9762,6 @@ declare const router: {
9754
9762
  position: string;
9755
9763
  sharedContentType: string | null;
9756
9764
  parentItemId: string | null;
9757
- fieldName: string;
9758
9765
  }, "content"> & {
9759
9766
  content: Record<string, unknown>;
9760
9767
  } & {
@@ -9768,6 +9775,7 @@ declare const router: {
9768
9775
  files: FileView[];
9769
9776
  }, {
9770
9777
  block: Omit<{
9778
+ type: string;
9771
9779
  draftId: string | null;
9772
9780
  id: string;
9773
9781
  deleted: boolean;
@@ -9775,7 +9783,6 @@ declare const router: {
9775
9783
  locale: string;
9776
9784
  pageId: string | null;
9777
9785
  layoutId: string | null;
9778
- type: string;
9779
9786
  content: unknown;
9780
9787
  createdAt: number;
9781
9788
  updatedAt: number;
@@ -9804,6 +9811,7 @@ declare const router: {
9804
9811
  settings: unknown;
9805
9812
  locale: string;
9806
9813
  blockId: string | null;
9814
+ fieldName: string;
9807
9815
  content: unknown;
9808
9816
  createdAt: number;
9809
9817
  updatedAt: number;
@@ -9817,7 +9825,6 @@ declare const router: {
9817
9825
  position: string;
9818
9826
  sharedContentType: string | null;
9819
9827
  parentItemId: string | null;
9820
- fieldName: string;
9821
9828
  }, "content"> & {
9822
9829
  content: Record<string, unknown>;
9823
9830
  } & {
@@ -9905,6 +9912,7 @@ declare const router: {
9905
9912
  type: import("zod").ZodString;
9906
9913
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
9907
9914
  block: Omit<{
9915
+ type: string;
9908
9916
  draftId: string | null;
9909
9917
  id: string;
9910
9918
  deleted: boolean;
@@ -9912,7 +9920,6 @@ declare const router: {
9912
9920
  locale: string;
9913
9921
  pageId: string | null;
9914
9922
  layoutId: string | null;
9915
- type: string;
9916
9923
  content: unknown;
9917
9924
  createdAt: number;
9918
9925
  updatedAt: number;
@@ -9941,6 +9948,7 @@ declare const router: {
9941
9948
  settings: unknown;
9942
9949
  locale: string;
9943
9950
  blockId: string | null;
9951
+ fieldName: string;
9944
9952
  content: unknown;
9945
9953
  createdAt: number;
9946
9954
  updatedAt: number;
@@ -9954,7 +9962,6 @@ declare const router: {
9954
9962
  position: string;
9955
9963
  sharedContentType: string | null;
9956
9964
  parentItemId: string | null;
9957
- fieldName: string;
9958
9965
  }, "content"> & {
9959
9966
  content: Record<string, unknown>;
9960
9967
  } & {
@@ -9968,6 +9975,7 @@ declare const router: {
9968
9975
  files: FileView[];
9969
9976
  } | null, {
9970
9977
  block: Omit<{
9978
+ type: string;
9971
9979
  draftId: string | null;
9972
9980
  id: string;
9973
9981
  deleted: boolean;
@@ -9975,7 +9983,6 @@ declare const router: {
9975
9983
  locale: string;
9976
9984
  pageId: string | null;
9977
9985
  layoutId: string | null;
9978
- type: string;
9979
9986
  content: unknown;
9980
9987
  createdAt: number;
9981
9988
  updatedAt: number;
@@ -10004,6 +10011,7 @@ declare const router: {
10004
10011
  settings: unknown;
10005
10012
  locale: string;
10006
10013
  blockId: string | null;
10014
+ fieldName: string;
10007
10015
  content: unknown;
10008
10016
  createdAt: number;
10009
10017
  updatedAt: number;
@@ -10017,7 +10025,6 @@ declare const router: {
10017
10025
  position: string;
10018
10026
  sharedContentType: string | null;
10019
10027
  parentItemId: string | null;
10020
- fieldName: string;
10021
10028
  }, "content"> & {
10022
10029
  content: Record<string, unknown>;
10023
10030
  } & {
@@ -10129,6 +10136,7 @@ declare const router: {
10129
10136
  position: import("zod").ZodString;
10130
10137
  }, import("zod/v4/core").$strip>>>;
10131
10138
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<Omit<{
10139
+ type: string;
10132
10140
  draftId: string | null;
10133
10141
  id: string;
10134
10142
  deleted: boolean;
@@ -10136,7 +10144,6 @@ declare const router: {
10136
10144
  locale: string;
10137
10145
  pageId: string | null;
10138
10146
  layoutId: string | null;
10139
- type: string;
10140
10147
  content: unknown;
10141
10148
  createdAt: number;
10142
10149
  updatedAt: number;
@@ -10158,6 +10165,7 @@ declare const router: {
10158
10165
  } & {
10159
10166
  warnings?: string[];
10160
10167
  }, Omit<{
10168
+ type: string;
10161
10169
  draftId: string | null;
10162
10170
  id: string;
10163
10171
  deleted: boolean;
@@ -10165,7 +10173,6 @@ declare const router: {
10165
10173
  locale: string;
10166
10174
  pageId: string | null;
10167
10175
  layoutId: string | null;
10168
- type: string;
10169
10176
  content: unknown;
10170
10177
  createdAt: number;
10171
10178
  updatedAt: number;
@@ -10773,6 +10780,7 @@ declare const router: {
10773
10780
  afterBlockIds: string[];
10774
10781
  };
10775
10782
  blocks: (Omit<{
10783
+ type: string;
10776
10784
  draftId: string | null;
10777
10785
  id: string;
10778
10786
  deleted: boolean;
@@ -10780,7 +10788,6 @@ declare const router: {
10780
10788
  locale: string;
10781
10789
  pageId: string | null;
10782
10790
  layoutId: string | null;
10783
- type: string;
10784
10791
  content: unknown;
10785
10792
  createdAt: number;
10786
10793
  updatedAt: number;
@@ -10809,6 +10816,7 @@ declare const router: {
10809
10816
  settings: unknown;
10810
10817
  locale: string;
10811
10818
  blockId: string | null;
10819
+ fieldName: string;
10812
10820
  content: unknown;
10813
10821
  createdAt: number;
10814
10822
  updatedAt: number;
@@ -10822,7 +10830,6 @@ declare const router: {
10822
10830
  position: string;
10823
10831
  sharedContentType: string | null;
10824
10832
  parentItemId: string | null;
10825
- fieldName: string;
10826
10833
  }, "content"> & {
10827
10834
  content: Record<string, unknown>;
10828
10835
  } & {
@@ -10852,6 +10859,7 @@ declare const router: {
10852
10859
  afterBlockIds: string[];
10853
10860
  };
10854
10861
  blocks: (Omit<{
10862
+ type: string;
10855
10863
  draftId: string | null;
10856
10864
  id: string;
10857
10865
  deleted: boolean;
@@ -10859,7 +10867,6 @@ declare const router: {
10859
10867
  locale: string;
10860
10868
  pageId: string | null;
10861
10869
  layoutId: string | null;
10862
- type: string;
10863
10870
  content: unknown;
10864
10871
  createdAt: number;
10865
10872
  updatedAt: number;
@@ -10888,6 +10895,7 @@ declare const router: {
10888
10895
  settings: unknown;
10889
10896
  locale: string;
10890
10897
  blockId: string | null;
10898
+ fieldName: string;
10891
10899
  content: unknown;
10892
10900
  createdAt: number;
10893
10901
  updatedAt: number;
@@ -10901,7 +10909,6 @@ declare const router: {
10901
10909
  position: string;
10902
10910
  sharedContentType: string | null;
10903
10911
  parentItemId: string | null;
10904
- fieldName: string;
10905
10912
  }, "content"> & {
10906
10913
  content: Record<string, unknown>;
10907
10914
  } & {
@@ -11338,10 +11345,11 @@ declare const router: {
11338
11345
  }>, import("zod").ZodObject<{
11339
11346
  projectId: import("zod").ZodNumber;
11340
11347
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
11348
+ path: string;
11341
11349
  draftId: string | null;
11342
11350
  id: string;
11343
11351
  deleted: boolean;
11344
- path: string;
11352
+ mimeType: string;
11345
11353
  createdAt: number;
11346
11354
  updatedAt: number;
11347
11355
  projectId: number;
@@ -11355,17 +11363,17 @@ declare const router: {
11355
11363
  alt: string | null;
11356
11364
  filename: string | null;
11357
11365
  altsByLocale: Record<string, string>;
11358
- mimeType: string;
11359
11366
  size: number;
11360
11367
  optimizedSize: number | null;
11361
11368
  width: number | null;
11362
11369
  height: number | null;
11363
11370
  blobId: string;
11364
11371
  }>[], FileView<{
11372
+ path: string;
11365
11373
  draftId: string | null;
11366
11374
  id: string;
11367
11375
  deleted: boolean;
11368
- path: string;
11376
+ mimeType: string;
11369
11377
  createdAt: number;
11370
11378
  updatedAt: number;
11371
11379
  projectId: number;
@@ -11379,7 +11387,6 @@ declare const router: {
11379
11387
  alt: string | null;
11380
11388
  filename: string | null;
11381
11389
  altsByLocale: Record<string, string>;
11382
- mimeType: string;
11383
11390
  size: number;
11384
11391
  optimizedSize: number | null;
11385
11392
  width: number | null;
@@ -11393,10 +11400,11 @@ declare const router: {
11393
11400
  }>, import("zod").ZodObject<{
11394
11401
  id: import("zod").ZodUUID;
11395
11402
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
11403
+ path: string;
11396
11404
  draftId: string | null;
11397
11405
  id: string;
11398
11406
  deleted: boolean;
11399
- path: string;
11407
+ mimeType: string;
11400
11408
  createdAt: number;
11401
11409
  updatedAt: number;
11402
11410
  projectId: number;
@@ -11410,17 +11418,17 @@ declare const router: {
11410
11418
  alt: string | null;
11411
11419
  filename: string | null;
11412
11420
  altsByLocale: Record<string, string>;
11413
- mimeType: string;
11414
11421
  size: number;
11415
11422
  optimizedSize: number | null;
11416
11423
  width: number | null;
11417
11424
  height: number | null;
11418
11425
  blobId: string;
11419
11426
  }>, FileView<{
11427
+ path: string;
11420
11428
  draftId: string | null;
11421
11429
  id: string;
11422
11430
  deleted: boolean;
11423
- path: string;
11431
+ mimeType: string;
11424
11432
  createdAt: number;
11425
11433
  updatedAt: number;
11426
11434
  projectId: number;
@@ -11434,7 +11442,6 @@ declare const router: {
11434
11442
  alt: string | null;
11435
11443
  filename: string | null;
11436
11444
  altsByLocale: Record<string, string>;
11437
- mimeType: string;
11438
11445
  size: number;
11439
11446
  optimizedSize: number | null;
11440
11447
  width: number | null;
@@ -11538,10 +11545,11 @@ declare const router: {
11538
11545
  id: import("zod").ZodUUID;
11539
11546
  alt: import("zod").ZodString;
11540
11547
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
11548
+ path: string;
11541
11549
  draftId: string | null;
11542
11550
  id: string;
11543
11551
  deleted: boolean;
11544
- path: string;
11552
+ mimeType: string;
11545
11553
  createdAt: number;
11546
11554
  updatedAt: number;
11547
11555
  projectId: number;
@@ -11555,17 +11563,17 @@ declare const router: {
11555
11563
  alt: string | null;
11556
11564
  filename: string | null;
11557
11565
  altsByLocale: Record<string, string>;
11558
- mimeType: string;
11559
11566
  size: number;
11560
11567
  optimizedSize: number | null;
11561
11568
  width: number | null;
11562
11569
  height: number | null;
11563
11570
  blobId: string;
11564
11571
  }>, FileView<{
11572
+ path: string;
11565
11573
  draftId: string | null;
11566
11574
  id: string;
11567
11575
  deleted: boolean;
11568
- path: string;
11576
+ mimeType: string;
11569
11577
  createdAt: number;
11570
11578
  updatedAt: number;
11571
11579
  projectId: number;
@@ -11579,7 +11587,6 @@ declare const router: {
11579
11587
  alt: string | null;
11580
11588
  filename: string | null;
11581
11589
  altsByLocale: Record<string, string>;
11582
- mimeType: string;
11583
11590
  size: number;
11584
11591
  optimizedSize: number | null;
11585
11592
  width: number | null;
@@ -11672,10 +11679,11 @@ declare const router: {
11672
11679
  id: import("zod").ZodUUID;
11673
11680
  filename: import("zod").ZodString;
11674
11681
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
11682
+ path: string;
11675
11683
  draftId: string | null;
11676
11684
  id: string;
11677
11685
  deleted: boolean;
11678
- path: string;
11686
+ mimeType: string;
11679
11687
  createdAt: number;
11680
11688
  updatedAt: number;
11681
11689
  projectId: number;
@@ -11689,17 +11697,17 @@ declare const router: {
11689
11697
  alt: string | null;
11690
11698
  filename: string | null;
11691
11699
  altsByLocale: Record<string, string>;
11692
- mimeType: string;
11693
11700
  size: number;
11694
11701
  optimizedSize: number | null;
11695
11702
  width: number | null;
11696
11703
  height: number | null;
11697
11704
  blobId: string;
11698
11705
  }>, FileView<{
11706
+ path: string;
11699
11707
  draftId: string | null;
11700
11708
  id: string;
11701
11709
  deleted: boolean;
11702
- path: string;
11710
+ mimeType: string;
11703
11711
  createdAt: number;
11704
11712
  updatedAt: number;
11705
11713
  projectId: number;
@@ -11713,7 +11721,6 @@ declare const router: {
11713
11721
  alt: string | null;
11714
11722
  filename: string | null;
11715
11723
  altsByLocale: Record<string, string>;
11716
- mimeType: string;
11717
11724
  size: number;
11718
11725
  optimizedSize: number | null;
11719
11726
  width: number | null;
@@ -11805,10 +11812,11 @@ declare const router: {
11805
11812
  }>, Record<never, never>>, import("zod").ZodObject<{
11806
11813
  id: import("zod").ZodUUID;
11807
11814
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
11815
+ path: string;
11808
11816
  draftId: string | null;
11809
11817
  id: string;
11810
11818
  deleted: boolean;
11811
- path: string;
11819
+ mimeType: string;
11812
11820
  createdAt: number;
11813
11821
  updatedAt: number;
11814
11822
  projectId: number;
@@ -11822,17 +11830,17 @@ declare const router: {
11822
11830
  alt: string | null;
11823
11831
  filename: string | null;
11824
11832
  altsByLocale: Record<string, string>;
11825
- mimeType: string;
11826
11833
  size: number;
11827
11834
  optimizedSize: number | null;
11828
11835
  width: number | null;
11829
11836
  height: number | null;
11830
11837
  blobId: string;
11831
11838
  }, {
11839
+ path: string;
11832
11840
  draftId: string | null;
11833
11841
  id: string;
11834
11842
  deleted: boolean;
11835
- path: string;
11843
+ mimeType: string;
11836
11844
  createdAt: number;
11837
11845
  updatedAt: number;
11838
11846
  projectId: number;
@@ -11846,7 +11854,6 @@ declare const router: {
11846
11854
  alt: string | null;
11847
11855
  filename: string | null;
11848
11856
  altsByLocale: Record<string, string>;
11849
- mimeType: string;
11850
11857
  size: number;
11851
11858
  optimizedSize: number | null;
11852
11859
  width: number | null;
@@ -12024,10 +12031,11 @@ declare const router: {
12024
12031
  id: import("zod").ZodUUID;
12025
12032
  enabled: import("zod").ZodBoolean;
12026
12033
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
12034
+ path: string;
12027
12035
  draftId: string | null;
12028
12036
  id: string;
12029
12037
  deleted: boolean;
12030
- path: string;
12038
+ mimeType: string;
12031
12039
  createdAt: number;
12032
12040
  updatedAt: number;
12033
12041
  projectId: number;
@@ -12041,17 +12049,17 @@ declare const router: {
12041
12049
  alt: string | null;
12042
12050
  filename: string | null;
12043
12051
  altsByLocale: Record<string, string>;
12044
- mimeType: string;
12045
12052
  size: number;
12046
12053
  optimizedSize: number | null;
12047
12054
  width: number | null;
12048
12055
  height: number | null;
12049
12056
  blobId: string;
12050
12057
  }>, FileView<{
12058
+ path: string;
12051
12059
  draftId: string | null;
12052
12060
  id: string;
12053
12061
  deleted: boolean;
12054
- path: string;
12062
+ mimeType: string;
12055
12063
  createdAt: number;
12056
12064
  updatedAt: number;
12057
12065
  projectId: number;
@@ -12065,7 +12073,6 @@ declare const router: {
12065
12073
  alt: string | null;
12066
12074
  filename: string | null;
12067
12075
  altsByLocale: Record<string, string>;
12068
- mimeType: string;
12069
12076
  size: number;
12070
12077
  optimizedSize: number | null;
12071
12078
  width: number | null;
@@ -12119,10 +12126,11 @@ declare const router: {
12119
12126
  }>, import("zod").ZodObject<{
12120
12127
  id: import("zod").ZodUUID;
12121
12128
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
12129
+ path: string;
12122
12130
  draftId: string | null;
12123
12131
  id: string;
12124
12132
  deleted: boolean;
12125
- path: string;
12133
+ mimeType: string;
12126
12134
  createdAt: number;
12127
12135
  updatedAt: number;
12128
12136
  projectId: number;
@@ -12136,17 +12144,17 @@ declare const router: {
12136
12144
  alt: string | null;
12137
12145
  filename: string | null;
12138
12146
  altsByLocale: Record<string, string>;
12139
- mimeType: string;
12140
12147
  size: number;
12141
12148
  optimizedSize: number | null;
12142
12149
  width: number | null;
12143
12150
  height: number | null;
12144
12151
  blobId: string;
12145
12152
  }> | undefined, FileView<{
12153
+ path: string;
12146
12154
  draftId: string | null;
12147
12155
  id: string;
12148
12156
  deleted: boolean;
12149
- path: string;
12157
+ mimeType: string;
12150
12158
  createdAt: number;
12151
12159
  updatedAt: number;
12152
12160
  projectId: number;
@@ -12160,7 +12168,6 @@ declare const router: {
12160
12168
  alt: string | null;
12161
12169
  filename: string | null;
12162
12170
  altsByLocale: Record<string, string>;
12163
- mimeType: string;
12164
12171
  size: number;
12165
12172
  optimizedSize: number | null;
12166
12173
  width: number | null;
@@ -12190,6 +12197,7 @@ declare const router: {
12190
12197
  deleted: boolean;
12191
12198
  settings: unknown;
12192
12199
  locale: string;
12200
+ fieldName: string;
12193
12201
  createdAt: number;
12194
12202
  updatedAt: number;
12195
12203
  projectId: number | null;
@@ -12202,7 +12210,6 @@ declare const router: {
12202
12210
  position: string;
12203
12211
  sharedContentType: string | null;
12204
12212
  parentItemId: string | null;
12205
- fieldName: string;
12206
12213
  };
12207
12214
  files: FileView[];
12208
12215
  }, {
@@ -12220,6 +12227,7 @@ declare const router: {
12220
12227
  deleted: boolean;
12221
12228
  settings: unknown;
12222
12229
  locale: string;
12230
+ fieldName: string;
12223
12231
  createdAt: number;
12224
12232
  updatedAt: number;
12225
12233
  projectId: number | null;
@@ -12232,7 +12240,6 @@ declare const router: {
12232
12240
  position: string;
12233
12241
  sharedContentType: string | null;
12234
12242
  parentItemId: string | null;
12235
- fieldName: string;
12236
12243
  };
12237
12244
  files: FileView[];
12238
12245
  }>, Record<never, never>, Record<never, never>>;
@@ -12344,6 +12351,7 @@ declare const router: {
12344
12351
  deleted: boolean;
12345
12352
  locale: string;
12346
12353
  blockId: string | null;
12354
+ fieldName: string;
12347
12355
  createdAt: number;
12348
12356
  updatedAt: number;
12349
12357
  projectId: number | null;
@@ -12356,7 +12364,6 @@ declare const router: {
12356
12364
  position: string;
12357
12365
  sharedContentType: string | null;
12358
12366
  parentItemId: string | null;
12359
- fieldName: string;
12360
12367
  }, {
12361
12368
  content: Record<string, unknown>;
12362
12369
  settings: unknown;
@@ -12367,6 +12374,7 @@ declare const router: {
12367
12374
  deleted: boolean;
12368
12375
  locale: string;
12369
12376
  blockId: string | null;
12377
+ fieldName: string;
12370
12378
  createdAt: number;
12371
12379
  updatedAt: number;
12372
12380
  projectId: number | null;
@@ -12379,7 +12387,6 @@ declare const router: {
12379
12387
  position: string;
12380
12388
  sharedContentType: string | null;
12381
12389
  parentItemId: string | null;
12382
- fieldName: string;
12383
12390
  }>, Record<never, never>, Record<never, never>>;
12384
12391
  updateContent: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
12385
12392
  draft: DraftRequest | null;
@@ -12476,6 +12483,7 @@ declare const router: {
12476
12483
  deleted: boolean;
12477
12484
  locale: string;
12478
12485
  blockId: string | null;
12486
+ fieldName: string;
12479
12487
  createdAt: number;
12480
12488
  updatedAt: number;
12481
12489
  projectId: number | null;
@@ -12488,7 +12496,6 @@ declare const router: {
12488
12496
  position: string;
12489
12497
  sharedContentType: string | null;
12490
12498
  parentItemId: string | null;
12491
- fieldName: string;
12492
12499
  } | undefined, {
12493
12500
  content: Record<string, unknown>;
12494
12501
  settings: unknown;
@@ -12499,6 +12506,7 @@ declare const router: {
12499
12506
  deleted: boolean;
12500
12507
  locale: string;
12501
12508
  blockId: string | null;
12509
+ fieldName: string;
12502
12510
  createdAt: number;
12503
12511
  updatedAt: number;
12504
12512
  projectId: number | null;
@@ -12511,7 +12519,6 @@ declare const router: {
12511
12519
  position: string;
12512
12520
  sharedContentType: string | null;
12513
12521
  parentItemId: string | null;
12514
- fieldName: string;
12515
12522
  } | undefined>, Record<never, never>, Record<never, never>>;
12516
12523
  updateSettings: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
12517
12524
  draft: DraftRequest | null;
@@ -12608,6 +12615,7 @@ declare const router: {
12608
12615
  deleted: boolean;
12609
12616
  locale: string;
12610
12617
  blockId: string | null;
12618
+ fieldName: string;
12611
12619
  createdAt: number;
12612
12620
  updatedAt: number;
12613
12621
  projectId: number | null;
@@ -12620,7 +12628,6 @@ declare const router: {
12620
12628
  position: string;
12621
12629
  sharedContentType: string | null;
12622
12630
  parentItemId: string | null;
12623
- fieldName: string;
12624
12631
  } | undefined, {
12625
12632
  content: Record<string, unknown>;
12626
12633
  settings: unknown;
@@ -12631,6 +12638,7 @@ declare const router: {
12631
12638
  deleted: boolean;
12632
12639
  locale: string;
12633
12640
  blockId: string | null;
12641
+ fieldName: string;
12634
12642
  createdAt: number;
12635
12643
  updatedAt: number;
12636
12644
  projectId: number | null;
@@ -12643,7 +12651,6 @@ declare const router: {
12643
12651
  position: string;
12644
12652
  sharedContentType: string | null;
12645
12653
  parentItemId: string | null;
12646
- fieldName: string;
12647
12654
  } | undefined>, Record<never, never>, Record<never, never>>;
12648
12655
  updatePosition: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
12649
12656
  draft: DraftRequest | null;
@@ -12741,6 +12748,7 @@ declare const router: {
12741
12748
  deleted: boolean;
12742
12749
  locale: string;
12743
12750
  blockId: string | null;
12751
+ fieldName: string;
12744
12752
  createdAt: number;
12745
12753
  updatedAt: number;
12746
12754
  projectId: number | null;
@@ -12753,7 +12761,6 @@ declare const router: {
12753
12761
  position: string;
12754
12762
  sharedContentType: string | null;
12755
12763
  parentItemId: string | null;
12756
- fieldName: string;
12757
12764
  } | undefined, {
12758
12765
  content: Record<string, unknown>;
12759
12766
  settings: unknown;
@@ -12764,6 +12771,7 @@ declare const router: {
12764
12771
  deleted: boolean;
12765
12772
  locale: string;
12766
12773
  blockId: string | null;
12774
+ fieldName: string;
12767
12775
  createdAt: number;
12768
12776
  updatedAt: number;
12769
12777
  projectId: number | null;
@@ -12776,7 +12784,6 @@ declare const router: {
12776
12784
  position: string;
12777
12785
  sharedContentType: string | null;
12778
12786
  parentItemId: string | null;
12779
- fieldName: string;
12780
12787
  } | undefined>, Record<never, never>, Record<never, never>>;
12781
12788
  duplicate: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
12782
12789
  draft: DraftRequest | null;
@@ -12872,6 +12879,7 @@ declare const router: {
12872
12879
  deleted: boolean;
12873
12880
  locale: string;
12874
12881
  blockId: string | null;
12882
+ fieldName: string;
12875
12883
  createdAt: number;
12876
12884
  updatedAt: number;
12877
12885
  projectId: number | null;
@@ -12884,7 +12892,6 @@ declare const router: {
12884
12892
  position: string;
12885
12893
  sharedContentType: string | null;
12886
12894
  parentItemId: string | null;
12887
- fieldName: string;
12888
12895
  }, {
12889
12896
  content: Record<string, unknown>;
12890
12897
  settings: unknown;
@@ -12895,6 +12902,7 @@ declare const router: {
12895
12902
  deleted: boolean;
12896
12903
  locale: string;
12897
12904
  blockId: string | null;
12905
+ fieldName: string;
12898
12906
  createdAt: number;
12899
12907
  updatedAt: number;
12900
12908
  projectId: number | null;
@@ -12907,7 +12915,6 @@ declare const router: {
12907
12915
  position: string;
12908
12916
  sharedContentType: string | null;
12909
12917
  parentItemId: string | null;
12910
- fieldName: string;
12911
12918
  }>, Record<never, never>, Record<never, never>>;
12912
12919
  generateSummary: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
12913
12920
  draft: DraftRequest | null;
@@ -12965,6 +12972,7 @@ declare const router: {
12965
12972
  deleted: boolean;
12966
12973
  locale: string;
12967
12974
  blockId: string | null;
12975
+ fieldName: string;
12968
12976
  createdAt: number;
12969
12977
  updatedAt: number;
12970
12978
  projectId: number | null;
@@ -12977,7 +12985,6 @@ declare const router: {
12977
12985
  position: string;
12978
12986
  sharedContentType: string | null;
12979
12987
  parentItemId: string | null;
12980
- fieldName: string;
12981
12988
  } | undefined, {
12982
12989
  content: Record<string, unknown>;
12983
12990
  settings: unknown;
@@ -12988,6 +12995,7 @@ declare const router: {
12988
12995
  deleted: boolean;
12989
12996
  locale: string;
12990
12997
  blockId: string | null;
12998
+ fieldName: string;
12991
12999
  createdAt: number;
12992
13000
  updatedAt: number;
12993
13001
  projectId: number | null;
@@ -13000,7 +13008,6 @@ declare const router: {
13000
13008
  position: string;
13001
13009
  sharedContentType: string | null;
13002
13010
  parentItemId: string | null;
13003
- fieldName: string;
13004
13011
  } | undefined>, Record<never, never>, Record<never, never>>;
13005
13012
  delete: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
13006
13013
  draft: DraftRequest | null;
@@ -13096,6 +13103,7 @@ declare const router: {
13096
13103
  deleted: boolean;
13097
13104
  locale: string;
13098
13105
  blockId: string | null;
13106
+ fieldName: string;
13099
13107
  createdAt: number;
13100
13108
  updatedAt: number;
13101
13109
  projectId: number | null;
@@ -13108,7 +13116,6 @@ declare const router: {
13108
13116
  position: string;
13109
13117
  sharedContentType: string | null;
13110
13118
  parentItemId: string | null;
13111
- fieldName: string;
13112
13119
  } | undefined, {
13113
13120
  content: Record<string, unknown>;
13114
13121
  settings: unknown;
@@ -13119,6 +13126,7 @@ declare const router: {
13119
13126
  deleted: boolean;
13120
13127
  locale: string;
13121
13128
  blockId: string | null;
13129
+ fieldName: string;
13122
13130
  createdAt: number;
13123
13131
  updatedAt: number;
13124
13132
  projectId: number | null;
@@ -13131,7 +13139,6 @@ declare const router: {
13131
13139
  position: string;
13132
13140
  sharedContentType: string | null;
13133
13141
  parentItemId: string | null;
13134
- fieldName: string;
13135
13142
  } | undefined>, Record<never, never>, Record<never, never>>;
13136
13143
  };
13137
13144
  blockDefinitions: {