@camox/api-contract 0.54.0 → 0.57.0
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/drafts.d.ts +2 -2
- package/dist/drafts.js +1 -1
- package/dist/patrol.d.ts +114 -0
- package/dist/patrol.js +8 -0
- package/dist/query-keys.d.ts +4 -1
- package/dist/query-keys.js +2 -1
- package/dist/router.d.ts +473 -248
- package/dist/threads.d.ts +79 -26
- package/dist/threads.js +90 -24
- package/package.json +5 -1
- package/src/drafts.ts +2 -2
- package/src/patrol.ts +113 -0
- package/src/query-keys.ts +5 -1
- package/src/threads.ts +131 -34
package/dist/router.d.ts
CHANGED
|
@@ -5,16 +5,19 @@ import { DraftKind, EndedDraft, PublishAbortReason } from "@camox/api-contract/d
|
|
|
5
5
|
import "effect";
|
|
6
6
|
import "drizzle-orm";
|
|
7
7
|
import "drizzle-orm/sqlite-core";
|
|
8
|
+
import "@camox/api-contract/patrol";
|
|
8
9
|
import { DurableObject } from "cloudflare:workers";
|
|
10
|
+
import { ThreadSender } from "@camox/api-contract/threads";
|
|
9
11
|
import { PiHarness, PiHarnessOptions } from "agents/harness/pi";
|
|
10
12
|
import { CapabilityStartContext, Lifecycle } from "agents/lifecycle";
|
|
11
13
|
import { WebSockets } from "agents/websockets";
|
|
14
|
+
import "@camox/ai-tools";
|
|
15
|
+
import "@earendil-works/pi-durable";
|
|
12
16
|
import { FileErrorCode } from "@earendil-works/pi-durable/env";
|
|
13
17
|
import { CiParams, CloudflareArtifacts } from "@cloudflare/ci";
|
|
14
18
|
import "@cloudflare/ci/worker";
|
|
15
19
|
import { PosthogRegion } from "@camox/api-contract/analytics";
|
|
16
20
|
import { EvaluatedNode, RecordText } from "@camox/api-contract";
|
|
17
|
-
import "@camox/ai-tools";
|
|
18
21
|
//#region ../../apps/api/src/domains/layouts/schema.d.ts
|
|
19
22
|
/** Which collection a layout's record pages render, and the field they're found by. */
|
|
20
23
|
type RecordPages = {
|
|
@@ -1304,13 +1307,11 @@ type GeneratedValues = {
|
|
|
1304
1307
|
/**
|
|
1305
1308
|
* The draft a request names, before it is checked: a draft's id, where `create` asks for a
|
|
1306
1309
|
* missing regular draft to be created with it, or the caller's development draft in the
|
|
1307
|
-
* project the request acts on (ADR 0011).
|
|
1308
|
-
* thread (`threadId`) as it's created, so whoever opens it reaches the thread.
|
|
1310
|
+
* project the request acts on (ADR 0011).
|
|
1309
1311
|
*/
|
|
1310
1312
|
type DraftRequest = {
|
|
1311
1313
|
id: string;
|
|
1312
1314
|
create: boolean;
|
|
1313
|
-
threadId?: string;
|
|
1314
1315
|
} | {
|
|
1315
1316
|
development: true;
|
|
1316
1317
|
};
|
|
@@ -1857,6 +1858,25 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
|
|
|
1857
1858
|
}, {}, {
|
|
1858
1859
|
length: number | undefined;
|
|
1859
1860
|
}>;
|
|
1861
|
+
liveThreadId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1862
|
+
name: "live_thread_id";
|
|
1863
|
+
tableName: "drafts";
|
|
1864
|
+
dataType: "string";
|
|
1865
|
+
columnType: "SQLiteText";
|
|
1866
|
+
data: string;
|
|
1867
|
+
driverParam: string;
|
|
1868
|
+
notNull: false;
|
|
1869
|
+
hasDefault: false;
|
|
1870
|
+
isPrimaryKey: false;
|
|
1871
|
+
isAutoincrement: false;
|
|
1872
|
+
hasRuntimeDefault: false;
|
|
1873
|
+
enumValues: [string, ...string[]];
|
|
1874
|
+
baseColumn: never;
|
|
1875
|
+
identity: undefined;
|
|
1876
|
+
generated: undefined;
|
|
1877
|
+
}, {}, {
|
|
1878
|
+
length: number | undefined;
|
|
1879
|
+
}>;
|
|
1860
1880
|
overviewHeadline: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1861
1881
|
name: "overview_headline";
|
|
1862
1882
|
tableName: "drafts";
|
|
@@ -6006,7 +6026,47 @@ type MergeEnd =
|
|
|
6006
6026
|
/** This move of `main` clashed already: Camox's reconcile turn had its one try. */
|
|
6007
6027
|
"clashedBefore";
|
|
6008
6028
|
//#endregion
|
|
6029
|
+
//#region ../../apps/api/src/domains/agent/service.d.ts
|
|
6030
|
+
type ToolExecutionResponse = {
|
|
6031
|
+
ok: true;
|
|
6032
|
+
result: unknown;
|
|
6033
|
+
} | {
|
|
6034
|
+
ok: false;
|
|
6035
|
+
error: {
|
|
6036
|
+
code: string;
|
|
6037
|
+
message: string;
|
|
6038
|
+
details?: unknown;
|
|
6039
|
+
};
|
|
6040
|
+
};
|
|
6041
|
+
//#endregion
|
|
6042
|
+
//#region ../../apps/api/src/domains/threads/tools.d.ts
|
|
6043
|
+
/**
|
|
6044
|
+
* What a thread belongs to: its project, its draft once it has one, and for a Live thread, the
|
|
6045
|
+
* editor who owns it.
|
|
6046
|
+
*/
|
|
6047
|
+
declare const threadIdentitySchema: z.ZodObject<{
|
|
6048
|
+
projectId: z.ZodNumber;
|
|
6049
|
+
draftId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6050
|
+
ownerId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6051
|
+
}, z.core.$strip>;
|
|
6052
|
+
type ThreadIdentity = z.infer<typeof threadIdentitySchema>;
|
|
6053
|
+
//#endregion
|
|
6009
6054
|
//#region ../../apps/api/src/durable-objects/thread.d.ts
|
|
6055
|
+
/**
|
|
6056
|
+
* How the API opens a draft's thread with no studio connected (`Thread.open`): what it belongs
|
|
6057
|
+
* to, the API's public origin, the Brief from Camox, and the messages the editor sent, oldest
|
|
6058
|
+
* first, each with the operation id it was sent with.
|
|
6059
|
+
*/
|
|
6060
|
+
type ThreadOpening = {
|
|
6061
|
+
identity: ThreadIdentity;
|
|
6062
|
+
apiOrigin: string;
|
|
6063
|
+
brief: string;
|
|
6064
|
+
editor: ThreadSender;
|
|
6065
|
+
messages: {
|
|
6066
|
+
operationId: string;
|
|
6067
|
+
text: string;
|
|
6068
|
+
}[];
|
|
6069
|
+
};
|
|
6010
6070
|
/**
|
|
6011
6071
|
* Cloudflare's `PiHarness`, leaving Pi closed when the object starts until `started` holds: Pi
|
|
6012
6072
|
* creates its tables as it opens, and a thread nobody messaged has no run to resume.
|
|
@@ -6057,11 +6117,33 @@ declare class Thread extends DurableObject<Bindings> {
|
|
|
6057
6117
|
* way when it did would look for the jobs its storage no longer has.
|
|
6058
6118
|
*/
|
|
6059
6119
|
alarm(): Promise<void>;
|
|
6120
|
+
/** Gives sockets that outlived the last isolate a new watch and a fresh snapshot. */
|
|
6121
|
+
onStart(): Promise<void>;
|
|
6060
6122
|
/**
|
|
6061
|
-
*
|
|
6062
|
-
*
|
|
6123
|
+
* Shows every socket on a Live thread where the drafts its cards name stand now, as the API
|
|
6124
|
+
* asks once one of them is renamed or ends (ADR 0025). Nothing of it goes in the transcript.
|
|
6063
6125
|
*/
|
|
6064
|
-
|
|
6126
|
+
showDrafts(): Promise<void>;
|
|
6127
|
+
/**
|
|
6128
|
+
* Opens the thread from the API, with no studio connected, as a Live thread handing a request
|
|
6129
|
+
* off to a draft does (ADR 0025): records what it belongs to and the API's origin, adds the
|
|
6130
|
+
* Brief, which the model reads and studios show as from Camox, then the editor's messages
|
|
6131
|
+
* under their name, and starts the agent's run, which acts as that editor. Every message but
|
|
6132
|
+
* the last goes in before the run, the last starting it, so the model reads them all on its
|
|
6133
|
+
* first call. Repeating it changes nothing.
|
|
6134
|
+
*/
|
|
6135
|
+
open({ identity, apiOrigin, brief, editor, messages }: ThreadOpening): Promise<void>;
|
|
6136
|
+
/**
|
|
6137
|
+
* Adds Camox's `note` that the draft `draftId`, which this Live thread started, ended, at the
|
|
6138
|
+
* end of the conversation: right away when the thread is idle, or else at the next break of
|
|
6139
|
+
* the run going, as Pi places a write the model reads. Only the model reads it, and it asks the
|
|
6140
|
+
* model nothing: nothing earlier, nor the system prompt, changes (ADR 0025). Repeating it adds
|
|
6141
|
+
* nothing.
|
|
6142
|
+
*/
|
|
6143
|
+
noteDraftEnded({ draftId, note }: {
|
|
6144
|
+
draftId: string;
|
|
6145
|
+
note: string;
|
|
6146
|
+
}): Promise<void>;
|
|
6065
6147
|
/**
|
|
6066
6148
|
* Ends the thread with its draft, wiping everything it stored, since Pi can't delete a
|
|
6067
6149
|
* conversation yet: the run going stops, and studios still open on it see an empty thread
|
|
@@ -6196,10 +6278,10 @@ type MergeOutcome =
|
|
|
6196
6278
|
* The working copy of one draft with code, addressed by the draft's ID (`getByName`): a depth-1
|
|
6197
6279
|
* clone of the draft's branch, held in memory, which the agent's code tools read and write over
|
|
6198
6280
|
* RPC, through the write line. Every change is saved to its SQLite as it's made, Git's own
|
|
6199
|
-
* directory included, so an eviction restores it without cloning again. The
|
|
6200
|
-
*
|
|
6281
|
+
* directory included, so an eviction restores it without cloning again. The skills of its `camox`
|
|
6282
|
+
* version are mounted beside the files and never saved, nor committed.
|
|
6201
6283
|
*
|
|
6202
|
-
* It stores nothing until `start` made it, and nothing once `
|
|
6284
|
+
* It stores nothing until `start` made it, and nothing once `delete` deleted it.
|
|
6203
6285
|
*/
|
|
6204
6286
|
declare class DraftCode extends DurableObject<Bindings> {
|
|
6205
6287
|
#private;
|
|
@@ -6313,7 +6395,7 @@ declare class DraftCode extends DurableObject<Bindings> {
|
|
|
6313
6395
|
*/
|
|
6314
6396
|
mergeMain(): Promise<MergeOutcome>;
|
|
6315
6397
|
/** Deletes the draft's branch and everything the working copy stored, as the draft ends. */
|
|
6316
|
-
|
|
6398
|
+
delete(): Promise<void>;
|
|
6317
6399
|
}
|
|
6318
6400
|
//#endregion
|
|
6319
6401
|
//#region ../../apps/api/src/domains/project-creation/workflow.d.ts
|
|
@@ -6382,9 +6464,17 @@ type Dispatch = {
|
|
|
6382
6464
|
readDefinitionSet(revision: RevisionToLoad): Promise<unknown>;
|
|
6383
6465
|
/**
|
|
6384
6466
|
* Readies a revision before its draft's viewers are told of it: dispatch serves its client
|
|
6385
|
-
* assets from then on, and has loaded and rendered it once.
|
|
6467
|
+
* assets from then on, and has loaded and rendered it once. Says how many client assets it
|
|
6468
|
+
* stored and how long that and the render took, for the API's timing logs (none from a
|
|
6469
|
+
* dispatch older than that).
|
|
6386
6470
|
*/
|
|
6387
|
-
prewarm(revision: RevisionToLoad): Promise<void>;
|
|
6471
|
+
prewarm(revision: RevisionToLoad): Promise<PrewarmTimings | void>;
|
|
6472
|
+
};
|
|
6473
|
+
/** What a prewarm took. Mirrored in apps/dispatch/src/revisions.ts: keep the two in sync. */
|
|
6474
|
+
type PrewarmTimings = {
|
|
6475
|
+
assets: number;
|
|
6476
|
+
assetsMs: number;
|
|
6477
|
+
renderMs: number;
|
|
6388
6478
|
};
|
|
6389
6479
|
//#endregion
|
|
6390
6480
|
//#region ../../apps/api/src/types.d.ts
|
|
@@ -6440,6 +6530,8 @@ type Bindings = {
|
|
|
6440
6530
|
PUBLISH_WORKFLOW: Workflow<PublishParams>;
|
|
6441
6531
|
/** Each revision's build, one archive per revision (`revisionArchiveKey`). */
|
|
6442
6532
|
REVISION_BUILDS: R2Bucket;
|
|
6533
|
+
/** The skills each `camox` version ships, one object per version (`domains/code/skills.ts`). */
|
|
6534
|
+
SKILLS: R2Bucket;
|
|
6443
6535
|
/** The dispatch Worker, which loads revisions (`domains/revisions/dispatch.ts`). */
|
|
6444
6536
|
DISPATCH: Dispatch;
|
|
6445
6537
|
/** Camox's Cloudflare account, which serves every project's Worker. */
|
|
@@ -6688,6 +6780,8 @@ type BaseContext = {
|
|
|
6688
6780
|
client: string;
|
|
6689
6781
|
telemetryDisabled: boolean;
|
|
6690
6782
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
6783
|
+
/** The API's public origin, which stored files' URLs start with. */
|
|
6784
|
+
apiOrigin?: string;
|
|
6691
6785
|
};
|
|
6692
6786
|
//#endregion
|
|
6693
6787
|
//#region ../../apps/api/src/domains/projects/analytics.d.ts
|
|
@@ -7041,19 +7135,6 @@ type PublishResult = {
|
|
|
7041
7135
|
publishing: true;
|
|
7042
7136
|
};
|
|
7043
7137
|
//#endregion
|
|
7044
|
-
//#region ../../apps/api/src/domains/agent/service.d.ts
|
|
7045
|
-
type ToolExecutionResponse = {
|
|
7046
|
-
ok: true;
|
|
7047
|
-
result: unknown;
|
|
7048
|
-
} | {
|
|
7049
|
-
ok: false;
|
|
7050
|
-
error: {
|
|
7051
|
-
code: string;
|
|
7052
|
-
message: string;
|
|
7053
|
-
details?: unknown;
|
|
7054
|
-
};
|
|
7055
|
-
};
|
|
7056
|
-
//#endregion
|
|
7057
7138
|
//#region ../../apps/api/src/router.d.ts
|
|
7058
7139
|
declare const router: {
|
|
7059
7140
|
projects: {
|
|
@@ -7092,11 +7173,12 @@ declare const router: {
|
|
|
7092
7173
|
studio?: boolean | null | undefined;
|
|
7093
7174
|
};
|
|
7094
7175
|
db: Database;
|
|
7095
|
-
headers: Headers;
|
|
7096
7176
|
env: Bindings;
|
|
7177
|
+
headers: Headers;
|
|
7097
7178
|
client: string;
|
|
7098
7179
|
telemetryDisabled: boolean;
|
|
7099
7180
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7181
|
+
apiOrigin?: string | undefined;
|
|
7100
7182
|
draft: DraftRequest | null;
|
|
7101
7183
|
locale: string | undefined;
|
|
7102
7184
|
publishingDraft: string | undefined;
|
|
@@ -7180,11 +7262,12 @@ declare const router: {
|
|
|
7180
7262
|
studio?: boolean | null | undefined;
|
|
7181
7263
|
};
|
|
7182
7264
|
db: Database;
|
|
7183
|
-
headers: Headers;
|
|
7184
7265
|
env: Bindings;
|
|
7266
|
+
headers: Headers;
|
|
7185
7267
|
client: string;
|
|
7186
7268
|
telemetryDisabled: boolean;
|
|
7187
7269
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7270
|
+
apiOrigin?: string | undefined;
|
|
7188
7271
|
draft: DraftRequest | null;
|
|
7189
7272
|
locale: string | undefined;
|
|
7190
7273
|
publishingDraft: string | undefined;
|
|
@@ -7266,11 +7349,12 @@ declare const router: {
|
|
|
7266
7349
|
studio?: boolean | null | undefined;
|
|
7267
7350
|
};
|
|
7268
7351
|
db: Database;
|
|
7269
|
-
headers: Headers;
|
|
7270
7352
|
env: Bindings;
|
|
7353
|
+
headers: Headers;
|
|
7271
7354
|
client: string;
|
|
7272
7355
|
telemetryDisabled: boolean;
|
|
7273
7356
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7357
|
+
apiOrigin?: string | undefined;
|
|
7274
7358
|
draft: DraftRequest | null;
|
|
7275
7359
|
locale: string | undefined;
|
|
7276
7360
|
publishingDraft: string | undefined;
|
|
@@ -7279,9 +7363,9 @@ declare const router: {
|
|
|
7279
7363
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7280
7364
|
organizationSlug: string | null;
|
|
7281
7365
|
analytics: AnalyticsProviders;
|
|
7366
|
+
name: string;
|
|
7282
7367
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7283
7368
|
id: number;
|
|
7284
|
-
name: string;
|
|
7285
7369
|
uuid: string;
|
|
7286
7370
|
slug: string;
|
|
7287
7371
|
deployToken: string;
|
|
@@ -7301,9 +7385,9 @@ declare const router: {
|
|
|
7301
7385
|
}, {
|
|
7302
7386
|
organizationSlug: string | null;
|
|
7303
7387
|
analytics: AnalyticsProviders;
|
|
7388
|
+
name: string;
|
|
7304
7389
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7305
7390
|
id: number;
|
|
7306
|
-
name: string;
|
|
7307
7391
|
uuid: string;
|
|
7308
7392
|
slug: string;
|
|
7309
7393
|
deployToken: string;
|
|
@@ -7356,11 +7440,12 @@ declare const router: {
|
|
|
7356
7440
|
studio?: boolean | null | undefined;
|
|
7357
7441
|
};
|
|
7358
7442
|
db: Database;
|
|
7359
|
-
headers: Headers;
|
|
7360
7443
|
env: Bindings;
|
|
7444
|
+
headers: Headers;
|
|
7361
7445
|
client: string;
|
|
7362
7446
|
telemetryDisabled: boolean;
|
|
7363
7447
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7448
|
+
apiOrigin?: string | undefined;
|
|
7364
7449
|
draft: DraftRequest | null;
|
|
7365
7450
|
locale: string | undefined;
|
|
7366
7451
|
publishingDraft: string | undefined;
|
|
@@ -7369,9 +7454,9 @@ declare const router: {
|
|
|
7369
7454
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7370
7455
|
organizationSlug: string | null;
|
|
7371
7456
|
analytics: AnalyticsProviders;
|
|
7457
|
+
name: string;
|
|
7372
7458
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7373
7459
|
id: number;
|
|
7374
|
-
name: string;
|
|
7375
7460
|
uuid: string;
|
|
7376
7461
|
slug: string;
|
|
7377
7462
|
deployToken: string;
|
|
@@ -7391,9 +7476,9 @@ declare const router: {
|
|
|
7391
7476
|
}, {
|
|
7392
7477
|
organizationSlug: string | null;
|
|
7393
7478
|
analytics: AnalyticsProviders;
|
|
7479
|
+
name: string;
|
|
7394
7480
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7395
7481
|
id: number;
|
|
7396
|
-
name: string;
|
|
7397
7482
|
uuid: string;
|
|
7398
7483
|
slug: string;
|
|
7399
7484
|
deployToken: string;
|
|
@@ -7463,11 +7548,12 @@ declare const router: {
|
|
|
7463
7548
|
studio?: boolean | null | undefined;
|
|
7464
7549
|
};
|
|
7465
7550
|
db: Database;
|
|
7466
|
-
headers: Headers;
|
|
7467
7551
|
env: Bindings;
|
|
7552
|
+
headers: Headers;
|
|
7468
7553
|
client: string;
|
|
7469
7554
|
telemetryDisabled: boolean;
|
|
7470
7555
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7556
|
+
apiOrigin?: string | undefined;
|
|
7471
7557
|
draft: DraftRequest | null;
|
|
7472
7558
|
locale: string | undefined;
|
|
7473
7559
|
publishingDraft: string | undefined;
|
|
@@ -7476,9 +7562,9 @@ declare const router: {
|
|
|
7476
7562
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7477
7563
|
organizationSlug: string | null;
|
|
7478
7564
|
analytics: AnalyticsProviders;
|
|
7565
|
+
name: string;
|
|
7479
7566
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7480
7567
|
id: number;
|
|
7481
|
-
name: string;
|
|
7482
7568
|
uuid: string;
|
|
7483
7569
|
slug: string;
|
|
7484
7570
|
deployToken: string;
|
|
@@ -7498,9 +7584,9 @@ declare const router: {
|
|
|
7498
7584
|
}, {
|
|
7499
7585
|
organizationSlug: string | null;
|
|
7500
7586
|
analytics: AnalyticsProviders;
|
|
7587
|
+
name: string;
|
|
7501
7588
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7502
7589
|
id: number;
|
|
7503
|
-
name: string;
|
|
7504
7590
|
uuid: string;
|
|
7505
7591
|
slug: string;
|
|
7506
7592
|
deployToken: string;
|
|
@@ -7553,11 +7639,12 @@ declare const router: {
|
|
|
7553
7639
|
studio?: boolean | null | undefined;
|
|
7554
7640
|
};
|
|
7555
7641
|
db: Database;
|
|
7556
|
-
headers: Headers;
|
|
7557
7642
|
env: Bindings;
|
|
7643
|
+
headers: Headers;
|
|
7558
7644
|
client: string;
|
|
7559
7645
|
telemetryDisabled: boolean;
|
|
7560
7646
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7647
|
+
apiOrigin?: string | undefined;
|
|
7561
7648
|
draft: DraftRequest | null;
|
|
7562
7649
|
locale: string | undefined;
|
|
7563
7650
|
publishingDraft: string | undefined;
|
|
@@ -7611,11 +7698,12 @@ declare const router: {
|
|
|
7611
7698
|
studio?: boolean | null | undefined;
|
|
7612
7699
|
};
|
|
7613
7700
|
db: Database;
|
|
7614
|
-
headers: Headers;
|
|
7615
7701
|
env: Bindings;
|
|
7702
|
+
headers: Headers;
|
|
7616
7703
|
client: string;
|
|
7617
7704
|
telemetryDisabled: boolean;
|
|
7618
7705
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7706
|
+
apiOrigin?: string | undefined;
|
|
7619
7707
|
draft: DraftRequest | null;
|
|
7620
7708
|
locale: string | undefined;
|
|
7621
7709
|
publishingDraft: string | undefined;
|
|
@@ -7624,9 +7712,9 @@ declare const router: {
|
|
|
7624
7712
|
slug: import("zod").ZodString;
|
|
7625
7713
|
organizationId: import("zod").ZodString;
|
|
7626
7714
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7715
|
+
name: string;
|
|
7627
7716
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7628
7717
|
id: number;
|
|
7629
|
-
name: string;
|
|
7630
7718
|
uuid: string;
|
|
7631
7719
|
slug: string;
|
|
7632
7720
|
deployToken: string;
|
|
@@ -7644,9 +7732,9 @@ declare const router: {
|
|
|
7644
7732
|
liveScript: string | null;
|
|
7645
7733
|
updatedAt: number;
|
|
7646
7734
|
}, {
|
|
7735
|
+
name: string;
|
|
7647
7736
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7648
7737
|
id: number;
|
|
7649
|
-
name: string;
|
|
7650
7738
|
uuid: string;
|
|
7651
7739
|
slug: string;
|
|
7652
7740
|
deployToken: string;
|
|
@@ -7699,11 +7787,12 @@ declare const router: {
|
|
|
7699
7787
|
studio?: boolean | null | undefined;
|
|
7700
7788
|
};
|
|
7701
7789
|
db: Database;
|
|
7702
|
-
headers: Headers;
|
|
7703
7790
|
env: Bindings;
|
|
7791
|
+
headers: Headers;
|
|
7704
7792
|
client: string;
|
|
7705
7793
|
telemetryDisabled: boolean;
|
|
7706
7794
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7795
|
+
apiOrigin?: string | undefined;
|
|
7707
7796
|
draft: DraftRequest | null;
|
|
7708
7797
|
locale: string | undefined;
|
|
7709
7798
|
publishingDraft: string | undefined;
|
|
@@ -7711,9 +7800,9 @@ declare const router: {
|
|
|
7711
7800
|
id: import("zod").ZodNumber;
|
|
7712
7801
|
name: import("zod").ZodString;
|
|
7713
7802
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7803
|
+
name: string;
|
|
7714
7804
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7715
7805
|
id: number;
|
|
7716
|
-
name: string;
|
|
7717
7806
|
uuid: string;
|
|
7718
7807
|
slug: string;
|
|
7719
7808
|
deployToken: string;
|
|
@@ -7731,9 +7820,9 @@ declare const router: {
|
|
|
7731
7820
|
liveScript: string | null;
|
|
7732
7821
|
updatedAt: number;
|
|
7733
7822
|
}, {
|
|
7823
|
+
name: string;
|
|
7734
7824
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7735
7825
|
id: number;
|
|
7736
|
-
name: string;
|
|
7737
7826
|
uuid: string;
|
|
7738
7827
|
slug: string;
|
|
7739
7828
|
deployToken: string;
|
|
@@ -7786,11 +7875,12 @@ declare const router: {
|
|
|
7786
7875
|
studio?: boolean | null | undefined;
|
|
7787
7876
|
};
|
|
7788
7877
|
db: Database;
|
|
7789
|
-
headers: Headers;
|
|
7790
7878
|
env: Bindings;
|
|
7879
|
+
headers: Headers;
|
|
7791
7880
|
client: string;
|
|
7792
7881
|
telemetryDisabled: boolean;
|
|
7793
7882
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7883
|
+
apiOrigin?: string | undefined;
|
|
7794
7884
|
draft: DraftRequest | null;
|
|
7795
7885
|
locale: string | undefined;
|
|
7796
7886
|
publishingDraft: string | undefined;
|
|
@@ -7848,11 +7938,12 @@ declare const router: {
|
|
|
7848
7938
|
studio?: boolean | null | undefined;
|
|
7849
7939
|
};
|
|
7850
7940
|
db: Database;
|
|
7851
|
-
headers: Headers;
|
|
7852
7941
|
env: Bindings;
|
|
7942
|
+
headers: Headers;
|
|
7853
7943
|
client: string;
|
|
7854
7944
|
telemetryDisabled: boolean;
|
|
7855
7945
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7946
|
+
apiOrigin?: string | undefined;
|
|
7856
7947
|
draft: DraftRequest | null;
|
|
7857
7948
|
locale: string | undefined;
|
|
7858
7949
|
publishingDraft: string | undefined;
|
|
@@ -7901,20 +7992,21 @@ declare const router: {
|
|
|
7901
7992
|
studio?: boolean | null | undefined;
|
|
7902
7993
|
};
|
|
7903
7994
|
db: Database;
|
|
7904
|
-
headers: Headers;
|
|
7905
7995
|
env: Bindings;
|
|
7996
|
+
headers: Headers;
|
|
7906
7997
|
client: string;
|
|
7907
7998
|
telemetryDisabled: boolean;
|
|
7908
7999
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8000
|
+
apiOrigin?: string | undefined;
|
|
7909
8001
|
draft: DraftRequest | null;
|
|
7910
8002
|
locale: string | undefined;
|
|
7911
8003
|
publishingDraft: string | undefined;
|
|
7912
8004
|
}>, import("zod").ZodObject<{
|
|
7913
8005
|
id: import("zod").ZodNumber;
|
|
7914
8006
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8007
|
+
name: string;
|
|
7915
8008
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7916
8009
|
id: number;
|
|
7917
|
-
name: string;
|
|
7918
8010
|
uuid: string;
|
|
7919
8011
|
slug: string;
|
|
7920
8012
|
deployToken: string;
|
|
@@ -7932,9 +8024,9 @@ declare const router: {
|
|
|
7932
8024
|
liveScript: string | null;
|
|
7933
8025
|
updatedAt: number;
|
|
7934
8026
|
} | undefined, {
|
|
8027
|
+
name: string;
|
|
7935
8028
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7936
8029
|
id: number;
|
|
7937
|
-
name: string;
|
|
7938
8030
|
uuid: string;
|
|
7939
8031
|
slug: string;
|
|
7940
8032
|
deployToken: string;
|
|
@@ -7964,8 +8056,8 @@ declare const router: {
|
|
|
7964
8056
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7965
8057
|
page: {
|
|
7966
8058
|
blockIds: string[];
|
|
7967
|
-
id: string;
|
|
7968
8059
|
draftId: string | null;
|
|
8060
|
+
id: string;
|
|
7969
8061
|
deleted: boolean;
|
|
7970
8062
|
locale: string;
|
|
7971
8063
|
layoutId: string;
|
|
@@ -8005,14 +8097,15 @@ declare const router: {
|
|
|
8005
8097
|
afterBlockIds: string[];
|
|
8006
8098
|
} | null;
|
|
8007
8099
|
blocks: (Omit<{
|
|
8008
|
-
type: string;
|
|
8009
|
-
id: string;
|
|
8010
8100
|
draftId: string | null;
|
|
8101
|
+
id: string;
|
|
8011
8102
|
deleted: boolean;
|
|
8012
8103
|
settings: unknown;
|
|
8013
8104
|
locale: string;
|
|
8014
8105
|
pageId: string | null;
|
|
8015
8106
|
layoutId: string | null;
|
|
8107
|
+
type: string;
|
|
8108
|
+
content: unknown;
|
|
8016
8109
|
createdAt: number;
|
|
8017
8110
|
updatedAt: number;
|
|
8018
8111
|
projectId: number;
|
|
@@ -8022,7 +8115,6 @@ declare const router: {
|
|
|
8022
8115
|
firstPublishedAt: number | null;
|
|
8023
8116
|
publishedAt: number | null;
|
|
8024
8117
|
publishedBy: string | null;
|
|
8025
|
-
content: unknown;
|
|
8026
8118
|
slot: "before" | "after" | null;
|
|
8027
8119
|
position: string;
|
|
8028
8120
|
}, "content"> & {
|
|
@@ -8034,12 +8126,13 @@ declare const router: {
|
|
|
8034
8126
|
references: ResolvedReferences;
|
|
8035
8127
|
})[];
|
|
8036
8128
|
repeatableItems: (Omit<{
|
|
8037
|
-
id: string;
|
|
8038
8129
|
draftId: string | null;
|
|
8130
|
+
id: string;
|
|
8039
8131
|
deleted: boolean;
|
|
8040
8132
|
settings: unknown;
|
|
8041
8133
|
locale: string;
|
|
8042
8134
|
blockId: string | null;
|
|
8135
|
+
content: unknown;
|
|
8043
8136
|
createdAt: number;
|
|
8044
8137
|
updatedAt: number;
|
|
8045
8138
|
projectId: number | null;
|
|
@@ -8049,7 +8142,6 @@ declare const router: {
|
|
|
8049
8142
|
firstPublishedAt: number | null;
|
|
8050
8143
|
publishedAt: number | null;
|
|
8051
8144
|
publishedBy: string | null;
|
|
8052
|
-
content: unknown;
|
|
8053
8145
|
position: string;
|
|
8054
8146
|
sharedContentType: string | null;
|
|
8055
8147
|
parentItemId: string | null;
|
|
@@ -8069,8 +8161,8 @@ declare const router: {
|
|
|
8069
8161
|
}, {
|
|
8070
8162
|
page: {
|
|
8071
8163
|
blockIds: string[];
|
|
8072
|
-
id: string;
|
|
8073
8164
|
draftId: string | null;
|
|
8165
|
+
id: string;
|
|
8074
8166
|
deleted: boolean;
|
|
8075
8167
|
locale: string;
|
|
8076
8168
|
layoutId: string;
|
|
@@ -8110,14 +8202,15 @@ declare const router: {
|
|
|
8110
8202
|
afterBlockIds: string[];
|
|
8111
8203
|
} | null;
|
|
8112
8204
|
blocks: (Omit<{
|
|
8113
|
-
type: string;
|
|
8114
|
-
id: string;
|
|
8115
8205
|
draftId: string | null;
|
|
8206
|
+
id: string;
|
|
8116
8207
|
deleted: boolean;
|
|
8117
8208
|
settings: unknown;
|
|
8118
8209
|
locale: string;
|
|
8119
8210
|
pageId: string | null;
|
|
8120
8211
|
layoutId: string | null;
|
|
8212
|
+
type: string;
|
|
8213
|
+
content: unknown;
|
|
8121
8214
|
createdAt: number;
|
|
8122
8215
|
updatedAt: number;
|
|
8123
8216
|
projectId: number;
|
|
@@ -8127,7 +8220,6 @@ declare const router: {
|
|
|
8127
8220
|
firstPublishedAt: number | null;
|
|
8128
8221
|
publishedAt: number | null;
|
|
8129
8222
|
publishedBy: string | null;
|
|
8130
|
-
content: unknown;
|
|
8131
8223
|
slot: "before" | "after" | null;
|
|
8132
8224
|
position: string;
|
|
8133
8225
|
}, "content"> & {
|
|
@@ -8139,12 +8231,13 @@ declare const router: {
|
|
|
8139
8231
|
references: ResolvedReferences;
|
|
8140
8232
|
})[];
|
|
8141
8233
|
repeatableItems: (Omit<{
|
|
8142
|
-
id: string;
|
|
8143
8234
|
draftId: string | null;
|
|
8235
|
+
id: string;
|
|
8144
8236
|
deleted: boolean;
|
|
8145
8237
|
settings: unknown;
|
|
8146
8238
|
locale: string;
|
|
8147
8239
|
blockId: string | null;
|
|
8240
|
+
content: unknown;
|
|
8148
8241
|
createdAt: number;
|
|
8149
8242
|
updatedAt: number;
|
|
8150
8243
|
projectId: number | null;
|
|
@@ -8154,7 +8247,6 @@ declare const router: {
|
|
|
8154
8247
|
firstPublishedAt: number | null;
|
|
8155
8248
|
publishedAt: number | null;
|
|
8156
8249
|
publishedBy: string | null;
|
|
8157
|
-
content: unknown;
|
|
8158
8250
|
position: string;
|
|
8159
8251
|
sharedContentType: string | null;
|
|
8160
8252
|
parentItemId: string | null;
|
|
@@ -8184,8 +8276,8 @@ declare const router: {
|
|
|
8184
8276
|
blockIds: string[];
|
|
8185
8277
|
firstPublishedAt: number | null;
|
|
8186
8278
|
publishedAt: number | null;
|
|
8187
|
-
id: string;
|
|
8188
8279
|
draftId: string | null;
|
|
8280
|
+
id: string;
|
|
8189
8281
|
deleted: boolean;
|
|
8190
8282
|
locale: string;
|
|
8191
8283
|
layoutId: string;
|
|
@@ -8227,8 +8319,8 @@ declare const router: {
|
|
|
8227
8319
|
blockIds: string[];
|
|
8228
8320
|
firstPublishedAt: number | null;
|
|
8229
8321
|
publishedAt: number | null;
|
|
8230
|
-
id: string;
|
|
8231
8322
|
draftId: string | null;
|
|
8323
|
+
id: string;
|
|
8232
8324
|
deleted: boolean;
|
|
8233
8325
|
locale: string;
|
|
8234
8326
|
layoutId: string;
|
|
@@ -8284,8 +8376,8 @@ declare const router: {
|
|
|
8284
8376
|
page: PageView<{
|
|
8285
8377
|
firstPublishedAt: number | null;
|
|
8286
8378
|
publishedAt: number | null;
|
|
8287
|
-
id: string;
|
|
8288
8379
|
draftId: string | null;
|
|
8380
|
+
id: string;
|
|
8289
8381
|
deleted: boolean;
|
|
8290
8382
|
locale: string;
|
|
8291
8383
|
layoutId: string;
|
|
@@ -8325,8 +8417,8 @@ declare const router: {
|
|
|
8325
8417
|
page: PageView<{
|
|
8326
8418
|
firstPublishedAt: number | null;
|
|
8327
8419
|
publishedAt: number | null;
|
|
8328
|
-
id: string;
|
|
8329
8420
|
draftId: string | null;
|
|
8421
|
+
id: string;
|
|
8330
8422
|
deleted: boolean;
|
|
8331
8423
|
locale: string;
|
|
8332
8424
|
layoutId: string;
|
|
@@ -8366,8 +8458,8 @@ declare const router: {
|
|
|
8366
8458
|
duplicatePath: boolean;
|
|
8367
8459
|
needsLayout: boolean;
|
|
8368
8460
|
shadowed: boolean;
|
|
8369
|
-
id: string;
|
|
8370
8461
|
draftId: string | null;
|
|
8462
|
+
id: string;
|
|
8371
8463
|
deleted: boolean;
|
|
8372
8464
|
locale: string;
|
|
8373
8465
|
layoutId: string;
|
|
@@ -8395,8 +8487,8 @@ declare const router: {
|
|
|
8395
8487
|
duplicatePath: boolean;
|
|
8396
8488
|
needsLayout: boolean;
|
|
8397
8489
|
shadowed: boolean;
|
|
8398
|
-
id: string;
|
|
8399
8490
|
draftId: string | null;
|
|
8491
|
+
id: string;
|
|
8400
8492
|
deleted: boolean;
|
|
8401
8493
|
locale: string;
|
|
8402
8494
|
layoutId: string;
|
|
@@ -8433,8 +8525,8 @@ declare const router: {
|
|
|
8433
8525
|
duplicatePath: boolean;
|
|
8434
8526
|
needsLayout: boolean;
|
|
8435
8527
|
shadowed: boolean;
|
|
8436
|
-
id: string;
|
|
8437
8528
|
draftId: string | null;
|
|
8529
|
+
id: string;
|
|
8438
8530
|
deleted: boolean;
|
|
8439
8531
|
locale: string;
|
|
8440
8532
|
layoutId: string;
|
|
@@ -8465,8 +8557,8 @@ declare const router: {
|
|
|
8465
8557
|
duplicatePath: boolean;
|
|
8466
8558
|
needsLayout: boolean;
|
|
8467
8559
|
shadowed: boolean;
|
|
8468
|
-
id: string;
|
|
8469
8560
|
draftId: string | null;
|
|
8561
|
+
id: string;
|
|
8470
8562
|
deleted: boolean;
|
|
8471
8563
|
locale: string;
|
|
8472
8564
|
layoutId: string;
|
|
@@ -8504,8 +8596,8 @@ declare const router: {
|
|
|
8504
8596
|
}, import("zod/v4/core").$strip>]>, import("@orpc/server").Schema<{
|
|
8505
8597
|
createdBy: string | null;
|
|
8506
8598
|
duplicatePath: boolean;
|
|
8507
|
-
id: string;
|
|
8508
8599
|
draftId: string | null;
|
|
8600
|
+
id: string;
|
|
8509
8601
|
deleted: boolean;
|
|
8510
8602
|
locale: string;
|
|
8511
8603
|
layoutId: string;
|
|
@@ -8532,8 +8624,8 @@ declare const router: {
|
|
|
8532
8624
|
}, {
|
|
8533
8625
|
createdBy: string | null;
|
|
8534
8626
|
duplicatePath: boolean;
|
|
8535
|
-
id: string;
|
|
8536
8627
|
draftId: string | null;
|
|
8628
|
+
id: string;
|
|
8537
8629
|
deleted: boolean;
|
|
8538
8630
|
locale: string;
|
|
8539
8631
|
layoutId: string;
|
|
@@ -8595,11 +8687,12 @@ declare const router: {
|
|
|
8595
8687
|
studio?: boolean | null | undefined;
|
|
8596
8688
|
};
|
|
8597
8689
|
db: Database;
|
|
8598
|
-
headers: Headers;
|
|
8599
8690
|
env: Bindings;
|
|
8691
|
+
headers: Headers;
|
|
8600
8692
|
client: string;
|
|
8601
8693
|
telemetryDisabled: boolean;
|
|
8602
8694
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8695
|
+
apiOrigin?: string | undefined;
|
|
8603
8696
|
draft: DraftRequest | null;
|
|
8604
8697
|
locale: string | undefined;
|
|
8605
8698
|
publishingDraft: string | undefined;
|
|
@@ -8630,11 +8723,12 @@ declare const router: {
|
|
|
8630
8723
|
studio?: boolean | null | undefined;
|
|
8631
8724
|
};
|
|
8632
8725
|
db: Database;
|
|
8633
|
-
headers: Headers;
|
|
8634
8726
|
env: Bindings;
|
|
8727
|
+
headers: Headers;
|
|
8635
8728
|
client: string;
|
|
8636
8729
|
telemetryDisabled: boolean;
|
|
8637
8730
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8731
|
+
apiOrigin?: string | undefined;
|
|
8638
8732
|
draft: DraftRequest | null;
|
|
8639
8733
|
locale: string | undefined;
|
|
8640
8734
|
publishingDraft: string | undefined;
|
|
@@ -8647,8 +8741,8 @@ declare const router: {
|
|
|
8647
8741
|
layoutId: import("zod").ZodString;
|
|
8648
8742
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8649
8743
|
page: PageView<{
|
|
8650
|
-
id: string;
|
|
8651
8744
|
draftId: string | null;
|
|
8745
|
+
id: string;
|
|
8652
8746
|
deleted: boolean;
|
|
8653
8747
|
locale: string;
|
|
8654
8748
|
layoutId: string;
|
|
@@ -8675,8 +8769,8 @@ declare const router: {
|
|
|
8675
8769
|
fullPath: string;
|
|
8676
8770
|
}, {
|
|
8677
8771
|
page: PageView<{
|
|
8678
|
-
id: string;
|
|
8679
8772
|
draftId: string | null;
|
|
8773
|
+
id: string;
|
|
8680
8774
|
deleted: boolean;
|
|
8681
8775
|
locale: string;
|
|
8682
8776
|
layoutId: string;
|
|
@@ -8739,11 +8833,12 @@ declare const router: {
|
|
|
8739
8833
|
studio?: boolean | null | undefined;
|
|
8740
8834
|
};
|
|
8741
8835
|
db: Database;
|
|
8742
|
-
headers: Headers;
|
|
8743
8836
|
env: Bindings;
|
|
8837
|
+
headers: Headers;
|
|
8744
8838
|
client: string;
|
|
8745
8839
|
telemetryDisabled: boolean;
|
|
8746
8840
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8841
|
+
apiOrigin?: string | undefined;
|
|
8747
8842
|
draft: DraftRequest | null;
|
|
8748
8843
|
locale: string | undefined;
|
|
8749
8844
|
publishingDraft: string | undefined;
|
|
@@ -8774,11 +8869,12 @@ declare const router: {
|
|
|
8774
8869
|
studio?: boolean | null | undefined;
|
|
8775
8870
|
};
|
|
8776
8871
|
db: Database;
|
|
8777
|
-
headers: Headers;
|
|
8778
8872
|
env: Bindings;
|
|
8873
|
+
headers: Headers;
|
|
8779
8874
|
client: string;
|
|
8780
8875
|
telemetryDisabled: boolean;
|
|
8781
8876
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8877
|
+
apiOrigin?: string | undefined;
|
|
8782
8878
|
draft: DraftRequest | null;
|
|
8783
8879
|
locale: string | undefined;
|
|
8784
8880
|
publishingDraft: string | undefined;
|
|
@@ -8788,8 +8884,8 @@ declare const router: {
|
|
|
8788
8884
|
pathSegment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8789
8885
|
parentPageId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
8790
8886
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<PageView<{
|
|
8791
|
-
id: string;
|
|
8792
8887
|
draftId: string | null;
|
|
8888
|
+
id: string;
|
|
8793
8889
|
deleted: boolean;
|
|
8794
8890
|
locale: string;
|
|
8795
8891
|
layoutId: string;
|
|
@@ -8813,8 +8909,8 @@ declare const router: {
|
|
|
8813
8909
|
contentUpdatedAt: number;
|
|
8814
8910
|
createdById: string | null;
|
|
8815
8911
|
}>, PageView<{
|
|
8816
|
-
id: string;
|
|
8817
8912
|
draftId: string | null;
|
|
8913
|
+
id: string;
|
|
8818
8914
|
deleted: boolean;
|
|
8819
8915
|
locale: string;
|
|
8820
8916
|
layoutId: string;
|
|
@@ -8875,11 +8971,12 @@ declare const router: {
|
|
|
8875
8971
|
studio?: boolean | null | undefined;
|
|
8876
8972
|
};
|
|
8877
8973
|
db: Database;
|
|
8878
|
-
headers: Headers;
|
|
8879
8974
|
env: Bindings;
|
|
8975
|
+
headers: Headers;
|
|
8880
8976
|
client: string;
|
|
8881
8977
|
telemetryDisabled: boolean;
|
|
8882
8978
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8979
|
+
apiOrigin?: string | undefined;
|
|
8883
8980
|
draft: DraftRequest | null;
|
|
8884
8981
|
locale: string | undefined;
|
|
8885
8982
|
publishingDraft: string | undefined;
|
|
@@ -8910,19 +9007,20 @@ declare const router: {
|
|
|
8910
9007
|
studio?: boolean | null | undefined;
|
|
8911
9008
|
};
|
|
8912
9009
|
db: Database;
|
|
8913
|
-
headers: Headers;
|
|
8914
9010
|
env: Bindings;
|
|
9011
|
+
headers: Headers;
|
|
8915
9012
|
client: string;
|
|
8916
9013
|
telemetryDisabled: boolean;
|
|
8917
9014
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9015
|
+
apiOrigin?: string | undefined;
|
|
8918
9016
|
draft: DraftRequest | null;
|
|
8919
9017
|
locale: string | undefined;
|
|
8920
9018
|
publishingDraft: string | undefined;
|
|
8921
9019
|
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
8922
9020
|
id: import("zod").ZodUUID;
|
|
8923
9021
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8924
|
-
id: string;
|
|
8925
9022
|
draftId: string | null;
|
|
9023
|
+
id: string;
|
|
8926
9024
|
deleted: boolean;
|
|
8927
9025
|
locale: string;
|
|
8928
9026
|
layoutId: string;
|
|
@@ -8946,8 +9044,8 @@ declare const router: {
|
|
|
8946
9044
|
contentUpdatedAt: number;
|
|
8947
9045
|
createdById: string | null;
|
|
8948
9046
|
} | undefined, {
|
|
8949
|
-
id: string;
|
|
8950
9047
|
draftId: string | null;
|
|
9048
|
+
id: string;
|
|
8951
9049
|
deleted: boolean;
|
|
8952
9050
|
locale: string;
|
|
8953
9051
|
layoutId: string;
|
|
@@ -9008,11 +9106,12 @@ declare const router: {
|
|
|
9008
9106
|
studio?: boolean | null | undefined;
|
|
9009
9107
|
};
|
|
9010
9108
|
db: Database;
|
|
9011
|
-
headers: Headers;
|
|
9012
9109
|
env: Bindings;
|
|
9110
|
+
headers: Headers;
|
|
9013
9111
|
client: string;
|
|
9014
9112
|
telemetryDisabled: boolean;
|
|
9015
9113
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9114
|
+
apiOrigin?: string | undefined;
|
|
9016
9115
|
draft: DraftRequest | null;
|
|
9017
9116
|
locale: string | undefined;
|
|
9018
9117
|
publishingDraft: string | undefined;
|
|
@@ -9043,11 +9142,12 @@ declare const router: {
|
|
|
9043
9142
|
studio?: boolean | null | undefined;
|
|
9044
9143
|
};
|
|
9045
9144
|
db: Database;
|
|
9046
|
-
headers: Headers;
|
|
9047
9145
|
env: Bindings;
|
|
9146
|
+
headers: Headers;
|
|
9048
9147
|
client: string;
|
|
9049
9148
|
telemetryDisabled: boolean;
|
|
9050
9149
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9150
|
+
apiOrigin?: string | undefined;
|
|
9051
9151
|
draft: DraftRequest | null;
|
|
9052
9152
|
locale: string | undefined;
|
|
9053
9153
|
publishingDraft: string | undefined;
|
|
@@ -9057,8 +9157,8 @@ declare const router: {
|
|
|
9057
9157
|
metaDescription: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9058
9158
|
aiSeo: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9059
9159
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<PageView<{
|
|
9060
|
-
id: string;
|
|
9061
9160
|
draftId: string | null;
|
|
9161
|
+
id: string;
|
|
9062
9162
|
deleted: boolean;
|
|
9063
9163
|
locale: string;
|
|
9064
9164
|
layoutId: string;
|
|
@@ -9082,8 +9182,8 @@ declare const router: {
|
|
|
9082
9182
|
contentUpdatedAt: number;
|
|
9083
9183
|
createdById: string | null;
|
|
9084
9184
|
}>, PageView<{
|
|
9085
|
-
id: string;
|
|
9086
9185
|
draftId: string | null;
|
|
9186
|
+
id: string;
|
|
9087
9187
|
deleted: boolean;
|
|
9088
9188
|
locale: string;
|
|
9089
9189
|
layoutId: string;
|
|
@@ -9144,11 +9244,12 @@ declare const router: {
|
|
|
9144
9244
|
studio?: boolean | null | undefined;
|
|
9145
9245
|
};
|
|
9146
9246
|
db: Database;
|
|
9147
|
-
headers: Headers;
|
|
9148
9247
|
env: Bindings;
|
|
9248
|
+
headers: Headers;
|
|
9149
9249
|
client: string;
|
|
9150
9250
|
telemetryDisabled: boolean;
|
|
9151
9251
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9252
|
+
apiOrigin?: string | undefined;
|
|
9152
9253
|
draft: DraftRequest | null;
|
|
9153
9254
|
locale: string | undefined;
|
|
9154
9255
|
publishingDraft: string | undefined;
|
|
@@ -9179,11 +9280,12 @@ declare const router: {
|
|
|
9179
9280
|
studio?: boolean | null | undefined;
|
|
9180
9281
|
};
|
|
9181
9282
|
db: Database;
|
|
9182
|
-
headers: Headers;
|
|
9183
9283
|
env: Bindings;
|
|
9284
|
+
headers: Headers;
|
|
9184
9285
|
client: string;
|
|
9185
9286
|
telemetryDisabled: boolean;
|
|
9186
9287
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9288
|
+
apiOrigin?: string | undefined;
|
|
9187
9289
|
draft: DraftRequest | null;
|
|
9188
9290
|
locale: string | undefined;
|
|
9189
9291
|
publishingDraft: string | undefined;
|
|
@@ -9191,8 +9293,8 @@ declare const router: {
|
|
|
9191
9293
|
id: import("zod").ZodUUID;
|
|
9192
9294
|
layoutId: import("zod").ZodString;
|
|
9193
9295
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<PageView<{
|
|
9194
|
-
id: string;
|
|
9195
9296
|
draftId: string | null;
|
|
9297
|
+
id: string;
|
|
9196
9298
|
deleted: boolean;
|
|
9197
9299
|
locale: string;
|
|
9198
9300
|
layoutId: string;
|
|
@@ -9216,8 +9318,8 @@ declare const router: {
|
|
|
9216
9318
|
contentUpdatedAt: number;
|
|
9217
9319
|
createdById: string | null;
|
|
9218
9320
|
}>, PageView<{
|
|
9219
|
-
id: string;
|
|
9220
9321
|
draftId: string | null;
|
|
9322
|
+
id: string;
|
|
9221
9323
|
deleted: boolean;
|
|
9222
9324
|
locale: string;
|
|
9223
9325
|
layoutId: string;
|
|
@@ -9276,19 +9378,20 @@ declare const router: {
|
|
|
9276
9378
|
studio?: boolean | null | undefined;
|
|
9277
9379
|
};
|
|
9278
9380
|
db: Database;
|
|
9279
|
-
headers: Headers;
|
|
9280
9381
|
env: Bindings;
|
|
9382
|
+
headers: Headers;
|
|
9281
9383
|
client: string;
|
|
9282
9384
|
telemetryDisabled: boolean;
|
|
9283
9385
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9386
|
+
apiOrigin?: string | undefined;
|
|
9284
9387
|
draft: DraftRequest | null;
|
|
9285
9388
|
locale: string | undefined;
|
|
9286
9389
|
publishingDraft: string | undefined;
|
|
9287
9390
|
}>, import("zod").ZodObject<{
|
|
9288
9391
|
id: import("zod").ZodUUID;
|
|
9289
9392
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<PageView<{
|
|
9290
|
-
id: string;
|
|
9291
9393
|
draftId: string | null;
|
|
9394
|
+
id: string;
|
|
9292
9395
|
deleted: boolean;
|
|
9293
9396
|
locale: string;
|
|
9294
9397
|
layoutId: string;
|
|
@@ -9312,8 +9415,8 @@ declare const router: {
|
|
|
9312
9415
|
contentUpdatedAt: number;
|
|
9313
9416
|
createdById: string | null;
|
|
9314
9417
|
}> | undefined, PageView<{
|
|
9315
|
-
id: string;
|
|
9316
9418
|
draftId: string | null;
|
|
9419
|
+
id: string;
|
|
9317
9420
|
deleted: boolean;
|
|
9318
9421
|
locale: string;
|
|
9319
9422
|
layoutId: string;
|
|
@@ -9347,14 +9450,15 @@ declare const router: {
|
|
|
9347
9450
|
id: import("zod").ZodUUID;
|
|
9348
9451
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
9349
9452
|
block: Omit<{
|
|
9350
|
-
type: string;
|
|
9351
|
-
id: string;
|
|
9352
9453
|
draftId: string | null;
|
|
9454
|
+
id: string;
|
|
9353
9455
|
deleted: boolean;
|
|
9354
9456
|
settings: unknown;
|
|
9355
9457
|
locale: string;
|
|
9356
9458
|
pageId: string | null;
|
|
9357
9459
|
layoutId: string | null;
|
|
9460
|
+
type: string;
|
|
9461
|
+
content: unknown;
|
|
9358
9462
|
createdAt: number;
|
|
9359
9463
|
updatedAt: number;
|
|
9360
9464
|
projectId: number;
|
|
@@ -9364,7 +9468,6 @@ declare const router: {
|
|
|
9364
9468
|
firstPublishedAt: number | null;
|
|
9365
9469
|
publishedAt: number | null;
|
|
9366
9470
|
publishedBy: string | null;
|
|
9367
|
-
content: unknown;
|
|
9368
9471
|
slot: "before" | "after" | null;
|
|
9369
9472
|
position: string;
|
|
9370
9473
|
}, "content"> & {
|
|
@@ -9376,12 +9479,13 @@ declare const router: {
|
|
|
9376
9479
|
references: ResolvedReferences;
|
|
9377
9480
|
};
|
|
9378
9481
|
repeatableItems: (Omit<{
|
|
9379
|
-
id: string;
|
|
9380
9482
|
draftId: string | null;
|
|
9483
|
+
id: string;
|
|
9381
9484
|
deleted: boolean;
|
|
9382
9485
|
settings: unknown;
|
|
9383
9486
|
locale: string;
|
|
9384
9487
|
blockId: string | null;
|
|
9488
|
+
content: unknown;
|
|
9385
9489
|
createdAt: number;
|
|
9386
9490
|
updatedAt: number;
|
|
9387
9491
|
projectId: number | null;
|
|
@@ -9391,7 +9495,6 @@ declare const router: {
|
|
|
9391
9495
|
firstPublishedAt: number | null;
|
|
9392
9496
|
publishedAt: number | null;
|
|
9393
9497
|
publishedBy: string | null;
|
|
9394
|
-
content: unknown;
|
|
9395
9498
|
position: string;
|
|
9396
9499
|
sharedContentType: string | null;
|
|
9397
9500
|
parentItemId: string | null;
|
|
@@ -9408,14 +9511,15 @@ declare const router: {
|
|
|
9408
9511
|
files: FileView[];
|
|
9409
9512
|
}, {
|
|
9410
9513
|
block: Omit<{
|
|
9411
|
-
type: string;
|
|
9412
|
-
id: string;
|
|
9413
9514
|
draftId: string | null;
|
|
9515
|
+
id: string;
|
|
9414
9516
|
deleted: boolean;
|
|
9415
9517
|
settings: unknown;
|
|
9416
9518
|
locale: string;
|
|
9417
9519
|
pageId: string | null;
|
|
9418
9520
|
layoutId: string | null;
|
|
9521
|
+
type: string;
|
|
9522
|
+
content: unknown;
|
|
9419
9523
|
createdAt: number;
|
|
9420
9524
|
updatedAt: number;
|
|
9421
9525
|
projectId: number;
|
|
@@ -9425,7 +9529,6 @@ declare const router: {
|
|
|
9425
9529
|
firstPublishedAt: number | null;
|
|
9426
9530
|
publishedAt: number | null;
|
|
9427
9531
|
publishedBy: string | null;
|
|
9428
|
-
content: unknown;
|
|
9429
9532
|
slot: "before" | "after" | null;
|
|
9430
9533
|
position: string;
|
|
9431
9534
|
}, "content"> & {
|
|
@@ -9437,12 +9540,13 @@ declare const router: {
|
|
|
9437
9540
|
references: ResolvedReferences;
|
|
9438
9541
|
};
|
|
9439
9542
|
repeatableItems: (Omit<{
|
|
9440
|
-
id: string;
|
|
9441
9543
|
draftId: string | null;
|
|
9544
|
+
id: string;
|
|
9442
9545
|
deleted: boolean;
|
|
9443
9546
|
settings: unknown;
|
|
9444
9547
|
locale: string;
|
|
9445
9548
|
blockId: string | null;
|
|
9549
|
+
content: unknown;
|
|
9446
9550
|
createdAt: number;
|
|
9447
9551
|
updatedAt: number;
|
|
9448
9552
|
projectId: number | null;
|
|
@@ -9452,7 +9556,6 @@ declare const router: {
|
|
|
9452
9556
|
firstPublishedAt: number | null;
|
|
9453
9557
|
publishedAt: number | null;
|
|
9454
9558
|
publishedBy: string | null;
|
|
9455
|
-
content: unknown;
|
|
9456
9559
|
position: string;
|
|
9457
9560
|
sharedContentType: string | null;
|
|
9458
9561
|
parentItemId: string | null;
|
|
@@ -9543,14 +9646,15 @@ declare const router: {
|
|
|
9543
9646
|
type: import("zod").ZodString;
|
|
9544
9647
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
9545
9648
|
block: Omit<{
|
|
9546
|
-
type: string;
|
|
9547
|
-
id: string;
|
|
9548
9649
|
draftId: string | null;
|
|
9650
|
+
id: string;
|
|
9549
9651
|
deleted: boolean;
|
|
9550
9652
|
settings: unknown;
|
|
9551
9653
|
locale: string;
|
|
9552
9654
|
pageId: string | null;
|
|
9553
9655
|
layoutId: string | null;
|
|
9656
|
+
type: string;
|
|
9657
|
+
content: unknown;
|
|
9554
9658
|
createdAt: number;
|
|
9555
9659
|
updatedAt: number;
|
|
9556
9660
|
projectId: number;
|
|
@@ -9560,7 +9664,6 @@ declare const router: {
|
|
|
9560
9664
|
firstPublishedAt: number | null;
|
|
9561
9665
|
publishedAt: number | null;
|
|
9562
9666
|
publishedBy: string | null;
|
|
9563
|
-
content: unknown;
|
|
9564
9667
|
slot: "before" | "after" | null;
|
|
9565
9668
|
position: string;
|
|
9566
9669
|
}, "content"> & {
|
|
@@ -9572,12 +9675,13 @@ declare const router: {
|
|
|
9572
9675
|
references: ResolvedReferences;
|
|
9573
9676
|
};
|
|
9574
9677
|
repeatableItems: (Omit<{
|
|
9575
|
-
id: string;
|
|
9576
9678
|
draftId: string | null;
|
|
9679
|
+
id: string;
|
|
9577
9680
|
deleted: boolean;
|
|
9578
9681
|
settings: unknown;
|
|
9579
9682
|
locale: string;
|
|
9580
9683
|
blockId: string | null;
|
|
9684
|
+
content: unknown;
|
|
9581
9685
|
createdAt: number;
|
|
9582
9686
|
updatedAt: number;
|
|
9583
9687
|
projectId: number | null;
|
|
@@ -9587,7 +9691,6 @@ declare const router: {
|
|
|
9587
9691
|
firstPublishedAt: number | null;
|
|
9588
9692
|
publishedAt: number | null;
|
|
9589
9693
|
publishedBy: string | null;
|
|
9590
|
-
content: unknown;
|
|
9591
9694
|
position: string;
|
|
9592
9695
|
sharedContentType: string | null;
|
|
9593
9696
|
parentItemId: string | null;
|
|
@@ -9604,14 +9707,15 @@ declare const router: {
|
|
|
9604
9707
|
files: FileView[];
|
|
9605
9708
|
} | null, {
|
|
9606
9709
|
block: Omit<{
|
|
9607
|
-
type: string;
|
|
9608
|
-
id: string;
|
|
9609
9710
|
draftId: string | null;
|
|
9711
|
+
id: string;
|
|
9610
9712
|
deleted: boolean;
|
|
9611
9713
|
settings: unknown;
|
|
9612
9714
|
locale: string;
|
|
9613
9715
|
pageId: string | null;
|
|
9614
9716
|
layoutId: string | null;
|
|
9717
|
+
type: string;
|
|
9718
|
+
content: unknown;
|
|
9615
9719
|
createdAt: number;
|
|
9616
9720
|
updatedAt: number;
|
|
9617
9721
|
projectId: number;
|
|
@@ -9621,7 +9725,6 @@ declare const router: {
|
|
|
9621
9725
|
firstPublishedAt: number | null;
|
|
9622
9726
|
publishedAt: number | null;
|
|
9623
9727
|
publishedBy: string | null;
|
|
9624
|
-
content: unknown;
|
|
9625
9728
|
slot: "before" | "after" | null;
|
|
9626
9729
|
position: string;
|
|
9627
9730
|
}, "content"> & {
|
|
@@ -9633,12 +9736,13 @@ declare const router: {
|
|
|
9633
9736
|
references: ResolvedReferences;
|
|
9634
9737
|
};
|
|
9635
9738
|
repeatableItems: (Omit<{
|
|
9636
|
-
id: string;
|
|
9637
9739
|
draftId: string | null;
|
|
9740
|
+
id: string;
|
|
9638
9741
|
deleted: boolean;
|
|
9639
9742
|
settings: unknown;
|
|
9640
9743
|
locale: string;
|
|
9641
9744
|
blockId: string | null;
|
|
9745
|
+
content: unknown;
|
|
9642
9746
|
createdAt: number;
|
|
9643
9747
|
updatedAt: number;
|
|
9644
9748
|
projectId: number | null;
|
|
@@ -9648,7 +9752,6 @@ declare const router: {
|
|
|
9648
9752
|
firstPublishedAt: number | null;
|
|
9649
9753
|
publishedAt: number | null;
|
|
9650
9754
|
publishedBy: string | null;
|
|
9651
|
-
content: unknown;
|
|
9652
9755
|
position: string;
|
|
9653
9756
|
sharedContentType: string | null;
|
|
9654
9757
|
parentItemId: string | null;
|
|
@@ -9701,11 +9804,12 @@ declare const router: {
|
|
|
9701
9804
|
studio?: boolean | null | undefined;
|
|
9702
9805
|
};
|
|
9703
9806
|
db: Database;
|
|
9704
|
-
headers: Headers;
|
|
9705
9807
|
env: Bindings;
|
|
9808
|
+
headers: Headers;
|
|
9706
9809
|
client: string;
|
|
9707
9810
|
telemetryDisabled: boolean;
|
|
9708
9811
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9812
|
+
apiOrigin?: string | undefined;
|
|
9709
9813
|
draft: DraftRequest | null;
|
|
9710
9814
|
locale: string | undefined;
|
|
9711
9815
|
publishingDraft: string | undefined;
|
|
@@ -9736,11 +9840,12 @@ declare const router: {
|
|
|
9736
9840
|
studio?: boolean | null | undefined;
|
|
9737
9841
|
};
|
|
9738
9842
|
db: Database;
|
|
9739
|
-
headers: Headers;
|
|
9740
9843
|
env: Bindings;
|
|
9844
|
+
headers: Headers;
|
|
9741
9845
|
client: string;
|
|
9742
9846
|
telemetryDisabled: boolean;
|
|
9743
9847
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9848
|
+
apiOrigin?: string | undefined;
|
|
9744
9849
|
draft: DraftRequest | null;
|
|
9745
9850
|
locale: string | undefined;
|
|
9746
9851
|
publishingDraft: string | undefined;
|
|
@@ -9761,14 +9866,15 @@ declare const router: {
|
|
|
9761
9866
|
position: import("zod").ZodString;
|
|
9762
9867
|
}, import("zod/v4/core").$strip>>>;
|
|
9763
9868
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<Omit<{
|
|
9764
|
-
type: string;
|
|
9765
|
-
id: string;
|
|
9766
9869
|
draftId: string | null;
|
|
9870
|
+
id: string;
|
|
9767
9871
|
deleted: boolean;
|
|
9768
9872
|
settings: unknown;
|
|
9769
9873
|
locale: string;
|
|
9770
9874
|
pageId: string | null;
|
|
9771
9875
|
layoutId: string | null;
|
|
9876
|
+
type: string;
|
|
9877
|
+
content: unknown;
|
|
9772
9878
|
createdAt: number;
|
|
9773
9879
|
updatedAt: number;
|
|
9774
9880
|
projectId: number;
|
|
@@ -9778,7 +9884,6 @@ declare const router: {
|
|
|
9778
9884
|
firstPublishedAt: number | null;
|
|
9779
9885
|
publishedAt: number | null;
|
|
9780
9886
|
publishedBy: string | null;
|
|
9781
|
-
content: unknown;
|
|
9782
9887
|
slot: "before" | "after" | null;
|
|
9783
9888
|
position: string;
|
|
9784
9889
|
}, "content"> & {
|
|
@@ -9789,14 +9894,15 @@ declare const router: {
|
|
|
9789
9894
|
} & {
|
|
9790
9895
|
warnings?: string[];
|
|
9791
9896
|
}, Omit<{
|
|
9792
|
-
type: string;
|
|
9793
|
-
id: string;
|
|
9794
9897
|
draftId: string | null;
|
|
9898
|
+
id: string;
|
|
9795
9899
|
deleted: boolean;
|
|
9796
9900
|
settings: unknown;
|
|
9797
9901
|
locale: string;
|
|
9798
9902
|
pageId: string | null;
|
|
9799
9903
|
layoutId: string | null;
|
|
9904
|
+
type: string;
|
|
9905
|
+
content: unknown;
|
|
9800
9906
|
createdAt: number;
|
|
9801
9907
|
updatedAt: number;
|
|
9802
9908
|
projectId: number;
|
|
@@ -9806,7 +9912,6 @@ declare const router: {
|
|
|
9806
9912
|
firstPublishedAt: number | null;
|
|
9807
9913
|
publishedAt: number | null;
|
|
9808
9914
|
publishedBy: string | null;
|
|
9809
|
-
content: unknown;
|
|
9810
9915
|
slot: "before" | "after" | null;
|
|
9811
9916
|
position: string;
|
|
9812
9917
|
}, "content"> & {
|
|
@@ -9854,11 +9959,12 @@ declare const router: {
|
|
|
9854
9959
|
studio?: boolean | null | undefined;
|
|
9855
9960
|
};
|
|
9856
9961
|
db: Database;
|
|
9857
|
-
headers: Headers;
|
|
9858
9962
|
env: Bindings;
|
|
9963
|
+
headers: Headers;
|
|
9859
9964
|
client: string;
|
|
9860
9965
|
telemetryDisabled: boolean;
|
|
9861
9966
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9967
|
+
apiOrigin?: string | undefined;
|
|
9862
9968
|
draft: DraftRequest | null;
|
|
9863
9969
|
locale: string | undefined;
|
|
9864
9970
|
publishingDraft: string | undefined;
|
|
@@ -9889,11 +9995,12 @@ declare const router: {
|
|
|
9889
9995
|
studio?: boolean | null | undefined;
|
|
9890
9996
|
};
|
|
9891
9997
|
db: Database;
|
|
9892
|
-
headers: Headers;
|
|
9893
9998
|
env: Bindings;
|
|
9999
|
+
headers: Headers;
|
|
9894
10000
|
client: string;
|
|
9895
10001
|
telemetryDisabled: boolean;
|
|
9896
10002
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10003
|
+
apiOrigin?: string | undefined;
|
|
9897
10004
|
draft: DraftRequest | null;
|
|
9898
10005
|
locale: string | undefined;
|
|
9899
10006
|
publishingDraft: string | undefined;
|
|
@@ -9938,11 +10045,12 @@ declare const router: {
|
|
|
9938
10045
|
studio?: boolean | null | undefined;
|
|
9939
10046
|
};
|
|
9940
10047
|
db: Database;
|
|
9941
|
-
headers: Headers;
|
|
9942
10048
|
env: Bindings;
|
|
10049
|
+
headers: Headers;
|
|
9943
10050
|
client: string;
|
|
9944
10051
|
telemetryDisabled: boolean;
|
|
9945
10052
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10053
|
+
apiOrigin?: string | undefined;
|
|
9946
10054
|
draft: DraftRequest | null;
|
|
9947
10055
|
locale: string | undefined;
|
|
9948
10056
|
publishingDraft: string | undefined;
|
|
@@ -9973,11 +10081,12 @@ declare const router: {
|
|
|
9973
10081
|
studio?: boolean | null | undefined;
|
|
9974
10082
|
};
|
|
9975
10083
|
db: Database;
|
|
9976
|
-
headers: Headers;
|
|
9977
10084
|
env: Bindings;
|
|
10085
|
+
headers: Headers;
|
|
9978
10086
|
client: string;
|
|
9979
10087
|
telemetryDisabled: boolean;
|
|
9980
10088
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10089
|
+
apiOrigin?: string | undefined;
|
|
9981
10090
|
draft: DraftRequest | null;
|
|
9982
10091
|
locale: string | undefined;
|
|
9983
10092
|
publishingDraft: string | undefined;
|
|
@@ -10022,11 +10131,12 @@ declare const router: {
|
|
|
10022
10131
|
studio?: boolean | null | undefined;
|
|
10023
10132
|
};
|
|
10024
10133
|
db: Database;
|
|
10025
|
-
headers: Headers;
|
|
10026
10134
|
env: Bindings;
|
|
10135
|
+
headers: Headers;
|
|
10027
10136
|
client: string;
|
|
10028
10137
|
telemetryDisabled: boolean;
|
|
10029
10138
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10139
|
+
apiOrigin?: string | undefined;
|
|
10030
10140
|
draft: DraftRequest | null;
|
|
10031
10141
|
locale: string | undefined;
|
|
10032
10142
|
publishingDraft: string | undefined;
|
|
@@ -10057,11 +10167,12 @@ declare const router: {
|
|
|
10057
10167
|
studio?: boolean | null | undefined;
|
|
10058
10168
|
};
|
|
10059
10169
|
db: Database;
|
|
10060
|
-
headers: Headers;
|
|
10061
10170
|
env: Bindings;
|
|
10171
|
+
headers: Headers;
|
|
10062
10172
|
client: string;
|
|
10063
10173
|
telemetryDisabled: boolean;
|
|
10064
10174
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10175
|
+
apiOrigin?: string | undefined;
|
|
10065
10176
|
draft: DraftRequest | null;
|
|
10066
10177
|
locale: string | undefined;
|
|
10067
10178
|
publishingDraft: string | undefined;
|
|
@@ -10107,11 +10218,12 @@ declare const router: {
|
|
|
10107
10218
|
studio?: boolean | null | undefined;
|
|
10108
10219
|
};
|
|
10109
10220
|
db: Database;
|
|
10110
|
-
headers: Headers;
|
|
10111
10221
|
env: Bindings;
|
|
10222
|
+
headers: Headers;
|
|
10112
10223
|
client: string;
|
|
10113
10224
|
telemetryDisabled: boolean;
|
|
10114
10225
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10226
|
+
apiOrigin?: string | undefined;
|
|
10115
10227
|
draft: DraftRequest | null;
|
|
10116
10228
|
locale: string | undefined;
|
|
10117
10229
|
publishingDraft: string | undefined;
|
|
@@ -10142,11 +10254,12 @@ declare const router: {
|
|
|
10142
10254
|
studio?: boolean | null | undefined;
|
|
10143
10255
|
};
|
|
10144
10256
|
db: Database;
|
|
10145
|
-
headers: Headers;
|
|
10146
10257
|
env: Bindings;
|
|
10258
|
+
headers: Headers;
|
|
10147
10259
|
client: string;
|
|
10148
10260
|
telemetryDisabled: boolean;
|
|
10149
10261
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10262
|
+
apiOrigin?: string | undefined;
|
|
10150
10263
|
draft: DraftRequest | null;
|
|
10151
10264
|
locale: string | undefined;
|
|
10152
10265
|
publishingDraft: string | undefined;
|
|
@@ -10190,11 +10303,12 @@ declare const router: {
|
|
|
10190
10303
|
studio?: boolean | null | undefined;
|
|
10191
10304
|
};
|
|
10192
10305
|
db: Database;
|
|
10193
|
-
headers: Headers;
|
|
10194
10306
|
env: Bindings;
|
|
10307
|
+
headers: Headers;
|
|
10195
10308
|
client: string;
|
|
10196
10309
|
telemetryDisabled: boolean;
|
|
10197
10310
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10311
|
+
apiOrigin?: string | undefined;
|
|
10198
10312
|
draft: DraftRequest | null;
|
|
10199
10313
|
locale: string | undefined;
|
|
10200
10314
|
publishingDraft: string | undefined;
|
|
@@ -10225,11 +10339,12 @@ declare const router: {
|
|
|
10225
10339
|
studio?: boolean | null | undefined;
|
|
10226
10340
|
};
|
|
10227
10341
|
db: Database;
|
|
10228
|
-
headers: Headers;
|
|
10229
10342
|
env: Bindings;
|
|
10343
|
+
headers: Headers;
|
|
10230
10344
|
client: string;
|
|
10231
10345
|
telemetryDisabled: boolean;
|
|
10232
10346
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10347
|
+
apiOrigin?: string | undefined;
|
|
10233
10348
|
draft: DraftRequest | null;
|
|
10234
10349
|
locale: string | undefined;
|
|
10235
10350
|
publishingDraft: string | undefined;
|
|
@@ -10271,11 +10386,12 @@ declare const router: {
|
|
|
10271
10386
|
studio?: boolean | null | undefined;
|
|
10272
10387
|
};
|
|
10273
10388
|
db: Database;
|
|
10274
|
-
headers: Headers;
|
|
10275
10389
|
env: Bindings;
|
|
10390
|
+
headers: Headers;
|
|
10276
10391
|
client: string;
|
|
10277
10392
|
telemetryDisabled: boolean;
|
|
10278
10393
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10394
|
+
apiOrigin?: string | undefined;
|
|
10279
10395
|
draft: DraftRequest | null;
|
|
10280
10396
|
locale: string | undefined;
|
|
10281
10397
|
publishingDraft: string | undefined;
|
|
@@ -10319,11 +10435,12 @@ declare const router: {
|
|
|
10319
10435
|
studio?: boolean | null | undefined;
|
|
10320
10436
|
};
|
|
10321
10437
|
db: Database;
|
|
10322
|
-
headers: Headers;
|
|
10323
10438
|
env: Bindings;
|
|
10439
|
+
headers: Headers;
|
|
10324
10440
|
client: string;
|
|
10325
10441
|
telemetryDisabled: boolean;
|
|
10326
10442
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10443
|
+
apiOrigin?: string | undefined;
|
|
10327
10444
|
draft: DraftRequest | null;
|
|
10328
10445
|
locale: string | undefined;
|
|
10329
10446
|
publishingDraft: string | undefined;
|
|
@@ -10354,11 +10471,12 @@ declare const router: {
|
|
|
10354
10471
|
studio?: boolean | null | undefined;
|
|
10355
10472
|
};
|
|
10356
10473
|
db: Database;
|
|
10357
|
-
headers: Headers;
|
|
10358
10474
|
env: Bindings;
|
|
10475
|
+
headers: Headers;
|
|
10359
10476
|
client: string;
|
|
10360
10477
|
telemetryDisabled: boolean;
|
|
10361
10478
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10479
|
+
apiOrigin?: string | undefined;
|
|
10362
10480
|
draft: DraftRequest | null;
|
|
10363
10481
|
locale: string | undefined;
|
|
10364
10482
|
publishingDraft: string | undefined;
|
|
@@ -10390,14 +10508,15 @@ declare const router: {
|
|
|
10390
10508
|
afterBlockIds: string[];
|
|
10391
10509
|
};
|
|
10392
10510
|
blocks: (Omit<{
|
|
10393
|
-
type: string;
|
|
10394
|
-
id: string;
|
|
10395
10511
|
draftId: string | null;
|
|
10512
|
+
id: string;
|
|
10396
10513
|
deleted: boolean;
|
|
10397
10514
|
settings: unknown;
|
|
10398
10515
|
locale: string;
|
|
10399
10516
|
pageId: string | null;
|
|
10400
10517
|
layoutId: string | null;
|
|
10518
|
+
type: string;
|
|
10519
|
+
content: unknown;
|
|
10401
10520
|
createdAt: number;
|
|
10402
10521
|
updatedAt: number;
|
|
10403
10522
|
projectId: number;
|
|
@@ -10407,7 +10526,6 @@ declare const router: {
|
|
|
10407
10526
|
firstPublishedAt: number | null;
|
|
10408
10527
|
publishedAt: number | null;
|
|
10409
10528
|
publishedBy: string | null;
|
|
10410
|
-
content: unknown;
|
|
10411
10529
|
slot: "before" | "after" | null;
|
|
10412
10530
|
position: string;
|
|
10413
10531
|
}, "content"> & {
|
|
@@ -10419,12 +10537,13 @@ declare const router: {
|
|
|
10419
10537
|
references: ResolvedReferences;
|
|
10420
10538
|
})[];
|
|
10421
10539
|
repeatableItems: (Omit<{
|
|
10422
|
-
id: string;
|
|
10423
10540
|
draftId: string | null;
|
|
10541
|
+
id: string;
|
|
10424
10542
|
deleted: boolean;
|
|
10425
10543
|
settings: unknown;
|
|
10426
10544
|
locale: string;
|
|
10427
10545
|
blockId: string | null;
|
|
10546
|
+
content: unknown;
|
|
10428
10547
|
createdAt: number;
|
|
10429
10548
|
updatedAt: number;
|
|
10430
10549
|
projectId: number | null;
|
|
@@ -10434,7 +10553,6 @@ declare const router: {
|
|
|
10434
10553
|
firstPublishedAt: number | null;
|
|
10435
10554
|
publishedAt: number | null;
|
|
10436
10555
|
publishedBy: string | null;
|
|
10437
|
-
content: unknown;
|
|
10438
10556
|
position: string;
|
|
10439
10557
|
sharedContentType: string | null;
|
|
10440
10558
|
parentItemId: string | null;
|
|
@@ -10467,14 +10585,15 @@ declare const router: {
|
|
|
10467
10585
|
afterBlockIds: string[];
|
|
10468
10586
|
};
|
|
10469
10587
|
blocks: (Omit<{
|
|
10470
|
-
type: string;
|
|
10471
|
-
id: string;
|
|
10472
10588
|
draftId: string | null;
|
|
10589
|
+
id: string;
|
|
10473
10590
|
deleted: boolean;
|
|
10474
10591
|
settings: unknown;
|
|
10475
10592
|
locale: string;
|
|
10476
10593
|
pageId: string | null;
|
|
10477
10594
|
layoutId: string | null;
|
|
10595
|
+
type: string;
|
|
10596
|
+
content: unknown;
|
|
10478
10597
|
createdAt: number;
|
|
10479
10598
|
updatedAt: number;
|
|
10480
10599
|
projectId: number;
|
|
@@ -10484,7 +10603,6 @@ declare const router: {
|
|
|
10484
10603
|
firstPublishedAt: number | null;
|
|
10485
10604
|
publishedAt: number | null;
|
|
10486
10605
|
publishedBy: string | null;
|
|
10487
|
-
content: unknown;
|
|
10488
10606
|
slot: "before" | "after" | null;
|
|
10489
10607
|
position: string;
|
|
10490
10608
|
}, "content"> & {
|
|
@@ -10496,12 +10614,13 @@ declare const router: {
|
|
|
10496
10614
|
references: ResolvedReferences;
|
|
10497
10615
|
})[];
|
|
10498
10616
|
repeatableItems: (Omit<{
|
|
10499
|
-
id: string;
|
|
10500
10617
|
draftId: string | null;
|
|
10618
|
+
id: string;
|
|
10501
10619
|
deleted: boolean;
|
|
10502
10620
|
settings: unknown;
|
|
10503
10621
|
locale: string;
|
|
10504
10622
|
blockId: string | null;
|
|
10623
|
+
content: unknown;
|
|
10505
10624
|
createdAt: number;
|
|
10506
10625
|
updatedAt: number;
|
|
10507
10626
|
projectId: number | null;
|
|
@@ -10511,7 +10630,6 @@ declare const router: {
|
|
|
10511
10630
|
firstPublishedAt: number | null;
|
|
10512
10631
|
publishedAt: number | null;
|
|
10513
10632
|
publishedBy: string | null;
|
|
10514
|
-
content: unknown;
|
|
10515
10633
|
position: string;
|
|
10516
10634
|
sharedContentType: string | null;
|
|
10517
10635
|
parentItemId: string | null;
|
|
@@ -10610,11 +10728,12 @@ declare const router: {
|
|
|
10610
10728
|
studio?: boolean | null | undefined;
|
|
10611
10729
|
};
|
|
10612
10730
|
db: Database;
|
|
10613
|
-
headers: Headers;
|
|
10614
10731
|
env: Bindings;
|
|
10732
|
+
headers: Headers;
|
|
10615
10733
|
client: string;
|
|
10616
10734
|
telemetryDisabled: boolean;
|
|
10617
10735
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10736
|
+
apiOrigin?: string | undefined;
|
|
10618
10737
|
draft: DraftRequest | null;
|
|
10619
10738
|
locale: string | undefined;
|
|
10620
10739
|
publishingDraft: string | undefined;
|
|
@@ -10645,11 +10764,12 @@ declare const router: {
|
|
|
10645
10764
|
studio?: boolean | null | undefined;
|
|
10646
10765
|
};
|
|
10647
10766
|
db: Database;
|
|
10648
|
-
headers: Headers;
|
|
10649
10767
|
env: Bindings;
|
|
10768
|
+
headers: Headers;
|
|
10650
10769
|
client: string;
|
|
10651
10770
|
telemetryDisabled: boolean;
|
|
10652
10771
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10772
|
+
apiOrigin?: string | undefined;
|
|
10653
10773
|
draft: DraftRequest | null;
|
|
10654
10774
|
locale: string | undefined;
|
|
10655
10775
|
publishingDraft: string | undefined;
|
|
@@ -10694,11 +10814,12 @@ declare const router: {
|
|
|
10694
10814
|
studio?: boolean | null | undefined;
|
|
10695
10815
|
};
|
|
10696
10816
|
db: Database;
|
|
10697
|
-
headers: Headers;
|
|
10698
10817
|
env: Bindings;
|
|
10818
|
+
headers: Headers;
|
|
10699
10819
|
client: string;
|
|
10700
10820
|
telemetryDisabled: boolean;
|
|
10701
10821
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10822
|
+
apiOrigin?: string | undefined;
|
|
10702
10823
|
draft: DraftRequest | null;
|
|
10703
10824
|
locale: string | undefined;
|
|
10704
10825
|
publishingDraft: string | undefined;
|
|
@@ -10729,11 +10850,12 @@ declare const router: {
|
|
|
10729
10850
|
studio?: boolean | null | undefined;
|
|
10730
10851
|
};
|
|
10731
10852
|
db: Database;
|
|
10732
|
-
headers: Headers;
|
|
10733
10853
|
env: Bindings;
|
|
10854
|
+
headers: Headers;
|
|
10734
10855
|
client: string;
|
|
10735
10856
|
telemetryDisabled: boolean;
|
|
10736
10857
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10858
|
+
apiOrigin?: string | undefined;
|
|
10737
10859
|
draft: DraftRequest | null;
|
|
10738
10860
|
locale: string | undefined;
|
|
10739
10861
|
publishingDraft: string | undefined;
|
|
@@ -10776,11 +10898,12 @@ declare const router: {
|
|
|
10776
10898
|
studio?: boolean | null | undefined;
|
|
10777
10899
|
};
|
|
10778
10900
|
db: Database;
|
|
10779
|
-
headers: Headers;
|
|
10780
10901
|
env: Bindings;
|
|
10902
|
+
headers: Headers;
|
|
10781
10903
|
client: string;
|
|
10782
10904
|
telemetryDisabled: boolean;
|
|
10783
10905
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10906
|
+
apiOrigin?: string | undefined;
|
|
10784
10907
|
draft: DraftRequest | null;
|
|
10785
10908
|
locale: string | undefined;
|
|
10786
10909
|
publishingDraft: string | undefined;
|
|
@@ -10823,11 +10946,12 @@ declare const router: {
|
|
|
10823
10946
|
studio?: boolean | null | undefined;
|
|
10824
10947
|
};
|
|
10825
10948
|
db: Database;
|
|
10826
|
-
headers: Headers;
|
|
10827
10949
|
env: Bindings;
|
|
10950
|
+
headers: Headers;
|
|
10828
10951
|
client: string;
|
|
10829
10952
|
telemetryDisabled: boolean;
|
|
10830
10953
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10954
|
+
apiOrigin?: string | undefined;
|
|
10831
10955
|
draft: DraftRequest | null;
|
|
10832
10956
|
locale: string | undefined;
|
|
10833
10957
|
publishingDraft: string | undefined;
|
|
@@ -10877,11 +11001,12 @@ declare const router: {
|
|
|
10877
11001
|
studio?: boolean | null | undefined;
|
|
10878
11002
|
};
|
|
10879
11003
|
db: Database;
|
|
10880
|
-
headers: Headers;
|
|
10881
11004
|
env: Bindings;
|
|
11005
|
+
headers: Headers;
|
|
10882
11006
|
client: string;
|
|
10883
11007
|
telemetryDisabled: boolean;
|
|
10884
11008
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11009
|
+
apiOrigin?: string | undefined;
|
|
10885
11010
|
draft: DraftRequest | null;
|
|
10886
11011
|
locale: string | undefined;
|
|
10887
11012
|
publishingDraft: string | undefined;
|
|
@@ -10912,11 +11037,12 @@ declare const router: {
|
|
|
10912
11037
|
studio?: boolean | null | undefined;
|
|
10913
11038
|
};
|
|
10914
11039
|
db: Database;
|
|
10915
|
-
headers: Headers;
|
|
10916
11040
|
env: Bindings;
|
|
11041
|
+
headers: Headers;
|
|
10917
11042
|
client: string;
|
|
10918
11043
|
telemetryDisabled: boolean;
|
|
10919
11044
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11045
|
+
apiOrigin?: string | undefined;
|
|
10920
11046
|
draft: DraftRequest | null;
|
|
10921
11047
|
locale: string | undefined;
|
|
10922
11048
|
publishingDraft: string | undefined;
|
|
@@ -10943,10 +11069,10 @@ declare const router: {
|
|
|
10943
11069
|
}>, import("zod").ZodObject<{
|
|
10944
11070
|
projectId: import("zod").ZodNumber;
|
|
10945
11071
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
10946
|
-
path: string;
|
|
10947
|
-
id: string;
|
|
10948
11072
|
draftId: string | null;
|
|
11073
|
+
id: string;
|
|
10949
11074
|
deleted: boolean;
|
|
11075
|
+
path: string;
|
|
10950
11076
|
createdAt: number;
|
|
10951
11077
|
updatedAt: number;
|
|
10952
11078
|
projectId: number;
|
|
@@ -10967,10 +11093,10 @@ declare const router: {
|
|
|
10967
11093
|
height: number | null;
|
|
10968
11094
|
blobId: string;
|
|
10969
11095
|
}>[], FileView<{
|
|
10970
|
-
path: string;
|
|
10971
|
-
id: string;
|
|
10972
11096
|
draftId: string | null;
|
|
11097
|
+
id: string;
|
|
10973
11098
|
deleted: boolean;
|
|
11099
|
+
path: string;
|
|
10974
11100
|
createdAt: number;
|
|
10975
11101
|
updatedAt: number;
|
|
10976
11102
|
projectId: number;
|
|
@@ -10998,10 +11124,10 @@ declare const router: {
|
|
|
10998
11124
|
}>, import("zod").ZodObject<{
|
|
10999
11125
|
id: import("zod").ZodUUID;
|
|
11000
11126
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
11001
|
-
path: string;
|
|
11002
|
-
id: string;
|
|
11003
11127
|
draftId: string | null;
|
|
11128
|
+
id: string;
|
|
11004
11129
|
deleted: boolean;
|
|
11130
|
+
path: string;
|
|
11005
11131
|
createdAt: number;
|
|
11006
11132
|
updatedAt: number;
|
|
11007
11133
|
projectId: number;
|
|
@@ -11022,10 +11148,10 @@ declare const router: {
|
|
|
11022
11148
|
height: number | null;
|
|
11023
11149
|
blobId: string;
|
|
11024
11150
|
}>, FileView<{
|
|
11025
|
-
path: string;
|
|
11026
|
-
id: string;
|
|
11027
11151
|
draftId: string | null;
|
|
11152
|
+
id: string;
|
|
11028
11153
|
deleted: boolean;
|
|
11154
|
+
path: string;
|
|
11029
11155
|
createdAt: number;
|
|
11030
11156
|
updatedAt: number;
|
|
11031
11157
|
projectId: number;
|
|
@@ -11094,11 +11220,12 @@ declare const router: {
|
|
|
11094
11220
|
studio?: boolean | null | undefined;
|
|
11095
11221
|
};
|
|
11096
11222
|
db: Database;
|
|
11097
|
-
headers: Headers;
|
|
11098
11223
|
env: Bindings;
|
|
11224
|
+
headers: Headers;
|
|
11099
11225
|
client: string;
|
|
11100
11226
|
telemetryDisabled: boolean;
|
|
11101
11227
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11228
|
+
apiOrigin?: string | undefined;
|
|
11102
11229
|
draft: DraftRequest | null;
|
|
11103
11230
|
locale: string | undefined;
|
|
11104
11231
|
publishingDraft: string | undefined;
|
|
@@ -11129,11 +11256,12 @@ declare const router: {
|
|
|
11129
11256
|
studio?: boolean | null | undefined;
|
|
11130
11257
|
};
|
|
11131
11258
|
db: Database;
|
|
11132
|
-
headers: Headers;
|
|
11133
11259
|
env: Bindings;
|
|
11260
|
+
headers: Headers;
|
|
11134
11261
|
client: string;
|
|
11135
11262
|
telemetryDisabled: boolean;
|
|
11136
11263
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11264
|
+
apiOrigin?: string | undefined;
|
|
11137
11265
|
draft: DraftRequest | null;
|
|
11138
11266
|
locale: string | undefined;
|
|
11139
11267
|
publishingDraft: string | undefined;
|
|
@@ -11141,10 +11269,10 @@ declare const router: {
|
|
|
11141
11269
|
id: import("zod").ZodUUID;
|
|
11142
11270
|
alt: import("zod").ZodString;
|
|
11143
11271
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
11144
|
-
path: string;
|
|
11145
|
-
id: string;
|
|
11146
11272
|
draftId: string | null;
|
|
11273
|
+
id: string;
|
|
11147
11274
|
deleted: boolean;
|
|
11275
|
+
path: string;
|
|
11148
11276
|
createdAt: number;
|
|
11149
11277
|
updatedAt: number;
|
|
11150
11278
|
projectId: number;
|
|
@@ -11165,10 +11293,10 @@ declare const router: {
|
|
|
11165
11293
|
height: number | null;
|
|
11166
11294
|
blobId: string;
|
|
11167
11295
|
}>, FileView<{
|
|
11168
|
-
path: string;
|
|
11169
|
-
id: string;
|
|
11170
11296
|
draftId: string | null;
|
|
11297
|
+
id: string;
|
|
11171
11298
|
deleted: boolean;
|
|
11299
|
+
path: string;
|
|
11172
11300
|
createdAt: number;
|
|
11173
11301
|
updatedAt: number;
|
|
11174
11302
|
projectId: number;
|
|
@@ -11226,11 +11354,12 @@ declare const router: {
|
|
|
11226
11354
|
studio?: boolean | null | undefined;
|
|
11227
11355
|
};
|
|
11228
11356
|
db: Database;
|
|
11229
|
-
headers: Headers;
|
|
11230
11357
|
env: Bindings;
|
|
11358
|
+
headers: Headers;
|
|
11231
11359
|
client: string;
|
|
11232
11360
|
telemetryDisabled: boolean;
|
|
11233
11361
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11362
|
+
apiOrigin?: string | undefined;
|
|
11234
11363
|
draft: DraftRequest | null;
|
|
11235
11364
|
locale: string | undefined;
|
|
11236
11365
|
publishingDraft: string | undefined;
|
|
@@ -11261,11 +11390,12 @@ declare const router: {
|
|
|
11261
11390
|
studio?: boolean | null | undefined;
|
|
11262
11391
|
};
|
|
11263
11392
|
db: Database;
|
|
11264
|
-
headers: Headers;
|
|
11265
11393
|
env: Bindings;
|
|
11394
|
+
headers: Headers;
|
|
11266
11395
|
client: string;
|
|
11267
11396
|
telemetryDisabled: boolean;
|
|
11268
11397
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11398
|
+
apiOrigin?: string | undefined;
|
|
11269
11399
|
draft: DraftRequest | null;
|
|
11270
11400
|
locale: string | undefined;
|
|
11271
11401
|
publishingDraft: string | undefined;
|
|
@@ -11273,10 +11403,10 @@ declare const router: {
|
|
|
11273
11403
|
id: import("zod").ZodUUID;
|
|
11274
11404
|
filename: import("zod").ZodString;
|
|
11275
11405
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
11276
|
-
path: string;
|
|
11277
|
-
id: string;
|
|
11278
11406
|
draftId: string | null;
|
|
11407
|
+
id: string;
|
|
11279
11408
|
deleted: boolean;
|
|
11409
|
+
path: string;
|
|
11280
11410
|
createdAt: number;
|
|
11281
11411
|
updatedAt: number;
|
|
11282
11412
|
projectId: number;
|
|
@@ -11297,10 +11427,10 @@ declare const router: {
|
|
|
11297
11427
|
height: number | null;
|
|
11298
11428
|
blobId: string;
|
|
11299
11429
|
}>, FileView<{
|
|
11300
|
-
path: string;
|
|
11301
|
-
id: string;
|
|
11302
11430
|
draftId: string | null;
|
|
11431
|
+
id: string;
|
|
11303
11432
|
deleted: boolean;
|
|
11433
|
+
path: string;
|
|
11304
11434
|
createdAt: number;
|
|
11305
11435
|
updatedAt: number;
|
|
11306
11436
|
projectId: number;
|
|
@@ -11358,11 +11488,12 @@ declare const router: {
|
|
|
11358
11488
|
studio?: boolean | null | undefined;
|
|
11359
11489
|
};
|
|
11360
11490
|
db: Database;
|
|
11361
|
-
headers: Headers;
|
|
11362
11491
|
env: Bindings;
|
|
11492
|
+
headers: Headers;
|
|
11363
11493
|
client: string;
|
|
11364
11494
|
telemetryDisabled: boolean;
|
|
11365
11495
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11496
|
+
apiOrigin?: string | undefined;
|
|
11366
11497
|
draft: DraftRequest | null;
|
|
11367
11498
|
locale: string | undefined;
|
|
11368
11499
|
publishingDraft: string | undefined;
|
|
@@ -11393,21 +11524,22 @@ declare const router: {
|
|
|
11393
11524
|
studio?: boolean | null | undefined;
|
|
11394
11525
|
};
|
|
11395
11526
|
db: Database;
|
|
11396
|
-
headers: Headers;
|
|
11397
11527
|
env: Bindings;
|
|
11528
|
+
headers: Headers;
|
|
11398
11529
|
client: string;
|
|
11399
11530
|
telemetryDisabled: boolean;
|
|
11400
11531
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11532
|
+
apiOrigin?: string | undefined;
|
|
11401
11533
|
draft: DraftRequest | null;
|
|
11402
11534
|
locale: string | undefined;
|
|
11403
11535
|
publishingDraft: string | undefined;
|
|
11404
11536
|
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
11405
11537
|
id: import("zod").ZodUUID;
|
|
11406
11538
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
11407
|
-
path: string;
|
|
11408
|
-
id: string;
|
|
11409
11539
|
draftId: string | null;
|
|
11540
|
+
id: string;
|
|
11410
11541
|
deleted: boolean;
|
|
11542
|
+
path: string;
|
|
11411
11543
|
createdAt: number;
|
|
11412
11544
|
updatedAt: number;
|
|
11413
11545
|
projectId: number;
|
|
@@ -11428,10 +11560,10 @@ declare const router: {
|
|
|
11428
11560
|
height: number | null;
|
|
11429
11561
|
blobId: string;
|
|
11430
11562
|
}, {
|
|
11431
|
-
path: string;
|
|
11432
|
-
id: string;
|
|
11433
11563
|
draftId: string | null;
|
|
11564
|
+
id: string;
|
|
11434
11565
|
deleted: boolean;
|
|
11566
|
+
path: string;
|
|
11435
11567
|
createdAt: number;
|
|
11436
11568
|
updatedAt: number;
|
|
11437
11569
|
projectId: number;
|
|
@@ -11489,11 +11621,12 @@ declare const router: {
|
|
|
11489
11621
|
studio?: boolean | null | undefined;
|
|
11490
11622
|
};
|
|
11491
11623
|
db: Database;
|
|
11492
|
-
headers: Headers;
|
|
11493
11624
|
env: Bindings;
|
|
11625
|
+
headers: Headers;
|
|
11494
11626
|
client: string;
|
|
11495
11627
|
telemetryDisabled: boolean;
|
|
11496
11628
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11629
|
+
apiOrigin?: string | undefined;
|
|
11497
11630
|
draft: DraftRequest | null;
|
|
11498
11631
|
locale: string | undefined;
|
|
11499
11632
|
publishingDraft: string | undefined;
|
|
@@ -11524,11 +11657,12 @@ declare const router: {
|
|
|
11524
11657
|
studio?: boolean | null | undefined;
|
|
11525
11658
|
};
|
|
11526
11659
|
db: Database;
|
|
11527
|
-
headers: Headers;
|
|
11528
11660
|
env: Bindings;
|
|
11661
|
+
headers: Headers;
|
|
11529
11662
|
client: string;
|
|
11530
11663
|
telemetryDisabled: boolean;
|
|
11531
11664
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11665
|
+
apiOrigin?: string | undefined;
|
|
11532
11666
|
draft: DraftRequest | null;
|
|
11533
11667
|
locale: string | undefined;
|
|
11534
11668
|
publishingDraft: string | undefined;
|
|
@@ -11572,11 +11706,12 @@ declare const router: {
|
|
|
11572
11706
|
studio?: boolean | null | undefined;
|
|
11573
11707
|
};
|
|
11574
11708
|
db: Database;
|
|
11575
|
-
headers: Headers;
|
|
11576
11709
|
env: Bindings;
|
|
11710
|
+
headers: Headers;
|
|
11577
11711
|
client: string;
|
|
11578
11712
|
telemetryDisabled: boolean;
|
|
11579
11713
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11714
|
+
apiOrigin?: string | undefined;
|
|
11580
11715
|
draft: DraftRequest | null;
|
|
11581
11716
|
locale: string | undefined;
|
|
11582
11717
|
publishingDraft: string | undefined;
|
|
@@ -11607,11 +11742,12 @@ declare const router: {
|
|
|
11607
11742
|
studio?: boolean | null | undefined;
|
|
11608
11743
|
};
|
|
11609
11744
|
db: Database;
|
|
11610
|
-
headers: Headers;
|
|
11611
11745
|
env: Bindings;
|
|
11746
|
+
headers: Headers;
|
|
11612
11747
|
client: string;
|
|
11613
11748
|
telemetryDisabled: boolean;
|
|
11614
11749
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11750
|
+
apiOrigin?: string | undefined;
|
|
11615
11751
|
draft: DraftRequest | null;
|
|
11616
11752
|
locale: string | undefined;
|
|
11617
11753
|
publishingDraft: string | undefined;
|
|
@@ -11619,10 +11755,10 @@ declare const router: {
|
|
|
11619
11755
|
id: import("zod").ZodUUID;
|
|
11620
11756
|
enabled: import("zod").ZodBoolean;
|
|
11621
11757
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
11622
|
-
path: string;
|
|
11623
|
-
id: string;
|
|
11624
11758
|
draftId: string | null;
|
|
11759
|
+
id: string;
|
|
11625
11760
|
deleted: boolean;
|
|
11761
|
+
path: string;
|
|
11626
11762
|
createdAt: number;
|
|
11627
11763
|
updatedAt: number;
|
|
11628
11764
|
projectId: number;
|
|
@@ -11643,10 +11779,10 @@ declare const router: {
|
|
|
11643
11779
|
height: number | null;
|
|
11644
11780
|
blobId: string;
|
|
11645
11781
|
}>, FileView<{
|
|
11646
|
-
path: string;
|
|
11647
|
-
id: string;
|
|
11648
11782
|
draftId: string | null;
|
|
11783
|
+
id: string;
|
|
11649
11784
|
deleted: boolean;
|
|
11785
|
+
path: string;
|
|
11650
11786
|
createdAt: number;
|
|
11651
11787
|
updatedAt: number;
|
|
11652
11788
|
projectId: number;
|
|
@@ -11702,21 +11838,22 @@ declare const router: {
|
|
|
11702
11838
|
studio?: boolean | null | undefined;
|
|
11703
11839
|
};
|
|
11704
11840
|
db: Database;
|
|
11705
|
-
headers: Headers;
|
|
11706
11841
|
env: Bindings;
|
|
11842
|
+
headers: Headers;
|
|
11707
11843
|
client: string;
|
|
11708
11844
|
telemetryDisabled: boolean;
|
|
11709
11845
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11846
|
+
apiOrigin?: string | undefined;
|
|
11710
11847
|
draft: DraftRequest | null;
|
|
11711
11848
|
locale: string | undefined;
|
|
11712
11849
|
publishingDraft: string | undefined;
|
|
11713
11850
|
}>, import("zod").ZodObject<{
|
|
11714
11851
|
id: import("zod").ZodUUID;
|
|
11715
11852
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
11716
|
-
path: string;
|
|
11717
|
-
id: string;
|
|
11718
11853
|
draftId: string | null;
|
|
11854
|
+
id: string;
|
|
11719
11855
|
deleted: boolean;
|
|
11856
|
+
path: string;
|
|
11720
11857
|
createdAt: number;
|
|
11721
11858
|
updatedAt: number;
|
|
11722
11859
|
projectId: number;
|
|
@@ -11737,10 +11874,10 @@ declare const router: {
|
|
|
11737
11874
|
height: number | null;
|
|
11738
11875
|
blobId: string;
|
|
11739
11876
|
}> | undefined, FileView<{
|
|
11740
|
-
path: string;
|
|
11741
|
-
id: string;
|
|
11742
11877
|
draftId: string | null;
|
|
11878
|
+
id: string;
|
|
11743
11879
|
deleted: boolean;
|
|
11880
|
+
path: string;
|
|
11744
11881
|
createdAt: number;
|
|
11745
11882
|
updatedAt: number;
|
|
11746
11883
|
projectId: number;
|
|
@@ -11776,8 +11913,8 @@ declare const router: {
|
|
|
11776
11913
|
summary: string;
|
|
11777
11914
|
title: string;
|
|
11778
11915
|
references: ResolvedReferences;
|
|
11779
|
-
id: string;
|
|
11780
11916
|
draftId: string | null;
|
|
11917
|
+
id: string;
|
|
11781
11918
|
deleted: boolean;
|
|
11782
11919
|
settings: unknown;
|
|
11783
11920
|
locale: string;
|
|
@@ -11803,8 +11940,8 @@ declare const router: {
|
|
|
11803
11940
|
summary: string;
|
|
11804
11941
|
title: string;
|
|
11805
11942
|
references: ResolvedReferences;
|
|
11806
|
-
id: string;
|
|
11807
11943
|
draftId: string | null;
|
|
11944
|
+
id: string;
|
|
11808
11945
|
deleted: boolean;
|
|
11809
11946
|
settings: unknown;
|
|
11810
11947
|
locale: string;
|
|
@@ -11861,11 +11998,12 @@ declare const router: {
|
|
|
11861
11998
|
studio?: boolean | null | undefined;
|
|
11862
11999
|
};
|
|
11863
12000
|
db: Database;
|
|
11864
|
-
headers: Headers;
|
|
11865
12001
|
env: Bindings;
|
|
12002
|
+
headers: Headers;
|
|
11866
12003
|
client: string;
|
|
11867
12004
|
telemetryDisabled: boolean;
|
|
11868
12005
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12006
|
+
apiOrigin?: string | undefined;
|
|
11869
12007
|
draft: DraftRequest | null;
|
|
11870
12008
|
locale: string | undefined;
|
|
11871
12009
|
publishingDraft: string | undefined;
|
|
@@ -11896,11 +12034,12 @@ declare const router: {
|
|
|
11896
12034
|
studio?: boolean | null | undefined;
|
|
11897
12035
|
};
|
|
11898
12036
|
db: Database;
|
|
11899
|
-
headers: Headers;
|
|
11900
12037
|
env: Bindings;
|
|
12038
|
+
headers: Headers;
|
|
11901
12039
|
client: string;
|
|
11902
12040
|
telemetryDisabled: boolean;
|
|
11903
12041
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12042
|
+
apiOrigin?: string | undefined;
|
|
11904
12043
|
draft: DraftRequest | null;
|
|
11905
12044
|
locale: string | undefined;
|
|
11906
12045
|
publishingDraft: string | undefined;
|
|
@@ -11925,8 +12064,8 @@ declare const router: {
|
|
|
11925
12064
|
settings: unknown;
|
|
11926
12065
|
summary: string;
|
|
11927
12066
|
title: string;
|
|
11928
|
-
id: string;
|
|
11929
12067
|
draftId: string | null;
|
|
12068
|
+
id: string;
|
|
11930
12069
|
deleted: boolean;
|
|
11931
12070
|
locale: string;
|
|
11932
12071
|
blockId: string | null;
|
|
@@ -11948,8 +12087,8 @@ declare const router: {
|
|
|
11948
12087
|
settings: unknown;
|
|
11949
12088
|
summary: string;
|
|
11950
12089
|
title: string;
|
|
11951
|
-
id: string;
|
|
11952
12090
|
draftId: string | null;
|
|
12091
|
+
id: string;
|
|
11953
12092
|
deleted: boolean;
|
|
11954
12093
|
locale: string;
|
|
11955
12094
|
blockId: string | null;
|
|
@@ -12004,11 +12143,12 @@ declare const router: {
|
|
|
12004
12143
|
studio?: boolean | null | undefined;
|
|
12005
12144
|
};
|
|
12006
12145
|
db: Database;
|
|
12007
|
-
headers: Headers;
|
|
12008
12146
|
env: Bindings;
|
|
12147
|
+
headers: Headers;
|
|
12009
12148
|
client: string;
|
|
12010
12149
|
telemetryDisabled: boolean;
|
|
12011
12150
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12151
|
+
apiOrigin?: string | undefined;
|
|
12012
12152
|
draft: DraftRequest | null;
|
|
12013
12153
|
locale: string | undefined;
|
|
12014
12154
|
publishingDraft: string | undefined;
|
|
@@ -12039,11 +12179,12 @@ declare const router: {
|
|
|
12039
12179
|
studio?: boolean | null | undefined;
|
|
12040
12180
|
};
|
|
12041
12181
|
db: Database;
|
|
12042
|
-
headers: Headers;
|
|
12043
12182
|
env: Bindings;
|
|
12183
|
+
headers: Headers;
|
|
12044
12184
|
client: string;
|
|
12045
12185
|
telemetryDisabled: boolean;
|
|
12046
12186
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12187
|
+
apiOrigin?: string | undefined;
|
|
12047
12188
|
draft: DraftRequest | null;
|
|
12048
12189
|
locale: string | undefined;
|
|
12049
12190
|
publishingDraft: string | undefined;
|
|
@@ -12055,8 +12196,8 @@ declare const router: {
|
|
|
12055
12196
|
settings: unknown;
|
|
12056
12197
|
summary: string;
|
|
12057
12198
|
title: string;
|
|
12058
|
-
id: string;
|
|
12059
12199
|
draftId: string | null;
|
|
12200
|
+
id: string;
|
|
12060
12201
|
deleted: boolean;
|
|
12061
12202
|
locale: string;
|
|
12062
12203
|
blockId: string | null;
|
|
@@ -12078,8 +12219,8 @@ declare const router: {
|
|
|
12078
12219
|
settings: unknown;
|
|
12079
12220
|
summary: string;
|
|
12080
12221
|
title: string;
|
|
12081
|
-
id: string;
|
|
12082
12222
|
draftId: string | null;
|
|
12223
|
+
id: string;
|
|
12083
12224
|
deleted: boolean;
|
|
12084
12225
|
locale: string;
|
|
12085
12226
|
blockId: string | null;
|
|
@@ -12134,11 +12275,12 @@ declare const router: {
|
|
|
12134
12275
|
studio?: boolean | null | undefined;
|
|
12135
12276
|
};
|
|
12136
12277
|
db: Database;
|
|
12137
|
-
headers: Headers;
|
|
12138
12278
|
env: Bindings;
|
|
12279
|
+
headers: Headers;
|
|
12139
12280
|
client: string;
|
|
12140
12281
|
telemetryDisabled: boolean;
|
|
12141
12282
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12283
|
+
apiOrigin?: string | undefined;
|
|
12142
12284
|
draft: DraftRequest | null;
|
|
12143
12285
|
locale: string | undefined;
|
|
12144
12286
|
publishingDraft: string | undefined;
|
|
@@ -12169,11 +12311,12 @@ declare const router: {
|
|
|
12169
12311
|
studio?: boolean | null | undefined;
|
|
12170
12312
|
};
|
|
12171
12313
|
db: Database;
|
|
12172
|
-
headers: Headers;
|
|
12173
12314
|
env: Bindings;
|
|
12315
|
+
headers: Headers;
|
|
12174
12316
|
client: string;
|
|
12175
12317
|
telemetryDisabled: boolean;
|
|
12176
12318
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12319
|
+
apiOrigin?: string | undefined;
|
|
12177
12320
|
draft: DraftRequest | null;
|
|
12178
12321
|
locale: string | undefined;
|
|
12179
12322
|
publishingDraft: string | undefined;
|
|
@@ -12185,8 +12328,8 @@ declare const router: {
|
|
|
12185
12328
|
settings: unknown;
|
|
12186
12329
|
summary: string;
|
|
12187
12330
|
title: string;
|
|
12188
|
-
id: string;
|
|
12189
12331
|
draftId: string | null;
|
|
12332
|
+
id: string;
|
|
12190
12333
|
deleted: boolean;
|
|
12191
12334
|
locale: string;
|
|
12192
12335
|
blockId: string | null;
|
|
@@ -12208,8 +12351,8 @@ declare const router: {
|
|
|
12208
12351
|
settings: unknown;
|
|
12209
12352
|
summary: string;
|
|
12210
12353
|
title: string;
|
|
12211
|
-
id: string;
|
|
12212
12354
|
draftId: string | null;
|
|
12355
|
+
id: string;
|
|
12213
12356
|
deleted: boolean;
|
|
12214
12357
|
locale: string;
|
|
12215
12358
|
blockId: string | null;
|
|
@@ -12264,11 +12407,12 @@ declare const router: {
|
|
|
12264
12407
|
studio?: boolean | null | undefined;
|
|
12265
12408
|
};
|
|
12266
12409
|
db: Database;
|
|
12267
|
-
headers: Headers;
|
|
12268
12410
|
env: Bindings;
|
|
12411
|
+
headers: Headers;
|
|
12269
12412
|
client: string;
|
|
12270
12413
|
telemetryDisabled: boolean;
|
|
12271
12414
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12415
|
+
apiOrigin?: string | undefined;
|
|
12272
12416
|
draft: DraftRequest | null;
|
|
12273
12417
|
locale: string | undefined;
|
|
12274
12418
|
publishingDraft: string | undefined;
|
|
@@ -12299,11 +12443,12 @@ declare const router: {
|
|
|
12299
12443
|
studio?: boolean | null | undefined;
|
|
12300
12444
|
};
|
|
12301
12445
|
db: Database;
|
|
12302
|
-
headers: Headers;
|
|
12303
12446
|
env: Bindings;
|
|
12447
|
+
headers: Headers;
|
|
12304
12448
|
client: string;
|
|
12305
12449
|
telemetryDisabled: boolean;
|
|
12306
12450
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12451
|
+
apiOrigin?: string | undefined;
|
|
12307
12452
|
draft: DraftRequest | null;
|
|
12308
12453
|
locale: string | undefined;
|
|
12309
12454
|
publishingDraft: string | undefined;
|
|
@@ -12316,8 +12461,8 @@ declare const router: {
|
|
|
12316
12461
|
settings: unknown;
|
|
12317
12462
|
summary: string;
|
|
12318
12463
|
title: string;
|
|
12319
|
-
id: string;
|
|
12320
12464
|
draftId: string | null;
|
|
12465
|
+
id: string;
|
|
12321
12466
|
deleted: boolean;
|
|
12322
12467
|
locale: string;
|
|
12323
12468
|
blockId: string | null;
|
|
@@ -12339,8 +12484,8 @@ declare const router: {
|
|
|
12339
12484
|
settings: unknown;
|
|
12340
12485
|
summary: string;
|
|
12341
12486
|
title: string;
|
|
12342
|
-
id: string;
|
|
12343
12487
|
draftId: string | null;
|
|
12488
|
+
id: string;
|
|
12344
12489
|
deleted: boolean;
|
|
12345
12490
|
locale: string;
|
|
12346
12491
|
blockId: string | null;
|
|
@@ -12395,11 +12540,12 @@ declare const router: {
|
|
|
12395
12540
|
studio?: boolean | null | undefined;
|
|
12396
12541
|
};
|
|
12397
12542
|
db: Database;
|
|
12398
|
-
headers: Headers;
|
|
12399
12543
|
env: Bindings;
|
|
12544
|
+
headers: Headers;
|
|
12400
12545
|
client: string;
|
|
12401
12546
|
telemetryDisabled: boolean;
|
|
12402
12547
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12548
|
+
apiOrigin?: string | undefined;
|
|
12403
12549
|
draft: DraftRequest | null;
|
|
12404
12550
|
locale: string | undefined;
|
|
12405
12551
|
publishingDraft: string | undefined;
|
|
@@ -12430,11 +12576,12 @@ declare const router: {
|
|
|
12430
12576
|
studio?: boolean | null | undefined;
|
|
12431
12577
|
};
|
|
12432
12578
|
db: Database;
|
|
12433
|
-
headers: Headers;
|
|
12434
12579
|
env: Bindings;
|
|
12580
|
+
headers: Headers;
|
|
12435
12581
|
client: string;
|
|
12436
12582
|
telemetryDisabled: boolean;
|
|
12437
12583
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12584
|
+
apiOrigin?: string | undefined;
|
|
12438
12585
|
draft: DraftRequest | null;
|
|
12439
12586
|
locale: string | undefined;
|
|
12440
12587
|
publishingDraft: string | undefined;
|
|
@@ -12445,8 +12592,8 @@ declare const router: {
|
|
|
12445
12592
|
settings: unknown;
|
|
12446
12593
|
summary: string;
|
|
12447
12594
|
title: string;
|
|
12448
|
-
id: string;
|
|
12449
12595
|
draftId: string | null;
|
|
12596
|
+
id: string;
|
|
12450
12597
|
deleted: boolean;
|
|
12451
12598
|
locale: string;
|
|
12452
12599
|
blockId: string | null;
|
|
@@ -12468,8 +12615,8 @@ declare const router: {
|
|
|
12468
12615
|
settings: unknown;
|
|
12469
12616
|
summary: string;
|
|
12470
12617
|
title: string;
|
|
12471
|
-
id: string;
|
|
12472
12618
|
draftId: string | null;
|
|
12619
|
+
id: string;
|
|
12473
12620
|
deleted: boolean;
|
|
12474
12621
|
locale: string;
|
|
12475
12622
|
blockId: string | null;
|
|
@@ -12522,11 +12669,12 @@ declare const router: {
|
|
|
12522
12669
|
studio?: boolean | null | undefined;
|
|
12523
12670
|
};
|
|
12524
12671
|
db: Database;
|
|
12525
|
-
headers: Headers;
|
|
12526
12672
|
env: Bindings;
|
|
12673
|
+
headers: Headers;
|
|
12527
12674
|
client: string;
|
|
12528
12675
|
telemetryDisabled: boolean;
|
|
12529
12676
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12677
|
+
apiOrigin?: string | undefined;
|
|
12530
12678
|
draft: DraftRequest | null;
|
|
12531
12679
|
locale: string | undefined;
|
|
12532
12680
|
publishingDraft: string | undefined;
|
|
@@ -12537,8 +12685,8 @@ declare const router: {
|
|
|
12537
12685
|
settings: unknown;
|
|
12538
12686
|
summary: string;
|
|
12539
12687
|
title: string;
|
|
12540
|
-
id: string;
|
|
12541
12688
|
draftId: string | null;
|
|
12689
|
+
id: string;
|
|
12542
12690
|
deleted: boolean;
|
|
12543
12691
|
locale: string;
|
|
12544
12692
|
blockId: string | null;
|
|
@@ -12560,8 +12708,8 @@ declare const router: {
|
|
|
12560
12708
|
settings: unknown;
|
|
12561
12709
|
summary: string;
|
|
12562
12710
|
title: string;
|
|
12563
|
-
id: string;
|
|
12564
12711
|
draftId: string | null;
|
|
12712
|
+
id: string;
|
|
12565
12713
|
deleted: boolean;
|
|
12566
12714
|
locale: string;
|
|
12567
12715
|
blockId: string | null;
|
|
@@ -12616,11 +12764,12 @@ declare const router: {
|
|
|
12616
12764
|
studio?: boolean | null | undefined;
|
|
12617
12765
|
};
|
|
12618
12766
|
db: Database;
|
|
12619
|
-
headers: Headers;
|
|
12620
12767
|
env: Bindings;
|
|
12768
|
+
headers: Headers;
|
|
12621
12769
|
client: string;
|
|
12622
12770
|
telemetryDisabled: boolean;
|
|
12623
12771
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12772
|
+
apiOrigin?: string | undefined;
|
|
12624
12773
|
draft: DraftRequest | null;
|
|
12625
12774
|
locale: string | undefined;
|
|
12626
12775
|
publishingDraft: string | undefined;
|
|
@@ -12651,11 +12800,12 @@ declare const router: {
|
|
|
12651
12800
|
studio?: boolean | null | undefined;
|
|
12652
12801
|
};
|
|
12653
12802
|
db: Database;
|
|
12654
|
-
headers: Headers;
|
|
12655
12803
|
env: Bindings;
|
|
12804
|
+
headers: Headers;
|
|
12656
12805
|
client: string;
|
|
12657
12806
|
telemetryDisabled: boolean;
|
|
12658
12807
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12808
|
+
apiOrigin?: string | undefined;
|
|
12659
12809
|
draft: DraftRequest | null;
|
|
12660
12810
|
locale: string | undefined;
|
|
12661
12811
|
publishingDraft: string | undefined;
|
|
@@ -12666,8 +12816,8 @@ declare const router: {
|
|
|
12666
12816
|
settings: unknown;
|
|
12667
12817
|
summary: string;
|
|
12668
12818
|
title: string;
|
|
12669
|
-
id: string;
|
|
12670
12819
|
draftId: string | null;
|
|
12820
|
+
id: string;
|
|
12671
12821
|
deleted: boolean;
|
|
12672
12822
|
locale: string;
|
|
12673
12823
|
blockId: string | null;
|
|
@@ -12689,8 +12839,8 @@ declare const router: {
|
|
|
12689
12839
|
settings: unknown;
|
|
12690
12840
|
summary: string;
|
|
12691
12841
|
title: string;
|
|
12692
|
-
id: string;
|
|
12693
12842
|
draftId: string | null;
|
|
12843
|
+
id: string;
|
|
12694
12844
|
deleted: boolean;
|
|
12695
12845
|
locale: string;
|
|
12696
12846
|
blockId: string | null;
|
|
@@ -12786,11 +12936,12 @@ declare const router: {
|
|
|
12786
12936
|
studio?: boolean | null | undefined;
|
|
12787
12937
|
};
|
|
12788
12938
|
db: Database;
|
|
12789
|
-
headers: Headers;
|
|
12790
12939
|
env: Bindings;
|
|
12940
|
+
headers: Headers;
|
|
12791
12941
|
client: string;
|
|
12792
12942
|
telemetryDisabled: boolean;
|
|
12793
12943
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12944
|
+
apiOrigin?: string | undefined;
|
|
12794
12945
|
draft: DraftRequest | null;
|
|
12795
12946
|
locale: string | undefined;
|
|
12796
12947
|
publishingDraft: string | undefined;
|
|
@@ -12844,11 +12995,12 @@ declare const router: {
|
|
|
12844
12995
|
studio?: boolean | null | undefined;
|
|
12845
12996
|
};
|
|
12846
12997
|
db: Database;
|
|
12847
|
-
headers: Headers;
|
|
12848
12998
|
env: Bindings;
|
|
12999
|
+
headers: Headers;
|
|
12849
13000
|
client: string;
|
|
12850
13001
|
telemetryDisabled: boolean;
|
|
12851
13002
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13003
|
+
apiOrigin?: string | undefined;
|
|
12852
13004
|
draft: DraftRequest | null;
|
|
12853
13005
|
locale: string | undefined;
|
|
12854
13006
|
publishingDraft: string | undefined;
|
|
@@ -12905,11 +13057,12 @@ declare const router: {
|
|
|
12905
13057
|
studio?: boolean | null | undefined;
|
|
12906
13058
|
};
|
|
12907
13059
|
db: Database;
|
|
12908
|
-
headers: Headers;
|
|
12909
13060
|
env: Bindings;
|
|
13061
|
+
headers: Headers;
|
|
12910
13062
|
client: string;
|
|
12911
13063
|
telemetryDisabled: boolean;
|
|
12912
13064
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13065
|
+
apiOrigin?: string | undefined;
|
|
12913
13066
|
draft: DraftRequest | null;
|
|
12914
13067
|
locale: string | undefined;
|
|
12915
13068
|
publishingDraft: string | undefined;
|
|
@@ -12962,11 +13115,12 @@ declare const router: {
|
|
|
12962
13115
|
studio?: boolean | null | undefined;
|
|
12963
13116
|
};
|
|
12964
13117
|
db: Database;
|
|
12965
|
-
headers: Headers;
|
|
12966
13118
|
env: Bindings;
|
|
13119
|
+
headers: Headers;
|
|
12967
13120
|
client: string;
|
|
12968
13121
|
telemetryDisabled: boolean;
|
|
12969
13122
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13123
|
+
apiOrigin?: string | undefined;
|
|
12970
13124
|
draft: DraftRequest | null;
|
|
12971
13125
|
locale: string | undefined;
|
|
12972
13126
|
publishingDraft: string | undefined;
|
|
@@ -13026,11 +13180,12 @@ declare const router: {
|
|
|
13026
13180
|
studio?: boolean | null | undefined;
|
|
13027
13181
|
};
|
|
13028
13182
|
db: Database;
|
|
13029
|
-
headers: Headers;
|
|
13030
13183
|
env: Bindings;
|
|
13184
|
+
headers: Headers;
|
|
13031
13185
|
client: string;
|
|
13032
13186
|
telemetryDisabled: boolean;
|
|
13033
13187
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13188
|
+
apiOrigin?: string | undefined;
|
|
13034
13189
|
draft: DraftRequest | null;
|
|
13035
13190
|
locale: string | undefined;
|
|
13036
13191
|
publishingDraft: string | undefined;
|
|
@@ -13145,11 +13300,12 @@ declare const router: {
|
|
|
13145
13300
|
studio?: boolean | null | undefined;
|
|
13146
13301
|
};
|
|
13147
13302
|
db: Database;
|
|
13148
|
-
headers: Headers;
|
|
13149
13303
|
env: Bindings;
|
|
13304
|
+
headers: Headers;
|
|
13150
13305
|
client: string;
|
|
13151
13306
|
telemetryDisabled: boolean;
|
|
13152
13307
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13308
|
+
apiOrigin?: string | undefined;
|
|
13153
13309
|
draft: DraftRequest | null;
|
|
13154
13310
|
locale: string | undefined;
|
|
13155
13311
|
publishingDraft: string | undefined;
|
|
@@ -13180,11 +13336,12 @@ declare const router: {
|
|
|
13180
13336
|
studio?: boolean | null | undefined;
|
|
13181
13337
|
};
|
|
13182
13338
|
db: Database;
|
|
13183
|
-
headers: Headers;
|
|
13184
13339
|
env: Bindings;
|
|
13340
|
+
headers: Headers;
|
|
13185
13341
|
client: string;
|
|
13186
13342
|
telemetryDisabled: boolean;
|
|
13187
13343
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13344
|
+
apiOrigin?: string | undefined;
|
|
13188
13345
|
draft: DraftRequest | null;
|
|
13189
13346
|
locale: string | undefined;
|
|
13190
13347
|
publishingDraft: string | undefined;
|
|
@@ -13247,11 +13404,12 @@ declare const router: {
|
|
|
13247
13404
|
studio?: boolean | null | undefined;
|
|
13248
13405
|
};
|
|
13249
13406
|
db: Database;
|
|
13250
|
-
headers: Headers;
|
|
13251
13407
|
env: Bindings;
|
|
13408
|
+
headers: Headers;
|
|
13252
13409
|
client: string;
|
|
13253
13410
|
telemetryDisabled: boolean;
|
|
13254
13411
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13412
|
+
apiOrigin?: string | undefined;
|
|
13255
13413
|
draft: DraftRequest | null;
|
|
13256
13414
|
locale: string | undefined;
|
|
13257
13415
|
publishingDraft: string | undefined;
|
|
@@ -13282,11 +13440,12 @@ declare const router: {
|
|
|
13282
13440
|
studio?: boolean | null | undefined;
|
|
13283
13441
|
};
|
|
13284
13442
|
db: Database;
|
|
13285
|
-
headers: Headers;
|
|
13286
13443
|
env: Bindings;
|
|
13444
|
+
headers: Headers;
|
|
13287
13445
|
client: string;
|
|
13288
13446
|
telemetryDisabled: boolean;
|
|
13289
13447
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13448
|
+
apiOrigin?: string | undefined;
|
|
13290
13449
|
draft: DraftRequest | null;
|
|
13291
13450
|
locale: string | undefined;
|
|
13292
13451
|
publishingDraft: string | undefined;
|
|
@@ -13349,11 +13508,12 @@ declare const router: {
|
|
|
13349
13508
|
studio?: boolean | null | undefined;
|
|
13350
13509
|
};
|
|
13351
13510
|
db: Database;
|
|
13352
|
-
headers: Headers;
|
|
13353
13511
|
env: Bindings;
|
|
13512
|
+
headers: Headers;
|
|
13354
13513
|
client: string;
|
|
13355
13514
|
telemetryDisabled: boolean;
|
|
13356
13515
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13516
|
+
apiOrigin?: string | undefined;
|
|
13357
13517
|
draft: DraftRequest | null;
|
|
13358
13518
|
locale: string | undefined;
|
|
13359
13519
|
publishingDraft: string | undefined;
|
|
@@ -13384,11 +13544,12 @@ declare const router: {
|
|
|
13384
13544
|
studio?: boolean | null | undefined;
|
|
13385
13545
|
};
|
|
13386
13546
|
db: Database;
|
|
13387
|
-
headers: Headers;
|
|
13388
13547
|
env: Bindings;
|
|
13548
|
+
headers: Headers;
|
|
13389
13549
|
client: string;
|
|
13390
13550
|
telemetryDisabled: boolean;
|
|
13391
13551
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13552
|
+
apiOrigin?: string | undefined;
|
|
13392
13553
|
draft: DraftRequest | null;
|
|
13393
13554
|
locale: string | undefined;
|
|
13394
13555
|
publishingDraft: string | undefined;
|
|
@@ -13464,14 +13625,14 @@ declare const router: {
|
|
|
13464
13625
|
properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
13465
13626
|
fieldType: import("zod").ZodEnum<{
|
|
13466
13627
|
String: "String";
|
|
13467
|
-
Embed: "Embed";
|
|
13468
|
-
Link: "Link";
|
|
13469
13628
|
Boolean: "Boolean";
|
|
13470
13629
|
Enum: "Enum";
|
|
13630
|
+
Embed: "Embed";
|
|
13471
13631
|
Image: "Image";
|
|
13472
13632
|
File: "File";
|
|
13473
13633
|
ImageList: "ImageList";
|
|
13474
13634
|
FileList: "FileList";
|
|
13635
|
+
Link: "Link";
|
|
13475
13636
|
Repeater: "Repeater";
|
|
13476
13637
|
Reference: "Reference";
|
|
13477
13638
|
ReferenceList: "ReferenceList";
|
|
@@ -13514,7 +13675,7 @@ declare const router: {
|
|
|
13514
13675
|
contentSchema: {
|
|
13515
13676
|
type: "object";
|
|
13516
13677
|
properties: Record<string, {
|
|
13517
|
-
fieldType: "String" | "
|
|
13678
|
+
fieldType: "String" | "Boolean" | "Enum" | "Embed" | "Image" | "File" | "ImageList" | "FileList" | "Link" | "Repeater" | "Reference" | "ReferenceList";
|
|
13518
13679
|
type?: string | undefined;
|
|
13519
13680
|
anyOf?: unknown;
|
|
13520
13681
|
title?: string | undefined;
|
|
@@ -13551,7 +13712,7 @@ declare const router: {
|
|
|
13551
13712
|
contentSchema: {
|
|
13552
13713
|
type: "object";
|
|
13553
13714
|
properties: Record<string, {
|
|
13554
|
-
fieldType: "String" | "
|
|
13715
|
+
fieldType: "String" | "Boolean" | "Enum" | "Embed" | "Image" | "File" | "ImageList" | "FileList" | "Link" | "Repeater" | "Reference" | "ReferenceList";
|
|
13555
13716
|
type?: string | undefined;
|
|
13556
13717
|
anyOf?: unknown;
|
|
13557
13718
|
title?: string | undefined;
|
|
@@ -13695,11 +13856,12 @@ declare const router: {
|
|
|
13695
13856
|
studio?: boolean | null | undefined;
|
|
13696
13857
|
};
|
|
13697
13858
|
db: Database;
|
|
13698
|
-
headers: Headers;
|
|
13699
13859
|
env: Bindings;
|
|
13860
|
+
headers: Headers;
|
|
13700
13861
|
client: string;
|
|
13701
13862
|
telemetryDisabled: boolean;
|
|
13702
13863
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13864
|
+
apiOrigin?: string | undefined;
|
|
13703
13865
|
draft: DraftRequest | null;
|
|
13704
13866
|
locale: string | undefined;
|
|
13705
13867
|
publishingDraft: string | undefined;
|
|
@@ -13755,11 +13917,12 @@ declare const router: {
|
|
|
13755
13917
|
studio?: boolean | null | undefined;
|
|
13756
13918
|
};
|
|
13757
13919
|
db: Database;
|
|
13758
|
-
headers: Headers;
|
|
13759
13920
|
env: Bindings;
|
|
13921
|
+
headers: Headers;
|
|
13760
13922
|
client: string;
|
|
13761
13923
|
telemetryDisabled: boolean;
|
|
13762
13924
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13925
|
+
apiOrigin?: string | undefined;
|
|
13763
13926
|
draft: DraftRequest | null;
|
|
13764
13927
|
locale: string | undefined;
|
|
13765
13928
|
publishingDraft: string | undefined;
|
|
@@ -13802,11 +13965,12 @@ declare const router: {
|
|
|
13802
13965
|
studio?: boolean | null | undefined;
|
|
13803
13966
|
};
|
|
13804
13967
|
db: Database;
|
|
13805
|
-
headers: Headers;
|
|
13806
13968
|
env: Bindings;
|
|
13969
|
+
headers: Headers;
|
|
13807
13970
|
client: string;
|
|
13808
13971
|
telemetryDisabled: boolean;
|
|
13809
13972
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13973
|
+
apiOrigin?: string | undefined;
|
|
13810
13974
|
draft: DraftRequest | null;
|
|
13811
13975
|
locale: string | undefined;
|
|
13812
13976
|
publishingDraft: string | undefined;
|
|
@@ -13848,11 +14012,12 @@ declare const router: {
|
|
|
13848
14012
|
studio?: boolean | null | undefined;
|
|
13849
14013
|
};
|
|
13850
14014
|
db: Database;
|
|
13851
|
-
headers: Headers;
|
|
13852
14015
|
env: Bindings;
|
|
14016
|
+
headers: Headers;
|
|
13853
14017
|
client: string;
|
|
13854
14018
|
telemetryDisabled: boolean;
|
|
13855
14019
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14020
|
+
apiOrigin?: string | undefined;
|
|
13856
14021
|
draft: DraftRequest | null;
|
|
13857
14022
|
locale: string | undefined;
|
|
13858
14023
|
publishingDraft: string | undefined;
|
|
@@ -13895,11 +14060,12 @@ declare const router: {
|
|
|
13895
14060
|
studio?: boolean | null | undefined;
|
|
13896
14061
|
};
|
|
13897
14062
|
db: Database;
|
|
13898
|
-
headers: Headers;
|
|
13899
14063
|
env: Bindings;
|
|
14064
|
+
headers: Headers;
|
|
13900
14065
|
client: string;
|
|
13901
14066
|
telemetryDisabled: boolean;
|
|
13902
14067
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14068
|
+
apiOrigin?: string | undefined;
|
|
13903
14069
|
draft: DraftRequest | null;
|
|
13904
14070
|
locale: string | undefined;
|
|
13905
14071
|
publishingDraft: string | undefined;
|
|
@@ -13985,11 +14151,12 @@ declare const router: {
|
|
|
13985
14151
|
studio?: boolean | null | undefined;
|
|
13986
14152
|
};
|
|
13987
14153
|
db: Database;
|
|
13988
|
-
headers: Headers;
|
|
13989
14154
|
env: Bindings;
|
|
14155
|
+
headers: Headers;
|
|
13990
14156
|
client: string;
|
|
13991
14157
|
telemetryDisabled: boolean;
|
|
13992
14158
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14159
|
+
apiOrigin?: string | undefined;
|
|
13993
14160
|
draft: DraftRequest | null;
|
|
13994
14161
|
locale: string | undefined;
|
|
13995
14162
|
publishingDraft: string | undefined;
|
|
@@ -14031,11 +14198,12 @@ declare const router: {
|
|
|
14031
14198
|
studio?: boolean | null | undefined;
|
|
14032
14199
|
};
|
|
14033
14200
|
db: Database;
|
|
14034
|
-
headers: Headers;
|
|
14035
14201
|
env: Bindings;
|
|
14202
|
+
headers: Headers;
|
|
14036
14203
|
client: string;
|
|
14037
14204
|
telemetryDisabled: boolean;
|
|
14038
14205
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14206
|
+
apiOrigin?: string | undefined;
|
|
14039
14207
|
draft: DraftRequest | null;
|
|
14040
14208
|
locale: string | undefined;
|
|
14041
14209
|
publishingDraft: string | undefined;
|
|
@@ -14045,7 +14213,7 @@ declare const router: {
|
|
|
14045
14213
|
publishAnyway: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
14046
14214
|
revision: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14047
14215
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<PublishResult, PublishResult>, Record<never, never>, Record<never, never>>;
|
|
14048
|
-
|
|
14216
|
+
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>>, {
|
|
14049
14217
|
draft: DraftRequest | null;
|
|
14050
14218
|
locale: string | undefined;
|
|
14051
14219
|
publishingDraft: string | undefined;
|
|
@@ -14080,11 +14248,12 @@ declare const router: {
|
|
|
14080
14248
|
studio?: boolean | null | undefined;
|
|
14081
14249
|
};
|
|
14082
14250
|
db: Database;
|
|
14083
|
-
headers: Headers;
|
|
14084
14251
|
env: Bindings;
|
|
14252
|
+
headers: Headers;
|
|
14085
14253
|
client: string;
|
|
14086
14254
|
telemetryDisabled: boolean;
|
|
14087
14255
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14256
|
+
apiOrigin?: string | undefined;
|
|
14088
14257
|
draft: DraftRequest | null;
|
|
14089
14258
|
locale: string | undefined;
|
|
14090
14259
|
publishingDraft: string | undefined;
|
|
@@ -14130,11 +14299,12 @@ declare const router: {
|
|
|
14130
14299
|
studio?: boolean | null | undefined;
|
|
14131
14300
|
};
|
|
14132
14301
|
db: Database;
|
|
14133
|
-
headers: Headers;
|
|
14134
14302
|
env: Bindings;
|
|
14303
|
+
headers: Headers;
|
|
14135
14304
|
client: string;
|
|
14136
14305
|
telemetryDisabled: boolean;
|
|
14137
14306
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14307
|
+
apiOrigin?: string | undefined;
|
|
14138
14308
|
draft: DraftRequest | null;
|
|
14139
14309
|
locale: string | undefined;
|
|
14140
14310
|
publishingDraft: string | undefined;
|
|
@@ -14189,11 +14359,12 @@ declare const router: {
|
|
|
14189
14359
|
studio?: boolean | null | undefined;
|
|
14190
14360
|
};
|
|
14191
14361
|
db: Database;
|
|
14192
|
-
headers: Headers;
|
|
14193
14362
|
env: Bindings;
|
|
14363
|
+
headers: Headers;
|
|
14194
14364
|
client: string;
|
|
14195
14365
|
telemetryDisabled: boolean;
|
|
14196
14366
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14367
|
+
apiOrigin?: string | undefined;
|
|
14197
14368
|
draft: DraftRequest | null;
|
|
14198
14369
|
locale: string | undefined;
|
|
14199
14370
|
publishingDraft: string | undefined;
|
|
@@ -14237,11 +14408,12 @@ declare const router: {
|
|
|
14237
14408
|
studio?: boolean | null | undefined;
|
|
14238
14409
|
};
|
|
14239
14410
|
db: Database;
|
|
14240
|
-
headers: Headers;
|
|
14241
14411
|
env: Bindings;
|
|
14412
|
+
headers: Headers;
|
|
14242
14413
|
client: string;
|
|
14243
14414
|
telemetryDisabled: boolean;
|
|
14244
14415
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14416
|
+
apiOrigin?: string | undefined;
|
|
14245
14417
|
draft: DraftRequest | null;
|
|
14246
14418
|
locale: string | undefined;
|
|
14247
14419
|
publishingDraft: string | undefined;
|
|
@@ -14249,6 +14421,59 @@ declare const router: {
|
|
|
14249
14421
|
projectId: import("zod").ZodNumber;
|
|
14250
14422
|
}, 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>>;
|
|
14251
14423
|
};
|
|
14424
|
+
patrol: {
|
|
14425
|
+
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>>, {
|
|
14426
|
+
draft: DraftRequest | null;
|
|
14427
|
+
locale: string | undefined;
|
|
14428
|
+
publishingDraft: string | undefined;
|
|
14429
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
14430
|
+
draft: DraftRequest | null;
|
|
14431
|
+
locale: string | undefined;
|
|
14432
|
+
publishingDraft: string | undefined;
|
|
14433
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
14434
|
+
draft: DraftRequest | null;
|
|
14435
|
+
locale: string | undefined;
|
|
14436
|
+
publishingDraft: string | undefined;
|
|
14437
|
+
}>, {
|
|
14438
|
+
user: {
|
|
14439
|
+
id: string;
|
|
14440
|
+
createdAt: Date;
|
|
14441
|
+
updatedAt: Date;
|
|
14442
|
+
email: string;
|
|
14443
|
+
emailVerified: boolean;
|
|
14444
|
+
name: string;
|
|
14445
|
+
image?: string | null | undefined;
|
|
14446
|
+
};
|
|
14447
|
+
session: {
|
|
14448
|
+
id: string;
|
|
14449
|
+
createdAt: Date;
|
|
14450
|
+
updatedAt: Date;
|
|
14451
|
+
userId: string;
|
|
14452
|
+
expiresAt: Date;
|
|
14453
|
+
token: string;
|
|
14454
|
+
ipAddress?: string | null | undefined;
|
|
14455
|
+
userAgent?: string | null | undefined;
|
|
14456
|
+
activeOrganizationId?: string | null | undefined;
|
|
14457
|
+
studio?: boolean | null | undefined;
|
|
14458
|
+
};
|
|
14459
|
+
db: Database;
|
|
14460
|
+
env: Bindings;
|
|
14461
|
+
headers: Headers;
|
|
14462
|
+
client: string;
|
|
14463
|
+
telemetryDisabled: boolean;
|
|
14464
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
14465
|
+
apiOrigin?: string | undefined;
|
|
14466
|
+
draft: DraftRequest | null;
|
|
14467
|
+
locale: string | undefined;
|
|
14468
|
+
publishingDraft: string | undefined;
|
|
14469
|
+
}>, import("zod").ZodObject<{
|
|
14470
|
+
projectId: import("zod").ZodNumber;
|
|
14471
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14472
|
+
patrollers: import("@camox/api-contract/patrol").PatrollerView[];
|
|
14473
|
+
}, {
|
|
14474
|
+
patrollers: import("@camox/api-contract/patrol").PatrollerView[];
|
|
14475
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
14476
|
+
};
|
|
14252
14477
|
};
|
|
14253
14478
|
type Router = typeof router;
|
|
14254
14479
|
//#endregion
|