@camox/api-contract 0.71.0 → 0.74.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
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { DurableObject, WorkerEntrypoint, WorkflowEntrypoint, WorkflowEvent, WorkflowStep } from "cloudflare:workers";
3
- import { ConnectedAgentClient, ThreadSender, ThreadView } from "@camox/api-contract/threads";
3
+ import { AgentActivity, ConnectedAgentClient, ThreadSender, ThreadView } from "@camox/api-contract/threads";
4
4
  import { PiHarness, PiHarnessOptions } from "agents/harness/pi";
5
5
  import { CapabilityStartContext, Lifecycle } from "agents/lifecycle";
6
6
  import { WebSockets } from "agents/websockets";
@@ -13,7 +13,7 @@ import { EndedDraft, PublishAbortReason } from "@camox/api-contract/drafts";
13
13
  import "@camox/api-contract/projects";
14
14
  import "drizzle-orm";
15
15
  import "drizzle-orm/sqlite-core";
16
- import { FindingView, PatrollerId } from "@camox/api-contract/patrol";
16
+ import { SpecialistId } from "@camox/api-contract/specialists";
17
17
  import { DrizzleD1Database } from "drizzle-orm/d1";
18
18
  import { CIWorkflow, CiContext, CiParams, CloudflareArtifacts } from "@cloudflare/ci";
19
19
  import { CiBindings } from "@cloudflare/ci/worker";
@@ -229,19 +229,31 @@ declare class DraftCode extends DurableObject<Bindings> {
229
229
  script: string;
230
230
  uploaded: boolean;
231
231
  }>;
232
+ /** The publish of the draft going now, if any: its Workflow instance. */
233
+ publishGoing(): Promise<string | null>;
234
+ /**
235
+ * Records that a member's push landed during the publish `instanceId`: the revision it waits
236
+ * for a build to leave changed under it, so it goes back to the review (ADR 0043).
237
+ */
238
+ notePushDuring(instanceId: string): Promise<void>;
239
+ /** Whether a member's push landed during the publish `instanceId`. */
240
+ pushedDuring(instanceId: string): Promise<boolean>;
232
241
  /** Records that a build of the draft's code started, or ended. */
233
242
  markBuilding(building: boolean): Promise<void>;
234
243
  /**
235
244
  * Whether a build of the draft's code is going (see `BUILD_GOING_FOR_AT_MOST_MS`), or owed:
236
- * Camox's infrastructure failed the last one, and Camox retries it.
245
+ * Camox's infrastructure failed the last one, and Camox retries it. A type check, going or
246
+ * owed, isn't building (ADR 0043).
237
247
  */
238
248
  building(): Promise<boolean>;
239
249
  /**
240
250
  * Records that the thread `threadId` couldn't build the draft's code because of Camox's own
241
- * infrastructure, and has it retry later (`alarm`), each retry waiting longer.
251
+ * infrastructure, or with `typesOnly`, only check the types of a revision that built, and has
252
+ * it retry later (`alarm`), each retry waiting longer.
242
253
  */
243
- oweBuild({ threadId }: {
254
+ oweBuild({ threadId, typesOnly }: {
244
255
  threadId: string;
256
+ typesOnly?: boolean;
245
257
  }): Promise<void>;
246
258
  /** Forgets the build Camox owed the draft, once one ended without Camox's failing. */
247
259
  settleOwedBuild(): Promise<void>;
@@ -1670,10 +1682,6 @@ declare const files: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
1670
1682
  dialect: 'sqlite';
1671
1683
  }>;
1672
1684
  //#endregion
1673
- //#region ../../apps/api/src/domains/drafts/schema.d.ts
1674
- /** What Camox opens a draft for (`purpose`): to catch translations up, or to fix Live's findings. */
1675
- type CamoxDraftPurpose = "catchUp" | "patrol";
1676
- //#endregion
1677
1685
  //#region ../../apps/api/src/domains/generated-values/schema.d.ts
1678
1686
  /** What a generated value describes, named like the draft overlay's entities. */
1679
1687
  type GeneratedEntity = "block" | "sharedContent" | "repeatableItem" | "page" | "file";
@@ -1706,7 +1714,7 @@ type DraftRequest = {
1706
1714
  };
1707
1715
  //#endregion
1708
1716
  //#region ../../apps/api/src/domains/drafts/overlay.d.ts
1709
- /** The kinds of entity drafts hold: what changes, conflicts and publish tokens name. */
1717
+ /** The kinds of entity drafts hold: what changes and conflicts name. */
1710
1718
  declare const ENTITY_KINDS: readonly ["locale", "page", "block", "sharedContent", "repeatableItem", "file", "record", "exclusion"];
1711
1719
  type EntityKind = (typeof ENTITY_KINDS)[number];
1712
1720
  //#endregion
@@ -2209,7 +2217,7 @@ declare const schema: {
2209
2217
  tableName: "drafts";
2210
2218
  dataType: "string";
2211
2219
  columnType: "SQLiteText";
2212
- data: CamoxDraftPurpose;
2220
+ data: "catchUp";
2213
2221
  driverParam: string;
2214
2222
  notNull: false;
2215
2223
  hasDefault: false;
@@ -2222,7 +2230,7 @@ declare const schema: {
2222
2230
  generated: undefined;
2223
2231
  }, {}, {
2224
2232
  length: undefined;
2225
- $type: CamoxDraftPurpose;
2233
+ $type: "catchUp";
2226
2234
  }>;
2227
2235
  createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
2228
2236
  name: "created_at";
@@ -2538,7 +2546,7 @@ declare const schema: {
2538
2546
  tableName: "drafts";
2539
2547
  dataType: "string";
2540
2548
  columnType: "SQLiteText";
2541
- data: "blocked" | "codeDoesNotMerge" | "conflictsChanged" | "failed" | "liveCodeMoved" | "revisionChanged";
2549
+ data: "blocked" | "codeDoesNotBuild" | "codeDoesNotMerge" | "conflictsChanged" | "failed" | "liveCodeMoved" | "revisionChanged";
2542
2550
  driverParam: string;
2543
2551
  notNull: false;
2544
2552
  hasDefault: false;
@@ -2551,7 +2559,7 @@ declare const schema: {
2551
2559
  generated: undefined;
2552
2560
  }, {}, {
2553
2561
  length: number | undefined;
2554
- $type: "blocked" | "codeDoesNotMerge" | "conflictsChanged" | "failed" | "liveCodeMoved" | "revisionChanged";
2562
+ $type: "blocked" | "codeDoesNotBuild" | "codeDoesNotMerge" | "conflictsChanged" | "failed" | "liveCodeMoved" | "revisionChanged";
2555
2563
  }>;
2556
2564
  };
2557
2565
  dialect: 'sqlite';
@@ -4728,40 +4736,6 @@ declare const schema: {
4728
4736
  identity: undefined;
4729
4737
  generated: undefined;
4730
4738
  }, {}, {}>;
4731
- defaultContent: import("drizzle-orm/sqlite-core").SQLiteColumn<{
4732
- name: "default_content";
4733
- tableName: "block_definitions";
4734
- dataType: "json";
4735
- columnType: "SQLiteTextJson";
4736
- data: unknown;
4737
- driverParam: string;
4738
- notNull: false;
4739
- hasDefault: false;
4740
- isPrimaryKey: false;
4741
- isAutoincrement: false;
4742
- hasRuntimeDefault: false;
4743
- enumValues: undefined;
4744
- baseColumn: never;
4745
- identity: undefined;
4746
- generated: undefined;
4747
- }, {}, {}>;
4748
- defaultSettings: import("drizzle-orm/sqlite-core").SQLiteColumn<{
4749
- name: "default_settings";
4750
- tableName: "block_definitions";
4751
- dataType: "json";
4752
- columnType: "SQLiteTextJson";
4753
- data: unknown;
4754
- driverParam: string;
4755
- notNull: false;
4756
- hasDefault: false;
4757
- isPrimaryKey: false;
4758
- isAutoincrement: false;
4759
- hasRuntimeDefault: false;
4760
- enumValues: undefined;
4761
- baseColumn: never;
4762
- identity: undefined;
4763
- generated: undefined;
4764
- }, {}, {}>;
4765
4739
  layoutOnly: import("drizzle-orm/sqlite-core").SQLiteColumn<{
4766
4740
  name: "layout_only";
4767
4741
  tableName: "block_definitions";
@@ -5624,6 +5598,23 @@ declare const schema: {
5624
5598
  identity: undefined;
5625
5599
  generated: undefined;
5626
5600
  }, {}, {}>;
5601
+ local: import("drizzle-orm/sqlite-core").SQLiteColumn<{
5602
+ name: "local";
5603
+ tableName: "session";
5604
+ dataType: "boolean";
5605
+ columnType: "SQLiteBoolean";
5606
+ data: boolean;
5607
+ driverParam: number;
5608
+ notNull: true;
5609
+ hasDefault: true;
5610
+ isPrimaryKey: false;
5611
+ isAutoincrement: false;
5612
+ hasRuntimeDefault: false;
5613
+ enumValues: undefined;
5614
+ baseColumn: never;
5615
+ identity: undefined;
5616
+ generated: undefined;
5617
+ }, {}, {}>;
5627
5618
  createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
5628
5619
  name: "createdAt";
5629
5620
  tableName: "session";
@@ -6515,6 +6506,11 @@ declare function createAuth(db: Database, env: Bindings, baseURL: string, waitUn
6515
6506
  required: false;
6516
6507
  input: false;
6517
6508
  };
6509
+ local: {
6510
+ type: "boolean";
6511
+ required: false;
6512
+ input: false;
6513
+ };
6518
6514
  };
6519
6515
  };
6520
6516
  };
@@ -9486,27 +9482,54 @@ type TurnEnd = ({
9486
9482
  }) & {
9487
9483
  page?: TurnPage;
9488
9484
  };
9489
- /** The page a turn changed last, as its writes touched it. */
9485
+ /** A page a turn changed, as its writes touched it: by its id, in the Locale it was changed in. */
9490
9486
  type TurnPage = {
9491
9487
  pageId: string;
9492
9488
  locale?: string;
9493
9489
  };
9494
9490
  /**
9495
- * Where waiting on a turn got: it ended; it's still going when the wait gave up; or the thread
9496
- * ended with its draft, published or deleted.
9491
+ * A Connected Agent, one member's connection through one client (ADR 0042): who follows a turn,
9492
+ * and is asked the agent's questions.
9493
+ */
9494
+ type Follower = {
9495
+ memberId: string;
9496
+ clientId: string;
9497
+ };
9498
+ /**
9499
+ * What a caller waits on: the turn the message sent with `operationId` started or joined, or
9500
+ * without one, the turn running, as a call that sent nothing.
9501
+ */
9502
+ type AwaitedMessage = {
9503
+ /** The operation id the message was sent to the thread with, if the call sent one. */
9504
+ operationId?: string;
9505
+ /** The Connected Agent whose call waits, which the agent's questions come back to. */
9506
+ follower?: Follower;
9507
+ };
9508
+ /**
9509
+ * Where waiting on a turn got: it ended; it's still going when the wait gave up, with what the
9510
+ * agent is doing, as the studio shows it, and every page the turn changed so far, first changed
9511
+ * first; the agent asked the waiting Connected Agent questions since its previous call answered,
9512
+ * in the order it asked them, the turn carrying on; no turn was running to wait on; or the
9513
+ * thread ended with its draft, published or deleted.
9497
9514
  */
9498
9515
  type TurnOutcome = TurnEnd | {
9499
9516
  turn: "working";
9517
+ activity?: AgentActivity;
9518
+ pages: TurnPage[];
9519
+ } | {
9520
+ turn: "asking";
9521
+ questions: string[];
9500
9522
  } | {
9501
9523
  turn: "threadEnded";
9524
+ } | {
9525
+ turn: "idle";
9502
9526
  };
9503
9527
  //#endregion
9504
9528
  //#region ../../apps/api/src/durable-objects/thread.d.ts
9505
9529
  /**
9506
9530
  * Who sent a message a draft's thread opens with, and their kind, which sets how the transcript
9507
- * records it, how studios show it and how the model reads it: an editor, a member's Connected
9508
- * Agent, in its client (ADR 0030), or Camox itself, as a Brief, in a draft Camox opened, such as
9509
- * its Patrol Draft (ADR 0034).
9531
+ * records it, how studios show it and how the model reads it: an editor, or a member's Connected
9532
+ * Agent, in its client (ADR 0030).
9510
9533
  */
9511
9534
  type OpeningSender = {
9512
9535
  kind: "editor";
@@ -9515,14 +9538,18 @@ type OpeningSender = {
9515
9538
  kind: "connectedAgent";
9516
9539
  member: ThreadSender;
9517
9540
  client: ConnectedAgentClient;
9518
- } | {
9519
- kind: "camox";
9541
+ /** The client's id, which with the member's names the Connected Agent following the turn. */
9542
+ clientId: string;
9520
9543
  };
9521
- /** A message a draft's thread opens with: its text, the operation id it was sent with, and who sent it. */
9544
+ /**
9545
+ * A message a draft's thread opens with: its text, the operation id it was sent with, and who
9546
+ * sent it. A Connected Agent's message may be its answer to the agent's questions (ADR 0042).
9547
+ */
9522
9548
  type OpeningMessage = {
9523
9549
  operationId: string;
9524
9550
  text: string;
9525
9551
  from: OpeningSender;
9552
+ answer?: boolean;
9526
9553
  };
9527
9554
  /**
9528
9555
  * How the API opens a draft's thread with no studio connected (`Thread.open`): what it belongs
@@ -9652,12 +9679,16 @@ declare class Thread extends DurableObject<Bindings> {
9652
9679
  */
9653
9680
  view(): Promise<ThreadView>;
9654
9681
  /**
9655
- * Waits for the turn the message sent with `operationId` started or joined to end, for up to
9656
- * `waitMs`: how it ended, with the page it changed last, if any. Still working once the wait
9657
- * gives up, the turn carrying on; or the thread ended with its draft. Watching the thread's own
9658
- * events, as studios do, it sees the turn end as they do.
9682
+ * Waits for the turn the message sent with `operationId` started or joined to end, or without
9683
+ * one, the turn running, for up to `waitMs`: how it ended, with the page it changed last, if
9684
+ * any. Once the wait gives up, the turn carrying on, what the agent is doing and the pages the
9685
+ * turn changed so far. With no message and no turn running, that none is; or the thread ended
9686
+ * with its draft. Watching the thread's own events, as studios do, it sees the turn end as they
9687
+ * do. For a Connected Agent's call, it comes back first with the questions the agent asked it
9688
+ * since its previous call answered, at once when there are some already, and the turn carries
9689
+ * on (ADR 0042).
9659
9690
  */
9660
- turnOf(operationId: string, waitMs: number): Promise<TurnOutcome>;
9691
+ awaitTurnOutcome({ operationId, follower }: AwaitedMessage, waitMs: number): Promise<TurnOutcome>;
9661
9692
  /**
9662
9693
  * Ends the thread with its draft, wiping everything it stored, since Pi can't delete a
9663
9694
  * conversation yet: the run going stops, and studios still open on it see an empty thread
@@ -9823,8 +9854,13 @@ type PublishParams = {
9823
9854
  projectId: number;
9824
9855
  /** The revision the review showed, which the publish ships. */
9825
9856
  revision: string;
9826
- /** The publish token of the review, recording the conflicts it showed. */
9827
- token: string;
9857
+ /**
9858
+ * Whether the draft's code was building as the publish was asked: the publish waits for the
9859
+ * build, then ships the revision it left instead.
9860
+ */
9861
+ afterBuild?: boolean;
9862
+ /** Sent by publishes started before ADR 0043, which no longer abort for conflicts: ignored. */
9863
+ token?: string;
9828
9864
  /** The member who published. */
9829
9865
  publishedBy: string;
9830
9866
  };
@@ -9843,17 +9879,24 @@ declare class PublishWorkflow extends WorkflowEntrypoint<Bindings, PublishParams
9843
9879
  * finds its tree.
9844
9880
  */
9845
9881
  private check;
9882
+ /**
9883
+ * Step 0: waits for the build of the draft's code going, or owed, to end, and pins the
9884
+ * draft's head as it leaves it. A build that takes too long goes back to the review.
9885
+ */
9886
+ private waitForBuild;
9887
+ /**
9888
+ * The draft's head, once its code no longer builds: the revision the build going when the
9889
+ * publish was asked left. A member's push landing meanwhile goes back to the review.
9890
+ */
9891
+ private built;
9846
9892
  /**
9847
9893
  * Step 1, checked again while the draft merges the `main` that moved, woken as its merge ends.
9848
9894
  * A merge that takes too long goes back to the review.
9849
9895
  */
9850
9896
  private waitForHead;
9851
- /**
9852
- * Step 3: why the review no longer holds, if it doesn't: Live's conflicts, a blocker, an open
9853
- * finding or a check to run.
9854
- */
9897
+ /** Step 3: why the review no longer holds, if it doesn't: the draft got a blocker. */
9855
9898
  private recheck;
9856
- /** Why the batch aborted: the agent's newer revision, or Live's conflicts. */
9899
+ /** Why the batch aborted: the agent's newer revision, or something on Camox's side. */
9857
9900
  private whyAborted;
9858
9901
  }
9859
9902
  //#endregion
@@ -9914,6 +9957,67 @@ type LookQuestion = {
9914
9957
  token: string;
9915
9958
  };
9916
9959
  //#endregion
9960
+ //#region ../../apps/api/src/domains/_shared/fields.d.ts
9961
+ type FieldBase = {
9962
+ name: string;
9963
+ /** The title editors see, or the field's name. */
9964
+ title: string;
9965
+ /** The field's stored JSON Schema, for validation and the options this type doesn't name. */
9966
+ schema: Record<string, unknown>;
9967
+ };
9968
+ /** How a query-backed reference list orders its records, and how many it takes. */
9969
+ type ReferenceQuery = {
9970
+ orderBy?: {
9971
+ key: string;
9972
+ direction: "asc" | "desc";
9973
+ };
9974
+ limit: number;
9975
+ };
9976
+ type Field = FieldBase & ({
9977
+ kind: "String" | "Artifact" | "Embed" | "Icon" | "Link" | "Boolean";
9978
+ } | {
9979
+ kind: "Enum";
9980
+ options: string[];
9981
+ } | {
9982
+ kind: "Image" | "File";
9983
+ required: boolean;
9984
+ accept: string[] | undefined;
9985
+ } | {
9986
+ kind: "ImageList" | "FileList";
9987
+ accept: string[] | undefined;
9988
+ } | {
9989
+ kind: "Repeater";
9990
+ /** The content schema of the repeater's items. */
9991
+ itemContentSchema: unknown;
9992
+ /** The settings schema of the repeater's items, if they have settings. */
9993
+ itemSettingsSchema: unknown;
9994
+ } | {
9995
+ kind: "Reference";
9996
+ collectionId: string;
9997
+ required: boolean;
9998
+ /** The content schema of the referenced collection's records. */
9999
+ recordSchema: unknown;
10000
+ } | {
10001
+ kind: "ReferenceList";
10002
+ collectionId: string;
10003
+ /** A query-backed list resolves its records in code and stores nothing. */
10004
+ queryBacked: boolean;
10005
+ /** A query-backed list's query, its limit capped; undefined for a manual list. */
10006
+ query: ReferenceQuery | undefined;
10007
+ maxItems: number | undefined;
10008
+ recordSchema: unknown;
10009
+ } | {
10010
+ kind: "Unknown";
10011
+ });
10012
+ //#endregion
10013
+ //#region ../../apps/api/src/domains/specialists/findings.d.ts
10014
+ /** One subject in one locale a check read. */
10015
+ type CheckedSubject = {
10016
+ entity: "block" | "sharedContent" | "repeatableItem" | "record";
10017
+ id: string;
10018
+ locale: string;
10019
+ };
10020
+ //#endregion
9917
10021
  //#region ../../apps/api/src/lib/ai-job-queue.d.ts
9918
10022
  /** The entities a generation job runs on: a synced block's summary is generated through a placement. */
9919
10023
  type JobEntity = "block" | "repeatableItem" | "page" | "file";
@@ -9934,11 +10038,9 @@ declare const TRANSLATED_ENTITIES: readonly ["page", "block", "sharedContent", "
9934
10038
  type TranslatedEntity = (typeof TRANSLATED_ENTITIES)[number];
9935
10039
  /**
9936
10040
  * A job translating a default-locale entity into one locale of a draft (ADR 0015). Jobs are keyed
9937
- * by entity, locale, draft and source, and debounced like generation jobs. A job translating
9938
- * `defaults` translates the code-owned defaults of a block placed in that locale instead, or of
9939
- * the shared content a synced block created there, which have no default-locale source. A job
9940
- * merging with `live` merges the draft's localization with Live's, which Live changed since the
9941
- * draft copied it, so it's no longer a conflict (ADR 0016).
10041
+ * by entity, locale, draft and source, and debounced like generation jobs. A job merging with
10042
+ * `live` merges the draft's localization with Live's, which Live changed since the draft copied
10043
+ * it, so it's no longer a conflict (ADR 0016).
9942
10044
  */
9943
10045
  type TranslationJob = {
9944
10046
  kind: "translation";
@@ -9946,7 +10048,7 @@ type TranslationJob = {
9946
10048
  entityId: string;
9947
10049
  locale: string;
9948
10050
  draftId: string;
9949
- source?: "defaults" | "live";
10051
+ source?: "live";
9950
10052
  };
9951
10053
  /**
9952
10054
  * A job writing a draft's Draft Overview from its changes, keyed by draft: a newer request
@@ -9957,32 +10059,25 @@ type OverviewJob = {
9957
10059
  draftId: string;
9958
10060
  };
9959
10061
  /**
9960
- * A patroller's check of a draft at publish (ADR 0034), keyed by patroller and draft: a newer
9961
- * request replaces a pending one, so it runs once the draft has been idle.
9962
- */
9963
- type CheckJob = {
9964
- kind: "check";
9965
- patroller: PatrollerId;
9966
- draftId: string;
9967
- };
9968
- /**
9969
- * A run of patrollers' patrols of a project's Live content (ADR 0034), keyed by project: the cron
9970
- * trigger requests one of every patroller patrolling Live for every project every 6 hours.
9971
- * Requesting one while another is pending joins it: one run patrols for both, so its new findings
9972
- * are told of once.
10062
+ * A run of specialists' checks of a project's Live content (ADR 0034), keyed by project: the cron
10063
+ * trigger requests one of every specialist checking Live for every project every 6 hours, and a
10064
+ * publish one of only the content it `changed` (ADR 0043). Requesting one while another is
10065
+ * pending joins it: one run checks for both, so its new findings are told of once.
9973
10066
  */
9974
- type PatrolJob = {
9975
- kind: "patrol";
9976
- patrollers: readonly PatrollerId[];
10067
+ type LiveCheckJob = {
10068
+ kind: "liveCheck";
10069
+ specialists: readonly SpecialistId[];
9977
10070
  projectId: number;
10071
+ /** The only content to check, which a publish just changed: all of Live's when absent. */
10072
+ changed?: readonly CheckedSubject[];
9978
10073
  };
9979
10074
  /** A job the AI job scheduler runs. */
9980
- type AiJob = GenerationJob | TranslationJob | OverviewJob | CheckJob | PatrolJob;
10075
+ type AiJob = GenerationJob | TranslationJob | OverviewJob | LiveCheckJob;
9981
10076
  //#endregion
9982
10077
  //#region ../../apps/api/src/durable-objects/ai-job-scheduler.d.ts
9983
10078
  /**
9984
10079
  * Holds one pending AI job, named by its key (`AiJobQueue`), and runs it when its alarm
9985
- * fires. Scheduling again replaces the job and restarts the delay, but a patrol of Live joins
10080
+ * fires. Scheduling again replaces the job and restarts the delay, but a check of Live joins
9986
10081
  * the pending one.
9987
10082
  */
9988
10083
  declare class AiJobScheduler extends DurableObject<Bindings> {
@@ -10074,6 +10169,11 @@ type Bindings = {
10074
10169
  * only by tests.
10075
10170
  */
10076
10171
  CONNECTED_AGENT_PROJECTS_POLL_MS?: string;
10172
+ /**
10173
+ * The operators' user IDs, separated by commas (ADR 0040). A secret: nothing in the app can
10174
+ * change who is an operator. Unset, nobody is.
10175
+ */
10176
+ OPERATOR_USER_IDS?: string;
10077
10177
  OPEN_ROUTER_API_KEY: string;
10078
10178
  /** Camox's Google Fonts Developer API key, which the daily fonts snapshot is taken with. */
10079
10179
  GOOGLE_FONTS_API_KEY: string;
@@ -10209,61 +10309,6 @@ type PageView<P extends PageRow = PageRow> = P & {
10209
10309
  aiSeo: boolean;
10210
10310
  };
10211
10311
  //#endregion
10212
- //#region ../../apps/api/src/domains/_shared/fields.d.ts
10213
- type FieldBase = {
10214
- name: string;
10215
- /** The title editors see, or the field's name. */
10216
- title: string;
10217
- /** The field's stored JSON Schema, for validation and the options this type doesn't name. */
10218
- schema: Record<string, unknown>;
10219
- };
10220
- /** How a query-backed reference list orders its records, and how many it takes. */
10221
- type ReferenceQuery = {
10222
- orderBy?: {
10223
- key: string;
10224
- direction: "asc" | "desc";
10225
- };
10226
- limit: number;
10227
- };
10228
- type Field = FieldBase & ({
10229
- kind: "String" | "Artifact" | "Embed" | "Icon" | "Link" | "Boolean";
10230
- } | {
10231
- kind: "Enum";
10232
- options: string[];
10233
- } | {
10234
- kind: "Image" | "File";
10235
- required: boolean;
10236
- accept: string[] | undefined;
10237
- } | {
10238
- kind: "ImageList" | "FileList";
10239
- accept: string[] | undefined;
10240
- } | {
10241
- kind: "Repeater";
10242
- /** The content schema of the repeater's items. */
10243
- itemContentSchema: unknown;
10244
- /** The settings schema of the repeater's items, if they have settings. */
10245
- itemSettingsSchema: unknown;
10246
- /** How many items a new block starts with. */
10247
- defaultItems: number;
10248
- } | {
10249
- kind: "Reference";
10250
- collectionId: string;
10251
- required: boolean;
10252
- /** The content schema of the referenced collection's records. */
10253
- recordSchema: unknown;
10254
- } | {
10255
- kind: "ReferenceList";
10256
- collectionId: string;
10257
- /** A query-backed list resolves its records in code and stores nothing. */
10258
- queryBacked: boolean;
10259
- /** A query-backed list's query, its limit capped; undefined for a manual list. */
10260
- query: ReferenceQuery | undefined;
10261
- maxItems: number | undefined;
10262
- recordSchema: unknown;
10263
- } | {
10264
- kind: "Unknown";
10265
- });
10266
- //#endregion
10267
10312
  //#region ../../apps/api/src/domains/_shared/conform-content.d.ts
10268
10313
  /** Content conformed to its definition: an object holding the definition's fields only. */
10269
10314
  type Conformed<T extends {
@@ -10357,15 +10402,6 @@ type ProblemPlace = {
10357
10402
  blockId: string | null;
10358
10403
  };
10359
10404
  //#endregion
10360
- //#region ../../apps/api/src/domains/drafts/field-values.d.ts
10361
- /** A field whose value differs between Live's version of an entity and a draft's copy. */
10362
- type FieldDiff = {
10363
- /** The field's title, from its definition. */
10364
- field: string;
10365
- live: string;
10366
- draft: string;
10367
- };
10368
- //#endregion
10369
10405
  //#region ../../apps/api/src/domains/drafts/overview.d.ts
10370
10406
  /** A draft's overview as its review shows it. */
10371
10407
  type Overview =
@@ -10439,40 +10475,9 @@ type InLocale = {
10439
10475
  type Change = Subject & InLocale & {
10440
10476
  change: "created" | "changed" | "deleted";
10441
10477
  };
10442
- type Conflict = Subject & InLocale & {
10443
- /** A conflict is always on an entity a draft holds, never on a definition. */
10444
- entity: EntityKind;
10445
- /** Live's version now, or null when Live deleted the entity. */
10446
- liveVersion: number | null;
10447
- publishedBy: {
10448
- id: string;
10449
- name: string;
10450
- } | null;
10451
- publishedAt: number | null;
10452
- /** Whether a release made Live's version, which no member published (ADR 0006). */
10453
- release: boolean;
10454
- /**
10455
- * What publishing overwrites: the first default-locale fields where Live's version and the
10456
- * draft's copy differ, as short plain text. None when either side deleted the entity, or for
10457
- * a conflict in another locale.
10458
- */
10459
- fields: FieldDiff[];
10460
- /** How many more fields differ than `fields` lists. */
10461
- moreFields: number;
10462
- /**
10463
- * Whether the draft can drop its copy to use Live's version instead (`revertToLive`): not
10464
- * for a page or a locale, whose copies spread to other content.
10465
- */
10466
- revertible: boolean;
10467
- };
10468
- /** Why publishing drops a change. */
10469
- declare const LOSS_REASONS: readonly ["parentGone", "writtenAfterDeletion"];
10470
- type LostChange = Subject & InLocale & {
10471
- reason: (typeof LOSS_REASONS)[number];
10472
- };
10473
- /** What a blocker or warning is about. */
10474
- declare const PROBLEM_CODES: readonly ["codeDoesNotBuild", "codeDoesNotTypeCheck", "codeDoesNotMerge", "emptyRequiredFile", "missingFile", "missingFileBytes", "unacceptedFileType", "duplicatePath", "duplicateRecordPageValue", "emptyRequiredReference", "danglingReference", "wrongKindValue", "missingMetaTitle", "metaTitlePending", "localePrefixTaken", "duplicateLocale", "removedInUse"];
10475
- /** A blocker, or the same problem already on Live as a warning, naming what to fix. */
10478
+ /** What a blocker is about. */
10479
+ declare const PROBLEM_CODES: readonly ["codeDoesNotBuild", "codeDoesNotMerge", "emptyRequiredFile", "missingFile", "missingFileBytes", "unacceptedFileType", "duplicatePath", "duplicateRecordPageValue", "emptyRequiredReference", "danglingReference", "wrongKindValue", "localePrefixTaken", "duplicateLocale"];
10480
+ /** A blocker, naming what to fix. */
10476
10481
  type Problem = Subject & InLocale & ProblemPlace & {
10477
10482
  code: (typeof PROBLEM_CODES)[number];
10478
10483
  field: string;
@@ -10480,41 +10485,18 @@ type Problem = Subject & InLocale & ProblemPlace & {
10480
10485
  };
10481
10486
  type PublishPreview = {
10482
10487
  blockers: Problem[];
10483
- conflicts: Conflict[];
10484
- lost: LostChange[];
10485
- warnings: Problem[];
10486
10488
  changes: Change[];
10487
- /**
10488
- * The tags of the locales the draft still has pending translations into, sorted. Publishing
10489
- * waits for them (ADR 0033).
10490
- */
10491
- translating: string[];
10492
- /**
10493
- * The draft's open findings, the oldest first, each with the patroller that raised it.
10494
- * Publishing waits for each to be fixed or dismissed (ADR 0033).
10495
- */
10496
- findings: (FindingView & {
10497
- patroller: {
10498
- id: PatrollerId;
10499
- role: string;
10500
- };
10501
- })[];
10502
- /**
10503
- * The patrollers whose check at publish hasn't read the draft's latest changes yet, in the
10504
- * registry's order. Publishing waits for them (ADR 0033).
10505
- */
10506
- checking: {
10507
- id: PatrollerId;
10508
- role: string;
10509
- }[];
10510
10489
  /** The tag of the default locale, which the others are translated from (null: none yet). */
10511
10490
  defaultLocale: string | null;
10512
- /** Sent back to publish, which aborts when the conflicts no longer match it. */
10513
- token: string;
10514
10491
  /** The draft's overview: AI's headline and bullets about its changes. */
10515
10492
  overview: Overview;
10516
10493
  /** Where the draft's code stands, for a draft whose code the agent changed. */
10517
10494
  code: PreviewCode | null;
10495
+ /**
10496
+ * The tags of the locales the draft adds that it's still being translated into: publishing
10497
+ * puts them on Live unserved, and they go live once translated (ADR 0043).
10498
+ */
10499
+ heldLocales: string[];
10518
10500
  };
10519
10501
  /**
10520
10502
  * What publishing did: nothing, for an empty draft, which publishing leaves as is; or how the
@@ -10592,6 +10574,7 @@ declare const router: {
10592
10574
  ipAddress?: string | null | undefined;
10593
10575
  userAgent?: string | null | undefined;
10594
10576
  activeOrganizationId?: string | null | undefined;
10577
+ local?: boolean | null | undefined;
10595
10578
  studio?: boolean | null | undefined;
10596
10579
  };
10597
10580
  }>, import("zod").ZodObject<{
@@ -10691,6 +10674,7 @@ declare const router: {
10691
10674
  ipAddress?: string | null | undefined;
10692
10675
  userAgent?: string | null | undefined;
10693
10676
  activeOrganizationId?: string | null | undefined;
10677
+ local?: boolean | null | undefined;
10694
10678
  studio?: boolean | null | undefined;
10695
10679
  };
10696
10680
  }>, import("zod").ZodObject<{
@@ -10788,6 +10772,7 @@ declare const router: {
10788
10772
  ipAddress?: string | null | undefined;
10789
10773
  userAgent?: string | null | undefined;
10790
10774
  activeOrganizationId?: string | null | undefined;
10775
+ local?: boolean | null | undefined;
10791
10776
  studio?: boolean | null | undefined;
10792
10777
  };
10793
10778
  }>, import("zod").ZodObject<{
@@ -10889,6 +10874,7 @@ declare const router: {
10889
10874
  ipAddress?: string | null | undefined;
10890
10875
  userAgent?: string | null | undefined;
10891
10876
  activeOrganizationId?: string | null | undefined;
10877
+ local?: boolean | null | undefined;
10892
10878
  studio?: boolean | null | undefined;
10893
10879
  };
10894
10880
  }>, import("zod").ZodObject<{
@@ -10956,11 +10942,13 @@ declare const router: {
10956
10942
  updatedAt: number;
10957
10943
  analytics: AnalyticsProviders;
10958
10944
  socialProfiles: string[];
10945
+ hiddenFromSearchEngines: boolean;
10959
10946
  }, {
10960
10947
  id: number;
10961
10948
  updatedAt: number;
10962
10949
  analytics: AnalyticsProviders;
10963
10950
  socialProfiles: string[];
10951
+ hiddenFromSearchEngines: boolean;
10964
10952
  }>, Record<never, never>, Record<never, never>>;
10965
10953
  get: 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>>, {
10966
10954
  draft: DraftRequest | null;
@@ -11008,6 +10996,7 @@ declare const router: {
11008
10996
  ipAddress?: string | null | undefined;
11009
10997
  userAgent?: string | null | undefined;
11010
10998
  activeOrganizationId?: string | null | undefined;
10999
+ local?: boolean | null | undefined;
11011
11000
  studio?: boolean | null | undefined;
11012
11001
  };
11013
11002
  }>, import("zod").ZodObject<{
@@ -11109,6 +11098,7 @@ declare const router: {
11109
11098
  ipAddress?: string | null | undefined;
11110
11099
  userAgent?: string | null | undefined;
11111
11100
  activeOrganizationId?: string | null | undefined;
11101
+ local?: boolean | null | undefined;
11112
11102
  studio?: boolean | null | undefined;
11113
11103
  };
11114
11104
  }>, import("zod").ZodObject<{
@@ -11172,6 +11162,7 @@ declare const router: {
11172
11162
  ipAddress?: string | null | undefined;
11173
11163
  userAgent?: string | null | undefined;
11174
11164
  activeOrganizationId?: string | null | undefined;
11165
+ local?: boolean | null | undefined;
11175
11166
  studio?: boolean | null | undefined;
11176
11167
  };
11177
11168
  }>, import("zod").ZodObject<{
@@ -11271,6 +11262,7 @@ declare const router: {
11271
11262
  ipAddress?: string | null | undefined;
11272
11263
  userAgent?: string | null | undefined;
11273
11264
  activeOrganizationId?: string | null | undefined;
11265
+ local?: boolean | null | undefined;
11274
11266
  studio?: boolean | null | undefined;
11275
11267
  };
11276
11268
  }>, import("zod").ZodObject<{
@@ -11369,6 +11361,7 @@ declare const router: {
11369
11361
  ipAddress?: string | null | undefined;
11370
11362
  userAgent?: string | null | undefined;
11371
11363
  activeOrganizationId?: string | null | undefined;
11364
+ local?: boolean | null | undefined;
11372
11365
  studio?: boolean | null | undefined;
11373
11366
  };
11374
11367
  }>, import("zod").ZodObject<{
@@ -11436,6 +11429,7 @@ declare const router: {
11436
11429
  ipAddress?: string | null | undefined;
11437
11430
  userAgent?: string | null | undefined;
11438
11431
  activeOrganizationId?: string | null | undefined;
11432
+ local?: boolean | null | undefined;
11439
11433
  studio?: boolean | null | undefined;
11440
11434
  };
11441
11435
  }>, import("zod").ZodObject<{
@@ -11494,6 +11488,7 @@ declare const router: {
11494
11488
  ipAddress?: string | null | undefined;
11495
11489
  userAgent?: string | null | undefined;
11496
11490
  activeOrganizationId?: string | null | undefined;
11491
+ local?: boolean | null | undefined;
11497
11492
  studio?: boolean | null | undefined;
11498
11493
  };
11499
11494
  }>, import("zod").ZodObject<{
@@ -11552,6 +11547,7 @@ declare const router: {
11552
11547
  ipAddress?: string | null | undefined;
11553
11548
  userAgent?: string | null | undefined;
11554
11549
  activeOrganizationId?: string | null | undefined;
11550
+ local?: boolean | null | undefined;
11555
11551
  studio?: boolean | null | undefined;
11556
11552
  };
11557
11553
  }>, import("zod").ZodObject<{
@@ -11613,6 +11609,7 @@ declare const router: {
11613
11609
  ipAddress?: string | null | undefined;
11614
11610
  userAgent?: string | null | undefined;
11615
11611
  activeOrganizationId?: string | null | undefined;
11612
+ local?: boolean | null | undefined;
11616
11613
  studio?: boolean | null | undefined;
11617
11614
  };
11618
11615
  }>, import("zod").ZodObject<{
@@ -11709,6 +11706,7 @@ declare const router: {
11709
11706
  updatedAt: number;
11710
11707
  analytics: AnalyticsProviders;
11711
11708
  socialProfiles: string[];
11709
+ hiddenFromSearchEngines: boolean;
11712
11710
  };
11713
11711
  layout: {
11714
11712
  layoutId: string;
@@ -11816,6 +11814,7 @@ declare const router: {
11816
11814
  updatedAt: number;
11817
11815
  analytics: AnalyticsProviders;
11818
11816
  socialProfiles: string[];
11817
+ hiddenFromSearchEngines: boolean;
11819
11818
  };
11820
11819
  layout: {
11821
11820
  layoutId: string;
@@ -11932,6 +11931,7 @@ declare const router: {
11932
11931
  updatedAt: number;
11933
11932
  analytics: AnalyticsProviders;
11934
11933
  socialProfiles: string[];
11934
+ hiddenFromSearchEngines: boolean;
11935
11935
  };
11936
11936
  layout: {
11937
11937
  layoutId: string;
@@ -11975,6 +11975,7 @@ declare const router: {
11975
11975
  updatedAt: number;
11976
11976
  analytics: AnalyticsProviders;
11977
11977
  socialProfiles: string[];
11978
+ hiddenFromSearchEngines: boolean;
11978
11979
  };
11979
11980
  layout: {
11980
11981
  layoutId: string;
@@ -12328,6 +12329,7 @@ declare const router: {
12328
12329
  ipAddress?: string | null | undefined;
12329
12330
  userAgent?: string | null | undefined;
12330
12331
  activeOrganizationId?: string | null | undefined;
12332
+ local?: boolean | null | undefined;
12331
12333
  studio?: boolean | null | undefined;
12332
12334
  };
12333
12335
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -12366,6 +12368,7 @@ declare const router: {
12366
12368
  ipAddress?: string | null | undefined;
12367
12369
  userAgent?: string | null | undefined;
12368
12370
  activeOrganizationId?: string | null | undefined;
12371
+ local?: boolean | null | undefined;
12369
12372
  studio?: boolean | null | undefined;
12370
12373
  };
12371
12374
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -12480,6 +12483,7 @@ declare const router: {
12480
12483
  ipAddress?: string | null | undefined;
12481
12484
  userAgent?: string | null | undefined;
12482
12485
  activeOrganizationId?: string | null | undefined;
12486
+ local?: boolean | null | undefined;
12483
12487
  studio?: boolean | null | undefined;
12484
12488
  };
12485
12489
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -12518,6 +12522,7 @@ declare const router: {
12518
12522
  ipAddress?: string | null | undefined;
12519
12523
  userAgent?: string | null | undefined;
12520
12524
  activeOrganizationId?: string | null | undefined;
12525
+ local?: boolean | null | undefined;
12521
12526
  studio?: boolean | null | undefined;
12522
12527
  };
12523
12528
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -12624,6 +12629,7 @@ declare const router: {
12624
12629
  ipAddress?: string | null | undefined;
12625
12630
  userAgent?: string | null | undefined;
12626
12631
  activeOrganizationId?: string | null | undefined;
12632
+ local?: boolean | null | undefined;
12627
12633
  studio?: boolean | null | undefined;
12628
12634
  };
12629
12635
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -12662,6 +12668,7 @@ declare const router: {
12662
12668
  ipAddress?: string | null | undefined;
12663
12669
  userAgent?: string | null | undefined;
12664
12670
  activeOrganizationId?: string | null | undefined;
12671
+ local?: boolean | null | undefined;
12665
12672
  studio?: boolean | null | undefined;
12666
12673
  };
12667
12674
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -12765,6 +12772,7 @@ declare const router: {
12765
12772
  ipAddress?: string | null | undefined;
12766
12773
  userAgent?: string | null | undefined;
12767
12774
  activeOrganizationId?: string | null | undefined;
12775
+ local?: boolean | null | undefined;
12768
12776
  studio?: boolean | null | undefined;
12769
12777
  };
12770
12778
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -12803,6 +12811,7 @@ declare const router: {
12803
12811
  ipAddress?: string | null | undefined;
12804
12812
  userAgent?: string | null | undefined;
12805
12813
  activeOrganizationId?: string | null | undefined;
12814
+ local?: boolean | null | undefined;
12806
12815
  studio?: boolean | null | undefined;
12807
12816
  };
12808
12817
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -12909,6 +12918,7 @@ declare const router: {
12909
12918
  ipAddress?: string | null | undefined;
12910
12919
  userAgent?: string | null | undefined;
12911
12920
  activeOrganizationId?: string | null | undefined;
12921
+ local?: boolean | null | undefined;
12912
12922
  studio?: boolean | null | undefined;
12913
12923
  };
12914
12924
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -12947,6 +12957,7 @@ declare const router: {
12947
12957
  ipAddress?: string | null | undefined;
12948
12958
  userAgent?: string | null | undefined;
12949
12959
  activeOrganizationId?: string | null | undefined;
12960
+ local?: boolean | null | undefined;
12950
12961
  studio?: boolean | null | undefined;
12951
12962
  };
12952
12963
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -13049,6 +13060,7 @@ declare const router: {
13049
13060
  ipAddress?: string | null | undefined;
13050
13061
  userAgent?: string | null | undefined;
13051
13062
  activeOrganizationId?: string | null | undefined;
13063
+ local?: boolean | null | undefined;
13052
13064
  studio?: boolean | null | undefined;
13053
13065
  };
13054
13066
  }>, import("zod").ZodObject<{
@@ -13630,6 +13642,7 @@ declare const router: {
13630
13642
  ipAddress?: string | null | undefined;
13631
13643
  userAgent?: string | null | undefined;
13632
13644
  activeOrganizationId?: string | null | undefined;
13645
+ local?: boolean | null | undefined;
13633
13646
  studio?: boolean | null | undefined;
13634
13647
  };
13635
13648
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -13668,6 +13681,7 @@ declare const router: {
13668
13681
  ipAddress?: string | null | undefined;
13669
13682
  userAgent?: string | null | undefined;
13670
13683
  activeOrganizationId?: string | null | undefined;
13684
+ local?: boolean | null | undefined;
13671
13685
  studio?: boolean | null | undefined;
13672
13686
  };
13673
13687
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -13793,6 +13807,7 @@ declare const router: {
13793
13807
  ipAddress?: string | null | undefined;
13794
13808
  userAgent?: string | null | undefined;
13795
13809
  activeOrganizationId?: string | null | undefined;
13810
+ local?: boolean | null | undefined;
13796
13811
  studio?: boolean | null | undefined;
13797
13812
  };
13798
13813
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -13831,6 +13846,7 @@ declare const router: {
13831
13846
  ipAddress?: string | null | undefined;
13832
13847
  userAgent?: string | null | undefined;
13833
13848
  activeOrganizationId?: string | null | undefined;
13849
+ local?: boolean | null | undefined;
13834
13850
  studio?: boolean | null | undefined;
13835
13851
  };
13836
13852
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -13885,6 +13901,7 @@ declare const router: {
13885
13901
  ipAddress?: string | null | undefined;
13886
13902
  userAgent?: string | null | undefined;
13887
13903
  activeOrganizationId?: string | null | undefined;
13904
+ local?: boolean | null | undefined;
13888
13905
  studio?: boolean | null | undefined;
13889
13906
  };
13890
13907
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -13923,6 +13940,7 @@ declare const router: {
13923
13940
  ipAddress?: string | null | undefined;
13924
13941
  userAgent?: string | null | undefined;
13925
13942
  activeOrganizationId?: string | null | undefined;
13943
+ local?: boolean | null | undefined;
13926
13944
  studio?: boolean | null | undefined;
13927
13945
  };
13928
13946
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -13977,6 +13995,7 @@ declare const router: {
13977
13995
  ipAddress?: string | null | undefined;
13978
13996
  userAgent?: string | null | undefined;
13979
13997
  activeOrganizationId?: string | null | undefined;
13998
+ local?: boolean | null | undefined;
13980
13999
  studio?: boolean | null | undefined;
13981
14000
  };
13982
14001
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -14015,6 +14034,7 @@ declare const router: {
14015
14034
  ipAddress?: string | null | undefined;
14016
14035
  userAgent?: string | null | undefined;
14017
14036
  activeOrganizationId?: string | null | undefined;
14037
+ local?: boolean | null | undefined;
14018
14038
  studio?: boolean | null | undefined;
14019
14039
  };
14020
14040
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -14070,6 +14090,7 @@ declare const router: {
14070
14090
  ipAddress?: string | null | undefined;
14071
14091
  userAgent?: string | null | undefined;
14072
14092
  activeOrganizationId?: string | null | undefined;
14093
+ local?: boolean | null | undefined;
14073
14094
  studio?: boolean | null | undefined;
14074
14095
  };
14075
14096
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -14108,6 +14129,7 @@ declare const router: {
14108
14129
  ipAddress?: string | null | undefined;
14109
14130
  userAgent?: string | null | undefined;
14110
14131
  activeOrganizationId?: string | null | undefined;
14132
+ local?: boolean | null | undefined;
14111
14133
  studio?: boolean | null | undefined;
14112
14134
  };
14113
14135
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -14161,6 +14183,7 @@ declare const router: {
14161
14183
  ipAddress?: string | null | undefined;
14162
14184
  userAgent?: string | null | undefined;
14163
14185
  activeOrganizationId?: string | null | undefined;
14186
+ local?: boolean | null | undefined;
14164
14187
  studio?: boolean | null | undefined;
14165
14188
  };
14166
14189
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -14199,6 +14222,7 @@ declare const router: {
14199
14222
  ipAddress?: string | null | undefined;
14200
14223
  userAgent?: string | null | undefined;
14201
14224
  activeOrganizationId?: string | null | undefined;
14225
+ local?: boolean | null | undefined;
14202
14226
  studio?: boolean | null | undefined;
14203
14227
  };
14204
14228
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -14250,6 +14274,7 @@ declare const router: {
14250
14274
  ipAddress?: string | null | undefined;
14251
14275
  userAgent?: string | null | undefined;
14252
14276
  activeOrganizationId?: string | null | undefined;
14277
+ local?: boolean | null | undefined;
14253
14278
  studio?: boolean | null | undefined;
14254
14279
  };
14255
14280
  }>, import("zod").ZodObject<{
@@ -14303,6 +14328,7 @@ declare const router: {
14303
14328
  ipAddress?: string | null | undefined;
14304
14329
  userAgent?: string | null | undefined;
14305
14330
  activeOrganizationId?: string | null | undefined;
14331
+ local?: boolean | null | undefined;
14306
14332
  studio?: boolean | null | undefined;
14307
14333
  };
14308
14334
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -14341,6 +14367,7 @@ declare const router: {
14341
14367
  ipAddress?: string | null | undefined;
14342
14368
  userAgent?: string | null | undefined;
14343
14369
  activeOrganizationId?: string | null | undefined;
14370
+ local?: boolean | null | undefined;
14344
14371
  studio?: boolean | null | undefined;
14345
14372
  };
14346
14373
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -14363,6 +14390,7 @@ declare const router: {
14363
14390
  updatedAt: number;
14364
14391
  analytics: AnalyticsProviders;
14365
14392
  socialProfiles: string[];
14393
+ hiddenFromSearchEngines: boolean;
14366
14394
  };
14367
14395
  layout: {
14368
14396
  layoutId: string;
@@ -14442,6 +14470,7 @@ declare const router: {
14442
14470
  updatedAt: number;
14443
14471
  analytics: AnalyticsProviders;
14444
14472
  socialProfiles: string[];
14473
+ hiddenFromSearchEngines: boolean;
14445
14474
  };
14446
14475
  layout: {
14447
14476
  layoutId: string;
@@ -14534,6 +14563,7 @@ declare const router: {
14534
14563
  updatedAt: number;
14535
14564
  analytics: AnalyticsProviders;
14536
14565
  socialProfiles: string[];
14566
+ hiddenFromSearchEngines: boolean;
14537
14567
  };
14538
14568
  layout: {
14539
14569
  layoutId: string;
@@ -14613,6 +14643,7 @@ declare const router: {
14613
14643
  updatedAt: number;
14614
14644
  analytics: AnalyticsProviders;
14615
14645
  socialProfiles: string[];
14646
+ hiddenFromSearchEngines: boolean;
14616
14647
  };
14617
14648
  layout: {
14618
14649
  layoutId: string;
@@ -14780,6 +14811,7 @@ declare const router: {
14780
14811
  ipAddress?: string | null | undefined;
14781
14812
  userAgent?: string | null | undefined;
14782
14813
  activeOrganizationId?: string | null | undefined;
14814
+ local?: boolean | null | undefined;
14783
14815
  studio?: boolean | null | undefined;
14784
14816
  };
14785
14817
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -14818,6 +14850,7 @@ declare const router: {
14818
14850
  ipAddress?: string | null | undefined;
14819
14851
  userAgent?: string | null | undefined;
14820
14852
  activeOrganizationId?: string | null | undefined;
14853
+ local?: boolean | null | undefined;
14821
14854
  studio?: boolean | null | undefined;
14822
14855
  };
14823
14856
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -14872,6 +14905,7 @@ declare const router: {
14872
14905
  ipAddress?: string | null | undefined;
14873
14906
  userAgent?: string | null | undefined;
14874
14907
  activeOrganizationId?: string | null | undefined;
14908
+ local?: boolean | null | undefined;
14875
14909
  studio?: boolean | null | undefined;
14876
14910
  };
14877
14911
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -14910,6 +14944,7 @@ declare const router: {
14910
14944
  ipAddress?: string | null | undefined;
14911
14945
  userAgent?: string | null | undefined;
14912
14946
  activeOrganizationId?: string | null | undefined;
14947
+ local?: boolean | null | undefined;
14913
14948
  studio?: boolean | null | undefined;
14914
14949
  };
14915
14950
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -14962,6 +14997,7 @@ declare const router: {
14962
14997
  ipAddress?: string | null | undefined;
14963
14998
  userAgent?: string | null | undefined;
14964
14999
  activeOrganizationId?: string | null | undefined;
15000
+ local?: boolean | null | undefined;
14965
15001
  studio?: boolean | null | undefined;
14966
15002
  };
14967
15003
  }>, import("zod").ZodObject<{
@@ -15014,6 +15050,7 @@ declare const router: {
15014
15050
  ipAddress?: string | null | undefined;
15015
15051
  userAgent?: string | null | undefined;
15016
15052
  activeOrganizationId?: string | null | undefined;
15053
+ local?: boolean | null | undefined;
15017
15054
  studio?: boolean | null | undefined;
15018
15055
  };
15019
15056
  }>, import("zod").ZodObject<{
@@ -15073,6 +15110,7 @@ declare const router: {
15073
15110
  ipAddress?: string | null | undefined;
15074
15111
  userAgent?: string | null | undefined;
15075
15112
  activeOrganizationId?: string | null | undefined;
15113
+ local?: boolean | null | undefined;
15076
15114
  studio?: boolean | null | undefined;
15077
15115
  };
15078
15116
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -15111,6 +15149,7 @@ declare const router: {
15111
15149
  ipAddress?: string | null | undefined;
15112
15150
  userAgent?: string | null | undefined;
15113
15151
  activeOrganizationId?: string | null | undefined;
15152
+ local?: boolean | null | undefined;
15114
15153
  studio?: boolean | null | undefined;
15115
15154
  };
15116
15155
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -15301,6 +15340,7 @@ declare const router: {
15301
15340
  ipAddress?: string | null | undefined;
15302
15341
  userAgent?: string | null | undefined;
15303
15342
  activeOrganizationId?: string | null | undefined;
15343
+ local?: boolean | null | undefined;
15304
15344
  studio?: boolean | null | undefined;
15305
15345
  };
15306
15346
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -15339,6 +15379,7 @@ declare const router: {
15339
15379
  ipAddress?: string | null | undefined;
15340
15380
  userAgent?: string | null | undefined;
15341
15381
  activeOrganizationId?: string | null | undefined;
15382
+ local?: boolean | null | undefined;
15342
15383
  studio?: boolean | null | undefined;
15343
15384
  };
15344
15385
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -15441,6 +15482,7 @@ declare const router: {
15441
15482
  ipAddress?: string | null | undefined;
15442
15483
  userAgent?: string | null | undefined;
15443
15484
  activeOrganizationId?: string | null | undefined;
15485
+ local?: boolean | null | undefined;
15444
15486
  studio?: boolean | null | undefined;
15445
15487
  };
15446
15488
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -15479,6 +15521,7 @@ declare const router: {
15479
15521
  ipAddress?: string | null | undefined;
15480
15522
  userAgent?: string | null | undefined;
15481
15523
  activeOrganizationId?: string | null | undefined;
15524
+ local?: boolean | null | undefined;
15482
15525
  studio?: boolean | null | undefined;
15483
15526
  };
15484
15527
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -15581,6 +15624,7 @@ declare const router: {
15581
15624
  ipAddress?: string | null | undefined;
15582
15625
  userAgent?: string | null | undefined;
15583
15626
  activeOrganizationId?: string | null | undefined;
15627
+ local?: boolean | null | undefined;
15584
15628
  studio?: boolean | null | undefined;
15585
15629
  };
15586
15630
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -15619,6 +15663,7 @@ declare const router: {
15619
15663
  ipAddress?: string | null | undefined;
15620
15664
  userAgent?: string | null | undefined;
15621
15665
  activeOrganizationId?: string | null | undefined;
15666
+ local?: boolean | null | undefined;
15622
15667
  studio?: boolean | null | undefined;
15623
15668
  };
15624
15669
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -15720,6 +15765,7 @@ declare const router: {
15720
15765
  ipAddress?: string | null | undefined;
15721
15766
  userAgent?: string | null | undefined;
15722
15767
  activeOrganizationId?: string | null | undefined;
15768
+ local?: boolean | null | undefined;
15723
15769
  studio?: boolean | null | undefined;
15724
15770
  };
15725
15771
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -15758,6 +15804,7 @@ declare const router: {
15758
15804
  ipAddress?: string | null | undefined;
15759
15805
  userAgent?: string | null | undefined;
15760
15806
  activeOrganizationId?: string | null | undefined;
15807
+ local?: boolean | null | undefined;
15761
15808
  studio?: boolean | null | undefined;
15762
15809
  };
15763
15810
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -15811,6 +15858,7 @@ declare const router: {
15811
15858
  ipAddress?: string | null | undefined;
15812
15859
  userAgent?: string | null | undefined;
15813
15860
  activeOrganizationId?: string | null | undefined;
15861
+ local?: boolean | null | undefined;
15814
15862
  studio?: boolean | null | undefined;
15815
15863
  };
15816
15864
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -15849,6 +15897,7 @@ declare const router: {
15849
15897
  ipAddress?: string | null | undefined;
15850
15898
  userAgent?: string | null | undefined;
15851
15899
  activeOrganizationId?: string | null | undefined;
15900
+ local?: boolean | null | undefined;
15852
15901
  studio?: boolean | null | undefined;
15853
15902
  };
15854
15903
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -15949,6 +15998,7 @@ declare const router: {
15949
15998
  ipAddress?: string | null | undefined;
15950
15999
  userAgent?: string | null | undefined;
15951
16000
  activeOrganizationId?: string | null | undefined;
16001
+ local?: boolean | null | undefined;
15952
16002
  studio?: boolean | null | undefined;
15953
16003
  };
15954
16004
  }>, import("zod").ZodObject<{
@@ -16120,6 +16170,7 @@ declare const router: {
16120
16170
  ipAddress?: string | null | undefined;
16121
16171
  userAgent?: string | null | undefined;
16122
16172
  activeOrganizationId?: string | null | undefined;
16173
+ local?: boolean | null | undefined;
16123
16174
  studio?: boolean | null | undefined;
16124
16175
  };
16125
16176
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -16158,6 +16209,7 @@ declare const router: {
16158
16209
  ipAddress?: string | null | undefined;
16159
16210
  userAgent?: string | null | undefined;
16160
16211
  activeOrganizationId?: string | null | undefined;
16212
+ local?: boolean | null | undefined;
16161
16213
  studio?: boolean | null | undefined;
16162
16214
  };
16163
16215
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -16271,6 +16323,7 @@ declare const router: {
16271
16323
  ipAddress?: string | null | undefined;
16272
16324
  userAgent?: string | null | undefined;
16273
16325
  activeOrganizationId?: string | null | undefined;
16326
+ local?: boolean | null | undefined;
16274
16327
  studio?: boolean | null | undefined;
16275
16328
  };
16276
16329
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -16309,6 +16362,7 @@ declare const router: {
16309
16362
  ipAddress?: string | null | undefined;
16310
16363
  userAgent?: string | null | undefined;
16311
16364
  activeOrganizationId?: string | null | undefined;
16365
+ local?: boolean | null | undefined;
16312
16366
  studio?: boolean | null | undefined;
16313
16367
  };
16314
16368
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -16409,6 +16463,7 @@ declare const router: {
16409
16463
  ipAddress?: string | null | undefined;
16410
16464
  userAgent?: string | null | undefined;
16411
16465
  activeOrganizationId?: string | null | undefined;
16466
+ local?: boolean | null | undefined;
16412
16467
  studio?: boolean | null | undefined;
16413
16468
  };
16414
16469
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -16447,6 +16502,7 @@ declare const router: {
16447
16502
  ipAddress?: string | null | undefined;
16448
16503
  userAgent?: string | null | undefined;
16449
16504
  activeOrganizationId?: string | null | undefined;
16505
+ local?: boolean | null | undefined;
16450
16506
  studio?: boolean | null | undefined;
16451
16507
  };
16452
16508
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -16547,6 +16603,7 @@ declare const router: {
16547
16603
  ipAddress?: string | null | undefined;
16548
16604
  userAgent?: string | null | undefined;
16549
16605
  activeOrganizationId?: string | null | undefined;
16606
+ local?: boolean | null | undefined;
16550
16607
  studio?: boolean | null | undefined;
16551
16608
  };
16552
16609
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -16585,6 +16642,7 @@ declare const router: {
16585
16642
  ipAddress?: string | null | undefined;
16586
16643
  userAgent?: string | null | undefined;
16587
16644
  activeOrganizationId?: string | null | undefined;
16645
+ local?: boolean | null | undefined;
16588
16646
  studio?: boolean | null | undefined;
16589
16647
  };
16590
16648
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -16686,6 +16744,7 @@ declare const router: {
16686
16744
  ipAddress?: string | null | undefined;
16687
16745
  userAgent?: string | null | undefined;
16688
16746
  activeOrganizationId?: string | null | undefined;
16747
+ local?: boolean | null | undefined;
16689
16748
  studio?: boolean | null | undefined;
16690
16749
  };
16691
16750
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -16724,6 +16783,7 @@ declare const router: {
16724
16783
  ipAddress?: string | null | undefined;
16725
16784
  userAgent?: string | null | undefined;
16726
16785
  activeOrganizationId?: string | null | undefined;
16786
+ local?: boolean | null | undefined;
16727
16787
  studio?: boolean | null | undefined;
16728
16788
  };
16729
16789
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -16821,6 +16881,7 @@ declare const router: {
16821
16881
  ipAddress?: string | null | undefined;
16822
16882
  userAgent?: string | null | undefined;
16823
16883
  activeOrganizationId?: string | null | undefined;
16884
+ local?: boolean | null | undefined;
16824
16885
  studio?: boolean | null | undefined;
16825
16886
  };
16826
16887
  }>, import("zod").ZodObject<{
@@ -16920,6 +16981,7 @@ declare const router: {
16920
16981
  ipAddress?: string | null | undefined;
16921
16982
  userAgent?: string | null | undefined;
16922
16983
  activeOrganizationId?: string | null | undefined;
16984
+ local?: boolean | null | undefined;
16923
16985
  studio?: boolean | null | undefined;
16924
16986
  };
16925
16987
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -16958,6 +17020,7 @@ declare const router: {
16958
17020
  ipAddress?: string | null | undefined;
16959
17021
  userAgent?: string | null | undefined;
16960
17022
  activeOrganizationId?: string | null | undefined;
17023
+ local?: boolean | null | undefined;
16961
17024
  studio?: boolean | null | undefined;
16962
17025
  };
16963
17026
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -17027,8 +17090,6 @@ declare const router: {
17027
17090
  description: string;
17028
17091
  contentSchema: unknown;
17029
17092
  settingsSchema: unknown;
17030
- defaultContent: unknown;
17031
- defaultSettings: unknown;
17032
17093
  layoutOnly: boolean | null;
17033
17094
  synced: boolean;
17034
17095
  schemaHash: string;
@@ -17043,8 +17104,6 @@ declare const router: {
17043
17104
  description: string;
17044
17105
  contentSchema: unknown;
17045
17106
  settingsSchema: unknown;
17046
- defaultContent: unknown;
17047
- defaultSettings: unknown;
17048
17107
  layoutOnly: boolean | null;
17049
17108
  synced: boolean;
17050
17109
  schemaHash: string;
@@ -17099,6 +17158,7 @@ declare const router: {
17099
17158
  ipAddress?: string | null | undefined;
17100
17159
  userAgent?: string | null | undefined;
17101
17160
  activeOrganizationId?: string | null | undefined;
17161
+ local?: boolean | null | undefined;
17102
17162
  studio?: boolean | null | undefined;
17103
17163
  };
17104
17164
  }>, import("zod").ZodObject<{
@@ -17162,6 +17222,7 @@ declare const router: {
17162
17222
  ipAddress?: string | null | undefined;
17163
17223
  userAgent?: string | null | undefined;
17164
17224
  activeOrganizationId?: string | null | undefined;
17225
+ local?: boolean | null | undefined;
17165
17226
  studio?: boolean | null | undefined;
17166
17227
  };
17167
17228
  }>, import("zod").ZodObject<{
@@ -17228,6 +17289,7 @@ declare const router: {
17228
17289
  ipAddress?: string | null | undefined;
17229
17290
  userAgent?: string | null | undefined;
17230
17291
  activeOrganizationId?: string | null | undefined;
17292
+ local?: boolean | null | undefined;
17231
17293
  studio?: boolean | null | undefined;
17232
17294
  };
17233
17295
  }>, import("zod").ZodObject<{
@@ -17290,6 +17352,7 @@ declare const router: {
17290
17352
  ipAddress?: string | null | undefined;
17291
17353
  userAgent?: string | null | undefined;
17292
17354
  activeOrganizationId?: string | null | undefined;
17355
+ local?: boolean | null | undefined;
17293
17356
  studio?: boolean | null | undefined;
17294
17357
  };
17295
17358
  }>, import("zod").ZodObject<{
@@ -17359,6 +17422,7 @@ declare const router: {
17359
17422
  ipAddress?: string | null | undefined;
17360
17423
  userAgent?: string | null | undefined;
17361
17424
  activeOrganizationId?: string | null | undefined;
17425
+ local?: boolean | null | undefined;
17362
17426
  studio?: boolean | null | undefined;
17363
17427
  };
17364
17428
  }>, import("zod").ZodObject<{
@@ -17486,6 +17550,7 @@ declare const router: {
17486
17550
  ipAddress?: string | null | undefined;
17487
17551
  userAgent?: string | null | undefined;
17488
17552
  activeOrganizationId?: string | null | undefined;
17553
+ local?: boolean | null | undefined;
17489
17554
  studio?: boolean | null | undefined;
17490
17555
  };
17491
17556
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -17524,6 +17589,7 @@ declare const router: {
17524
17589
  ipAddress?: string | null | undefined;
17525
17590
  userAgent?: string | null | undefined;
17526
17591
  activeOrganizationId?: string | null | undefined;
17592
+ local?: boolean | null | undefined;
17527
17593
  studio?: boolean | null | undefined;
17528
17594
  };
17529
17595
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -17596,6 +17662,7 @@ declare const router: {
17596
17662
  ipAddress?: string | null | undefined;
17597
17663
  userAgent?: string | null | undefined;
17598
17664
  activeOrganizationId?: string | null | undefined;
17665
+ local?: boolean | null | undefined;
17599
17666
  studio?: boolean | null | undefined;
17600
17667
  };
17601
17668
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -17634,6 +17701,7 @@ declare const router: {
17634
17701
  ipAddress?: string | null | undefined;
17635
17702
  userAgent?: string | null | undefined;
17636
17703
  activeOrganizationId?: string | null | undefined;
17704
+ local?: boolean | null | undefined;
17637
17705
  studio?: boolean | null | undefined;
17638
17706
  };
17639
17707
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -17706,6 +17774,7 @@ declare const router: {
17706
17774
  ipAddress?: string | null | undefined;
17707
17775
  userAgent?: string | null | undefined;
17708
17776
  activeOrganizationId?: string | null | undefined;
17777
+ local?: boolean | null | undefined;
17709
17778
  studio?: boolean | null | undefined;
17710
17779
  };
17711
17780
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -17744,6 +17813,7 @@ declare const router: {
17744
17813
  ipAddress?: string | null | undefined;
17745
17814
  userAgent?: string | null | undefined;
17746
17815
  activeOrganizationId?: string | null | undefined;
17816
+ local?: boolean | null | undefined;
17747
17817
  studio?: boolean | null | undefined;
17748
17818
  };
17749
17819
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -17772,8 +17842,6 @@ declare const router: {
17772
17842
  description: import("zod").ZodString;
17773
17843
  contentSchema: import("zod").ZodUnknown;
17774
17844
  settingsSchema: import("zod").ZodOptional<import("zod").ZodUnknown>;
17775
- defaultContent: import("zod").ZodOptional<import("zod").ZodUnknown>;
17776
- defaultSettings: import("zod").ZodOptional<import("zod").ZodUnknown>;
17777
17845
  layoutOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
17778
17846
  synced: import("zod").ZodOptional<import("zod").ZodBoolean>;
17779
17847
  }, import("zod/v4/core").$strip>>;
@@ -17792,20 +17860,10 @@ declare const router: {
17792
17860
  }, import("zod/v4/core").$strip>>;
17793
17861
  blocks: import("zod").ZodArray<import("zod").ZodPreprocess<import("zod").ZodObject<{
17794
17862
  type: import("zod").ZodString;
17795
- content: import("zod").ZodUnknown;
17796
- settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
17797
17863
  slot: import("zod").ZodOptional<import("zod").ZodEnum<{
17798
17864
  after: "after";
17799
17865
  before: "before";
17800
17866
  }>>;
17801
- repeatableItems: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
17802
- tempId: import("zod").ZodString;
17803
- parentTempId: import("zod").ZodNullable<import("zod").ZodString>;
17804
- fieldName: import("zod").ZodString;
17805
- content: import("zod").ZodUnknown;
17806
- settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
17807
- position: import("zod").ZodString;
17808
- }, import("zod/v4/core").$strip>>>;
17809
17867
  }, import("zod/v4/core").$strip>, unknown>>;
17810
17868
  }, import("zod/v4/core").$strip>>;
17811
17869
  collections: import("zod").ZodArray<import("zod").ZodPipe<import("zod").ZodObject<{
@@ -17938,19 +17996,6 @@ declare const router: {
17938
17996
  }>>>;
17939
17997
  homepage: import("zod").ZodNullable<import("zod").ZodObject<{
17940
17998
  layoutId: import("zod").ZodString;
17941
- blocks: import("zod").ZodArray<import("zod").ZodObject<{
17942
- type: import("zod").ZodString;
17943
- content: import("zod").ZodUnknown;
17944
- settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
17945
- repeatableItems: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
17946
- tempId: import("zod").ZodString;
17947
- parentTempId: import("zod").ZodNullable<import("zod").ZodString>;
17948
- fieldName: import("zod").ZodString;
17949
- content: import("zod").ZodUnknown;
17950
- settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
17951
- position: import("zod").ZodString;
17952
- }, import("zod/v4/core").$strip>>>;
17953
- }, import("zod/v4/core").$strip>>;
17954
17999
  }, import("zod/v4/core").$strip>>;
17955
18000
  }, import("zod/v4/core").$strip>;
17956
18001
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
@@ -17974,13 +18019,12 @@ declare const router: {
17974
18019
  deletedDefinitionTypes: string[];
17975
18020
  count: number;
17976
18021
  } | null;
17977
- homepage: {
18022
+ homepage: ({
17978
18023
  created: false;
17979
18024
  } | {
17980
18025
  created: true;
17981
18026
  pageId: string;
17982
- blockCount: number;
17983
- } | null;
18027
+ }) | null;
17984
18028
  }, {
17985
18029
  blocks: {
17986
18030
  count: number;
@@ -18002,13 +18046,12 @@ declare const router: {
18002
18046
  deletedDefinitionTypes: string[];
18003
18047
  count: number;
18004
18048
  } | null;
18005
- homepage: {
18049
+ homepage: ({
18006
18050
  created: false;
18007
18051
  } | {
18008
18052
  created: true;
18009
18053
  pageId: string;
18010
- blockCount: number;
18011
- } | null;
18054
+ }) | null;
18012
18055
  }>, Record<never, never>, Record<never, never>>;
18013
18056
  };
18014
18057
  drafts: {
@@ -18058,6 +18101,7 @@ declare const router: {
18058
18101
  ipAddress?: string | null | undefined;
18059
18102
  userAgent?: string | null | undefined;
18060
18103
  activeOrganizationId?: string | null | undefined;
18104
+ local?: boolean | null | undefined;
18061
18105
  studio?: boolean | null | undefined;
18062
18106
  };
18063
18107
  }>, import("zod").ZodObject<{
@@ -18123,6 +18167,7 @@ declare const router: {
18123
18167
  ipAddress?: string | null | undefined;
18124
18168
  userAgent?: string | null | undefined;
18125
18169
  activeOrganizationId?: string | null | undefined;
18170
+ local?: boolean | null | undefined;
18126
18171
  studio?: boolean | null | undefined;
18127
18172
  };
18128
18173
  }>, import("zod").ZodObject<{
@@ -18174,6 +18219,7 @@ declare const router: {
18174
18219
  ipAddress?: string | null | undefined;
18175
18220
  userAgent?: string | null | undefined;
18176
18221
  activeOrganizationId?: string | null | undefined;
18222
+ local?: boolean | null | undefined;
18177
18223
  studio?: boolean | null | undefined;
18178
18224
  };
18179
18225
  }>, import("zod").ZodObject<{
@@ -18225,39 +18271,22 @@ declare const router: {
18225
18271
  ipAddress?: string | null | undefined;
18226
18272
  userAgent?: string | null | undefined;
18227
18273
  activeOrganizationId?: string | null | undefined;
18274
+ local?: boolean | null | undefined;
18228
18275
  studio?: boolean | null | undefined;
18229
18276
  };
18230
18277
  }>, import("zod").ZodObject<{
18231
18278
  projectId: import("zod").ZodNumber;
18232
18279
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
18280
+ conflicts: never[];
18281
+ lost: never[];
18282
+ warnings: never[];
18283
+ translating: string[];
18284
+ findings: never[];
18285
+ checking: never[];
18286
+ token: string;
18233
18287
  blockers: Problem[];
18234
- conflicts: Conflict[];
18235
- lost: LostChange[];
18236
- warnings: Problem[];
18237
18288
  changes: Change[];
18238
- translating: string[];
18239
- findings: {
18240
- id: number;
18241
- about: import("@camox/api-contract/patrol").FindingAbout;
18242
- fix: import("@camox/api-contract/patrol").FindingFix | null;
18243
- subject: import("@camox/api-contract/patrol").ReportSubject;
18244
- locale: string;
18245
- field: string;
18246
- fieldKind: string | null;
18247
- raisedAt: number;
18248
- live: boolean;
18249
- place: import("@camox/api-contract/patrol").ReportPlace | null;
18250
- patroller: {
18251
- id: "linkChecker" | "seoManager" | "translator";
18252
- role: string;
18253
- };
18254
- }[];
18255
- checking: {
18256
- id: "linkChecker" | "seoManager" | "translator";
18257
- role: string;
18258
- }[];
18259
18289
  defaultLocale: string | null;
18260
- token: string;
18261
18290
  overview: {
18262
18291
  status: "pending";
18263
18292
  } | {
@@ -18271,35 +18300,18 @@ declare const router: {
18271
18300
  readonly status: "none";
18272
18301
  };
18273
18302
  code: PreviewCode | null;
18303
+ heldLocales: string[];
18274
18304
  }, {
18305
+ conflicts: never[];
18306
+ lost: never[];
18307
+ warnings: never[];
18308
+ translating: string[];
18309
+ findings: never[];
18310
+ checking: never[];
18311
+ token: string;
18275
18312
  blockers: Problem[];
18276
- conflicts: Conflict[];
18277
- lost: LostChange[];
18278
- warnings: Problem[];
18279
18313
  changes: Change[];
18280
- translating: string[];
18281
- findings: {
18282
- id: number;
18283
- about: import("@camox/api-contract/patrol").FindingAbout;
18284
- fix: import("@camox/api-contract/patrol").FindingFix | null;
18285
- subject: import("@camox/api-contract/patrol").ReportSubject;
18286
- locale: string;
18287
- field: string;
18288
- fieldKind: string | null;
18289
- raisedAt: number;
18290
- live: boolean;
18291
- place: import("@camox/api-contract/patrol").ReportPlace | null;
18292
- patroller: {
18293
- id: "linkChecker" | "seoManager" | "translator";
18294
- role: string;
18295
- };
18296
- }[];
18297
- checking: {
18298
- id: "linkChecker" | "seoManager" | "translator";
18299
- role: string;
18300
- }[];
18301
18314
  defaultLocale: string | null;
18302
- token: string;
18303
18315
  overview: {
18304
18316
  status: "pending";
18305
18317
  } | {
@@ -18313,6 +18325,7 @@ declare const router: {
18313
18325
  readonly status: "none";
18314
18326
  };
18315
18327
  code: PreviewCode | null;
18328
+ heldLocales: string[];
18316
18329
  }>, Record<never, never>, Record<never, never>>;
18317
18330
  retryOverview: 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>>, {
18318
18331
  draft: DraftRequest | null;
@@ -18360,6 +18373,7 @@ declare const router: {
18360
18373
  ipAddress?: string | null | undefined;
18361
18374
  userAgent?: string | null | undefined;
18362
18375
  activeOrganizationId?: string | null | undefined;
18376
+ local?: boolean | null | undefined;
18363
18377
  studio?: boolean | null | undefined;
18364
18378
  };
18365
18379
  }>, import("zod").ZodObject<{
@@ -18411,11 +18425,12 @@ declare const router: {
18411
18425
  ipAddress?: string | null | undefined;
18412
18426
  userAgent?: string | null | undefined;
18413
18427
  activeOrganizationId?: string | null | undefined;
18428
+ local?: boolean | null | undefined;
18414
18429
  studio?: boolean | null | undefined;
18415
18430
  };
18416
18431
  }>, import("zod").ZodObject<{
18417
18432
  projectId: import("zod").ZodNumber;
18418
- token: import("zod").ZodString;
18433
+ token: import("zod").ZodOptional<import("zod").ZodString>;
18419
18434
  revision: import("zod").ZodOptional<import("zod").ZodString>;
18420
18435
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<PublishResult, PublishResult>, Record<never, never>, Record<never, never>>;
18421
18436
  delete: 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>>, {
@@ -18464,6 +18479,7 @@ declare const router: {
18464
18479
  ipAddress?: string | null | undefined;
18465
18480
  userAgent?: string | null | undefined;
18466
18481
  activeOrganizationId?: string | null | undefined;
18482
+ local?: boolean | null | undefined;
18467
18483
  studio?: boolean | null | undefined;
18468
18484
  };
18469
18485
  }>, import("zod").ZodObject<{
@@ -18519,6 +18535,7 @@ declare const router: {
18519
18535
  ipAddress?: string | null | undefined;
18520
18536
  userAgent?: string | null | undefined;
18521
18537
  activeOrganizationId?: string | null | undefined;
18538
+ local?: boolean | null | undefined;
18522
18539
  studio?: boolean | null | undefined;
18523
18540
  };
18524
18541
  }>, import("zod").ZodObject<{
@@ -18583,6 +18600,7 @@ declare const router: {
18583
18600
  ipAddress?: string | null | undefined;
18584
18601
  userAgent?: string | null | undefined;
18585
18602
  activeOrganizationId?: string | null | undefined;
18603
+ local?: boolean | null | undefined;
18586
18604
  studio?: boolean | null | undefined;
18587
18605
  };
18588
18606
  }>, import("zod").ZodObject<{
@@ -18636,13 +18654,14 @@ declare const router: {
18636
18654
  ipAddress?: string | null | undefined;
18637
18655
  userAgent?: string | null | undefined;
18638
18656
  activeOrganizationId?: string | null | undefined;
18657
+ local?: boolean | null | undefined;
18639
18658
  studio?: boolean | null | undefined;
18640
18659
  };
18641
18660
  }>, import("zod").ZodObject<{
18642
18661
  projectId: import("zod").ZodNumber;
18643
18662
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<import("@camox/ai-tools").JsonSchemaTool[], import("@camox/ai-tools").JsonSchemaTool[]>, Record<never, never>, Record<never, never>>;
18644
18663
  };
18645
- patrol: {
18664
+ specialists: {
18646
18665
  get: 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>>, {
18647
18666
  draft: DraftRequest | null;
18648
18667
  locale: string | undefined;
@@ -18689,23 +18708,16 @@ declare const router: {
18689
18708
  ipAddress?: string | null | undefined;
18690
18709
  userAgent?: string | null | undefined;
18691
18710
  activeOrganizationId?: string | null | undefined;
18711
+ local?: boolean | null | undefined;
18692
18712
  studio?: boolean | null | undefined;
18693
18713
  };
18694
18714
  }>, import("zod").ZodObject<{
18695
18715
  projectId: import("zod").ZodNumber;
18696
- patrollers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
18716
+ specialists: import("zod").ZodArray<import("zod").ZodString>;
18697
18717
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
18698
- patrollers: import("@camox/api-contract/patrol").PatrollerView[];
18699
- patrolDraft: {
18700
- id: string;
18701
- name: string | null;
18702
- } | null;
18718
+ specialists: import("@camox/api-contract/specialists").SpecialistView[];
18703
18719
  }, {
18704
- patrollers: import("@camox/api-contract/patrol").PatrollerView[];
18705
- patrolDraft: {
18706
- id: string;
18707
- name: string | null;
18708
- } | null;
18720
+ specialists: import("@camox/api-contract/specialists").SpecialistView[];
18709
18721
  }>, Record<never, never>, Record<never, never>>;
18710
18722
  applyFix: 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>>, {
18711
18723
  draft: DraftRequest | null;
@@ -18755,6 +18767,7 @@ declare const router: {
18755
18767
  ipAddress?: string | null | undefined;
18756
18768
  userAgent?: string | null | undefined;
18757
18769
  activeOrganizationId?: string | null | undefined;
18770
+ local?: boolean | null | undefined;
18758
18771
  studio?: boolean | null | undefined;
18759
18772
  };
18760
18773
  }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
@@ -18793,6 +18806,7 @@ declare const router: {
18793
18806
  ipAddress?: string | null | undefined;
18794
18807
  userAgent?: string | null | undefined;
18795
18808
  activeOrganizationId?: string | null | undefined;
18809
+ local?: boolean | null | undefined;
18796
18810
  studio?: boolean | null | undefined;
18797
18811
  };
18798
18812
  }>, Record<never, never>>, import("zod").ZodObject<{
@@ -18853,6 +18867,7 @@ declare const router: {
18853
18867
  ipAddress?: string | null | undefined;
18854
18868
  userAgent?: string | null | undefined;
18855
18869
  activeOrganizationId?: string | null | undefined;
18870
+ local?: boolean | null | undefined;
18856
18871
  studio?: boolean | null | undefined;
18857
18872
  };
18858
18873
  }>, import("zod").ZodObject<{
@@ -18860,8 +18875,8 @@ declare const router: {
18860
18875
  findingId: import("zod").ZodNumber;
18861
18876
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<void, void>, Record<never, never>, Record<never, never>>;
18862
18877
  };
18863
- code: {
18864
- push: 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>>, {
18878
+ patrol: {
18879
+ get: 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>>, {
18865
18880
  draft: DraftRequest | null;
18866
18881
  locale: string | undefined;
18867
18882
  publishingDraft: string | undefined;
@@ -18907,22 +18922,239 @@ declare const router: {
18907
18922
  ipAddress?: string | null | undefined;
18908
18923
  userAgent?: string | null | undefined;
18909
18924
  activeOrganizationId?: string | null | undefined;
18925
+ local?: boolean | null | undefined;
18910
18926
  studio?: boolean | null | undefined;
18911
18927
  };
18912
18928
  }>, import("zod").ZodObject<{
18913
- projectUuid: import("zod").ZodUUID;
18914
- branch: import("zod").ZodString;
18915
- draftId: import("zod").ZodOptional<import("zod").ZodString>;
18916
- bundle: import("zod").ZodInstanceOf<Blob>;
18917
- }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<AsyncGenerator<{
18918
- type: "progress";
18919
- step: PushStep;
18920
- } | {
18921
- draftId: string;
18922
- result: BuildResult;
18923
- studioUrl: string;
18924
- step?: undefined;
18925
- type: "pushed";
18929
+ projectId: import("zod").ZodNumber;
18930
+ patrollers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
18931
+ }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
18932
+ patrollers: import("@camox/api-contract/specialists").SpecialistView[];
18933
+ patrolDraft: null;
18934
+ }, {
18935
+ patrollers: import("@camox/api-contract/specialists").SpecialistView[];
18936
+ patrolDraft: null;
18937
+ }>, Record<never, never>, Record<never, never>>;
18938
+ applyFix: 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>>, {
18939
+ draft: DraftRequest | null;
18940
+ locale: string | undefined;
18941
+ publishingDraft: string | undefined;
18942
+ look: LookGrant | undefined;
18943
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
18944
+ draft: DraftRequest | null;
18945
+ locale: string | undefined;
18946
+ publishingDraft: string | undefined;
18947
+ look: LookGrant | undefined;
18948
+ }>>, {
18949
+ draft: DraftRequest | null;
18950
+ } & Record<never, never>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
18951
+ draft: DraftRequest | null;
18952
+ locale: string | undefined;
18953
+ publishingDraft: string | undefined;
18954
+ look: LookGrant | undefined;
18955
+ }>, {
18956
+ db: Database;
18957
+ env: Bindings;
18958
+ headers: Headers;
18959
+ client: string;
18960
+ telemetryDisabled: boolean;
18961
+ waitUntil: (promise: Promise<unknown>) => void;
18962
+ apiOrigin?: string;
18963
+ draft: DraftRequest | null;
18964
+ locale: string | undefined;
18965
+ publishingDraft: string | undefined;
18966
+ look: LookGrant | undefined;
18967
+ user: {
18968
+ id: string;
18969
+ createdAt: Date;
18970
+ updatedAt: Date;
18971
+ email: string;
18972
+ emailVerified: boolean;
18973
+ name: string;
18974
+ image?: string | null | undefined;
18975
+ };
18976
+ session: {
18977
+ id: string;
18978
+ createdAt: Date;
18979
+ updatedAt: Date;
18980
+ userId: string;
18981
+ expiresAt: Date;
18982
+ token: string;
18983
+ ipAddress?: string | null | undefined;
18984
+ userAgent?: string | null | undefined;
18985
+ activeOrganizationId?: string | null | undefined;
18986
+ local?: boolean | null | undefined;
18987
+ studio?: boolean | null | undefined;
18988
+ };
18989
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
18990
+ draft: DraftRequest | null;
18991
+ locale: string | undefined;
18992
+ publishingDraft: string | undefined;
18993
+ look: LookGrant | undefined;
18994
+ }>, {
18995
+ db: Database;
18996
+ env: Bindings;
18997
+ headers: Headers;
18998
+ client: string;
18999
+ telemetryDisabled: boolean;
19000
+ waitUntil: (promise: Promise<unknown>) => void;
19001
+ apiOrigin?: string;
19002
+ draft: DraftRequest | null;
19003
+ locale: string | undefined;
19004
+ publishingDraft: string | undefined;
19005
+ look: LookGrant | undefined;
19006
+ user: {
19007
+ id: string;
19008
+ createdAt: Date;
19009
+ updatedAt: Date;
19010
+ email: string;
19011
+ emailVerified: boolean;
19012
+ name: string;
19013
+ image?: string | null | undefined;
19014
+ };
19015
+ session: {
19016
+ id: string;
19017
+ createdAt: Date;
19018
+ updatedAt: Date;
19019
+ userId: string;
19020
+ expiresAt: Date;
19021
+ token: string;
19022
+ ipAddress?: string | null | undefined;
19023
+ userAgent?: string | null | undefined;
19024
+ activeOrganizationId?: string | null | undefined;
19025
+ local?: boolean | null | undefined;
19026
+ studio?: boolean | null | undefined;
19027
+ };
19028
+ }>, Record<never, never>>, import("zod").ZodObject<{
19029
+ projectId: import("zod").ZodNumber;
19030
+ findingId: import("zod").ZodNumber;
19031
+ }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
19032
+ applied: false;
19033
+ } | {
19034
+ applied: true;
19035
+ }, {
19036
+ applied: false;
19037
+ } | {
19038
+ applied: true;
19039
+ }>, Record<never, never>, Record<never, never>>;
19040
+ dismissFinding: 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>>, {
19041
+ draft: DraftRequest | null;
19042
+ locale: string | undefined;
19043
+ publishingDraft: string | undefined;
19044
+ look: LookGrant | undefined;
19045
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19046
+ draft: DraftRequest | null;
19047
+ locale: string | undefined;
19048
+ publishingDraft: string | undefined;
19049
+ look: LookGrant | undefined;
19050
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19051
+ draft: DraftRequest | null;
19052
+ locale: string | undefined;
19053
+ publishingDraft: string | undefined;
19054
+ look: LookGrant | undefined;
19055
+ }>, {
19056
+ db: Database;
19057
+ env: Bindings;
19058
+ headers: Headers;
19059
+ client: string;
19060
+ telemetryDisabled: boolean;
19061
+ waitUntil: (promise: Promise<unknown>) => void;
19062
+ apiOrigin?: string;
19063
+ draft: DraftRequest | null;
19064
+ locale: string | undefined;
19065
+ publishingDraft: string | undefined;
19066
+ look: LookGrant | undefined;
19067
+ user: {
19068
+ id: string;
19069
+ createdAt: Date;
19070
+ updatedAt: Date;
19071
+ email: string;
19072
+ emailVerified: boolean;
19073
+ name: string;
19074
+ image?: string | null | undefined;
19075
+ };
19076
+ session: {
19077
+ id: string;
19078
+ createdAt: Date;
19079
+ updatedAt: Date;
19080
+ userId: string;
19081
+ expiresAt: Date;
19082
+ token: string;
19083
+ ipAddress?: string | null | undefined;
19084
+ userAgent?: string | null | undefined;
19085
+ activeOrganizationId?: string | null | undefined;
19086
+ local?: boolean | null | undefined;
19087
+ studio?: boolean | null | undefined;
19088
+ };
19089
+ }>, import("zod").ZodObject<{
19090
+ projectId: import("zod").ZodNumber;
19091
+ findingId: import("zod").ZodNumber;
19092
+ }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<void, void>, Record<never, never>, Record<never, never>>;
19093
+ };
19094
+ code: {
19095
+ push: 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>>, {
19096
+ draft: DraftRequest | null;
19097
+ locale: string | undefined;
19098
+ publishingDraft: string | undefined;
19099
+ look: LookGrant | undefined;
19100
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19101
+ draft: DraftRequest | null;
19102
+ locale: string | undefined;
19103
+ publishingDraft: string | undefined;
19104
+ look: LookGrant | undefined;
19105
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19106
+ draft: DraftRequest | null;
19107
+ locale: string | undefined;
19108
+ publishingDraft: string | undefined;
19109
+ look: LookGrant | undefined;
19110
+ }>, {
19111
+ db: Database;
19112
+ env: Bindings;
19113
+ headers: Headers;
19114
+ client: string;
19115
+ telemetryDisabled: boolean;
19116
+ waitUntil: (promise: Promise<unknown>) => void;
19117
+ apiOrigin?: string;
19118
+ draft: DraftRequest | null;
19119
+ locale: string | undefined;
19120
+ publishingDraft: string | undefined;
19121
+ look: LookGrant | undefined;
19122
+ user: {
19123
+ id: string;
19124
+ createdAt: Date;
19125
+ updatedAt: Date;
19126
+ email: string;
19127
+ emailVerified: boolean;
19128
+ name: string;
19129
+ image?: string | null | undefined;
19130
+ };
19131
+ session: {
19132
+ id: string;
19133
+ createdAt: Date;
19134
+ updatedAt: Date;
19135
+ userId: string;
19136
+ expiresAt: Date;
19137
+ token: string;
19138
+ ipAddress?: string | null | undefined;
19139
+ userAgent?: string | null | undefined;
19140
+ activeOrganizationId?: string | null | undefined;
19141
+ local?: boolean | null | undefined;
19142
+ studio?: boolean | null | undefined;
19143
+ };
19144
+ }>, import("zod").ZodObject<{
19145
+ projectUuid: import("zod").ZodUUID;
19146
+ branch: import("zod").ZodString;
19147
+ draftId: import("zod").ZodOptional<import("zod").ZodString>;
19148
+ bundle: import("zod").ZodInstanceOf<Blob>;
19149
+ }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<AsyncGenerator<{
19150
+ type: "progress";
19151
+ step: PushStep;
19152
+ } | {
19153
+ draftId: string;
19154
+ result: BuildResult;
19155
+ studioUrl: string;
19156
+ step?: undefined;
19157
+ type: "pushed";
18926
19158
  }, void, unknown>, AsyncGenerator<{
18927
19159
  type: "progress";
18928
19160
  step: PushStep;
@@ -18981,6 +19213,7 @@ declare const router: {
18981
19213
  ipAddress?: string | null | undefined;
18982
19214
  userAgent?: string | null | undefined;
18983
19215
  activeOrganizationId?: string | null | undefined;
19216
+ local?: boolean | null | undefined;
18984
19217
  studio?: boolean | null | undefined;
18985
19218
  };
18986
19219
  }>, import("zod").ZodObject<{
@@ -19050,6 +19283,7 @@ declare const router: {
19050
19283
  ipAddress?: string | null | undefined;
19051
19284
  userAgent?: string | null | undefined;
19052
19285
  activeOrganizationId?: string | null | undefined;
19286
+ local?: boolean | null | undefined;
19053
19287
  studio?: boolean | null | undefined;
19054
19288
  };
19055
19289
  }>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
@@ -19115,12 +19349,682 @@ declare const router: {
19115
19349
  ipAddress?: string | null | undefined;
19116
19350
  userAgent?: string | null | undefined;
19117
19351
  activeOrganizationId?: string | null | undefined;
19352
+ local?: boolean | null | undefined;
19118
19353
  studio?: boolean | null | undefined;
19119
19354
  };
19120
19355
  }>, import("zod").ZodObject<{
19121
19356
  id: import("zod").ZodString;
19122
19357
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<undefined, undefined>, Record<never, never>, Record<never, never>>;
19123
19358
  };
19359
+ operators: {
19360
+ isOperator: 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>>, {
19361
+ draft: DraftRequest | null;
19362
+ locale: string | undefined;
19363
+ publishingDraft: string | undefined;
19364
+ look: LookGrant | undefined;
19365
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19366
+ draft: DraftRequest | null;
19367
+ locale: string | undefined;
19368
+ publishingDraft: string | undefined;
19369
+ look: LookGrant | undefined;
19370
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19371
+ draft: DraftRequest | null;
19372
+ locale: string | undefined;
19373
+ publishingDraft: string | undefined;
19374
+ look: LookGrant | undefined;
19375
+ }>, {
19376
+ db: Database;
19377
+ env: Bindings;
19378
+ headers: Headers;
19379
+ client: string;
19380
+ telemetryDisabled: boolean;
19381
+ waitUntil: (promise: Promise<unknown>) => void;
19382
+ apiOrigin?: string;
19383
+ draft: DraftRequest | null;
19384
+ locale: string | undefined;
19385
+ publishingDraft: string | undefined;
19386
+ look: LookGrant | undefined;
19387
+ user: {
19388
+ id: string;
19389
+ createdAt: Date;
19390
+ updatedAt: Date;
19391
+ email: string;
19392
+ emailVerified: boolean;
19393
+ name: string;
19394
+ image?: string | null | undefined;
19395
+ };
19396
+ session: {
19397
+ id: string;
19398
+ createdAt: Date;
19399
+ updatedAt: Date;
19400
+ userId: string;
19401
+ expiresAt: Date;
19402
+ token: string;
19403
+ ipAddress?: string | null | undefined;
19404
+ userAgent?: string | null | undefined;
19405
+ activeOrganizationId?: string | null | undefined;
19406
+ local?: boolean | null | undefined;
19407
+ studio?: boolean | null | undefined;
19408
+ };
19409
+ }>, import("@orpc/server").Schema<unknown, unknown>, import("@orpc/server").Schema<boolean, boolean>, Record<never, never>, Record<never, never>>;
19410
+ };
19411
+ claimLinks: {
19412
+ create: 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>>, {
19413
+ draft: DraftRequest | null;
19414
+ locale: string | undefined;
19415
+ publishingDraft: string | undefined;
19416
+ look: LookGrant | undefined;
19417
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19418
+ draft: DraftRequest | null;
19419
+ locale: string | undefined;
19420
+ publishingDraft: string | undefined;
19421
+ look: LookGrant | undefined;
19422
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19423
+ draft: DraftRequest | null;
19424
+ locale: string | undefined;
19425
+ publishingDraft: string | undefined;
19426
+ look: LookGrant | undefined;
19427
+ }>, {
19428
+ db: Database;
19429
+ env: Bindings;
19430
+ headers: Headers;
19431
+ client: string;
19432
+ telemetryDisabled: boolean;
19433
+ waitUntil: (promise: Promise<unknown>) => void;
19434
+ apiOrigin?: string;
19435
+ draft: DraftRequest | null;
19436
+ locale: string | undefined;
19437
+ publishingDraft: string | undefined;
19438
+ look: LookGrant | undefined;
19439
+ user: {
19440
+ id: string;
19441
+ createdAt: Date;
19442
+ updatedAt: Date;
19443
+ email: string;
19444
+ emailVerified: boolean;
19445
+ name: string;
19446
+ image?: string | null | undefined;
19447
+ };
19448
+ session: {
19449
+ id: string;
19450
+ createdAt: Date;
19451
+ updatedAt: Date;
19452
+ userId: string;
19453
+ expiresAt: Date;
19454
+ token: string;
19455
+ ipAddress?: string | null | undefined;
19456
+ userAgent?: string | null | undefined;
19457
+ activeOrganizationId?: string | null | undefined;
19458
+ local?: boolean | null | undefined;
19459
+ studio?: boolean | null | undefined;
19460
+ };
19461
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19462
+ draft: DraftRequest | null;
19463
+ locale: string | undefined;
19464
+ publishingDraft: string | undefined;
19465
+ look: LookGrant | undefined;
19466
+ }>, {
19467
+ db: Database;
19468
+ env: Bindings;
19469
+ headers: Headers;
19470
+ client: string;
19471
+ telemetryDisabled: boolean;
19472
+ waitUntil: (promise: Promise<unknown>) => void;
19473
+ apiOrigin?: string;
19474
+ draft: DraftRequest | null;
19475
+ locale: string | undefined;
19476
+ publishingDraft: string | undefined;
19477
+ look: LookGrant | undefined;
19478
+ user: {
19479
+ id: string;
19480
+ createdAt: Date;
19481
+ updatedAt: Date;
19482
+ email: string;
19483
+ emailVerified: boolean;
19484
+ name: string;
19485
+ image?: string | null | undefined;
19486
+ };
19487
+ session: {
19488
+ id: string;
19489
+ createdAt: Date;
19490
+ updatedAt: Date;
19491
+ userId: string;
19492
+ expiresAt: Date;
19493
+ token: string;
19494
+ ipAddress?: string | null | undefined;
19495
+ userAgent?: string | null | undefined;
19496
+ activeOrganizationId?: string | null | undefined;
19497
+ local?: boolean | null | undefined;
19498
+ studio?: boolean | null | undefined;
19499
+ };
19500
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19501
+ draft: DraftRequest | null;
19502
+ locale: string | undefined;
19503
+ publishingDraft: string | undefined;
19504
+ look: LookGrant | undefined;
19505
+ }>, {
19506
+ db: Database;
19507
+ env: Bindings;
19508
+ headers: Headers;
19509
+ client: string;
19510
+ telemetryDisabled: boolean;
19511
+ waitUntil: (promise: Promise<unknown>) => void;
19512
+ apiOrigin?: string;
19513
+ draft: DraftRequest | null;
19514
+ locale: string | undefined;
19515
+ publishingDraft: string | undefined;
19516
+ look: LookGrant | undefined;
19517
+ user: {
19518
+ id: string;
19519
+ createdAt: Date;
19520
+ updatedAt: Date;
19521
+ email: string;
19522
+ emailVerified: boolean;
19523
+ name: string;
19524
+ image?: string | null | undefined;
19525
+ };
19526
+ session: {
19527
+ id: string;
19528
+ createdAt: Date;
19529
+ updatedAt: Date;
19530
+ userId: string;
19531
+ expiresAt: Date;
19532
+ token: string;
19533
+ ipAddress?: string | null | undefined;
19534
+ userAgent?: string | null | undefined;
19535
+ activeOrganizationId?: string | null | undefined;
19536
+ local?: boolean | null | undefined;
19537
+ studio?: boolean | null | undefined;
19538
+ };
19539
+ }>, Record<never, never>>, import("zod").ZodObject<{
19540
+ projectId: import("zod").ZodUUID;
19541
+ note: import("zod").ZodDefault<import("zod").ZodString>;
19542
+ }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
19543
+ id: string;
19544
+ link: string;
19545
+ }, {
19546
+ id: string;
19547
+ link: string;
19548
+ }>, Record<never, never>, Record<never, never>>;
19549
+ list: 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>>, {
19550
+ draft: DraftRequest | null;
19551
+ locale: string | undefined;
19552
+ publishingDraft: string | undefined;
19553
+ look: LookGrant | undefined;
19554
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19555
+ draft: DraftRequest | null;
19556
+ locale: string | undefined;
19557
+ publishingDraft: string | undefined;
19558
+ look: LookGrant | undefined;
19559
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19560
+ draft: DraftRequest | null;
19561
+ locale: string | undefined;
19562
+ publishingDraft: string | undefined;
19563
+ look: LookGrant | undefined;
19564
+ }>, {
19565
+ db: Database;
19566
+ env: Bindings;
19567
+ headers: Headers;
19568
+ client: string;
19569
+ telemetryDisabled: boolean;
19570
+ waitUntil: (promise: Promise<unknown>) => void;
19571
+ apiOrigin?: string;
19572
+ draft: DraftRequest | null;
19573
+ locale: string | undefined;
19574
+ publishingDraft: string | undefined;
19575
+ look: LookGrant | undefined;
19576
+ user: {
19577
+ id: string;
19578
+ createdAt: Date;
19579
+ updatedAt: Date;
19580
+ email: string;
19581
+ emailVerified: boolean;
19582
+ name: string;
19583
+ image?: string | null | undefined;
19584
+ };
19585
+ session: {
19586
+ id: string;
19587
+ createdAt: Date;
19588
+ updatedAt: Date;
19589
+ userId: string;
19590
+ expiresAt: Date;
19591
+ token: string;
19592
+ ipAddress?: string | null | undefined;
19593
+ userAgent?: string | null | undefined;
19594
+ activeOrganizationId?: string | null | undefined;
19595
+ local?: boolean | null | undefined;
19596
+ studio?: boolean | null | undefined;
19597
+ };
19598
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19599
+ draft: DraftRequest | null;
19600
+ locale: string | undefined;
19601
+ publishingDraft: string | undefined;
19602
+ look: LookGrant | undefined;
19603
+ }>, {
19604
+ db: Database;
19605
+ env: Bindings;
19606
+ headers: Headers;
19607
+ client: string;
19608
+ telemetryDisabled: boolean;
19609
+ waitUntil: (promise: Promise<unknown>) => void;
19610
+ apiOrigin?: string;
19611
+ draft: DraftRequest | null;
19612
+ locale: string | undefined;
19613
+ publishingDraft: string | undefined;
19614
+ look: LookGrant | undefined;
19615
+ user: {
19616
+ id: string;
19617
+ createdAt: Date;
19618
+ updatedAt: Date;
19619
+ email: string;
19620
+ emailVerified: boolean;
19621
+ name: string;
19622
+ image?: string | null | undefined;
19623
+ };
19624
+ session: {
19625
+ id: string;
19626
+ createdAt: Date;
19627
+ updatedAt: Date;
19628
+ userId: string;
19629
+ expiresAt: Date;
19630
+ token: string;
19631
+ ipAddress?: string | null | undefined;
19632
+ userAgent?: string | null | undefined;
19633
+ activeOrganizationId?: string | null | undefined;
19634
+ local?: boolean | null | undefined;
19635
+ studio?: boolean | null | undefined;
19636
+ };
19637
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19638
+ draft: DraftRequest | null;
19639
+ locale: string | undefined;
19640
+ publishingDraft: string | undefined;
19641
+ look: LookGrant | undefined;
19642
+ }>, {
19643
+ db: Database;
19644
+ env: Bindings;
19645
+ headers: Headers;
19646
+ client: string;
19647
+ telemetryDisabled: boolean;
19648
+ waitUntil: (promise: Promise<unknown>) => void;
19649
+ apiOrigin?: string;
19650
+ draft: DraftRequest | null;
19651
+ locale: string | undefined;
19652
+ publishingDraft: string | undefined;
19653
+ look: LookGrant | undefined;
19654
+ user: {
19655
+ id: string;
19656
+ createdAt: Date;
19657
+ updatedAt: Date;
19658
+ email: string;
19659
+ emailVerified: boolean;
19660
+ name: string;
19661
+ image?: string | null | undefined;
19662
+ };
19663
+ session: {
19664
+ id: string;
19665
+ createdAt: Date;
19666
+ updatedAt: Date;
19667
+ userId: string;
19668
+ expiresAt: Date;
19669
+ token: string;
19670
+ ipAddress?: string | null | undefined;
19671
+ userAgent?: string | null | undefined;
19672
+ activeOrganizationId?: string | null | undefined;
19673
+ local?: boolean | null | undefined;
19674
+ studio?: boolean | null | undefined;
19675
+ };
19676
+ }>, Record<never, never>>, import("@orpc/server").Schema<unknown, unknown>, import("@orpc/server").Schema<{
19677
+ id: string;
19678
+ link: string;
19679
+ state: import("@camox/api-contract/claim-links").ClaimLinkState;
19680
+ note: string;
19681
+ project: {
19682
+ id: string;
19683
+ name: string;
19684
+ address: string;
19685
+ };
19686
+ organization: {
19687
+ id: string;
19688
+ name: string;
19689
+ };
19690
+ createdBy: {
19691
+ id: string;
19692
+ name: string;
19693
+ email: string;
19694
+ };
19695
+ createdAt: number;
19696
+ firstOpenedAt: number | null;
19697
+ openCount: number;
19698
+ claimedAt: number | null;
19699
+ claimedBy: {
19700
+ id: string;
19701
+ name: string;
19702
+ email: string;
19703
+ } | null;
19704
+ claimerWasNew: boolean | null;
19705
+ revokedAt: number | null;
19706
+ revokedBy: {
19707
+ id: string;
19708
+ name: string;
19709
+ email: string;
19710
+ } | null;
19711
+ blockedAt: number | null;
19712
+ }[], {
19713
+ id: string;
19714
+ link: string;
19715
+ state: import("@camox/api-contract/claim-links").ClaimLinkState;
19716
+ note: string;
19717
+ project: {
19718
+ id: string;
19719
+ name: string;
19720
+ address: string;
19721
+ };
19722
+ organization: {
19723
+ id: string;
19724
+ name: string;
19725
+ };
19726
+ createdBy: {
19727
+ id: string;
19728
+ name: string;
19729
+ email: string;
19730
+ };
19731
+ createdAt: number;
19732
+ firstOpenedAt: number | null;
19733
+ openCount: number;
19734
+ claimedAt: number | null;
19735
+ claimedBy: {
19736
+ id: string;
19737
+ name: string;
19738
+ email: string;
19739
+ } | null;
19740
+ claimerWasNew: boolean | null;
19741
+ revokedAt: number | null;
19742
+ revokedBy: {
19743
+ id: string;
19744
+ name: string;
19745
+ email: string;
19746
+ } | null;
19747
+ blockedAt: number | null;
19748
+ }[]>, Record<never, never>, Record<never, never>>;
19749
+ revoke: 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>>, {
19750
+ draft: DraftRequest | null;
19751
+ locale: string | undefined;
19752
+ publishingDraft: string | undefined;
19753
+ look: LookGrant | undefined;
19754
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19755
+ draft: DraftRequest | null;
19756
+ locale: string | undefined;
19757
+ publishingDraft: string | undefined;
19758
+ look: LookGrant | undefined;
19759
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19760
+ draft: DraftRequest | null;
19761
+ locale: string | undefined;
19762
+ publishingDraft: string | undefined;
19763
+ look: LookGrant | undefined;
19764
+ }>, {
19765
+ db: Database;
19766
+ env: Bindings;
19767
+ headers: Headers;
19768
+ client: string;
19769
+ telemetryDisabled: boolean;
19770
+ waitUntil: (promise: Promise<unknown>) => void;
19771
+ apiOrigin?: string;
19772
+ draft: DraftRequest | null;
19773
+ locale: string | undefined;
19774
+ publishingDraft: string | undefined;
19775
+ look: LookGrant | undefined;
19776
+ user: {
19777
+ id: string;
19778
+ createdAt: Date;
19779
+ updatedAt: Date;
19780
+ email: string;
19781
+ emailVerified: boolean;
19782
+ name: string;
19783
+ image?: string | null | undefined;
19784
+ };
19785
+ session: {
19786
+ id: string;
19787
+ createdAt: Date;
19788
+ updatedAt: Date;
19789
+ userId: string;
19790
+ expiresAt: Date;
19791
+ token: string;
19792
+ ipAddress?: string | null | undefined;
19793
+ userAgent?: string | null | undefined;
19794
+ activeOrganizationId?: string | null | undefined;
19795
+ local?: boolean | null | undefined;
19796
+ studio?: boolean | null | undefined;
19797
+ };
19798
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19799
+ draft: DraftRequest | null;
19800
+ locale: string | undefined;
19801
+ publishingDraft: string | undefined;
19802
+ look: LookGrant | undefined;
19803
+ }>, {
19804
+ db: Database;
19805
+ env: Bindings;
19806
+ headers: Headers;
19807
+ client: string;
19808
+ telemetryDisabled: boolean;
19809
+ waitUntil: (promise: Promise<unknown>) => void;
19810
+ apiOrigin?: string;
19811
+ draft: DraftRequest | null;
19812
+ locale: string | undefined;
19813
+ publishingDraft: string | undefined;
19814
+ look: LookGrant | undefined;
19815
+ user: {
19816
+ id: string;
19817
+ createdAt: Date;
19818
+ updatedAt: Date;
19819
+ email: string;
19820
+ emailVerified: boolean;
19821
+ name: string;
19822
+ image?: string | null | undefined;
19823
+ };
19824
+ session: {
19825
+ id: string;
19826
+ createdAt: Date;
19827
+ updatedAt: Date;
19828
+ userId: string;
19829
+ expiresAt: Date;
19830
+ token: string;
19831
+ ipAddress?: string | null | undefined;
19832
+ userAgent?: string | null | undefined;
19833
+ activeOrganizationId?: string | null | undefined;
19834
+ local?: boolean | null | undefined;
19835
+ studio?: boolean | null | undefined;
19836
+ };
19837
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19838
+ draft: DraftRequest | null;
19839
+ locale: string | undefined;
19840
+ publishingDraft: string | undefined;
19841
+ look: LookGrant | undefined;
19842
+ }>, {
19843
+ db: Database;
19844
+ env: Bindings;
19845
+ headers: Headers;
19846
+ client: string;
19847
+ telemetryDisabled: boolean;
19848
+ waitUntil: (promise: Promise<unknown>) => void;
19849
+ apiOrigin?: string;
19850
+ draft: DraftRequest | null;
19851
+ locale: string | undefined;
19852
+ publishingDraft: string | undefined;
19853
+ look: LookGrant | undefined;
19854
+ user: {
19855
+ id: string;
19856
+ createdAt: Date;
19857
+ updatedAt: Date;
19858
+ email: string;
19859
+ emailVerified: boolean;
19860
+ name: string;
19861
+ image?: string | null | undefined;
19862
+ };
19863
+ session: {
19864
+ id: string;
19865
+ createdAt: Date;
19866
+ updatedAt: Date;
19867
+ userId: string;
19868
+ expiresAt: Date;
19869
+ token: string;
19870
+ ipAddress?: string | null | undefined;
19871
+ userAgent?: string | null | undefined;
19872
+ activeOrganizationId?: string | null | undefined;
19873
+ local?: boolean | null | undefined;
19874
+ studio?: boolean | null | undefined;
19875
+ };
19876
+ }>, Record<never, never>>, import("zod").ZodObject<{
19877
+ id: import("zod").ZodString;
19878
+ }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<undefined, undefined>, Record<never, never>, Record<never, never>>;
19879
+ open: import("@orpc/server").DecoratedProcedure<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>>, {
19880
+ draft: DraftRequest | null;
19881
+ locale: string | undefined;
19882
+ publishingDraft: string | undefined;
19883
+ look: LookGrant | undefined;
19884
+ }>, import("zod").ZodObject<{
19885
+ token: import("zod").ZodString;
19886
+ }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
19887
+ state: "claimed" | "unavailable";
19888
+ } | {
19889
+ organizationName: string;
19890
+ operatorName: string;
19891
+ state: "preview";
19892
+ } | {
19893
+ organizationName: string;
19894
+ operatorName: string;
19895
+ state: "open";
19896
+ }, {
19897
+ state: "claimed" | "unavailable";
19898
+ } | {
19899
+ organizationName: string;
19900
+ operatorName: string;
19901
+ state: "preview";
19902
+ } | {
19903
+ organizationName: string;
19904
+ operatorName: string;
19905
+ state: "open";
19906
+ }>, Record<never, never>, Record<never, never>>;
19907
+ toClaim: 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>>, {
19908
+ draft: DraftRequest | null;
19909
+ locale: string | undefined;
19910
+ publishingDraft: string | undefined;
19911
+ look: LookGrant | undefined;
19912
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19913
+ draft: DraftRequest | null;
19914
+ locale: string | undefined;
19915
+ publishingDraft: string | undefined;
19916
+ look: LookGrant | undefined;
19917
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19918
+ draft: DraftRequest | null;
19919
+ locale: string | undefined;
19920
+ publishingDraft: string | undefined;
19921
+ look: LookGrant | undefined;
19922
+ }>, {
19923
+ db: Database;
19924
+ env: Bindings;
19925
+ headers: Headers;
19926
+ client: string;
19927
+ telemetryDisabled: boolean;
19928
+ waitUntil: (promise: Promise<unknown>) => void;
19929
+ apiOrigin?: string;
19930
+ draft: DraftRequest | null;
19931
+ locale: string | undefined;
19932
+ publishingDraft: string | undefined;
19933
+ look: LookGrant | undefined;
19934
+ user: {
19935
+ id: string;
19936
+ createdAt: Date;
19937
+ updatedAt: Date;
19938
+ email: string;
19939
+ emailVerified: boolean;
19940
+ name: string;
19941
+ image?: string | null | undefined;
19942
+ };
19943
+ session: {
19944
+ id: string;
19945
+ createdAt: Date;
19946
+ updatedAt: Date;
19947
+ userId: string;
19948
+ expiresAt: Date;
19949
+ token: string;
19950
+ ipAddress?: string | null | undefined;
19951
+ userAgent?: string | null | undefined;
19952
+ activeOrganizationId?: string | null | undefined;
19953
+ local?: boolean | null | undefined;
19954
+ studio?: boolean | null | undefined;
19955
+ };
19956
+ }>, import("zod").ZodObject<{
19957
+ token: import("zod").ZodString;
19958
+ }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
19959
+ state: "claimed" | "unavailable";
19960
+ organizationName?: undefined;
19961
+ } | {
19962
+ state: "open";
19963
+ organizationName: string;
19964
+ }, {
19965
+ state: "claimed" | "unavailable";
19966
+ organizationName?: undefined;
19967
+ } | {
19968
+ state: "open";
19969
+ organizationName: string;
19970
+ }>, Record<never, never>, Record<never, never>>;
19971
+ claim: 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>>, {
19972
+ draft: DraftRequest | null;
19973
+ locale: string | undefined;
19974
+ publishingDraft: string | undefined;
19975
+ look: LookGrant | undefined;
19976
+ }>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19977
+ draft: DraftRequest | null;
19978
+ locale: string | undefined;
19979
+ publishingDraft: string | undefined;
19980
+ look: LookGrant | undefined;
19981
+ }>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
19982
+ draft: DraftRequest | null;
19983
+ locale: string | undefined;
19984
+ publishingDraft: string | undefined;
19985
+ look: LookGrant | undefined;
19986
+ }>, {
19987
+ db: Database;
19988
+ env: Bindings;
19989
+ headers: Headers;
19990
+ client: string;
19991
+ telemetryDisabled: boolean;
19992
+ waitUntil: (promise: Promise<unknown>) => void;
19993
+ apiOrigin?: string;
19994
+ draft: DraftRequest | null;
19995
+ locale: string | undefined;
19996
+ publishingDraft: string | undefined;
19997
+ look: LookGrant | undefined;
19998
+ user: {
19999
+ id: string;
20000
+ createdAt: Date;
20001
+ updatedAt: Date;
20002
+ email: string;
20003
+ emailVerified: boolean;
20004
+ name: string;
20005
+ image?: string | null | undefined;
20006
+ };
20007
+ session: {
20008
+ id: string;
20009
+ createdAt: Date;
20010
+ updatedAt: Date;
20011
+ userId: string;
20012
+ expiresAt: Date;
20013
+ token: string;
20014
+ ipAddress?: string | null | undefined;
20015
+ userAgent?: string | null | undefined;
20016
+ activeOrganizationId?: string | null | undefined;
20017
+ local?: boolean | null | undefined;
20018
+ studio?: boolean | null | undefined;
20019
+ };
20020
+ }>, import("zod").ZodObject<{
20021
+ token: import("zod").ZodString;
20022
+ }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
20023
+ organizationId: string;
20024
+ }, {
20025
+ organizationId: string;
20026
+ }>, Record<never, never>, Record<never, never>>;
20027
+ };
19124
20028
  };
19125
20029
  type Router = typeof router;
19126
20030
  //#endregion