@camox/api-contract 0.56.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/patrol.d.ts +114 -0
- package/dist/patrol.js +8 -0
- package/dist/query-keys.d.ts +3 -0
- package/dist/query-keys.js +2 -1
- package/dist/router.d.ts +278 -148
- package/dist/threads.d.ts +79 -26
- package/dist/threads.js +90 -24
- package/package.json +5 -1
- package/src/patrol.ts +113 -0
- package/src/query-keys.ts +4 -0
- 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
|
|
@@ -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
|
|
@@ -7045,19 +7135,6 @@ type PublishResult = {
|
|
|
7045
7135
|
publishing: true;
|
|
7046
7136
|
};
|
|
7047
7137
|
//#endregion
|
|
7048
|
-
//#region ../../apps/api/src/domains/agent/service.d.ts
|
|
7049
|
-
type ToolExecutionResponse = {
|
|
7050
|
-
ok: true;
|
|
7051
|
-
result: unknown;
|
|
7052
|
-
} | {
|
|
7053
|
-
ok: false;
|
|
7054
|
-
error: {
|
|
7055
|
-
code: string;
|
|
7056
|
-
message: string;
|
|
7057
|
-
details?: unknown;
|
|
7058
|
-
};
|
|
7059
|
-
};
|
|
7060
|
-
//#endregion
|
|
7061
7138
|
//#region ../../apps/api/src/router.d.ts
|
|
7062
7139
|
declare const router: {
|
|
7063
7140
|
projects: {
|
|
@@ -7286,9 +7363,9 @@ declare const router: {
|
|
|
7286
7363
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7287
7364
|
organizationSlug: string | null;
|
|
7288
7365
|
analytics: AnalyticsProviders;
|
|
7366
|
+
name: string;
|
|
7289
7367
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7290
7368
|
id: number;
|
|
7291
|
-
name: string;
|
|
7292
7369
|
uuid: string;
|
|
7293
7370
|
slug: string;
|
|
7294
7371
|
deployToken: string;
|
|
@@ -7308,9 +7385,9 @@ declare const router: {
|
|
|
7308
7385
|
}, {
|
|
7309
7386
|
organizationSlug: string | null;
|
|
7310
7387
|
analytics: AnalyticsProviders;
|
|
7388
|
+
name: string;
|
|
7311
7389
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7312
7390
|
id: number;
|
|
7313
|
-
name: string;
|
|
7314
7391
|
uuid: string;
|
|
7315
7392
|
slug: string;
|
|
7316
7393
|
deployToken: string;
|
|
@@ -7377,9 +7454,9 @@ declare const router: {
|
|
|
7377
7454
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7378
7455
|
organizationSlug: string | null;
|
|
7379
7456
|
analytics: AnalyticsProviders;
|
|
7457
|
+
name: string;
|
|
7380
7458
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7381
7459
|
id: number;
|
|
7382
|
-
name: string;
|
|
7383
7460
|
uuid: string;
|
|
7384
7461
|
slug: string;
|
|
7385
7462
|
deployToken: string;
|
|
@@ -7399,9 +7476,9 @@ declare const router: {
|
|
|
7399
7476
|
}, {
|
|
7400
7477
|
organizationSlug: string | null;
|
|
7401
7478
|
analytics: AnalyticsProviders;
|
|
7479
|
+
name: string;
|
|
7402
7480
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7403
7481
|
id: number;
|
|
7404
|
-
name: string;
|
|
7405
7482
|
uuid: string;
|
|
7406
7483
|
slug: string;
|
|
7407
7484
|
deployToken: string;
|
|
@@ -7485,9 +7562,9 @@ declare const router: {
|
|
|
7485
7562
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7486
7563
|
organizationSlug: string | null;
|
|
7487
7564
|
analytics: AnalyticsProviders;
|
|
7565
|
+
name: string;
|
|
7488
7566
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7489
7567
|
id: number;
|
|
7490
|
-
name: string;
|
|
7491
7568
|
uuid: string;
|
|
7492
7569
|
slug: string;
|
|
7493
7570
|
deployToken: string;
|
|
@@ -7507,9 +7584,9 @@ declare const router: {
|
|
|
7507
7584
|
}, {
|
|
7508
7585
|
organizationSlug: string | null;
|
|
7509
7586
|
analytics: AnalyticsProviders;
|
|
7587
|
+
name: string;
|
|
7510
7588
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7511
7589
|
id: number;
|
|
7512
|
-
name: string;
|
|
7513
7590
|
uuid: string;
|
|
7514
7591
|
slug: string;
|
|
7515
7592
|
deployToken: string;
|
|
@@ -7635,9 +7712,9 @@ declare const router: {
|
|
|
7635
7712
|
slug: import("zod").ZodString;
|
|
7636
7713
|
organizationId: import("zod").ZodString;
|
|
7637
7714
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7715
|
+
name: string;
|
|
7638
7716
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7639
7717
|
id: number;
|
|
7640
|
-
name: string;
|
|
7641
7718
|
uuid: string;
|
|
7642
7719
|
slug: string;
|
|
7643
7720
|
deployToken: string;
|
|
@@ -7655,9 +7732,9 @@ declare const router: {
|
|
|
7655
7732
|
liveScript: string | null;
|
|
7656
7733
|
updatedAt: number;
|
|
7657
7734
|
}, {
|
|
7735
|
+
name: string;
|
|
7658
7736
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7659
7737
|
id: number;
|
|
7660
|
-
name: string;
|
|
7661
7738
|
uuid: string;
|
|
7662
7739
|
slug: string;
|
|
7663
7740
|
deployToken: string;
|
|
@@ -7723,9 +7800,9 @@ declare const router: {
|
|
|
7723
7800
|
id: import("zod").ZodNumber;
|
|
7724
7801
|
name: import("zod").ZodString;
|
|
7725
7802
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7803
|
+
name: string;
|
|
7726
7804
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7727
7805
|
id: number;
|
|
7728
|
-
name: string;
|
|
7729
7806
|
uuid: string;
|
|
7730
7807
|
slug: string;
|
|
7731
7808
|
deployToken: string;
|
|
@@ -7743,9 +7820,9 @@ declare const router: {
|
|
|
7743
7820
|
liveScript: string | null;
|
|
7744
7821
|
updatedAt: number;
|
|
7745
7822
|
}, {
|
|
7823
|
+
name: string;
|
|
7746
7824
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7747
7825
|
id: number;
|
|
7748
|
-
name: string;
|
|
7749
7826
|
uuid: string;
|
|
7750
7827
|
slug: string;
|
|
7751
7828
|
deployToken: string;
|
|
@@ -7927,9 +8004,9 @@ declare const router: {
|
|
|
7927
8004
|
}>, import("zod").ZodObject<{
|
|
7928
8005
|
id: import("zod").ZodNumber;
|
|
7929
8006
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8007
|
+
name: string;
|
|
7930
8008
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7931
8009
|
id: number;
|
|
7932
|
-
name: string;
|
|
7933
8010
|
uuid: string;
|
|
7934
8011
|
slug: string;
|
|
7935
8012
|
deployToken: string;
|
|
@@ -7947,9 +8024,9 @@ declare const router: {
|
|
|
7947
8024
|
liveScript: string | null;
|
|
7948
8025
|
updatedAt: number;
|
|
7949
8026
|
} | undefined, {
|
|
8027
|
+
name: string;
|
|
7950
8028
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7951
8029
|
id: number;
|
|
7952
|
-
name: string;
|
|
7953
8030
|
uuid: string;
|
|
7954
8031
|
slug: string;
|
|
7955
8032
|
deployToken: string;
|
|
@@ -7979,8 +8056,8 @@ declare const router: {
|
|
|
7979
8056
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7980
8057
|
page: {
|
|
7981
8058
|
blockIds: string[];
|
|
7982
|
-
id: string;
|
|
7983
8059
|
draftId: string | null;
|
|
8060
|
+
id: string;
|
|
7984
8061
|
deleted: boolean;
|
|
7985
8062
|
locale: string;
|
|
7986
8063
|
layoutId: string;
|
|
@@ -8020,14 +8097,15 @@ declare const router: {
|
|
|
8020
8097
|
afterBlockIds: string[];
|
|
8021
8098
|
} | null;
|
|
8022
8099
|
blocks: (Omit<{
|
|
8023
|
-
type: string;
|
|
8024
|
-
id: string;
|
|
8025
8100
|
draftId: string | null;
|
|
8101
|
+
id: string;
|
|
8026
8102
|
deleted: boolean;
|
|
8027
8103
|
settings: unknown;
|
|
8028
8104
|
locale: string;
|
|
8029
8105
|
pageId: string | null;
|
|
8030
8106
|
layoutId: string | null;
|
|
8107
|
+
type: string;
|
|
8108
|
+
content: unknown;
|
|
8031
8109
|
createdAt: number;
|
|
8032
8110
|
updatedAt: number;
|
|
8033
8111
|
projectId: number;
|
|
@@ -8037,7 +8115,6 @@ declare const router: {
|
|
|
8037
8115
|
firstPublishedAt: number | null;
|
|
8038
8116
|
publishedAt: number | null;
|
|
8039
8117
|
publishedBy: string | null;
|
|
8040
|
-
content: unknown;
|
|
8041
8118
|
slot: "before" | "after" | null;
|
|
8042
8119
|
position: string;
|
|
8043
8120
|
}, "content"> & {
|
|
@@ -8049,12 +8126,13 @@ declare const router: {
|
|
|
8049
8126
|
references: ResolvedReferences;
|
|
8050
8127
|
})[];
|
|
8051
8128
|
repeatableItems: (Omit<{
|
|
8052
|
-
id: string;
|
|
8053
8129
|
draftId: string | null;
|
|
8130
|
+
id: string;
|
|
8054
8131
|
deleted: boolean;
|
|
8055
8132
|
settings: unknown;
|
|
8056
8133
|
locale: string;
|
|
8057
8134
|
blockId: string | null;
|
|
8135
|
+
content: unknown;
|
|
8058
8136
|
createdAt: number;
|
|
8059
8137
|
updatedAt: number;
|
|
8060
8138
|
projectId: number | null;
|
|
@@ -8064,7 +8142,6 @@ declare const router: {
|
|
|
8064
8142
|
firstPublishedAt: number | null;
|
|
8065
8143
|
publishedAt: number | null;
|
|
8066
8144
|
publishedBy: string | null;
|
|
8067
|
-
content: unknown;
|
|
8068
8145
|
position: string;
|
|
8069
8146
|
sharedContentType: string | null;
|
|
8070
8147
|
parentItemId: string | null;
|
|
@@ -8084,8 +8161,8 @@ declare const router: {
|
|
|
8084
8161
|
}, {
|
|
8085
8162
|
page: {
|
|
8086
8163
|
blockIds: string[];
|
|
8087
|
-
id: string;
|
|
8088
8164
|
draftId: string | null;
|
|
8165
|
+
id: string;
|
|
8089
8166
|
deleted: boolean;
|
|
8090
8167
|
locale: string;
|
|
8091
8168
|
layoutId: string;
|
|
@@ -8125,14 +8202,15 @@ declare const router: {
|
|
|
8125
8202
|
afterBlockIds: string[];
|
|
8126
8203
|
} | null;
|
|
8127
8204
|
blocks: (Omit<{
|
|
8128
|
-
type: string;
|
|
8129
|
-
id: string;
|
|
8130
8205
|
draftId: string | null;
|
|
8206
|
+
id: string;
|
|
8131
8207
|
deleted: boolean;
|
|
8132
8208
|
settings: unknown;
|
|
8133
8209
|
locale: string;
|
|
8134
8210
|
pageId: string | null;
|
|
8135
8211
|
layoutId: string | null;
|
|
8212
|
+
type: string;
|
|
8213
|
+
content: unknown;
|
|
8136
8214
|
createdAt: number;
|
|
8137
8215
|
updatedAt: number;
|
|
8138
8216
|
projectId: number;
|
|
@@ -8142,7 +8220,6 @@ declare const router: {
|
|
|
8142
8220
|
firstPublishedAt: number | null;
|
|
8143
8221
|
publishedAt: number | null;
|
|
8144
8222
|
publishedBy: string | null;
|
|
8145
|
-
content: unknown;
|
|
8146
8223
|
slot: "before" | "after" | null;
|
|
8147
8224
|
position: string;
|
|
8148
8225
|
}, "content"> & {
|
|
@@ -8154,12 +8231,13 @@ declare const router: {
|
|
|
8154
8231
|
references: ResolvedReferences;
|
|
8155
8232
|
})[];
|
|
8156
8233
|
repeatableItems: (Omit<{
|
|
8157
|
-
id: string;
|
|
8158
8234
|
draftId: string | null;
|
|
8235
|
+
id: string;
|
|
8159
8236
|
deleted: boolean;
|
|
8160
8237
|
settings: unknown;
|
|
8161
8238
|
locale: string;
|
|
8162
8239
|
blockId: string | null;
|
|
8240
|
+
content: unknown;
|
|
8163
8241
|
createdAt: number;
|
|
8164
8242
|
updatedAt: number;
|
|
8165
8243
|
projectId: number | null;
|
|
@@ -8169,7 +8247,6 @@ declare const router: {
|
|
|
8169
8247
|
firstPublishedAt: number | null;
|
|
8170
8248
|
publishedAt: number | null;
|
|
8171
8249
|
publishedBy: string | null;
|
|
8172
|
-
content: unknown;
|
|
8173
8250
|
position: string;
|
|
8174
8251
|
sharedContentType: string | null;
|
|
8175
8252
|
parentItemId: string | null;
|
|
@@ -8199,8 +8276,8 @@ declare const router: {
|
|
|
8199
8276
|
blockIds: string[];
|
|
8200
8277
|
firstPublishedAt: number | null;
|
|
8201
8278
|
publishedAt: number | null;
|
|
8202
|
-
id: string;
|
|
8203
8279
|
draftId: string | null;
|
|
8280
|
+
id: string;
|
|
8204
8281
|
deleted: boolean;
|
|
8205
8282
|
locale: string;
|
|
8206
8283
|
layoutId: string;
|
|
@@ -8242,8 +8319,8 @@ declare const router: {
|
|
|
8242
8319
|
blockIds: string[];
|
|
8243
8320
|
firstPublishedAt: number | null;
|
|
8244
8321
|
publishedAt: number | null;
|
|
8245
|
-
id: string;
|
|
8246
8322
|
draftId: string | null;
|
|
8323
|
+
id: string;
|
|
8247
8324
|
deleted: boolean;
|
|
8248
8325
|
locale: string;
|
|
8249
8326
|
layoutId: string;
|
|
@@ -8299,8 +8376,8 @@ declare const router: {
|
|
|
8299
8376
|
page: PageView<{
|
|
8300
8377
|
firstPublishedAt: number | null;
|
|
8301
8378
|
publishedAt: number | null;
|
|
8302
|
-
id: string;
|
|
8303
8379
|
draftId: string | null;
|
|
8380
|
+
id: string;
|
|
8304
8381
|
deleted: boolean;
|
|
8305
8382
|
locale: string;
|
|
8306
8383
|
layoutId: string;
|
|
@@ -8340,8 +8417,8 @@ declare const router: {
|
|
|
8340
8417
|
page: PageView<{
|
|
8341
8418
|
firstPublishedAt: number | null;
|
|
8342
8419
|
publishedAt: number | null;
|
|
8343
|
-
id: string;
|
|
8344
8420
|
draftId: string | null;
|
|
8421
|
+
id: string;
|
|
8345
8422
|
deleted: boolean;
|
|
8346
8423
|
locale: string;
|
|
8347
8424
|
layoutId: string;
|
|
@@ -8381,8 +8458,8 @@ declare const router: {
|
|
|
8381
8458
|
duplicatePath: boolean;
|
|
8382
8459
|
needsLayout: boolean;
|
|
8383
8460
|
shadowed: boolean;
|
|
8384
|
-
id: string;
|
|
8385
8461
|
draftId: string | null;
|
|
8462
|
+
id: string;
|
|
8386
8463
|
deleted: boolean;
|
|
8387
8464
|
locale: string;
|
|
8388
8465
|
layoutId: string;
|
|
@@ -8410,8 +8487,8 @@ declare const router: {
|
|
|
8410
8487
|
duplicatePath: boolean;
|
|
8411
8488
|
needsLayout: boolean;
|
|
8412
8489
|
shadowed: boolean;
|
|
8413
|
-
id: string;
|
|
8414
8490
|
draftId: string | null;
|
|
8491
|
+
id: string;
|
|
8415
8492
|
deleted: boolean;
|
|
8416
8493
|
locale: string;
|
|
8417
8494
|
layoutId: string;
|
|
@@ -8448,8 +8525,8 @@ declare const router: {
|
|
|
8448
8525
|
duplicatePath: boolean;
|
|
8449
8526
|
needsLayout: boolean;
|
|
8450
8527
|
shadowed: boolean;
|
|
8451
|
-
id: string;
|
|
8452
8528
|
draftId: string | null;
|
|
8529
|
+
id: string;
|
|
8453
8530
|
deleted: boolean;
|
|
8454
8531
|
locale: string;
|
|
8455
8532
|
layoutId: string;
|
|
@@ -8480,8 +8557,8 @@ declare const router: {
|
|
|
8480
8557
|
duplicatePath: boolean;
|
|
8481
8558
|
needsLayout: boolean;
|
|
8482
8559
|
shadowed: boolean;
|
|
8483
|
-
id: string;
|
|
8484
8560
|
draftId: string | null;
|
|
8561
|
+
id: string;
|
|
8485
8562
|
deleted: boolean;
|
|
8486
8563
|
locale: string;
|
|
8487
8564
|
layoutId: string;
|
|
@@ -8519,8 +8596,8 @@ declare const router: {
|
|
|
8519
8596
|
}, import("zod/v4/core").$strip>]>, import("@orpc/server").Schema<{
|
|
8520
8597
|
createdBy: string | null;
|
|
8521
8598
|
duplicatePath: boolean;
|
|
8522
|
-
id: string;
|
|
8523
8599
|
draftId: string | null;
|
|
8600
|
+
id: string;
|
|
8524
8601
|
deleted: boolean;
|
|
8525
8602
|
locale: string;
|
|
8526
8603
|
layoutId: string;
|
|
@@ -8547,8 +8624,8 @@ declare const router: {
|
|
|
8547
8624
|
}, {
|
|
8548
8625
|
createdBy: string | null;
|
|
8549
8626
|
duplicatePath: boolean;
|
|
8550
|
-
id: string;
|
|
8551
8627
|
draftId: string | null;
|
|
8628
|
+
id: string;
|
|
8552
8629
|
deleted: boolean;
|
|
8553
8630
|
locale: string;
|
|
8554
8631
|
layoutId: string;
|
|
@@ -8664,8 +8741,8 @@ declare const router: {
|
|
|
8664
8741
|
layoutId: import("zod").ZodString;
|
|
8665
8742
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8666
8743
|
page: PageView<{
|
|
8667
|
-
id: string;
|
|
8668
8744
|
draftId: string | null;
|
|
8745
|
+
id: string;
|
|
8669
8746
|
deleted: boolean;
|
|
8670
8747
|
locale: string;
|
|
8671
8748
|
layoutId: string;
|
|
@@ -8692,8 +8769,8 @@ declare const router: {
|
|
|
8692
8769
|
fullPath: string;
|
|
8693
8770
|
}, {
|
|
8694
8771
|
page: PageView<{
|
|
8695
|
-
id: string;
|
|
8696
8772
|
draftId: string | null;
|
|
8773
|
+
id: string;
|
|
8697
8774
|
deleted: boolean;
|
|
8698
8775
|
locale: string;
|
|
8699
8776
|
layoutId: string;
|
|
@@ -8807,8 +8884,8 @@ declare const router: {
|
|
|
8807
8884
|
pathSegment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8808
8885
|
parentPageId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
8809
8886
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<PageView<{
|
|
8810
|
-
id: string;
|
|
8811
8887
|
draftId: string | null;
|
|
8888
|
+
id: string;
|
|
8812
8889
|
deleted: boolean;
|
|
8813
8890
|
locale: string;
|
|
8814
8891
|
layoutId: string;
|
|
@@ -8832,8 +8909,8 @@ declare const router: {
|
|
|
8832
8909
|
contentUpdatedAt: number;
|
|
8833
8910
|
createdById: string | null;
|
|
8834
8911
|
}>, PageView<{
|
|
8835
|
-
id: string;
|
|
8836
8912
|
draftId: string | null;
|
|
8913
|
+
id: string;
|
|
8837
8914
|
deleted: boolean;
|
|
8838
8915
|
locale: string;
|
|
8839
8916
|
layoutId: string;
|
|
@@ -8942,8 +9019,8 @@ declare const router: {
|
|
|
8942
9019
|
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
8943
9020
|
id: import("zod").ZodUUID;
|
|
8944
9021
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8945
|
-
id: string;
|
|
8946
9022
|
draftId: string | null;
|
|
9023
|
+
id: string;
|
|
8947
9024
|
deleted: boolean;
|
|
8948
9025
|
locale: string;
|
|
8949
9026
|
layoutId: string;
|
|
@@ -8967,8 +9044,8 @@ declare const router: {
|
|
|
8967
9044
|
contentUpdatedAt: number;
|
|
8968
9045
|
createdById: string | null;
|
|
8969
9046
|
} | undefined, {
|
|
8970
|
-
id: string;
|
|
8971
9047
|
draftId: string | null;
|
|
9048
|
+
id: string;
|
|
8972
9049
|
deleted: boolean;
|
|
8973
9050
|
locale: string;
|
|
8974
9051
|
layoutId: string;
|
|
@@ -9080,8 +9157,8 @@ declare const router: {
|
|
|
9080
9157
|
metaDescription: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9081
9158
|
aiSeo: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9082
9159
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<PageView<{
|
|
9083
|
-
id: string;
|
|
9084
9160
|
draftId: string | null;
|
|
9161
|
+
id: string;
|
|
9085
9162
|
deleted: boolean;
|
|
9086
9163
|
locale: string;
|
|
9087
9164
|
layoutId: string;
|
|
@@ -9105,8 +9182,8 @@ declare const router: {
|
|
|
9105
9182
|
contentUpdatedAt: number;
|
|
9106
9183
|
createdById: string | null;
|
|
9107
9184
|
}>, PageView<{
|
|
9108
|
-
id: string;
|
|
9109
9185
|
draftId: string | null;
|
|
9186
|
+
id: string;
|
|
9110
9187
|
deleted: boolean;
|
|
9111
9188
|
locale: string;
|
|
9112
9189
|
layoutId: string;
|
|
@@ -9216,8 +9293,8 @@ declare const router: {
|
|
|
9216
9293
|
id: import("zod").ZodUUID;
|
|
9217
9294
|
layoutId: import("zod").ZodString;
|
|
9218
9295
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<PageView<{
|
|
9219
|
-
id: string;
|
|
9220
9296
|
draftId: string | null;
|
|
9297
|
+
id: string;
|
|
9221
9298
|
deleted: boolean;
|
|
9222
9299
|
locale: string;
|
|
9223
9300
|
layoutId: string;
|
|
@@ -9241,8 +9318,8 @@ declare const router: {
|
|
|
9241
9318
|
contentUpdatedAt: number;
|
|
9242
9319
|
createdById: string | null;
|
|
9243
9320
|
}>, PageView<{
|
|
9244
|
-
id: string;
|
|
9245
9321
|
draftId: string | null;
|
|
9322
|
+
id: string;
|
|
9246
9323
|
deleted: boolean;
|
|
9247
9324
|
locale: string;
|
|
9248
9325
|
layoutId: string;
|
|
@@ -9313,8 +9390,8 @@ declare const router: {
|
|
|
9313
9390
|
}>, import("zod").ZodObject<{
|
|
9314
9391
|
id: import("zod").ZodUUID;
|
|
9315
9392
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<PageView<{
|
|
9316
|
-
id: string;
|
|
9317
9393
|
draftId: string | null;
|
|
9394
|
+
id: string;
|
|
9318
9395
|
deleted: boolean;
|
|
9319
9396
|
locale: string;
|
|
9320
9397
|
layoutId: string;
|
|
@@ -9338,8 +9415,8 @@ declare const router: {
|
|
|
9338
9415
|
contentUpdatedAt: number;
|
|
9339
9416
|
createdById: string | null;
|
|
9340
9417
|
}> | undefined, PageView<{
|
|
9341
|
-
id: string;
|
|
9342
9418
|
draftId: string | null;
|
|
9419
|
+
id: string;
|
|
9343
9420
|
deleted: boolean;
|
|
9344
9421
|
locale: string;
|
|
9345
9422
|
layoutId: string;
|
|
@@ -9373,14 +9450,15 @@ declare const router: {
|
|
|
9373
9450
|
id: import("zod").ZodUUID;
|
|
9374
9451
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
9375
9452
|
block: Omit<{
|
|
9376
|
-
type: string;
|
|
9377
|
-
id: string;
|
|
9378
9453
|
draftId: string | null;
|
|
9454
|
+
id: string;
|
|
9379
9455
|
deleted: boolean;
|
|
9380
9456
|
settings: unknown;
|
|
9381
9457
|
locale: string;
|
|
9382
9458
|
pageId: string | null;
|
|
9383
9459
|
layoutId: string | null;
|
|
9460
|
+
type: string;
|
|
9461
|
+
content: unknown;
|
|
9384
9462
|
createdAt: number;
|
|
9385
9463
|
updatedAt: number;
|
|
9386
9464
|
projectId: number;
|
|
@@ -9390,7 +9468,6 @@ declare const router: {
|
|
|
9390
9468
|
firstPublishedAt: number | null;
|
|
9391
9469
|
publishedAt: number | null;
|
|
9392
9470
|
publishedBy: string | null;
|
|
9393
|
-
content: unknown;
|
|
9394
9471
|
slot: "before" | "after" | null;
|
|
9395
9472
|
position: string;
|
|
9396
9473
|
}, "content"> & {
|
|
@@ -9402,12 +9479,13 @@ declare const router: {
|
|
|
9402
9479
|
references: ResolvedReferences;
|
|
9403
9480
|
};
|
|
9404
9481
|
repeatableItems: (Omit<{
|
|
9405
|
-
id: string;
|
|
9406
9482
|
draftId: string | null;
|
|
9483
|
+
id: string;
|
|
9407
9484
|
deleted: boolean;
|
|
9408
9485
|
settings: unknown;
|
|
9409
9486
|
locale: string;
|
|
9410
9487
|
blockId: string | null;
|
|
9488
|
+
content: unknown;
|
|
9411
9489
|
createdAt: number;
|
|
9412
9490
|
updatedAt: number;
|
|
9413
9491
|
projectId: number | null;
|
|
@@ -9417,7 +9495,6 @@ declare const router: {
|
|
|
9417
9495
|
firstPublishedAt: number | null;
|
|
9418
9496
|
publishedAt: number | null;
|
|
9419
9497
|
publishedBy: string | null;
|
|
9420
|
-
content: unknown;
|
|
9421
9498
|
position: string;
|
|
9422
9499
|
sharedContentType: string | null;
|
|
9423
9500
|
parentItemId: string | null;
|
|
@@ -9434,14 +9511,15 @@ declare const router: {
|
|
|
9434
9511
|
files: FileView[];
|
|
9435
9512
|
}, {
|
|
9436
9513
|
block: Omit<{
|
|
9437
|
-
type: string;
|
|
9438
|
-
id: string;
|
|
9439
9514
|
draftId: string | null;
|
|
9515
|
+
id: string;
|
|
9440
9516
|
deleted: boolean;
|
|
9441
9517
|
settings: unknown;
|
|
9442
9518
|
locale: string;
|
|
9443
9519
|
pageId: string | null;
|
|
9444
9520
|
layoutId: string | null;
|
|
9521
|
+
type: string;
|
|
9522
|
+
content: unknown;
|
|
9445
9523
|
createdAt: number;
|
|
9446
9524
|
updatedAt: number;
|
|
9447
9525
|
projectId: number;
|
|
@@ -9451,7 +9529,6 @@ declare const router: {
|
|
|
9451
9529
|
firstPublishedAt: number | null;
|
|
9452
9530
|
publishedAt: number | null;
|
|
9453
9531
|
publishedBy: string | null;
|
|
9454
|
-
content: unknown;
|
|
9455
9532
|
slot: "before" | "after" | null;
|
|
9456
9533
|
position: string;
|
|
9457
9534
|
}, "content"> & {
|
|
@@ -9463,12 +9540,13 @@ declare const router: {
|
|
|
9463
9540
|
references: ResolvedReferences;
|
|
9464
9541
|
};
|
|
9465
9542
|
repeatableItems: (Omit<{
|
|
9466
|
-
id: string;
|
|
9467
9543
|
draftId: string | null;
|
|
9544
|
+
id: string;
|
|
9468
9545
|
deleted: boolean;
|
|
9469
9546
|
settings: unknown;
|
|
9470
9547
|
locale: string;
|
|
9471
9548
|
blockId: string | null;
|
|
9549
|
+
content: unknown;
|
|
9472
9550
|
createdAt: number;
|
|
9473
9551
|
updatedAt: number;
|
|
9474
9552
|
projectId: number | null;
|
|
@@ -9478,7 +9556,6 @@ declare const router: {
|
|
|
9478
9556
|
firstPublishedAt: number | null;
|
|
9479
9557
|
publishedAt: number | null;
|
|
9480
9558
|
publishedBy: string | null;
|
|
9481
|
-
content: unknown;
|
|
9482
9559
|
position: string;
|
|
9483
9560
|
sharedContentType: string | null;
|
|
9484
9561
|
parentItemId: string | null;
|
|
@@ -9569,14 +9646,15 @@ declare const router: {
|
|
|
9569
9646
|
type: import("zod").ZodString;
|
|
9570
9647
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
9571
9648
|
block: Omit<{
|
|
9572
|
-
type: string;
|
|
9573
|
-
id: string;
|
|
9574
9649
|
draftId: string | null;
|
|
9650
|
+
id: string;
|
|
9575
9651
|
deleted: boolean;
|
|
9576
9652
|
settings: unknown;
|
|
9577
9653
|
locale: string;
|
|
9578
9654
|
pageId: string | null;
|
|
9579
9655
|
layoutId: string | null;
|
|
9656
|
+
type: string;
|
|
9657
|
+
content: unknown;
|
|
9580
9658
|
createdAt: number;
|
|
9581
9659
|
updatedAt: number;
|
|
9582
9660
|
projectId: number;
|
|
@@ -9586,7 +9664,6 @@ declare const router: {
|
|
|
9586
9664
|
firstPublishedAt: number | null;
|
|
9587
9665
|
publishedAt: number | null;
|
|
9588
9666
|
publishedBy: string | null;
|
|
9589
|
-
content: unknown;
|
|
9590
9667
|
slot: "before" | "after" | null;
|
|
9591
9668
|
position: string;
|
|
9592
9669
|
}, "content"> & {
|
|
@@ -9598,12 +9675,13 @@ declare const router: {
|
|
|
9598
9675
|
references: ResolvedReferences;
|
|
9599
9676
|
};
|
|
9600
9677
|
repeatableItems: (Omit<{
|
|
9601
|
-
id: string;
|
|
9602
9678
|
draftId: string | null;
|
|
9679
|
+
id: string;
|
|
9603
9680
|
deleted: boolean;
|
|
9604
9681
|
settings: unknown;
|
|
9605
9682
|
locale: string;
|
|
9606
9683
|
blockId: string | null;
|
|
9684
|
+
content: unknown;
|
|
9607
9685
|
createdAt: number;
|
|
9608
9686
|
updatedAt: number;
|
|
9609
9687
|
projectId: number | null;
|
|
@@ -9613,7 +9691,6 @@ declare const router: {
|
|
|
9613
9691
|
firstPublishedAt: number | null;
|
|
9614
9692
|
publishedAt: number | null;
|
|
9615
9693
|
publishedBy: string | null;
|
|
9616
|
-
content: unknown;
|
|
9617
9694
|
position: string;
|
|
9618
9695
|
sharedContentType: string | null;
|
|
9619
9696
|
parentItemId: string | null;
|
|
@@ -9630,14 +9707,15 @@ declare const router: {
|
|
|
9630
9707
|
files: FileView[];
|
|
9631
9708
|
} | null, {
|
|
9632
9709
|
block: Omit<{
|
|
9633
|
-
type: string;
|
|
9634
|
-
id: string;
|
|
9635
9710
|
draftId: string | null;
|
|
9711
|
+
id: string;
|
|
9636
9712
|
deleted: boolean;
|
|
9637
9713
|
settings: unknown;
|
|
9638
9714
|
locale: string;
|
|
9639
9715
|
pageId: string | null;
|
|
9640
9716
|
layoutId: string | null;
|
|
9717
|
+
type: string;
|
|
9718
|
+
content: unknown;
|
|
9641
9719
|
createdAt: number;
|
|
9642
9720
|
updatedAt: number;
|
|
9643
9721
|
projectId: number;
|
|
@@ -9647,7 +9725,6 @@ declare const router: {
|
|
|
9647
9725
|
firstPublishedAt: number | null;
|
|
9648
9726
|
publishedAt: number | null;
|
|
9649
9727
|
publishedBy: string | null;
|
|
9650
|
-
content: unknown;
|
|
9651
9728
|
slot: "before" | "after" | null;
|
|
9652
9729
|
position: string;
|
|
9653
9730
|
}, "content"> & {
|
|
@@ -9659,12 +9736,13 @@ declare const router: {
|
|
|
9659
9736
|
references: ResolvedReferences;
|
|
9660
9737
|
};
|
|
9661
9738
|
repeatableItems: (Omit<{
|
|
9662
|
-
id: string;
|
|
9663
9739
|
draftId: string | null;
|
|
9740
|
+
id: string;
|
|
9664
9741
|
deleted: boolean;
|
|
9665
9742
|
settings: unknown;
|
|
9666
9743
|
locale: string;
|
|
9667
9744
|
blockId: string | null;
|
|
9745
|
+
content: unknown;
|
|
9668
9746
|
createdAt: number;
|
|
9669
9747
|
updatedAt: number;
|
|
9670
9748
|
projectId: number | null;
|
|
@@ -9674,7 +9752,6 @@ declare const router: {
|
|
|
9674
9752
|
firstPublishedAt: number | null;
|
|
9675
9753
|
publishedAt: number | null;
|
|
9676
9754
|
publishedBy: string | null;
|
|
9677
|
-
content: unknown;
|
|
9678
9755
|
position: string;
|
|
9679
9756
|
sharedContentType: string | null;
|
|
9680
9757
|
parentItemId: string | null;
|
|
@@ -9789,14 +9866,15 @@ declare const router: {
|
|
|
9789
9866
|
position: import("zod").ZodString;
|
|
9790
9867
|
}, import("zod/v4/core").$strip>>>;
|
|
9791
9868
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<Omit<{
|
|
9792
|
-
type: string;
|
|
9793
|
-
id: string;
|
|
9794
9869
|
draftId: string | null;
|
|
9870
|
+
id: string;
|
|
9795
9871
|
deleted: boolean;
|
|
9796
9872
|
settings: unknown;
|
|
9797
9873
|
locale: string;
|
|
9798
9874
|
pageId: string | null;
|
|
9799
9875
|
layoutId: string | null;
|
|
9876
|
+
type: string;
|
|
9877
|
+
content: unknown;
|
|
9800
9878
|
createdAt: number;
|
|
9801
9879
|
updatedAt: number;
|
|
9802
9880
|
projectId: number;
|
|
@@ -9806,7 +9884,6 @@ declare const router: {
|
|
|
9806
9884
|
firstPublishedAt: number | null;
|
|
9807
9885
|
publishedAt: number | null;
|
|
9808
9886
|
publishedBy: string | null;
|
|
9809
|
-
content: unknown;
|
|
9810
9887
|
slot: "before" | "after" | null;
|
|
9811
9888
|
position: string;
|
|
9812
9889
|
}, "content"> & {
|
|
@@ -9817,14 +9894,15 @@ declare const router: {
|
|
|
9817
9894
|
} & {
|
|
9818
9895
|
warnings?: string[];
|
|
9819
9896
|
}, Omit<{
|
|
9820
|
-
type: string;
|
|
9821
|
-
id: string;
|
|
9822
9897
|
draftId: string | null;
|
|
9898
|
+
id: string;
|
|
9823
9899
|
deleted: boolean;
|
|
9824
9900
|
settings: unknown;
|
|
9825
9901
|
locale: string;
|
|
9826
9902
|
pageId: string | null;
|
|
9827
9903
|
layoutId: string | null;
|
|
9904
|
+
type: string;
|
|
9905
|
+
content: unknown;
|
|
9828
9906
|
createdAt: number;
|
|
9829
9907
|
updatedAt: number;
|
|
9830
9908
|
projectId: number;
|
|
@@ -9834,7 +9912,6 @@ declare const router: {
|
|
|
9834
9912
|
firstPublishedAt: number | null;
|
|
9835
9913
|
publishedAt: number | null;
|
|
9836
9914
|
publishedBy: string | null;
|
|
9837
|
-
content: unknown;
|
|
9838
9915
|
slot: "before" | "after" | null;
|
|
9839
9916
|
position: string;
|
|
9840
9917
|
}, "content"> & {
|
|
@@ -10431,14 +10508,15 @@ declare const router: {
|
|
|
10431
10508
|
afterBlockIds: string[];
|
|
10432
10509
|
};
|
|
10433
10510
|
blocks: (Omit<{
|
|
10434
|
-
type: string;
|
|
10435
|
-
id: string;
|
|
10436
10511
|
draftId: string | null;
|
|
10512
|
+
id: string;
|
|
10437
10513
|
deleted: boolean;
|
|
10438
10514
|
settings: unknown;
|
|
10439
10515
|
locale: string;
|
|
10440
10516
|
pageId: string | null;
|
|
10441
10517
|
layoutId: string | null;
|
|
10518
|
+
type: string;
|
|
10519
|
+
content: unknown;
|
|
10442
10520
|
createdAt: number;
|
|
10443
10521
|
updatedAt: number;
|
|
10444
10522
|
projectId: number;
|
|
@@ -10448,7 +10526,6 @@ declare const router: {
|
|
|
10448
10526
|
firstPublishedAt: number | null;
|
|
10449
10527
|
publishedAt: number | null;
|
|
10450
10528
|
publishedBy: string | null;
|
|
10451
|
-
content: unknown;
|
|
10452
10529
|
slot: "before" | "after" | null;
|
|
10453
10530
|
position: string;
|
|
10454
10531
|
}, "content"> & {
|
|
@@ -10460,12 +10537,13 @@ declare const router: {
|
|
|
10460
10537
|
references: ResolvedReferences;
|
|
10461
10538
|
})[];
|
|
10462
10539
|
repeatableItems: (Omit<{
|
|
10463
|
-
id: string;
|
|
10464
10540
|
draftId: string | null;
|
|
10541
|
+
id: string;
|
|
10465
10542
|
deleted: boolean;
|
|
10466
10543
|
settings: unknown;
|
|
10467
10544
|
locale: string;
|
|
10468
10545
|
blockId: string | null;
|
|
10546
|
+
content: unknown;
|
|
10469
10547
|
createdAt: number;
|
|
10470
10548
|
updatedAt: number;
|
|
10471
10549
|
projectId: number | null;
|
|
@@ -10475,7 +10553,6 @@ declare const router: {
|
|
|
10475
10553
|
firstPublishedAt: number | null;
|
|
10476
10554
|
publishedAt: number | null;
|
|
10477
10555
|
publishedBy: string | null;
|
|
10478
|
-
content: unknown;
|
|
10479
10556
|
position: string;
|
|
10480
10557
|
sharedContentType: string | null;
|
|
10481
10558
|
parentItemId: string | null;
|
|
@@ -10508,14 +10585,15 @@ declare const router: {
|
|
|
10508
10585
|
afterBlockIds: string[];
|
|
10509
10586
|
};
|
|
10510
10587
|
blocks: (Omit<{
|
|
10511
|
-
type: string;
|
|
10512
|
-
id: string;
|
|
10513
10588
|
draftId: string | null;
|
|
10589
|
+
id: string;
|
|
10514
10590
|
deleted: boolean;
|
|
10515
10591
|
settings: unknown;
|
|
10516
10592
|
locale: string;
|
|
10517
10593
|
pageId: string | null;
|
|
10518
10594
|
layoutId: string | null;
|
|
10595
|
+
type: string;
|
|
10596
|
+
content: unknown;
|
|
10519
10597
|
createdAt: number;
|
|
10520
10598
|
updatedAt: number;
|
|
10521
10599
|
projectId: number;
|
|
@@ -10525,7 +10603,6 @@ declare const router: {
|
|
|
10525
10603
|
firstPublishedAt: number | null;
|
|
10526
10604
|
publishedAt: number | null;
|
|
10527
10605
|
publishedBy: string | null;
|
|
10528
|
-
content: unknown;
|
|
10529
10606
|
slot: "before" | "after" | null;
|
|
10530
10607
|
position: string;
|
|
10531
10608
|
}, "content"> & {
|
|
@@ -10537,12 +10614,13 @@ declare const router: {
|
|
|
10537
10614
|
references: ResolvedReferences;
|
|
10538
10615
|
})[];
|
|
10539
10616
|
repeatableItems: (Omit<{
|
|
10540
|
-
id: string;
|
|
10541
10617
|
draftId: string | null;
|
|
10618
|
+
id: string;
|
|
10542
10619
|
deleted: boolean;
|
|
10543
10620
|
settings: unknown;
|
|
10544
10621
|
locale: string;
|
|
10545
10622
|
blockId: string | null;
|
|
10623
|
+
content: unknown;
|
|
10546
10624
|
createdAt: number;
|
|
10547
10625
|
updatedAt: number;
|
|
10548
10626
|
projectId: number | null;
|
|
@@ -10552,7 +10630,6 @@ declare const router: {
|
|
|
10552
10630
|
firstPublishedAt: number | null;
|
|
10553
10631
|
publishedAt: number | null;
|
|
10554
10632
|
publishedBy: string | null;
|
|
10555
|
-
content: unknown;
|
|
10556
10633
|
position: string;
|
|
10557
10634
|
sharedContentType: string | null;
|
|
10558
10635
|
parentItemId: string | null;
|
|
@@ -10992,10 +11069,10 @@ declare const router: {
|
|
|
10992
11069
|
}>, import("zod").ZodObject<{
|
|
10993
11070
|
projectId: import("zod").ZodNumber;
|
|
10994
11071
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
10995
|
-
path: string;
|
|
10996
|
-
id: string;
|
|
10997
11072
|
draftId: string | null;
|
|
11073
|
+
id: string;
|
|
10998
11074
|
deleted: boolean;
|
|
11075
|
+
path: string;
|
|
10999
11076
|
createdAt: number;
|
|
11000
11077
|
updatedAt: number;
|
|
11001
11078
|
projectId: number;
|
|
@@ -11016,10 +11093,10 @@ declare const router: {
|
|
|
11016
11093
|
height: number | null;
|
|
11017
11094
|
blobId: string;
|
|
11018
11095
|
}>[], FileView<{
|
|
11019
|
-
path: string;
|
|
11020
|
-
id: string;
|
|
11021
11096
|
draftId: string | null;
|
|
11097
|
+
id: string;
|
|
11022
11098
|
deleted: boolean;
|
|
11099
|
+
path: string;
|
|
11023
11100
|
createdAt: number;
|
|
11024
11101
|
updatedAt: number;
|
|
11025
11102
|
projectId: number;
|
|
@@ -11047,10 +11124,10 @@ declare const router: {
|
|
|
11047
11124
|
}>, import("zod").ZodObject<{
|
|
11048
11125
|
id: import("zod").ZodUUID;
|
|
11049
11126
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
11050
|
-
path: string;
|
|
11051
|
-
id: string;
|
|
11052
11127
|
draftId: string | null;
|
|
11128
|
+
id: string;
|
|
11053
11129
|
deleted: boolean;
|
|
11130
|
+
path: string;
|
|
11054
11131
|
createdAt: number;
|
|
11055
11132
|
updatedAt: number;
|
|
11056
11133
|
projectId: number;
|
|
@@ -11071,10 +11148,10 @@ declare const router: {
|
|
|
11071
11148
|
height: number | null;
|
|
11072
11149
|
blobId: string;
|
|
11073
11150
|
}>, FileView<{
|
|
11074
|
-
path: string;
|
|
11075
|
-
id: string;
|
|
11076
11151
|
draftId: string | null;
|
|
11152
|
+
id: string;
|
|
11077
11153
|
deleted: boolean;
|
|
11154
|
+
path: string;
|
|
11078
11155
|
createdAt: number;
|
|
11079
11156
|
updatedAt: number;
|
|
11080
11157
|
projectId: number;
|
|
@@ -11192,10 +11269,10 @@ declare const router: {
|
|
|
11192
11269
|
id: import("zod").ZodUUID;
|
|
11193
11270
|
alt: import("zod").ZodString;
|
|
11194
11271
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
11195
|
-
path: string;
|
|
11196
|
-
id: string;
|
|
11197
11272
|
draftId: string | null;
|
|
11273
|
+
id: string;
|
|
11198
11274
|
deleted: boolean;
|
|
11275
|
+
path: string;
|
|
11199
11276
|
createdAt: number;
|
|
11200
11277
|
updatedAt: number;
|
|
11201
11278
|
projectId: number;
|
|
@@ -11216,10 +11293,10 @@ declare const router: {
|
|
|
11216
11293
|
height: number | null;
|
|
11217
11294
|
blobId: string;
|
|
11218
11295
|
}>, FileView<{
|
|
11219
|
-
path: string;
|
|
11220
|
-
id: string;
|
|
11221
11296
|
draftId: string | null;
|
|
11297
|
+
id: string;
|
|
11222
11298
|
deleted: boolean;
|
|
11299
|
+
path: string;
|
|
11223
11300
|
createdAt: number;
|
|
11224
11301
|
updatedAt: number;
|
|
11225
11302
|
projectId: number;
|
|
@@ -11326,10 +11403,10 @@ declare const router: {
|
|
|
11326
11403
|
id: import("zod").ZodUUID;
|
|
11327
11404
|
filename: import("zod").ZodString;
|
|
11328
11405
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
11329
|
-
path: string;
|
|
11330
|
-
id: string;
|
|
11331
11406
|
draftId: string | null;
|
|
11407
|
+
id: string;
|
|
11332
11408
|
deleted: boolean;
|
|
11409
|
+
path: string;
|
|
11333
11410
|
createdAt: number;
|
|
11334
11411
|
updatedAt: number;
|
|
11335
11412
|
projectId: number;
|
|
@@ -11350,10 +11427,10 @@ declare const router: {
|
|
|
11350
11427
|
height: number | null;
|
|
11351
11428
|
blobId: string;
|
|
11352
11429
|
}>, FileView<{
|
|
11353
|
-
path: string;
|
|
11354
|
-
id: string;
|
|
11355
11430
|
draftId: string | null;
|
|
11431
|
+
id: string;
|
|
11356
11432
|
deleted: boolean;
|
|
11433
|
+
path: string;
|
|
11357
11434
|
createdAt: number;
|
|
11358
11435
|
updatedAt: number;
|
|
11359
11436
|
projectId: number;
|
|
@@ -11459,10 +11536,10 @@ declare const router: {
|
|
|
11459
11536
|
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
11460
11537
|
id: import("zod").ZodUUID;
|
|
11461
11538
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
11462
|
-
path: string;
|
|
11463
|
-
id: string;
|
|
11464
11539
|
draftId: string | null;
|
|
11540
|
+
id: string;
|
|
11465
11541
|
deleted: boolean;
|
|
11542
|
+
path: string;
|
|
11466
11543
|
createdAt: number;
|
|
11467
11544
|
updatedAt: number;
|
|
11468
11545
|
projectId: number;
|
|
@@ -11483,10 +11560,10 @@ declare const router: {
|
|
|
11483
11560
|
height: number | null;
|
|
11484
11561
|
blobId: string;
|
|
11485
11562
|
}, {
|
|
11486
|
-
path: string;
|
|
11487
|
-
id: string;
|
|
11488
11563
|
draftId: string | null;
|
|
11564
|
+
id: string;
|
|
11489
11565
|
deleted: boolean;
|
|
11566
|
+
path: string;
|
|
11490
11567
|
createdAt: number;
|
|
11491
11568
|
updatedAt: number;
|
|
11492
11569
|
projectId: number;
|
|
@@ -11678,10 +11755,10 @@ declare const router: {
|
|
|
11678
11755
|
id: import("zod").ZodUUID;
|
|
11679
11756
|
enabled: import("zod").ZodBoolean;
|
|
11680
11757
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
11681
|
-
path: string;
|
|
11682
|
-
id: string;
|
|
11683
11758
|
draftId: string | null;
|
|
11759
|
+
id: string;
|
|
11684
11760
|
deleted: boolean;
|
|
11761
|
+
path: string;
|
|
11685
11762
|
createdAt: number;
|
|
11686
11763
|
updatedAt: number;
|
|
11687
11764
|
projectId: number;
|
|
@@ -11702,10 +11779,10 @@ declare const router: {
|
|
|
11702
11779
|
height: number | null;
|
|
11703
11780
|
blobId: string;
|
|
11704
11781
|
}>, FileView<{
|
|
11705
|
-
path: string;
|
|
11706
|
-
id: string;
|
|
11707
11782
|
draftId: string | null;
|
|
11783
|
+
id: string;
|
|
11708
11784
|
deleted: boolean;
|
|
11785
|
+
path: string;
|
|
11709
11786
|
createdAt: number;
|
|
11710
11787
|
updatedAt: number;
|
|
11711
11788
|
projectId: number;
|
|
@@ -11773,10 +11850,10 @@ declare const router: {
|
|
|
11773
11850
|
}>, import("zod").ZodObject<{
|
|
11774
11851
|
id: import("zod").ZodUUID;
|
|
11775
11852
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
11776
|
-
path: string;
|
|
11777
|
-
id: string;
|
|
11778
11853
|
draftId: string | null;
|
|
11854
|
+
id: string;
|
|
11779
11855
|
deleted: boolean;
|
|
11856
|
+
path: string;
|
|
11780
11857
|
createdAt: number;
|
|
11781
11858
|
updatedAt: number;
|
|
11782
11859
|
projectId: number;
|
|
@@ -11797,10 +11874,10 @@ declare const router: {
|
|
|
11797
11874
|
height: number | null;
|
|
11798
11875
|
blobId: string;
|
|
11799
11876
|
}> | undefined, FileView<{
|
|
11800
|
-
path: string;
|
|
11801
|
-
id: string;
|
|
11802
11877
|
draftId: string | null;
|
|
11878
|
+
id: string;
|
|
11803
11879
|
deleted: boolean;
|
|
11880
|
+
path: string;
|
|
11804
11881
|
createdAt: number;
|
|
11805
11882
|
updatedAt: number;
|
|
11806
11883
|
projectId: number;
|
|
@@ -11836,8 +11913,8 @@ declare const router: {
|
|
|
11836
11913
|
summary: string;
|
|
11837
11914
|
title: string;
|
|
11838
11915
|
references: ResolvedReferences;
|
|
11839
|
-
id: string;
|
|
11840
11916
|
draftId: string | null;
|
|
11917
|
+
id: string;
|
|
11841
11918
|
deleted: boolean;
|
|
11842
11919
|
settings: unknown;
|
|
11843
11920
|
locale: string;
|
|
@@ -11863,8 +11940,8 @@ declare const router: {
|
|
|
11863
11940
|
summary: string;
|
|
11864
11941
|
title: string;
|
|
11865
11942
|
references: ResolvedReferences;
|
|
11866
|
-
id: string;
|
|
11867
11943
|
draftId: string | null;
|
|
11944
|
+
id: string;
|
|
11868
11945
|
deleted: boolean;
|
|
11869
11946
|
settings: unknown;
|
|
11870
11947
|
locale: string;
|
|
@@ -11987,8 +12064,8 @@ declare const router: {
|
|
|
11987
12064
|
settings: unknown;
|
|
11988
12065
|
summary: string;
|
|
11989
12066
|
title: string;
|
|
11990
|
-
id: string;
|
|
11991
12067
|
draftId: string | null;
|
|
12068
|
+
id: string;
|
|
11992
12069
|
deleted: boolean;
|
|
11993
12070
|
locale: string;
|
|
11994
12071
|
blockId: string | null;
|
|
@@ -12010,8 +12087,8 @@ declare const router: {
|
|
|
12010
12087
|
settings: unknown;
|
|
12011
12088
|
summary: string;
|
|
12012
12089
|
title: string;
|
|
12013
|
-
id: string;
|
|
12014
12090
|
draftId: string | null;
|
|
12091
|
+
id: string;
|
|
12015
12092
|
deleted: boolean;
|
|
12016
12093
|
locale: string;
|
|
12017
12094
|
blockId: string | null;
|
|
@@ -12119,8 +12196,8 @@ declare const router: {
|
|
|
12119
12196
|
settings: unknown;
|
|
12120
12197
|
summary: string;
|
|
12121
12198
|
title: string;
|
|
12122
|
-
id: string;
|
|
12123
12199
|
draftId: string | null;
|
|
12200
|
+
id: string;
|
|
12124
12201
|
deleted: boolean;
|
|
12125
12202
|
locale: string;
|
|
12126
12203
|
blockId: string | null;
|
|
@@ -12142,8 +12219,8 @@ declare const router: {
|
|
|
12142
12219
|
settings: unknown;
|
|
12143
12220
|
summary: string;
|
|
12144
12221
|
title: string;
|
|
12145
|
-
id: string;
|
|
12146
12222
|
draftId: string | null;
|
|
12223
|
+
id: string;
|
|
12147
12224
|
deleted: boolean;
|
|
12148
12225
|
locale: string;
|
|
12149
12226
|
blockId: string | null;
|
|
@@ -12251,8 +12328,8 @@ declare const router: {
|
|
|
12251
12328
|
settings: unknown;
|
|
12252
12329
|
summary: string;
|
|
12253
12330
|
title: string;
|
|
12254
|
-
id: string;
|
|
12255
12331
|
draftId: string | null;
|
|
12332
|
+
id: string;
|
|
12256
12333
|
deleted: boolean;
|
|
12257
12334
|
locale: string;
|
|
12258
12335
|
blockId: string | null;
|
|
@@ -12274,8 +12351,8 @@ declare const router: {
|
|
|
12274
12351
|
settings: unknown;
|
|
12275
12352
|
summary: string;
|
|
12276
12353
|
title: string;
|
|
12277
|
-
id: string;
|
|
12278
12354
|
draftId: string | null;
|
|
12355
|
+
id: string;
|
|
12279
12356
|
deleted: boolean;
|
|
12280
12357
|
locale: string;
|
|
12281
12358
|
blockId: string | null;
|
|
@@ -12384,8 +12461,8 @@ declare const router: {
|
|
|
12384
12461
|
settings: unknown;
|
|
12385
12462
|
summary: string;
|
|
12386
12463
|
title: string;
|
|
12387
|
-
id: string;
|
|
12388
12464
|
draftId: string | null;
|
|
12465
|
+
id: string;
|
|
12389
12466
|
deleted: boolean;
|
|
12390
12467
|
locale: string;
|
|
12391
12468
|
blockId: string | null;
|
|
@@ -12407,8 +12484,8 @@ declare const router: {
|
|
|
12407
12484
|
settings: unknown;
|
|
12408
12485
|
summary: string;
|
|
12409
12486
|
title: string;
|
|
12410
|
-
id: string;
|
|
12411
12487
|
draftId: string | null;
|
|
12488
|
+
id: string;
|
|
12412
12489
|
deleted: boolean;
|
|
12413
12490
|
locale: string;
|
|
12414
12491
|
blockId: string | null;
|
|
@@ -12515,8 +12592,8 @@ declare const router: {
|
|
|
12515
12592
|
settings: unknown;
|
|
12516
12593
|
summary: string;
|
|
12517
12594
|
title: string;
|
|
12518
|
-
id: string;
|
|
12519
12595
|
draftId: string | null;
|
|
12596
|
+
id: string;
|
|
12520
12597
|
deleted: boolean;
|
|
12521
12598
|
locale: string;
|
|
12522
12599
|
blockId: string | null;
|
|
@@ -12538,8 +12615,8 @@ declare const router: {
|
|
|
12538
12615
|
settings: unknown;
|
|
12539
12616
|
summary: string;
|
|
12540
12617
|
title: string;
|
|
12541
|
-
id: string;
|
|
12542
12618
|
draftId: string | null;
|
|
12619
|
+
id: string;
|
|
12543
12620
|
deleted: boolean;
|
|
12544
12621
|
locale: string;
|
|
12545
12622
|
blockId: string | null;
|
|
@@ -12608,8 +12685,8 @@ declare const router: {
|
|
|
12608
12685
|
settings: unknown;
|
|
12609
12686
|
summary: string;
|
|
12610
12687
|
title: string;
|
|
12611
|
-
id: string;
|
|
12612
12688
|
draftId: string | null;
|
|
12689
|
+
id: string;
|
|
12613
12690
|
deleted: boolean;
|
|
12614
12691
|
locale: string;
|
|
12615
12692
|
blockId: string | null;
|
|
@@ -12631,8 +12708,8 @@ declare const router: {
|
|
|
12631
12708
|
settings: unknown;
|
|
12632
12709
|
summary: string;
|
|
12633
12710
|
title: string;
|
|
12634
|
-
id: string;
|
|
12635
12711
|
draftId: string | null;
|
|
12712
|
+
id: string;
|
|
12636
12713
|
deleted: boolean;
|
|
12637
12714
|
locale: string;
|
|
12638
12715
|
blockId: string | null;
|
|
@@ -12739,8 +12816,8 @@ declare const router: {
|
|
|
12739
12816
|
settings: unknown;
|
|
12740
12817
|
summary: string;
|
|
12741
12818
|
title: string;
|
|
12742
|
-
id: string;
|
|
12743
12819
|
draftId: string | null;
|
|
12820
|
+
id: string;
|
|
12744
12821
|
deleted: boolean;
|
|
12745
12822
|
locale: string;
|
|
12746
12823
|
blockId: string | null;
|
|
@@ -12762,8 +12839,8 @@ declare const router: {
|
|
|
12762
12839
|
settings: unknown;
|
|
12763
12840
|
summary: string;
|
|
12764
12841
|
title: string;
|
|
12765
|
-
id: string;
|
|
12766
12842
|
draftId: string | null;
|
|
12843
|
+
id: string;
|
|
12767
12844
|
deleted: boolean;
|
|
12768
12845
|
locale: string;
|
|
12769
12846
|
blockId: string | null;
|
|
@@ -14344,6 +14421,59 @@ declare const router: {
|
|
|
14344
14421
|
projectId: import("zod").ZodNumber;
|
|
14345
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>>;
|
|
14346
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
|
+
};
|
|
14347
14477
|
};
|
|
14348
14478
|
type Router = typeof router;
|
|
14349
14479
|
//#endregion
|