@camox/api-contract 0.58.1 → 0.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/drafts.d.ts +1 -13
- package/dist/drafts.js +1 -11
- package/dist/projects.d.ts +8 -2
- package/dist/projects.js +5 -2
- package/dist/router.d.ts +664 -384
- package/dist/threads.d.ts +143 -17
- package/dist/threads.js +175 -27
- package/package.json +1 -1
- package/src/drafts.ts +3 -18
- package/src/projects.ts +6 -2
- package/src/threads.ts +244 -35
package/dist/router.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import "@orpc/server";
|
|
3
3
|
import "@camox/api-contract/projects";
|
|
4
|
-
import {
|
|
4
|
+
import { EndedDraft, PublishAbortReason } from "@camox/api-contract/drafts";
|
|
5
5
|
import "effect";
|
|
6
6
|
import "drizzle-orm";
|
|
7
7
|
import "drizzle-orm/sqlite-core";
|
|
@@ -11,9 +11,10 @@ import { ThreadSender } from "@camox/api-contract/threads";
|
|
|
11
11
|
import { PiHarness, PiHarnessOptions } from "agents/harness/pi";
|
|
12
12
|
import { CapabilityStartContext, Lifecycle } from "agents/lifecycle";
|
|
13
13
|
import { WebSockets } from "agents/websockets";
|
|
14
|
+
import { FileErrorCode } from "@earendil-works/pi-durable/env";
|
|
15
|
+
import "camox/_internal/sdkBundleName";
|
|
14
16
|
import "@camox/ai-tools";
|
|
15
17
|
import "@earendil-works/pi-durable";
|
|
16
|
-
import { FileErrorCode } from "@earendil-works/pi-durable/env";
|
|
17
18
|
import { CiParams, CloudflareArtifacts } from "@cloudflare/ci";
|
|
18
19
|
import "@cloudflare/ci/worker";
|
|
19
20
|
import { PosthogRegion } from "@camox/api-contract/analytics";
|
|
@@ -1306,14 +1307,11 @@ type GeneratedValues = {
|
|
|
1306
1307
|
//#region ../../apps/api/src/domains/drafts/scope.d.ts
|
|
1307
1308
|
/**
|
|
1308
1309
|
* The draft a request names, before it is checked: a draft's id, where `create` asks for a
|
|
1309
|
-
* missing
|
|
1310
|
-
* project the request acts on (ADR 0011).
|
|
1310
|
+
* missing draft to be created with it (ADR 0011).
|
|
1311
1311
|
*/
|
|
1312
1312
|
type DraftRequest = {
|
|
1313
1313
|
id: string;
|
|
1314
1314
|
create: boolean;
|
|
1315
|
-
} | {
|
|
1316
|
-
development: true;
|
|
1317
1315
|
};
|
|
1318
1316
|
//#endregion
|
|
1319
1317
|
//#region ../../apps/api/src/domains/drafts/overlay.d.ts
|
|
@@ -1422,6 +1420,25 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
|
|
|
1422
1420
|
}, {}, {
|
|
1423
1421
|
length: undefined;
|
|
1424
1422
|
}>;
|
|
1423
|
+
customDomain: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1424
|
+
name: "custom_domain";
|
|
1425
|
+
tableName: "projects";
|
|
1426
|
+
dataType: "string";
|
|
1427
|
+
columnType: "SQLiteText";
|
|
1428
|
+
data: string;
|
|
1429
|
+
driverParam: string;
|
|
1430
|
+
notNull: false;
|
|
1431
|
+
hasDefault: false;
|
|
1432
|
+
isPrimaryKey: false;
|
|
1433
|
+
isAutoincrement: false;
|
|
1434
|
+
hasRuntimeDefault: false;
|
|
1435
|
+
enumValues: [string, ...string[]];
|
|
1436
|
+
baseColumn: never;
|
|
1437
|
+
identity: undefined;
|
|
1438
|
+
generated: undefined;
|
|
1439
|
+
}, {}, {
|
|
1440
|
+
length: number | undefined;
|
|
1441
|
+
}>;
|
|
1425
1442
|
name: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1426
1443
|
name: "name";
|
|
1427
1444
|
tableName: "projects";
|
|
@@ -1687,6 +1704,23 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
|
|
|
1687
1704
|
}, {}, {
|
|
1688
1705
|
length: number | undefined;
|
|
1689
1706
|
}>;
|
|
1707
|
+
codeOutsideCamox: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1708
|
+
name: "code_outside_camox";
|
|
1709
|
+
tableName: "projects";
|
|
1710
|
+
dataType: "boolean";
|
|
1711
|
+
columnType: "SQLiteBoolean";
|
|
1712
|
+
data: boolean;
|
|
1713
|
+
driverParam: number;
|
|
1714
|
+
notNull: true;
|
|
1715
|
+
hasDefault: true;
|
|
1716
|
+
isPrimaryKey: false;
|
|
1717
|
+
isAutoincrement: false;
|
|
1718
|
+
hasRuntimeDefault: false;
|
|
1719
|
+
enumValues: undefined;
|
|
1720
|
+
baseColumn: never;
|
|
1721
|
+
identity: undefined;
|
|
1722
|
+
generated: undefined;
|
|
1723
|
+
}, {}, {}>;
|
|
1690
1724
|
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1691
1725
|
name: "created_at";
|
|
1692
1726
|
tableName: "projects";
|
|
@@ -1764,26 +1798,6 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
|
|
|
1764
1798
|
identity: undefined;
|
|
1765
1799
|
generated: undefined;
|
|
1766
1800
|
}, {}, {}>;
|
|
1767
|
-
kind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1768
|
-
name: "kind";
|
|
1769
|
-
tableName: "drafts";
|
|
1770
|
-
dataType: "string";
|
|
1771
|
-
columnType: "SQLiteText";
|
|
1772
|
-
data: import("@camox/api-contract/drafts").DraftKind;
|
|
1773
|
-
driverParam: string;
|
|
1774
|
-
notNull: true;
|
|
1775
|
-
hasDefault: false;
|
|
1776
|
-
isPrimaryKey: false;
|
|
1777
|
-
isAutoincrement: false;
|
|
1778
|
-
hasRuntimeDefault: false;
|
|
1779
|
-
enumValues: [string, ...string[]];
|
|
1780
|
-
baseColumn: never;
|
|
1781
|
-
identity: undefined;
|
|
1782
|
-
generated: undefined;
|
|
1783
|
-
}, {}, {
|
|
1784
|
-
length: undefined;
|
|
1785
|
-
$type: import("@camox/api-contract/drafts").DraftKind;
|
|
1786
|
-
}>;
|
|
1787
1801
|
name: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1788
1802
|
name: "name";
|
|
1789
1803
|
tableName: "drafts";
|
|
@@ -6014,189 +6028,6 @@ declare class EdgeCachePurger extends DurableObject<Bindings> {
|
|
|
6014
6028
|
//#region ../../apps/api/src/lib/edge-cache-purges.d.ts
|
|
6015
6029
|
type EdgeCachePurgerNamespace = DurableObjectNamespace<EdgeCachePurger>;
|
|
6016
6030
|
//#endregion
|
|
6017
|
-
//#region ../../apps/api/src/domains/revisions/merge.d.ts
|
|
6018
|
-
/** How a merge of `main` into a draft ended. */
|
|
6019
|
-
type MergeEnd =
|
|
6020
|
-
/** The draft holds the current `main`, or will once its changes are committed. */
|
|
6021
|
-
"upToDate" |
|
|
6022
|
-
/** A merge revision landed, built, and the draft previews it. */
|
|
6023
|
-
"merged" |
|
|
6024
|
-
/** The merge clashed: it's left for Camox's reconcile turn (`DraftCode.clash`), to start. */
|
|
6025
|
-
"clashed" |
|
|
6026
|
-
/** This move of `main` clashed already: Camox's reconcile turn had its one try. */
|
|
6027
|
-
"clashedBefore";
|
|
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
|
|
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
|
-
};
|
|
6070
|
-
/**
|
|
6071
|
-
* Cloudflare's `PiHarness`, leaving Pi closed when the object starts until `started` holds: Pi
|
|
6072
|
-
* creates its tables as it opens, and a thread nobody messaged has no run to resume.
|
|
6073
|
-
*/
|
|
6074
|
-
declare class UntilStartedPiHarness extends PiHarness {
|
|
6075
|
-
#private;
|
|
6076
|
-
constructor(started: () => Promise<boolean>, options: PiHarnessOptions);
|
|
6077
|
-
onStart(context: CapabilityStartContext): Promise<void>;
|
|
6078
|
-
}
|
|
6079
|
-
/**
|
|
6080
|
-
* One thread with Camox's agent, addressed by the thread's own id. Pi Durable runs the agent
|
|
6081
|
-
* through Cloudflare's `PiHarness`, so a run is saved at every step and carries on with no client
|
|
6082
|
-
* connected (ADR 0018).
|
|
6083
|
-
*
|
|
6084
|
-
* The API authorizes every connection before forwarding it here, naming the sender in
|
|
6085
|
-
* `THREAD_SENDER_HEADER`. Each socket gets a snapshot of Pi's agent events, then a batch per
|
|
6086
|
-
* commit; it sends editors' messages and can ask to resync.
|
|
6087
|
-
*
|
|
6088
|
-
* The thread starts with its first message: until then, connecting stores nothing, so opening a
|
|
6089
|
-
* draft leaves no thread behind.
|
|
6090
|
-
*/
|
|
6091
|
-
declare class Thread extends DurableObject<Bindings> {
|
|
6092
|
-
#private;
|
|
6093
|
-
readonly harness: UntilStartedPiHarness;
|
|
6094
|
-
readonly webSockets: WebSockets;
|
|
6095
|
-
readonly lifecycle: Lifecycle<object, object>;
|
|
6096
|
-
/**
|
|
6097
|
-
* Builds the code of the draft `draftId`, the thread's, in its build queue, as a publish of a
|
|
6098
|
-
* head revision whose build is gone asks: the head's tree finds its revision, built again.
|
|
6099
|
-
*/
|
|
6100
|
-
buildForPublish(draftId: string): Promise<BuildResult | null>;
|
|
6101
|
-
/**
|
|
6102
|
-
* Merges the current `main` into the thread's draft, when it has code, as a push to `main`
|
|
6103
|
-
* asks: right away when the agent is idle, or else right after its turn's last commit, before
|
|
6104
|
-
* the next message (`#onYield`). Nothing of it shows in the thread.
|
|
6105
|
-
*/
|
|
6106
|
-
mergeMain(): Promise<MergeEnd | "afterTheTurn" | "noCode">;
|
|
6107
|
-
/**
|
|
6108
|
-
* Builds the code of the thread's draft, as the end of a turn would on its last try, when
|
|
6109
|
-
* Camox's infrastructure failed the last build: changes that don't build are committed as a
|
|
6110
|
-
* revision that isn't built, which blocks publishing. Nothing of it shows in the thread. A
|
|
6111
|
-
* failure on Camox's side again owes the next retry. `busy` while the agent's turn runs: its
|
|
6112
|
-
* end builds.
|
|
6113
|
-
*/
|
|
6114
|
-
retryBuild(): Promise<"built" | "failed" | "busy" | "noCode">;
|
|
6115
|
-
/**
|
|
6116
|
-
* Lifecycle's alarm, which wakes Pi's runs, unless the thread ended: an alarm already on its
|
|
6117
|
-
* way when it did would look for the jobs its storage no longer has.
|
|
6118
|
-
*/
|
|
6119
|
-
alarm(): Promise<void>;
|
|
6120
|
-
/** Gives sockets that outlived the last isolate a new watch and a fresh snapshot. */
|
|
6121
|
-
onStart(): Promise<void>;
|
|
6122
|
-
/**
|
|
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.
|
|
6125
|
-
*/
|
|
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>;
|
|
6147
|
-
/**
|
|
6148
|
-
* Ends the thread with its draft, wiping everything it stored, since Pi can't delete a
|
|
6149
|
-
* conversation yet: the run going stops, and studios still open on it see an empty thread
|
|
6150
|
-
* before their sockets close. The sandbox's object for the thread stores nothing.
|
|
6151
|
-
*
|
|
6152
|
-
* Its draft no longer names it, and a development draft, which stays open, gets a new thread,
|
|
6153
|
-
* but a socket the API forwarded just before may still reach it. So the thread keeps the
|
|
6154
|
-
* record that it ended, and turns away every socket and message after, as its alarm does
|
|
6155
|
-
* nothing: nothing opens Pi again. The object isn't reset, which would fail whatever reached
|
|
6156
|
-
* it next.
|
|
6157
|
-
*/
|
|
6158
|
-
end(): Promise<void>;
|
|
6159
|
-
}
|
|
6160
|
-
//#endregion
|
|
6161
|
-
//#region ../../apps/api/src/domains/code/main-copy.d.ts
|
|
6162
|
-
/** A file of a project's code: its content, or where a symlink points. */
|
|
6163
|
-
type CodeFile = {
|
|
6164
|
-
path: string;
|
|
6165
|
-
content: Uint8Array;
|
|
6166
|
-
} | {
|
|
6167
|
-
path: string;
|
|
6168
|
-
symlink: string;
|
|
6169
|
-
};
|
|
6170
|
-
//#endregion
|
|
6171
|
-
//#region ../../apps/api/src/durable-objects/project-code.d.ts
|
|
6172
|
-
/** What `snapshot` answers: the files only when the caller doesn't already have that commit. */
|
|
6173
|
-
type MainSnapshot = {
|
|
6174
|
-
commit: string;
|
|
6175
|
-
files?: CodeFile[];
|
|
6176
|
-
};
|
|
6177
|
-
/**
|
|
6178
|
-
* A read-only copy of one project's `main`, addressed by its Project ID, which names its repo.
|
|
6179
|
-
* The agent reads the website's code from it on Live, and in a draft without code. A push to
|
|
6180
|
-
* `main` refreshes it (the release Workflow), and a copy that was never made is made on its first
|
|
6181
|
-
* read. It keeps the files in its SQLite, so an eviction doesn't clone again; Git's own directory
|
|
6182
|
-
* isn't kept.
|
|
6183
|
-
*/
|
|
6184
|
-
declare class ProjectCode extends DurableObject<Bindings> {
|
|
6185
|
-
#private;
|
|
6186
|
-
constructor(ctx: DurableObjectState, env: Bindings);
|
|
6187
|
-
/**
|
|
6188
|
-
* Makes the copy match `main`, unless it already holds `commit`, the commit a push moved `main`
|
|
6189
|
-
* to. Returns the commit it holds. One refresh at a time.
|
|
6190
|
-
*/
|
|
6191
|
-
refresh(commit?: string): Promise<string>;
|
|
6192
|
-
/** Deletes the copy, as its project is deleted. */
|
|
6193
|
-
discard(): Promise<void>;
|
|
6194
|
-
/** The commit of `main` the copy holds, without making it if it never was. */
|
|
6195
|
-
commit(): Promise<string | undefined>;
|
|
6196
|
-
/** The copy, made first if it never was; only its commit when it's `known`. */
|
|
6197
|
-
snapshot(known?: string): Promise<MainSnapshot>;
|
|
6198
|
-
}
|
|
6199
|
-
//#endregion
|
|
6200
6031
|
//#region ../../apps/api/src/domains/code/remote-env.d.ts
|
|
6201
6032
|
/** The operations sent as they are: every argument but the context is plain data. */
|
|
6202
6033
|
declare const SENT: ["absolutePath", "joinPath", "readTextFile", "readTextLines", "readBinaryFile", "writeFile", "appendFile", "truncateFile", "flushFile", "renameFile", "fileInfo", "listDir", "canonicalPath", "exists", "createDir", "remove"];
|
|
@@ -6397,16 +6228,33 @@ declare class DraftCode extends DurableObject<Bindings> {
|
|
|
6397
6228
|
message: string;
|
|
6398
6229
|
}): Promise<PreparedCommit>;
|
|
6399
6230
|
/**
|
|
6400
|
-
*
|
|
6401
|
-
*
|
|
6402
|
-
*
|
|
6231
|
+
* Adds a member's pushed commits to the working copy, without moving the branch: the objects of
|
|
6232
|
+
* `pack`, a bundle's packfile, which may build on the objects of `prerequisites`, commits of
|
|
6233
|
+
* `main` fetched for it when the working copy doesn't hold them. A build then commits the
|
|
6234
|
+
* pushed head (`commit`, with `checkout`).
|
|
6235
|
+
*/
|
|
6236
|
+
receive({ pack, prerequisites }: {
|
|
6237
|
+
pack: Uint8Array;
|
|
6238
|
+
prerequisites: string[];
|
|
6239
|
+
}): Promise<void>;
|
|
6240
|
+
/**
|
|
6241
|
+
* Moves the draft's branch to `commit`, which `prepareCommit` made, or a member pushed on top
|
|
6242
|
+
* of the branch's head, and pushes it. A commit of the tree the branch's head already has, such
|
|
6243
|
+
* as one prepared again after the push of the first, leaves the head as it is. With
|
|
6244
|
+
* `checkout`, for a commit made beside the files, the files take its tree. A member's pushed
|
|
6245
|
+
* head names `mergedMain`, the newest commit of `main` it holds, which the draft's next merge of
|
|
6246
|
+
* `main` merges from. Returns the branch's head and its parents.
|
|
6403
6247
|
*/
|
|
6404
|
-
commit({ commit }: {
|
|
6248
|
+
commit({ commit, checkout, mergedMain }: {
|
|
6405
6249
|
commit: string;
|
|
6250
|
+
checkout?: boolean;
|
|
6251
|
+
mergedMain?: string;
|
|
6406
6252
|
}): Promise<{
|
|
6407
6253
|
commit: string;
|
|
6408
6254
|
parents: string[];
|
|
6409
6255
|
}>;
|
|
6256
|
+
/** Whether `commit` is the branch's head or one of its descendants: it includes the head. */
|
|
6257
|
+
includesHead(commit: string): Promise<boolean>;
|
|
6410
6258
|
/**
|
|
6411
6259
|
* Pushes the draft's code to `main` as one squashed commit, as a publish lands: the tree of
|
|
6412
6260
|
* `commit`, a revision on the branch, with the current tip of `main` as its only parent. A
|
|
@@ -6433,20 +6281,279 @@ declare class DraftCode extends DurableObject<Bindings> {
|
|
|
6433
6281
|
delete(): Promise<void>;
|
|
6434
6282
|
}
|
|
6435
6283
|
//#endregion
|
|
6436
|
-
//#region ../../apps/api/src/domains/
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6284
|
+
//#region ../../apps/api/src/domains/code-pushes/checks.d.ts
|
|
6285
|
+
/** Why a push was refused: each reason is a stable code the CLI and its users can rely on. */
|
|
6286
|
+
type PushRefusalReason =
|
|
6287
|
+
/** What was sent isn't a Git bundle of one branch's commits. */
|
|
6288
|
+
"invalidBundle" |
|
|
6289
|
+
/** The pushed tree changes a platform-owned file, which only Upgrades change. */
|
|
6290
|
+
"platformFile" |
|
|
6291
|
+
/** The pushed tree adds or changes a file under `src/` that isn't TypeScript or CSS. */
|
|
6292
|
+
"notCode" |
|
|
6293
|
+
/** `main` changed a platform-owned file since the branch last merged it. */
|
|
6294
|
+
"mergeMainFirst" |
|
|
6295
|
+
/** The branch starts from a commit that was never on `main`. */
|
|
6296
|
+
"baseNotOnMain" |
|
|
6297
|
+
/** The branch doesn't merge cleanly with the current `main`. */
|
|
6298
|
+
"conflictsWithMain" |
|
|
6299
|
+
/** The pushed head doesn't build. */
|
|
6300
|
+
"doesNotBuild" |
|
|
6301
|
+
/** The pushed head doesn't include the draft's current head. */
|
|
6302
|
+
"pullDraftFirst" |
|
|
6303
|
+
/** The draft the push names was published or deleted. */
|
|
6304
|
+
"draftEnded";
|
|
6305
|
+
type PushRefusal = {
|
|
6306
|
+
reason: PushRefusalReason;
|
|
6307
|
+
message: string;
|
|
6308
|
+
data?: Record<string, unknown>;
|
|
6309
|
+
};
|
|
6310
|
+
/** A push that passed the checks: its head, as a commit to build, and what landing it needs. */
|
|
6311
|
+
type CheckedPush = {
|
|
6312
|
+
/** The pushed head, as a commit to build. */
|
|
6313
|
+
prepared: PreparedCommit;
|
|
6314
|
+
/**
|
|
6315
|
+
* The commits of `main` or of the draft's branch the pushed commits build on: the bundle's
|
|
6316
|
+
* prerequisites.
|
|
6317
|
+
*/
|
|
6318
|
+
prerequisites: string[];
|
|
6319
|
+
/** The newest commit of `main` the pushed head holds, which a draft it opens forks from. */
|
|
6320
|
+
base: string;
|
|
6321
|
+
pack: Uint8Array;
|
|
6322
|
+
/** The subject of each pushed commit, oldest first. */
|
|
6323
|
+
subjects: string[];
|
|
6440
6324
|
};
|
|
6441
6325
|
//#endregion
|
|
6442
|
-
//#region ../../apps/api/src/domains/
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6326
|
+
//#region ../../apps/api/src/domains/code-pushes/land.d.ts
|
|
6327
|
+
/** A push that passed its checks, as the draft it lands on receives it. */
|
|
6328
|
+
type CheckedLanding = CheckedPush & {
|
|
6329
|
+
/** The project's Project ID, which names its repo. */
|
|
6330
|
+
repo: string;
|
|
6331
|
+
};
|
|
6332
|
+
/** Whether the push landed, with its head's build, or why it was refused. */
|
|
6333
|
+
type Landing = {
|
|
6334
|
+
refused: PushRefusal;
|
|
6335
|
+
} | {
|
|
6336
|
+
result: BuildResult;
|
|
6337
|
+
};
|
|
6338
|
+
//#endregion
|
|
6339
|
+
//#region ../../apps/api/src/domains/revisions/merge.d.ts
|
|
6340
|
+
/** How a merge of `main` into a draft ended. */
|
|
6341
|
+
type MergeEnd =
|
|
6342
|
+
/** The draft holds the current `main`, or will once its changes are committed. */
|
|
6343
|
+
"upToDate" |
|
|
6344
|
+
/** A merge revision landed, built, and the draft previews it. */
|
|
6345
|
+
"merged" |
|
|
6346
|
+
/** The merge clashed: it's left for Camox's reconcile turn (`DraftCode.clash`), to start. */
|
|
6347
|
+
"clashed" |
|
|
6348
|
+
/** This move of `main` clashed already: Camox's reconcile turn had its one try. */
|
|
6349
|
+
"clashedBefore";
|
|
6350
|
+
//#endregion
|
|
6351
|
+
//#region ../../apps/api/src/domains/agent/service.d.ts
|
|
6352
|
+
type ToolExecutionResponse = {
|
|
6353
|
+
ok: true;
|
|
6354
|
+
result: unknown;
|
|
6355
|
+
} | {
|
|
6356
|
+
ok: false;
|
|
6357
|
+
error: {
|
|
6358
|
+
code: string;
|
|
6359
|
+
message: string;
|
|
6360
|
+
details?: unknown;
|
|
6361
|
+
};
|
|
6362
|
+
};
|
|
6363
|
+
//#endregion
|
|
6364
|
+
//#region ../../apps/api/src/domains/threads/tools.d.ts
|
|
6365
|
+
/**
|
|
6366
|
+
* What a thread belongs to: its project, its draft once it has one, and for a Live thread, the
|
|
6367
|
+
* editor who owns it.
|
|
6368
|
+
*/
|
|
6369
|
+
declare const threadIdentitySchema: z.ZodObject<{
|
|
6370
|
+
projectId: z.ZodNumber;
|
|
6371
|
+
draftId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6372
|
+
ownerId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6373
|
+
}, z.core.$strip>;
|
|
6374
|
+
type ThreadIdentity = z.infer<typeof threadIdentitySchema>;
|
|
6375
|
+
//#endregion
|
|
6376
|
+
//#region ../../apps/api/src/durable-objects/thread.d.ts
|
|
6377
|
+
/**
|
|
6378
|
+
* How the API opens a draft's thread with no studio connected (`Thread.open`): what it belongs
|
|
6379
|
+
* to, the API's public origin, the Brief from Camox, and the messages the editor sent, oldest
|
|
6380
|
+
* first, each with the operation id it was sent with.
|
|
6381
|
+
*/
|
|
6382
|
+
type ThreadOpening = {
|
|
6383
|
+
identity: ThreadIdentity;
|
|
6384
|
+
apiOrigin: string;
|
|
6385
|
+
brief: string;
|
|
6386
|
+
editor: ThreadSender;
|
|
6387
|
+
messages: {
|
|
6388
|
+
operationId: string;
|
|
6389
|
+
text: string;
|
|
6390
|
+
}[];
|
|
6391
|
+
};
|
|
6392
|
+
/**
|
|
6393
|
+
* Cloudflare's `PiHarness`, leaving Pi closed when the object starts until `started` holds: Pi
|
|
6394
|
+
* creates its tables as it opens, and a thread nobody messaged has no run to resume.
|
|
6395
|
+
*/
|
|
6396
|
+
declare class UntilStartedPiHarness extends PiHarness {
|
|
6397
|
+
#private;
|
|
6398
|
+
constructor(started: () => Promise<boolean>, options: PiHarnessOptions);
|
|
6399
|
+
onStart(context: CapabilityStartContext): Promise<void>;
|
|
6400
|
+
}
|
|
6401
|
+
/**
|
|
6402
|
+
* One thread with Camox's agent, addressed by the thread's own id. Pi Durable runs the agent
|
|
6403
|
+
* through Cloudflare's `PiHarness`, so a run is saved at every step and carries on with no client
|
|
6404
|
+
* connected (ADR 0018).
|
|
6405
|
+
*
|
|
6406
|
+
* The API authorizes every connection before forwarding it here, naming the sender in
|
|
6407
|
+
* `THREAD_SENDER_HEADER`. Each socket gets a snapshot of Pi's agent events, then a batch per
|
|
6408
|
+
* commit; it sends editors' messages and can ask to resync.
|
|
6409
|
+
*
|
|
6410
|
+
* The thread starts with its first message: until then, connecting stores nothing, so opening a
|
|
6411
|
+
* draft leaves no thread behind.
|
|
6412
|
+
*/
|
|
6413
|
+
declare class Thread extends DurableObject<Bindings> {
|
|
6414
|
+
#private;
|
|
6415
|
+
readonly harness: UntilStartedPiHarness;
|
|
6416
|
+
readonly webSockets: WebSockets;
|
|
6417
|
+
readonly lifecycle: Lifecycle<object, object>;
|
|
6418
|
+
/**
|
|
6419
|
+
* Builds the code of the draft `draftId`, the thread's, in its build queue, as a publish of a
|
|
6420
|
+
* head revision whose build is gone asks: the head's tree finds its revision, built again.
|
|
6421
|
+
*/
|
|
6422
|
+
buildForPublish(draftId: string): Promise<BuildResult | null>;
|
|
6423
|
+
/**
|
|
6424
|
+
* Lands a member's checked push `push` on the thread's draft, in its build queue, as `pusher`
|
|
6425
|
+
* pushed it (ADR 0026): once the agent's turn going, if any, made its last commit, and before
|
|
6426
|
+
* the next message. Starts the thread, if nobody messaged it yet, so Camox's merges of `main`
|
|
6427
|
+
* reach the draft. `waiting` hears that the push waits for the turn. A push that landed adds
|
|
6428
|
+
* its entry to the thread: the agent reads it, and doesn't answer it.
|
|
6429
|
+
*/
|
|
6430
|
+
landPush(push: CheckedLanding & {
|
|
6431
|
+
identity: ThreadIdentity;
|
|
6432
|
+
pusher: ThreadSender;
|
|
6433
|
+
}, waiting?: () => Promise<void> | void): Promise<Landing>;
|
|
6434
|
+
/**
|
|
6435
|
+
* Adds the entry of a member's push that landed on the thread's draft, starting the thread if
|
|
6436
|
+
* nobody messaged it yet: who pushed, their commits, and how the pushed head built. The model
|
|
6437
|
+
* reads it as context; it starts no turn.
|
|
6438
|
+
*/
|
|
6439
|
+
notePush(push: {
|
|
6440
|
+
identity: ThreadIdentity;
|
|
6441
|
+
pusher: ThreadSender;
|
|
6442
|
+
subjects: string[];
|
|
6443
|
+
result: BuildResult;
|
|
6444
|
+
}): Promise<void>;
|
|
6445
|
+
/**
|
|
6446
|
+
* Merges the current `main` into the thread's draft, when it has code, as a push to `main`
|
|
6447
|
+
* asks: right away when the agent is idle, or else right after its turn's last commit, before
|
|
6448
|
+
* the next message (`#onYield`). Nothing of it shows in the thread.
|
|
6449
|
+
*/
|
|
6450
|
+
mergeMain(): Promise<MergeEnd | "afterTheTurn" | "noCode">;
|
|
6451
|
+
/**
|
|
6452
|
+
* Builds the code of the thread's draft, as the end of a turn would on its last try, when
|
|
6453
|
+
* Camox's infrastructure failed the last build: changes that don't build are committed as a
|
|
6454
|
+
* revision that isn't built, which blocks publishing. Nothing of it shows in the thread. A
|
|
6455
|
+
* failure on Camox's side again owes the next retry. `busy` while the agent's turn runs: its
|
|
6456
|
+
* end builds.
|
|
6457
|
+
*/
|
|
6458
|
+
retryBuild(): Promise<"built" | "failed" | "busy" | "noCode">;
|
|
6459
|
+
/**
|
|
6460
|
+
* Lifecycle's alarm, which wakes Pi's runs, unless the thread ended: an alarm already on its
|
|
6461
|
+
* way when it did would look for the jobs its storage no longer has.
|
|
6462
|
+
*/
|
|
6463
|
+
alarm(): Promise<void>;
|
|
6464
|
+
/** Gives sockets that outlived the last isolate a new watch and a fresh snapshot. */
|
|
6465
|
+
onStart(): Promise<void>;
|
|
6466
|
+
/**
|
|
6467
|
+
* Shows every socket on a Live thread where the drafts its cards name stand now, as the API
|
|
6468
|
+
* asks once one of them is renamed or ends (ADR 0025). Nothing of it goes in the transcript.
|
|
6469
|
+
*/
|
|
6470
|
+
showDrafts(): Promise<void>;
|
|
6471
|
+
/**
|
|
6472
|
+
* Opens the thread from the API, with no studio connected, as a Live thread handing a request
|
|
6473
|
+
* off to a draft does (ADR 0025): records what it belongs to and the API's origin, adds the
|
|
6474
|
+
* Brief, which the model reads and studios show as from Camox, then the editor's messages
|
|
6475
|
+
* under their name, and starts the agent's run, which acts as that editor. Every message but
|
|
6476
|
+
* the last goes in before the run, the last starting it, so the model reads them all on its
|
|
6477
|
+
* first call. Repeating it changes nothing.
|
|
6478
|
+
*/
|
|
6479
|
+
open({ identity, apiOrigin, brief, editor, messages }: ThreadOpening): Promise<void>;
|
|
6480
|
+
/**
|
|
6481
|
+
* Adds Camox's `note` that the draft `draftId`, which this Live thread started, ended, at the
|
|
6482
|
+
* end of the conversation: right away when the thread is idle, or else at the next break of
|
|
6483
|
+
* the run going, as Pi places a write the model reads. Only the model reads it, and it asks the
|
|
6484
|
+
* model nothing: nothing earlier, nor the system prompt, changes (ADR 0025). Repeating it adds
|
|
6485
|
+
* nothing.
|
|
6486
|
+
*/
|
|
6487
|
+
noteDraftEnded({ draftId, note }: {
|
|
6488
|
+
draftId: string;
|
|
6489
|
+
note: string;
|
|
6490
|
+
}): Promise<void>;
|
|
6491
|
+
/**
|
|
6492
|
+
* Ends the thread with its draft, wiping everything it stored, since Pi can't delete a
|
|
6493
|
+
* conversation yet: the run going stops, and studios still open on it see an empty thread
|
|
6494
|
+
* before their sockets close. The sandbox's object for the thread stores nothing.
|
|
6495
|
+
*
|
|
6496
|
+
* Its draft is gone, but a socket the API forwarded just before may still reach it. So the thread keeps the
|
|
6497
|
+
* record that it ended, and turns away every socket and message after, as its alarm does
|
|
6498
|
+
* nothing: nothing opens Pi again. The object isn't reset, which would fail whatever reached
|
|
6499
|
+
* it next.
|
|
6500
|
+
*/
|
|
6501
|
+
end(): Promise<void>;
|
|
6502
|
+
}
|
|
6503
|
+
//#endregion
|
|
6504
|
+
//#region ../../apps/api/src/domains/code/main-copy.d.ts
|
|
6505
|
+
/** A file of a project's code: its content, or where a symlink points. */
|
|
6506
|
+
type CodeFile = {
|
|
6507
|
+
path: string;
|
|
6508
|
+
content: Uint8Array;
|
|
6509
|
+
} | {
|
|
6510
|
+
path: string;
|
|
6511
|
+
symlink: string;
|
|
6512
|
+
};
|
|
6513
|
+
//#endregion
|
|
6514
|
+
//#region ../../apps/api/src/durable-objects/project-code.d.ts
|
|
6515
|
+
/** What `snapshot` answers: the files only when the caller doesn't already have that commit. */
|
|
6516
|
+
type MainSnapshot = {
|
|
6517
|
+
commit: string;
|
|
6518
|
+
files?: CodeFile[];
|
|
6519
|
+
};
|
|
6520
|
+
/**
|
|
6521
|
+
* A read-only copy of one project's `main`, addressed by its Project ID, which names its repo.
|
|
6522
|
+
* The agent reads the website's code from it on Live, and in a draft without code. A push to
|
|
6523
|
+
* `main` refreshes it (the release Workflow), and a copy that was never made is made on its first
|
|
6524
|
+
* read. It keeps the files in its SQLite, so an eviction doesn't clone again; Git's own directory
|
|
6525
|
+
* isn't kept.
|
|
6526
|
+
*/
|
|
6527
|
+
declare class ProjectCode extends DurableObject<Bindings> {
|
|
6528
|
+
#private;
|
|
6529
|
+
constructor(ctx: DurableObjectState, env: Bindings);
|
|
6530
|
+
/**
|
|
6531
|
+
* Makes the copy match `main`, unless it already holds `commit`, the commit a push moved `main`
|
|
6532
|
+
* to. Returns the commit it holds. One refresh at a time.
|
|
6533
|
+
*/
|
|
6534
|
+
refresh(commit?: string): Promise<string>;
|
|
6535
|
+
/** Deletes the copy, as its project is deleted. */
|
|
6536
|
+
discard(): Promise<void>;
|
|
6537
|
+
/** The commit of `main` the copy holds, without making it if it never was. */
|
|
6538
|
+
commit(): Promise<string | undefined>;
|
|
6539
|
+
/** The copy, made first if it never was; only its commit when it's `known`. */
|
|
6540
|
+
snapshot(known?: string): Promise<MainSnapshot>;
|
|
6541
|
+
}
|
|
6542
|
+
//#endregion
|
|
6543
|
+
//#region ../../apps/api/src/domains/project-creation/workflow.d.ts
|
|
6544
|
+
type ProjectCreationParams = {
|
|
6545
|
+
/** The new project's Project ID, which names its repo. */
|
|
6546
|
+
projectId: string;
|
|
6547
|
+
};
|
|
6548
|
+
//#endregion
|
|
6549
|
+
//#region ../../apps/api/src/domains/project-deletion/workflow.d.ts
|
|
6550
|
+
type ProjectDeletionParams = {
|
|
6551
|
+
/** The deleted project's Project ID, which names its Worker and its repo. */
|
|
6552
|
+
projectId: string;
|
|
6553
|
+
/** The deleted project's name, for the alert: its row is gone. */
|
|
6554
|
+
name: string;
|
|
6555
|
+
/** Its drafts' IDs, which name their working copies and sandboxes: their rows are gone. */
|
|
6556
|
+
drafts?: string[];
|
|
6450
6557
|
};
|
|
6451
6558
|
//#endregion
|
|
6452
6559
|
//#region ../../apps/api/src/domains/upgrades/workflow.d.ts
|
|
@@ -6496,12 +6603,13 @@ type RevisionToLoad = {
|
|
|
6496
6603
|
/** Dispatch's `CamoxRevisions` entrypoint. */
|
|
6497
6604
|
type Dispatch = {
|
|
6498
6605
|
/**
|
|
6499
|
-
* Readies a revision before its draft's viewers are told of it, reading its build once
|
|
6606
|
+
* Readies a revision before its draft's viewers are told of it, reading its build once, from
|
|
6607
|
+
* `archive` when the API sends it, as it does while it stores it, or else from R2:
|
|
6500
6608
|
* dispatch serves its client assets from then on, and has loaded and rendered it once. Returns
|
|
6501
6609
|
* its Definition Set (JSON, not yet checked), with what each part took, for the API's timing
|
|
6502
6610
|
* logs.
|
|
6503
6611
|
*/
|
|
6504
|
-
prepare(revision: RevisionToLoad): Promise<PreparedRevision>;
|
|
6612
|
+
prepare(revision: RevisionToLoad, archive?: Uint8Array): Promise<PreparedRevision>;
|
|
6505
6613
|
};
|
|
6506
6614
|
/**
|
|
6507
6615
|
* What preparing a revision took: reading its build, then, at once, storing its client assets
|
|
@@ -6532,6 +6640,11 @@ type Bindings = {
|
|
|
6532
6640
|
EMAIL: SendEmail;
|
|
6533
6641
|
/** Where alerts go, such as a failed release's. Cloudflare Email Routing forwards it. */
|
|
6534
6642
|
ALERT_EMAIL_TO: string;
|
|
6643
|
+
/**
|
|
6644
|
+
* The largest revision build, in bytes, the API sends dispatch in one message
|
|
6645
|
+
* (`DISPATCH_ARCHIVE_LIMIT` in domains/revisions/build.ts when unset). Set only by tests.
|
|
6646
|
+
*/
|
|
6647
|
+
DISPATCH_ARCHIVE_LIMIT_BYTES?: string;
|
|
6535
6648
|
OPEN_ROUTER_API_KEY: string;
|
|
6536
6649
|
/** Camox's Google Fonts Developer API key, which the daily fonts snapshot is taken with. */
|
|
6537
6650
|
GOOGLE_FONTS_API_KEY: string;
|
|
@@ -6549,7 +6662,10 @@ type Bindings = {
|
|
|
6549
6662
|
/** The sandbox Worker's Durable Object running code mode scripts, one per thread (ADR 0018). */
|
|
6550
6663
|
CODEMODE_SANDBOX: DurableObjectNamespace<import("@earendil-works/pi-codemode/cloudflare").CodemodeSandboxDurableObject>;
|
|
6551
6664
|
FILES_BUCKET: R2Bucket;
|
|
6552
|
-
/**
|
|
6665
|
+
/**
|
|
6666
|
+
* Project Slug or Custom Domain → Project ID: which project each `<slug>.camox.site` host and
|
|
6667
|
+
* Custom Domain serves (apps/dispatch/README.md).
|
|
6668
|
+
*/
|
|
6553
6669
|
PROJECT_SLUGS: KVNamespace;
|
|
6554
6670
|
MEDIA?: MediaBinding;
|
|
6555
6671
|
/** The `projects` Cloudflare Artifacts namespace: every project's repo, and the Template's. */
|
|
@@ -6985,7 +7101,6 @@ type Person = {
|
|
|
6985
7101
|
//#region ../../apps/api/src/domains/drafts/list.d.ts
|
|
6986
7102
|
type DraftSummary = {
|
|
6987
7103
|
id: string;
|
|
6988
|
-
kind: DraftKind;
|
|
6989
7104
|
name: string | null;
|
|
6990
7105
|
createdBy: Person;
|
|
6991
7106
|
createdAt: number;
|
|
@@ -7078,8 +7193,8 @@ type Owner = {
|
|
|
7078
7193
|
name: string;
|
|
7079
7194
|
title: string;
|
|
7080
7195
|
} | null;
|
|
7081
|
-
/** What a preview can mention: an entity drafts hold,
|
|
7082
|
-
type SubjectKind = EntityKind | "
|
|
7196
|
+
/** What a preview can mention: an entity drafts hold, or its code. */
|
|
7197
|
+
type SubjectKind = EntityKind | "code";
|
|
7083
7198
|
/** An entity as people know it. */
|
|
7084
7199
|
type Subject = {
|
|
7085
7200
|
entity: SubjectKind;
|
|
@@ -7135,7 +7250,7 @@ type LostChange = Subject & InLocale & {
|
|
|
7135
7250
|
reason: (typeof LOSS_REASONS)[number];
|
|
7136
7251
|
};
|
|
7137
7252
|
/** What a blocker or warning is about. */
|
|
7138
|
-
declare const PROBLEM_CODES: readonly ["
|
|
7253
|
+
declare const PROBLEM_CODES: readonly ["codeDoesNotBuild", "codeDoesNotTypeCheck", "codeDoesNotMerge", "emptyRequiredFile", "missingFile", "missingFileBytes", "unacceptedFileType", "duplicatePath", "duplicateRecordPageValue", "emptyRequiredReference", "danglingReference", "danglingPageLink", "wrongKindValue", "missingMetaTitle", "metaTitlePending", "localePrefixTaken", "duplicateLocale", "removedInUse"];
|
|
7139
7254
|
/** A blocker, or the same problem already on Live as a warning, naming what to fix. */
|
|
7140
7255
|
type Problem = Subject & InLocale & ProblemPlace & {
|
|
7141
7256
|
code: (typeof PROBLEM_CODES)[number];
|
|
@@ -7164,8 +7279,7 @@ type PublishPreview = {
|
|
|
7164
7279
|
};
|
|
7165
7280
|
/**
|
|
7166
7281
|
* What publishing did: nothing, for an empty draft, which publishing leaves as is; or how the
|
|
7167
|
-
* draft ended, also when an earlier attempt ended it
|
|
7168
|
-
* open, emptied).
|
|
7282
|
+
* draft ended, also when an earlier attempt ended it.
|
|
7169
7283
|
*/
|
|
7170
7284
|
type PublishResult = {
|
|
7171
7285
|
empty: true;
|
|
@@ -7180,6 +7294,16 @@ type PublishResult = {
|
|
|
7180
7294
|
publishing: true;
|
|
7181
7295
|
};
|
|
7182
7296
|
//#endregion
|
|
7297
|
+
//#region ../../apps/api/src/domains/code-pushes/service.d.ts
|
|
7298
|
+
/** Where a push stands, as it streams to the CLI while the push goes. */
|
|
7299
|
+
type PushStep =
|
|
7300
|
+
/** Its commits are checked against `main` and the draft. */
|
|
7301
|
+
"checking" |
|
|
7302
|
+
/** It waits for the agent's turn going in the draft to end. */
|
|
7303
|
+
"waiting" |
|
|
7304
|
+
/** Its head builds. */
|
|
7305
|
+
"building";
|
|
7306
|
+
//#endregion
|
|
7183
7307
|
//#region ../../apps/api/src/router.d.ts
|
|
7184
7308
|
declare const router: {
|
|
7185
7309
|
projects: {
|
|
@@ -7218,8 +7342,8 @@ declare const router: {
|
|
|
7218
7342
|
studio?: boolean | null | undefined;
|
|
7219
7343
|
};
|
|
7220
7344
|
db: Database;
|
|
7221
|
-
headers: Headers;
|
|
7222
7345
|
env: Bindings;
|
|
7346
|
+
headers: Headers;
|
|
7223
7347
|
client: string;
|
|
7224
7348
|
telemetryDisabled: boolean;
|
|
7225
7349
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -7234,6 +7358,7 @@ declare const router: {
|
|
|
7234
7358
|
id: number;
|
|
7235
7359
|
uuid: string;
|
|
7236
7360
|
slug: string;
|
|
7361
|
+
customDomain: string | null;
|
|
7237
7362
|
name: string;
|
|
7238
7363
|
deployToken: string;
|
|
7239
7364
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -7248,6 +7373,7 @@ declare const router: {
|
|
|
7248
7373
|
publishPushInstanceId: string | null;
|
|
7249
7374
|
publishPushRequestedAt: number | null;
|
|
7250
7375
|
liveScript: string | null;
|
|
7376
|
+
codeOutsideCamox: boolean;
|
|
7251
7377
|
createdAt: number;
|
|
7252
7378
|
updatedAt: number;
|
|
7253
7379
|
}[], {
|
|
@@ -7255,6 +7381,7 @@ declare const router: {
|
|
|
7255
7381
|
id: number;
|
|
7256
7382
|
uuid: string;
|
|
7257
7383
|
slug: string;
|
|
7384
|
+
customDomain: string | null;
|
|
7258
7385
|
name: string;
|
|
7259
7386
|
deployToken: string;
|
|
7260
7387
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -7269,6 +7396,7 @@ declare const router: {
|
|
|
7269
7396
|
publishPushInstanceId: string | null;
|
|
7270
7397
|
publishPushRequestedAt: number | null;
|
|
7271
7398
|
liveScript: string | null;
|
|
7399
|
+
codeOutsideCamox: boolean;
|
|
7272
7400
|
createdAt: number;
|
|
7273
7401
|
updatedAt: number;
|
|
7274
7402
|
}[]>, Record<never, never>, Record<never, never>>;
|
|
@@ -7307,8 +7435,8 @@ declare const router: {
|
|
|
7307
7435
|
studio?: boolean | null | undefined;
|
|
7308
7436
|
};
|
|
7309
7437
|
db: Database;
|
|
7310
|
-
headers: Headers;
|
|
7311
7438
|
env: Bindings;
|
|
7439
|
+
headers: Headers;
|
|
7312
7440
|
client: string;
|
|
7313
7441
|
telemetryDisabled: boolean;
|
|
7314
7442
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -7322,6 +7450,7 @@ declare const router: {
|
|
|
7322
7450
|
id: number;
|
|
7323
7451
|
uuid: string;
|
|
7324
7452
|
slug: string;
|
|
7453
|
+
customDomain: string | null;
|
|
7325
7454
|
name: string;
|
|
7326
7455
|
deployToken: string;
|
|
7327
7456
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -7336,12 +7465,14 @@ declare const router: {
|
|
|
7336
7465
|
publishPushInstanceId: string | null;
|
|
7337
7466
|
publishPushRequestedAt: number | null;
|
|
7338
7467
|
liveScript: string | null;
|
|
7468
|
+
codeOutsideCamox: boolean;
|
|
7339
7469
|
createdAt: number;
|
|
7340
7470
|
updatedAt: number;
|
|
7341
7471
|
}, {
|
|
7342
7472
|
id: number;
|
|
7343
7473
|
uuid: string;
|
|
7344
7474
|
slug: string;
|
|
7475
|
+
customDomain: string | null;
|
|
7345
7476
|
name: string;
|
|
7346
7477
|
deployToken: string;
|
|
7347
7478
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -7356,6 +7487,7 @@ declare const router: {
|
|
|
7356
7487
|
publishPushInstanceId: string | null;
|
|
7357
7488
|
publishPushRequestedAt: number | null;
|
|
7358
7489
|
liveScript: string | null;
|
|
7490
|
+
codeOutsideCamox: boolean;
|
|
7359
7491
|
createdAt: number;
|
|
7360
7492
|
updatedAt: number;
|
|
7361
7493
|
}>, Record<never, never>, Record<never, never>>;
|
|
@@ -7394,8 +7526,8 @@ declare const router: {
|
|
|
7394
7526
|
studio?: boolean | null | undefined;
|
|
7395
7527
|
};
|
|
7396
7528
|
db: Database;
|
|
7397
|
-
headers: Headers;
|
|
7398
7529
|
env: Bindings;
|
|
7530
|
+
headers: Headers;
|
|
7399
7531
|
client: string;
|
|
7400
7532
|
telemetryDisabled: boolean;
|
|
7401
7533
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -7408,11 +7540,12 @@ declare const router: {
|
|
|
7408
7540
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7409
7541
|
organizationSlug: string | null;
|
|
7410
7542
|
analytics: AnalyticsProviders;
|
|
7543
|
+
uuid: string;
|
|
7411
7544
|
name: string;
|
|
7412
7545
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7413
7546
|
id: number;
|
|
7414
|
-
uuid: string;
|
|
7415
7547
|
slug: string;
|
|
7548
|
+
customDomain: string | null;
|
|
7416
7549
|
deployToken: string;
|
|
7417
7550
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
7418
7551
|
createdAt: number;
|
|
@@ -7426,15 +7559,17 @@ declare const router: {
|
|
|
7426
7559
|
publishPushInstanceId: string | null;
|
|
7427
7560
|
publishPushRequestedAt: number | null;
|
|
7428
7561
|
liveScript: string | null;
|
|
7562
|
+
codeOutsideCamox: boolean;
|
|
7429
7563
|
updatedAt: number;
|
|
7430
7564
|
}, {
|
|
7431
7565
|
organizationSlug: string | null;
|
|
7432
7566
|
analytics: AnalyticsProviders;
|
|
7567
|
+
uuid: string;
|
|
7433
7568
|
name: string;
|
|
7434
7569
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7435
7570
|
id: number;
|
|
7436
|
-
uuid: string;
|
|
7437
7571
|
slug: string;
|
|
7572
|
+
customDomain: string | null;
|
|
7438
7573
|
deployToken: string;
|
|
7439
7574
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
7440
7575
|
createdAt: number;
|
|
@@ -7448,6 +7583,7 @@ declare const router: {
|
|
|
7448
7583
|
publishPushInstanceId: string | null;
|
|
7449
7584
|
publishPushRequestedAt: number | null;
|
|
7450
7585
|
liveScript: string | null;
|
|
7586
|
+
codeOutsideCamox: boolean;
|
|
7451
7587
|
updatedAt: number;
|
|
7452
7588
|
}>, Record<never, never>, Record<never, never>>;
|
|
7453
7589
|
getByUuid: 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>>, {
|
|
@@ -7485,8 +7621,8 @@ declare const router: {
|
|
|
7485
7621
|
studio?: boolean | null | undefined;
|
|
7486
7622
|
};
|
|
7487
7623
|
db: Database;
|
|
7488
|
-
headers: Headers;
|
|
7489
7624
|
env: Bindings;
|
|
7625
|
+
headers: Headers;
|
|
7490
7626
|
client: string;
|
|
7491
7627
|
telemetryDisabled: boolean;
|
|
7492
7628
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -7499,11 +7635,12 @@ declare const router: {
|
|
|
7499
7635
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7500
7636
|
organizationSlug: string | null;
|
|
7501
7637
|
analytics: AnalyticsProviders;
|
|
7638
|
+
uuid: string;
|
|
7502
7639
|
name: string;
|
|
7503
7640
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7504
7641
|
id: number;
|
|
7505
|
-
uuid: string;
|
|
7506
7642
|
slug: string;
|
|
7643
|
+
customDomain: string | null;
|
|
7507
7644
|
deployToken: string;
|
|
7508
7645
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
7509
7646
|
createdAt: number;
|
|
@@ -7517,15 +7654,17 @@ declare const router: {
|
|
|
7517
7654
|
publishPushInstanceId: string | null;
|
|
7518
7655
|
publishPushRequestedAt: number | null;
|
|
7519
7656
|
liveScript: string | null;
|
|
7657
|
+
codeOutsideCamox: boolean;
|
|
7520
7658
|
updatedAt: number;
|
|
7521
7659
|
}, {
|
|
7522
7660
|
organizationSlug: string | null;
|
|
7523
7661
|
analytics: AnalyticsProviders;
|
|
7662
|
+
uuid: string;
|
|
7524
7663
|
name: string;
|
|
7525
7664
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7526
7665
|
id: number;
|
|
7527
|
-
uuid: string;
|
|
7528
7666
|
slug: string;
|
|
7667
|
+
customDomain: string | null;
|
|
7529
7668
|
deployToken: string;
|
|
7530
7669
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
7531
7670
|
createdAt: number;
|
|
@@ -7539,6 +7678,7 @@ declare const router: {
|
|
|
7539
7678
|
publishPushInstanceId: string | null;
|
|
7540
7679
|
publishPushRequestedAt: number | null;
|
|
7541
7680
|
liveScript: string | null;
|
|
7681
|
+
codeOutsideCamox: boolean;
|
|
7542
7682
|
updatedAt: number;
|
|
7543
7683
|
}>, Record<never, never>, Record<never, never>>;
|
|
7544
7684
|
getSummary: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
@@ -7593,8 +7733,8 @@ declare const router: {
|
|
|
7593
7733
|
studio?: boolean | null | undefined;
|
|
7594
7734
|
};
|
|
7595
7735
|
db: Database;
|
|
7596
|
-
headers: Headers;
|
|
7597
7736
|
env: Bindings;
|
|
7737
|
+
headers: Headers;
|
|
7598
7738
|
client: string;
|
|
7599
7739
|
telemetryDisabled: boolean;
|
|
7600
7740
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -7607,11 +7747,12 @@ declare const router: {
|
|
|
7607
7747
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7608
7748
|
organizationSlug: string | null;
|
|
7609
7749
|
analytics: AnalyticsProviders;
|
|
7750
|
+
uuid: string;
|
|
7610
7751
|
name: string;
|
|
7611
7752
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7612
7753
|
id: number;
|
|
7613
|
-
uuid: string;
|
|
7614
7754
|
slug: string;
|
|
7755
|
+
customDomain: string | null;
|
|
7615
7756
|
deployToken: string;
|
|
7616
7757
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
7617
7758
|
createdAt: number;
|
|
@@ -7625,15 +7766,17 @@ declare const router: {
|
|
|
7625
7766
|
publishPushInstanceId: string | null;
|
|
7626
7767
|
publishPushRequestedAt: number | null;
|
|
7627
7768
|
liveScript: string | null;
|
|
7769
|
+
codeOutsideCamox: boolean;
|
|
7628
7770
|
updatedAt: number;
|
|
7629
7771
|
}, {
|
|
7630
7772
|
organizationSlug: string | null;
|
|
7631
7773
|
analytics: AnalyticsProviders;
|
|
7774
|
+
uuid: string;
|
|
7632
7775
|
name: string;
|
|
7633
7776
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7634
7777
|
id: number;
|
|
7635
|
-
uuid: string;
|
|
7636
7778
|
slug: string;
|
|
7779
|
+
customDomain: string | null;
|
|
7637
7780
|
deployToken: string;
|
|
7638
7781
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
7639
7782
|
createdAt: number;
|
|
@@ -7647,6 +7790,7 @@ declare const router: {
|
|
|
7647
7790
|
publishPushInstanceId: string | null;
|
|
7648
7791
|
publishPushRequestedAt: number | null;
|
|
7649
7792
|
liveScript: string | null;
|
|
7793
|
+
codeOutsideCamox: boolean;
|
|
7650
7794
|
updatedAt: number;
|
|
7651
7795
|
}>, Record<never, never>, Record<never, never>>;
|
|
7652
7796
|
checkSlugAvailability: 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>>, {
|
|
@@ -7684,8 +7828,8 @@ declare const router: {
|
|
|
7684
7828
|
studio?: boolean | null | undefined;
|
|
7685
7829
|
};
|
|
7686
7830
|
db: Database;
|
|
7687
|
-
headers: Headers;
|
|
7688
7831
|
env: Bindings;
|
|
7832
|
+
headers: Headers;
|
|
7689
7833
|
client: string;
|
|
7690
7834
|
telemetryDisabled: boolean;
|
|
7691
7835
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -7743,8 +7887,8 @@ declare const router: {
|
|
|
7743
7887
|
studio?: boolean | null | undefined;
|
|
7744
7888
|
};
|
|
7745
7889
|
db: Database;
|
|
7746
|
-
headers: Headers;
|
|
7747
7890
|
env: Bindings;
|
|
7891
|
+
headers: Headers;
|
|
7748
7892
|
client: string;
|
|
7749
7893
|
telemetryDisabled: boolean;
|
|
7750
7894
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -7757,11 +7901,12 @@ declare const router: {
|
|
|
7757
7901
|
slug: import("zod").ZodString;
|
|
7758
7902
|
organizationId: import("zod").ZodString;
|
|
7759
7903
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7904
|
+
uuid: string;
|
|
7760
7905
|
name: string;
|
|
7761
7906
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7762
7907
|
id: number;
|
|
7763
|
-
uuid: string;
|
|
7764
7908
|
slug: string;
|
|
7909
|
+
customDomain: string | null;
|
|
7765
7910
|
deployToken: string;
|
|
7766
7911
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
7767
7912
|
createdAt: number;
|
|
@@ -7775,13 +7920,15 @@ declare const router: {
|
|
|
7775
7920
|
publishPushInstanceId: string | null;
|
|
7776
7921
|
publishPushRequestedAt: number | null;
|
|
7777
7922
|
liveScript: string | null;
|
|
7923
|
+
codeOutsideCamox: boolean;
|
|
7778
7924
|
updatedAt: number;
|
|
7779
7925
|
}, {
|
|
7926
|
+
uuid: string;
|
|
7780
7927
|
name: string;
|
|
7781
7928
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7782
7929
|
id: number;
|
|
7783
|
-
uuid: string;
|
|
7784
7930
|
slug: string;
|
|
7931
|
+
customDomain: string | null;
|
|
7785
7932
|
deployToken: string;
|
|
7786
7933
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
7787
7934
|
createdAt: number;
|
|
@@ -7795,6 +7942,7 @@ declare const router: {
|
|
|
7795
7942
|
publishPushInstanceId: string | null;
|
|
7796
7943
|
publishPushRequestedAt: number | null;
|
|
7797
7944
|
liveScript: string | null;
|
|
7945
|
+
codeOutsideCamox: boolean;
|
|
7798
7946
|
updatedAt: number;
|
|
7799
7947
|
}>, Record<never, never>, Record<never, never>>;
|
|
7800
7948
|
update: 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>>, {
|
|
@@ -7832,8 +7980,8 @@ declare const router: {
|
|
|
7832
7980
|
studio?: boolean | null | undefined;
|
|
7833
7981
|
};
|
|
7834
7982
|
db: Database;
|
|
7835
|
-
headers: Headers;
|
|
7836
7983
|
env: Bindings;
|
|
7984
|
+
headers: Headers;
|
|
7837
7985
|
client: string;
|
|
7838
7986
|
telemetryDisabled: boolean;
|
|
7839
7987
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -7845,11 +7993,12 @@ declare const router: {
|
|
|
7845
7993
|
id: import("zod").ZodNumber;
|
|
7846
7994
|
name: import("zod").ZodString;
|
|
7847
7995
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7996
|
+
uuid: string;
|
|
7848
7997
|
name: string;
|
|
7849
7998
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7850
7999
|
id: number;
|
|
7851
|
-
uuid: string;
|
|
7852
8000
|
slug: string;
|
|
8001
|
+
customDomain: string | null;
|
|
7853
8002
|
deployToken: string;
|
|
7854
8003
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
7855
8004
|
createdAt: number;
|
|
@@ -7863,13 +8012,15 @@ declare const router: {
|
|
|
7863
8012
|
publishPushInstanceId: string | null;
|
|
7864
8013
|
publishPushRequestedAt: number | null;
|
|
7865
8014
|
liveScript: string | null;
|
|
8015
|
+
codeOutsideCamox: boolean;
|
|
7866
8016
|
updatedAt: number;
|
|
7867
8017
|
}, {
|
|
8018
|
+
uuid: string;
|
|
7868
8019
|
name: string;
|
|
7869
8020
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7870
8021
|
id: number;
|
|
7871
|
-
uuid: string;
|
|
7872
8022
|
slug: string;
|
|
8023
|
+
customDomain: string | null;
|
|
7873
8024
|
deployToken: string;
|
|
7874
8025
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
7875
8026
|
createdAt: number;
|
|
@@ -7883,6 +8034,7 @@ declare const router: {
|
|
|
7883
8034
|
publishPushInstanceId: string | null;
|
|
7884
8035
|
publishPushRequestedAt: number | null;
|
|
7885
8036
|
liveScript: string | null;
|
|
8037
|
+
codeOutsideCamox: boolean;
|
|
7886
8038
|
updatedAt: number;
|
|
7887
8039
|
}>, Record<never, never>, Record<never, never>>;
|
|
7888
8040
|
updateAnalytics: 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>>, {
|
|
@@ -7920,8 +8072,8 @@ declare const router: {
|
|
|
7920
8072
|
studio?: boolean | null | undefined;
|
|
7921
8073
|
};
|
|
7922
8074
|
db: Database;
|
|
7923
|
-
headers: Headers;
|
|
7924
8075
|
env: Bindings;
|
|
8076
|
+
headers: Headers;
|
|
7925
8077
|
client: string;
|
|
7926
8078
|
telemetryDisabled: boolean;
|
|
7927
8079
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -7983,8 +8135,8 @@ declare const router: {
|
|
|
7983
8135
|
studio?: boolean | null | undefined;
|
|
7984
8136
|
};
|
|
7985
8137
|
db: Database;
|
|
7986
|
-
headers: Headers;
|
|
7987
8138
|
env: Bindings;
|
|
8139
|
+
headers: Headers;
|
|
7988
8140
|
client: string;
|
|
7989
8141
|
telemetryDisabled: boolean;
|
|
7990
8142
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -8002,7 +8154,7 @@ declare const router: {
|
|
|
8002
8154
|
socialProfiles: string[];
|
|
8003
8155
|
updatedAt: number;
|
|
8004
8156
|
}>, Record<never, never>, Record<never, never>>;
|
|
8005
|
-
|
|
8157
|
+
createCodeReadToken: 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>>, {
|
|
8006
8158
|
draft: DraftRequest | null;
|
|
8007
8159
|
locale: string | undefined;
|
|
8008
8160
|
publishingDraft: string | undefined;
|
|
@@ -8037,8 +8189,65 @@ declare const router: {
|
|
|
8037
8189
|
studio?: boolean | null | undefined;
|
|
8038
8190
|
};
|
|
8039
8191
|
db: Database;
|
|
8192
|
+
env: Bindings;
|
|
8040
8193
|
headers: Headers;
|
|
8194
|
+
client: string;
|
|
8195
|
+
telemetryDisabled: boolean;
|
|
8196
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
8197
|
+
apiOrigin?: string | undefined;
|
|
8198
|
+
draft: DraftRequest | null;
|
|
8199
|
+
locale: string | undefined;
|
|
8200
|
+
publishingDraft: string | undefined;
|
|
8201
|
+
}>, import("zod").ZodObject<{
|
|
8202
|
+
projectUuid: import("zod").ZodUUID;
|
|
8203
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8204
|
+
remote: any;
|
|
8205
|
+
token: any;
|
|
8206
|
+
expiresAt: any;
|
|
8207
|
+
projectSlug: string;
|
|
8208
|
+
}, {
|
|
8209
|
+
remote: any;
|
|
8210
|
+
token: any;
|
|
8211
|
+
expiresAt: any;
|
|
8212
|
+
projectSlug: string;
|
|
8213
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
8214
|
+
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>>, {
|
|
8215
|
+
draft: DraftRequest | null;
|
|
8216
|
+
locale: string | undefined;
|
|
8217
|
+
publishingDraft: string | undefined;
|
|
8218
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
8219
|
+
draft: DraftRequest | null;
|
|
8220
|
+
locale: string | undefined;
|
|
8221
|
+
publishingDraft: string | undefined;
|
|
8222
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
8223
|
+
draft: DraftRequest | null;
|
|
8224
|
+
locale: string | undefined;
|
|
8225
|
+
publishingDraft: string | undefined;
|
|
8226
|
+
}>, {
|
|
8227
|
+
user: {
|
|
8228
|
+
id: string;
|
|
8229
|
+
createdAt: Date;
|
|
8230
|
+
updatedAt: Date;
|
|
8231
|
+
email: string;
|
|
8232
|
+
emailVerified: boolean;
|
|
8233
|
+
name: string;
|
|
8234
|
+
image?: string | null | undefined;
|
|
8235
|
+
};
|
|
8236
|
+
session: {
|
|
8237
|
+
id: string;
|
|
8238
|
+
createdAt: Date;
|
|
8239
|
+
updatedAt: Date;
|
|
8240
|
+
userId: string;
|
|
8241
|
+
expiresAt: Date;
|
|
8242
|
+
token: string;
|
|
8243
|
+
ipAddress?: string | null | undefined;
|
|
8244
|
+
userAgent?: string | null | undefined;
|
|
8245
|
+
activeOrganizationId?: string | null | undefined;
|
|
8246
|
+
studio?: boolean | null | undefined;
|
|
8247
|
+
};
|
|
8248
|
+
db: Database;
|
|
8041
8249
|
env: Bindings;
|
|
8250
|
+
headers: Headers;
|
|
8042
8251
|
client: string;
|
|
8043
8252
|
telemetryDisabled: boolean;
|
|
8044
8253
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -8049,11 +8258,12 @@ declare const router: {
|
|
|
8049
8258
|
}>, import("zod").ZodObject<{
|
|
8050
8259
|
id: import("zod").ZodNumber;
|
|
8051
8260
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8261
|
+
uuid: string;
|
|
8052
8262
|
name: string;
|
|
8053
8263
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
8054
8264
|
id: number;
|
|
8055
|
-
uuid: string;
|
|
8056
8265
|
slug: string;
|
|
8266
|
+
customDomain: string | null;
|
|
8057
8267
|
deployToken: string;
|
|
8058
8268
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
8059
8269
|
createdAt: number;
|
|
@@ -8067,13 +8277,15 @@ declare const router: {
|
|
|
8067
8277
|
publishPushInstanceId: string | null;
|
|
8068
8278
|
publishPushRequestedAt: number | null;
|
|
8069
8279
|
liveScript: string | null;
|
|
8280
|
+
codeOutsideCamox: boolean;
|
|
8070
8281
|
updatedAt: number;
|
|
8071
8282
|
} | undefined, {
|
|
8283
|
+
uuid: string;
|
|
8072
8284
|
name: string;
|
|
8073
8285
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
8074
8286
|
id: number;
|
|
8075
|
-
uuid: string;
|
|
8076
8287
|
slug: string;
|
|
8288
|
+
customDomain: string | null;
|
|
8077
8289
|
deployToken: string;
|
|
8078
8290
|
setupStep: import("@camox/api-contract/projects").ProjectSetupStep | null;
|
|
8079
8291
|
createdAt: number;
|
|
@@ -8087,6 +8299,7 @@ declare const router: {
|
|
|
8087
8299
|
publishPushInstanceId: string | null;
|
|
8088
8300
|
publishPushRequestedAt: number | null;
|
|
8089
8301
|
liveScript: string | null;
|
|
8302
|
+
codeOutsideCamox: boolean;
|
|
8090
8303
|
updatedAt: number;
|
|
8091
8304
|
} | undefined>, Record<never, never>, Record<never, never>>;
|
|
8092
8305
|
};
|
|
@@ -8178,6 +8391,7 @@ declare const router: {
|
|
|
8178
8391
|
settings: unknown;
|
|
8179
8392
|
locale: string;
|
|
8180
8393
|
blockId: string | null;
|
|
8394
|
+
fieldName: string;
|
|
8181
8395
|
content: unknown;
|
|
8182
8396
|
createdAt: number;
|
|
8183
8397
|
updatedAt: number;
|
|
@@ -8191,7 +8405,6 @@ declare const router: {
|
|
|
8191
8405
|
position: string;
|
|
8192
8406
|
sharedContentType: string | null;
|
|
8193
8407
|
parentItemId: string | null;
|
|
8194
|
-
fieldName: string;
|
|
8195
8408
|
}, "content"> & {
|
|
8196
8409
|
content: Record<string, unknown>;
|
|
8197
8410
|
} & {
|
|
@@ -8285,6 +8498,7 @@ declare const router: {
|
|
|
8285
8498
|
settings: unknown;
|
|
8286
8499
|
locale: string;
|
|
8287
8500
|
blockId: string | null;
|
|
8501
|
+
fieldName: string;
|
|
8288
8502
|
content: unknown;
|
|
8289
8503
|
createdAt: number;
|
|
8290
8504
|
updatedAt: number;
|
|
@@ -8298,7 +8512,6 @@ declare const router: {
|
|
|
8298
8512
|
position: string;
|
|
8299
8513
|
sharedContentType: string | null;
|
|
8300
8514
|
parentItemId: string | null;
|
|
8301
|
-
fieldName: string;
|
|
8302
8515
|
}, "content"> & {
|
|
8303
8516
|
content: Record<string, unknown>;
|
|
8304
8517
|
} & {
|
|
@@ -8736,8 +8949,8 @@ declare const router: {
|
|
|
8736
8949
|
studio?: boolean | null | undefined;
|
|
8737
8950
|
};
|
|
8738
8951
|
db: Database;
|
|
8739
|
-
headers: Headers;
|
|
8740
8952
|
env: Bindings;
|
|
8953
|
+
headers: Headers;
|
|
8741
8954
|
client: string;
|
|
8742
8955
|
telemetryDisabled: boolean;
|
|
8743
8956
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -8772,8 +8985,8 @@ declare const router: {
|
|
|
8772
8985
|
studio?: boolean | null | undefined;
|
|
8773
8986
|
};
|
|
8774
8987
|
db: Database;
|
|
8775
|
-
headers: Headers;
|
|
8776
8988
|
env: Bindings;
|
|
8989
|
+
headers: Headers;
|
|
8777
8990
|
client: string;
|
|
8778
8991
|
telemetryDisabled: boolean;
|
|
8779
8992
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -8882,8 +9095,8 @@ declare const router: {
|
|
|
8882
9095
|
studio?: boolean | null | undefined;
|
|
8883
9096
|
};
|
|
8884
9097
|
db: Database;
|
|
8885
|
-
headers: Headers;
|
|
8886
9098
|
env: Bindings;
|
|
9099
|
+
headers: Headers;
|
|
8887
9100
|
client: string;
|
|
8888
9101
|
telemetryDisabled: boolean;
|
|
8889
9102
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -8918,8 +9131,8 @@ declare const router: {
|
|
|
8918
9131
|
studio?: boolean | null | undefined;
|
|
8919
9132
|
};
|
|
8920
9133
|
db: Database;
|
|
8921
|
-
headers: Headers;
|
|
8922
9134
|
env: Bindings;
|
|
9135
|
+
headers: Headers;
|
|
8923
9136
|
client: string;
|
|
8924
9137
|
telemetryDisabled: boolean;
|
|
8925
9138
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -9020,8 +9233,8 @@ declare const router: {
|
|
|
9020
9233
|
studio?: boolean | null | undefined;
|
|
9021
9234
|
};
|
|
9022
9235
|
db: Database;
|
|
9023
|
-
headers: Headers;
|
|
9024
9236
|
env: Bindings;
|
|
9237
|
+
headers: Headers;
|
|
9025
9238
|
client: string;
|
|
9026
9239
|
telemetryDisabled: boolean;
|
|
9027
9240
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -9056,8 +9269,8 @@ declare const router: {
|
|
|
9056
9269
|
studio?: boolean | null | undefined;
|
|
9057
9270
|
};
|
|
9058
9271
|
db: Database;
|
|
9059
|
-
headers: Headers;
|
|
9060
9272
|
env: Bindings;
|
|
9273
|
+
headers: Headers;
|
|
9061
9274
|
client: string;
|
|
9062
9275
|
telemetryDisabled: boolean;
|
|
9063
9276
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -9155,8 +9368,8 @@ declare const router: {
|
|
|
9155
9368
|
studio?: boolean | null | undefined;
|
|
9156
9369
|
};
|
|
9157
9370
|
db: Database;
|
|
9158
|
-
headers: Headers;
|
|
9159
9371
|
env: Bindings;
|
|
9372
|
+
headers: Headers;
|
|
9160
9373
|
client: string;
|
|
9161
9374
|
telemetryDisabled: boolean;
|
|
9162
9375
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -9191,8 +9404,8 @@ declare const router: {
|
|
|
9191
9404
|
studio?: boolean | null | undefined;
|
|
9192
9405
|
};
|
|
9193
9406
|
db: Database;
|
|
9194
|
-
headers: Headers;
|
|
9195
9407
|
env: Bindings;
|
|
9408
|
+
headers: Headers;
|
|
9196
9409
|
client: string;
|
|
9197
9410
|
telemetryDisabled: boolean;
|
|
9198
9411
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -9293,8 +9506,8 @@ declare const router: {
|
|
|
9293
9506
|
studio?: boolean | null | undefined;
|
|
9294
9507
|
};
|
|
9295
9508
|
db: Database;
|
|
9296
|
-
headers: Headers;
|
|
9297
9509
|
env: Bindings;
|
|
9510
|
+
headers: Headers;
|
|
9298
9511
|
client: string;
|
|
9299
9512
|
telemetryDisabled: boolean;
|
|
9300
9513
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -9329,8 +9542,8 @@ declare const router: {
|
|
|
9329
9542
|
studio?: boolean | null | undefined;
|
|
9330
9543
|
};
|
|
9331
9544
|
db: Database;
|
|
9332
|
-
headers: Headers;
|
|
9333
9545
|
env: Bindings;
|
|
9546
|
+
headers: Headers;
|
|
9334
9547
|
client: string;
|
|
9335
9548
|
telemetryDisabled: boolean;
|
|
9336
9549
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -9427,8 +9640,8 @@ declare const router: {
|
|
|
9427
9640
|
studio?: boolean | null | undefined;
|
|
9428
9641
|
};
|
|
9429
9642
|
db: Database;
|
|
9430
|
-
headers: Headers;
|
|
9431
9643
|
env: Bindings;
|
|
9644
|
+
headers: Headers;
|
|
9432
9645
|
client: string;
|
|
9433
9646
|
telemetryDisabled: boolean;
|
|
9434
9647
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -9535,6 +9748,7 @@ declare const router: {
|
|
|
9535
9748
|
settings: unknown;
|
|
9536
9749
|
locale: string;
|
|
9537
9750
|
blockId: string | null;
|
|
9751
|
+
fieldName: string;
|
|
9538
9752
|
content: unknown;
|
|
9539
9753
|
createdAt: number;
|
|
9540
9754
|
updatedAt: number;
|
|
@@ -9548,7 +9762,6 @@ declare const router: {
|
|
|
9548
9762
|
position: string;
|
|
9549
9763
|
sharedContentType: string | null;
|
|
9550
9764
|
parentItemId: string | null;
|
|
9551
|
-
fieldName: string;
|
|
9552
9765
|
}, "content"> & {
|
|
9553
9766
|
content: Record<string, unknown>;
|
|
9554
9767
|
} & {
|
|
@@ -9598,6 +9811,7 @@ declare const router: {
|
|
|
9598
9811
|
settings: unknown;
|
|
9599
9812
|
locale: string;
|
|
9600
9813
|
blockId: string | null;
|
|
9814
|
+
fieldName: string;
|
|
9601
9815
|
content: unknown;
|
|
9602
9816
|
createdAt: number;
|
|
9603
9817
|
updatedAt: number;
|
|
@@ -9611,7 +9825,6 @@ declare const router: {
|
|
|
9611
9825
|
position: string;
|
|
9612
9826
|
sharedContentType: string | null;
|
|
9613
9827
|
parentItemId: string | null;
|
|
9614
|
-
fieldName: string;
|
|
9615
9828
|
}, "content"> & {
|
|
9616
9829
|
content: Record<string, unknown>;
|
|
9617
9830
|
} & {
|
|
@@ -9735,6 +9948,7 @@ declare const router: {
|
|
|
9735
9948
|
settings: unknown;
|
|
9736
9949
|
locale: string;
|
|
9737
9950
|
blockId: string | null;
|
|
9951
|
+
fieldName: string;
|
|
9738
9952
|
content: unknown;
|
|
9739
9953
|
createdAt: number;
|
|
9740
9954
|
updatedAt: number;
|
|
@@ -9748,7 +9962,6 @@ declare const router: {
|
|
|
9748
9962
|
position: string;
|
|
9749
9963
|
sharedContentType: string | null;
|
|
9750
9964
|
parentItemId: string | null;
|
|
9751
|
-
fieldName: string;
|
|
9752
9965
|
}, "content"> & {
|
|
9753
9966
|
content: Record<string, unknown>;
|
|
9754
9967
|
} & {
|
|
@@ -9798,6 +10011,7 @@ declare const router: {
|
|
|
9798
10011
|
settings: unknown;
|
|
9799
10012
|
locale: string;
|
|
9800
10013
|
blockId: string | null;
|
|
10014
|
+
fieldName: string;
|
|
9801
10015
|
content: unknown;
|
|
9802
10016
|
createdAt: number;
|
|
9803
10017
|
updatedAt: number;
|
|
@@ -9811,7 +10025,6 @@ declare const router: {
|
|
|
9811
10025
|
position: string;
|
|
9812
10026
|
sharedContentType: string | null;
|
|
9813
10027
|
parentItemId: string | null;
|
|
9814
|
-
fieldName: string;
|
|
9815
10028
|
}, "content"> & {
|
|
9816
10029
|
content: Record<string, unknown>;
|
|
9817
10030
|
} & {
|
|
@@ -9861,8 +10074,8 @@ declare const router: {
|
|
|
9861
10074
|
studio?: boolean | null | undefined;
|
|
9862
10075
|
};
|
|
9863
10076
|
db: Database;
|
|
9864
|
-
headers: Headers;
|
|
9865
10077
|
env: Bindings;
|
|
10078
|
+
headers: Headers;
|
|
9866
10079
|
client: string;
|
|
9867
10080
|
telemetryDisabled: boolean;
|
|
9868
10081
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -9897,8 +10110,8 @@ declare const router: {
|
|
|
9897
10110
|
studio?: boolean | null | undefined;
|
|
9898
10111
|
};
|
|
9899
10112
|
db: Database;
|
|
9900
|
-
headers: Headers;
|
|
9901
10113
|
env: Bindings;
|
|
10114
|
+
headers: Headers;
|
|
9902
10115
|
client: string;
|
|
9903
10116
|
telemetryDisabled: boolean;
|
|
9904
10117
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10018,8 +10231,8 @@ declare const router: {
|
|
|
10018
10231
|
studio?: boolean | null | undefined;
|
|
10019
10232
|
};
|
|
10020
10233
|
db: Database;
|
|
10021
|
-
headers: Headers;
|
|
10022
10234
|
env: Bindings;
|
|
10235
|
+
headers: Headers;
|
|
10023
10236
|
client: string;
|
|
10024
10237
|
telemetryDisabled: boolean;
|
|
10025
10238
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10054,8 +10267,8 @@ declare const router: {
|
|
|
10054
10267
|
studio?: boolean | null | undefined;
|
|
10055
10268
|
};
|
|
10056
10269
|
db: Database;
|
|
10057
|
-
headers: Headers;
|
|
10058
10270
|
env: Bindings;
|
|
10271
|
+
headers: Headers;
|
|
10059
10272
|
client: string;
|
|
10060
10273
|
telemetryDisabled: boolean;
|
|
10061
10274
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10104,8 +10317,8 @@ declare const router: {
|
|
|
10104
10317
|
studio?: boolean | null | undefined;
|
|
10105
10318
|
};
|
|
10106
10319
|
db: Database;
|
|
10107
|
-
headers: Headers;
|
|
10108
10320
|
env: Bindings;
|
|
10321
|
+
headers: Headers;
|
|
10109
10322
|
client: string;
|
|
10110
10323
|
telemetryDisabled: boolean;
|
|
10111
10324
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10140,8 +10353,8 @@ declare const router: {
|
|
|
10140
10353
|
studio?: boolean | null | undefined;
|
|
10141
10354
|
};
|
|
10142
10355
|
db: Database;
|
|
10143
|
-
headers: Headers;
|
|
10144
10356
|
env: Bindings;
|
|
10357
|
+
headers: Headers;
|
|
10145
10358
|
client: string;
|
|
10146
10359
|
telemetryDisabled: boolean;
|
|
10147
10360
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10190,8 +10403,8 @@ declare const router: {
|
|
|
10190
10403
|
studio?: boolean | null | undefined;
|
|
10191
10404
|
};
|
|
10192
10405
|
db: Database;
|
|
10193
|
-
headers: Headers;
|
|
10194
10406
|
env: Bindings;
|
|
10407
|
+
headers: Headers;
|
|
10195
10408
|
client: string;
|
|
10196
10409
|
telemetryDisabled: boolean;
|
|
10197
10410
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10226,8 +10439,8 @@ declare const router: {
|
|
|
10226
10439
|
studio?: boolean | null | undefined;
|
|
10227
10440
|
};
|
|
10228
10441
|
db: Database;
|
|
10229
|
-
headers: Headers;
|
|
10230
10442
|
env: Bindings;
|
|
10443
|
+
headers: Headers;
|
|
10231
10444
|
client: string;
|
|
10232
10445
|
telemetryDisabled: boolean;
|
|
10233
10446
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10277,8 +10490,8 @@ declare const router: {
|
|
|
10277
10490
|
studio?: boolean | null | undefined;
|
|
10278
10491
|
};
|
|
10279
10492
|
db: Database;
|
|
10280
|
-
headers: Headers;
|
|
10281
10493
|
env: Bindings;
|
|
10494
|
+
headers: Headers;
|
|
10282
10495
|
client: string;
|
|
10283
10496
|
telemetryDisabled: boolean;
|
|
10284
10497
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10313,8 +10526,8 @@ declare const router: {
|
|
|
10313
10526
|
studio?: boolean | null | undefined;
|
|
10314
10527
|
};
|
|
10315
10528
|
db: Database;
|
|
10316
|
-
headers: Headers;
|
|
10317
10529
|
env: Bindings;
|
|
10530
|
+
headers: Headers;
|
|
10318
10531
|
client: string;
|
|
10319
10532
|
telemetryDisabled: boolean;
|
|
10320
10533
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10362,8 +10575,8 @@ declare const router: {
|
|
|
10362
10575
|
studio?: boolean | null | undefined;
|
|
10363
10576
|
};
|
|
10364
10577
|
db: Database;
|
|
10365
|
-
headers: Headers;
|
|
10366
10578
|
env: Bindings;
|
|
10579
|
+
headers: Headers;
|
|
10367
10580
|
client: string;
|
|
10368
10581
|
telemetryDisabled: boolean;
|
|
10369
10582
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10398,8 +10611,8 @@ declare const router: {
|
|
|
10398
10611
|
studio?: boolean | null | undefined;
|
|
10399
10612
|
};
|
|
10400
10613
|
db: Database;
|
|
10401
|
-
headers: Headers;
|
|
10402
10614
|
env: Bindings;
|
|
10615
|
+
headers: Headers;
|
|
10403
10616
|
client: string;
|
|
10404
10617
|
telemetryDisabled: boolean;
|
|
10405
10618
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10445,8 +10658,8 @@ declare const router: {
|
|
|
10445
10658
|
studio?: boolean | null | undefined;
|
|
10446
10659
|
};
|
|
10447
10660
|
db: Database;
|
|
10448
|
-
headers: Headers;
|
|
10449
10661
|
env: Bindings;
|
|
10662
|
+
headers: Headers;
|
|
10450
10663
|
client: string;
|
|
10451
10664
|
telemetryDisabled: boolean;
|
|
10452
10665
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10494,8 +10707,8 @@ declare const router: {
|
|
|
10494
10707
|
studio?: boolean | null | undefined;
|
|
10495
10708
|
};
|
|
10496
10709
|
db: Database;
|
|
10497
|
-
headers: Headers;
|
|
10498
10710
|
env: Bindings;
|
|
10711
|
+
headers: Headers;
|
|
10499
10712
|
client: string;
|
|
10500
10713
|
telemetryDisabled: boolean;
|
|
10501
10714
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10530,8 +10743,8 @@ declare const router: {
|
|
|
10530
10743
|
studio?: boolean | null | undefined;
|
|
10531
10744
|
};
|
|
10532
10745
|
db: Database;
|
|
10533
|
-
headers: Headers;
|
|
10534
10746
|
env: Bindings;
|
|
10747
|
+
headers: Headers;
|
|
10535
10748
|
client: string;
|
|
10536
10749
|
telemetryDisabled: boolean;
|
|
10537
10750
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10603,6 +10816,7 @@ declare const router: {
|
|
|
10603
10816
|
settings: unknown;
|
|
10604
10817
|
locale: string;
|
|
10605
10818
|
blockId: string | null;
|
|
10819
|
+
fieldName: string;
|
|
10606
10820
|
content: unknown;
|
|
10607
10821
|
createdAt: number;
|
|
10608
10822
|
updatedAt: number;
|
|
@@ -10616,7 +10830,6 @@ declare const router: {
|
|
|
10616
10830
|
position: string;
|
|
10617
10831
|
sharedContentType: string | null;
|
|
10618
10832
|
parentItemId: string | null;
|
|
10619
|
-
fieldName: string;
|
|
10620
10833
|
}, "content"> & {
|
|
10621
10834
|
content: Record<string, unknown>;
|
|
10622
10835
|
} & {
|
|
@@ -10682,6 +10895,7 @@ declare const router: {
|
|
|
10682
10895
|
settings: unknown;
|
|
10683
10896
|
locale: string;
|
|
10684
10897
|
blockId: string | null;
|
|
10898
|
+
fieldName: string;
|
|
10685
10899
|
content: unknown;
|
|
10686
10900
|
createdAt: number;
|
|
10687
10901
|
updatedAt: number;
|
|
@@ -10695,7 +10909,6 @@ declare const router: {
|
|
|
10695
10909
|
position: string;
|
|
10696
10910
|
sharedContentType: string | null;
|
|
10697
10911
|
parentItemId: string | null;
|
|
10698
|
-
fieldName: string;
|
|
10699
10912
|
}, "content"> & {
|
|
10700
10913
|
content: Record<string, unknown>;
|
|
10701
10914
|
} & {
|
|
@@ -10791,8 +11004,8 @@ declare const router: {
|
|
|
10791
11004
|
studio?: boolean | null | undefined;
|
|
10792
11005
|
};
|
|
10793
11006
|
db: Database;
|
|
10794
|
-
headers: Headers;
|
|
10795
11007
|
env: Bindings;
|
|
11008
|
+
headers: Headers;
|
|
10796
11009
|
client: string;
|
|
10797
11010
|
telemetryDisabled: boolean;
|
|
10798
11011
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10827,8 +11040,8 @@ declare const router: {
|
|
|
10827
11040
|
studio?: boolean | null | undefined;
|
|
10828
11041
|
};
|
|
10829
11042
|
db: Database;
|
|
10830
|
-
headers: Headers;
|
|
10831
11043
|
env: Bindings;
|
|
11044
|
+
headers: Headers;
|
|
10832
11045
|
client: string;
|
|
10833
11046
|
telemetryDisabled: boolean;
|
|
10834
11047
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10877,8 +11090,8 @@ declare const router: {
|
|
|
10877
11090
|
studio?: boolean | null | undefined;
|
|
10878
11091
|
};
|
|
10879
11092
|
db: Database;
|
|
10880
|
-
headers: Headers;
|
|
10881
11093
|
env: Bindings;
|
|
11094
|
+
headers: Headers;
|
|
10882
11095
|
client: string;
|
|
10883
11096
|
telemetryDisabled: boolean;
|
|
10884
11097
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10913,8 +11126,8 @@ declare const router: {
|
|
|
10913
11126
|
studio?: boolean | null | undefined;
|
|
10914
11127
|
};
|
|
10915
11128
|
db: Database;
|
|
10916
|
-
headers: Headers;
|
|
10917
11129
|
env: Bindings;
|
|
11130
|
+
headers: Headers;
|
|
10918
11131
|
client: string;
|
|
10919
11132
|
telemetryDisabled: boolean;
|
|
10920
11133
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -10961,8 +11174,8 @@ declare const router: {
|
|
|
10961
11174
|
studio?: boolean | null | undefined;
|
|
10962
11175
|
};
|
|
10963
11176
|
db: Database;
|
|
10964
|
-
headers: Headers;
|
|
10965
11177
|
env: Bindings;
|
|
11178
|
+
headers: Headers;
|
|
10966
11179
|
client: string;
|
|
10967
11180
|
telemetryDisabled: boolean;
|
|
10968
11181
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11009,8 +11222,8 @@ declare const router: {
|
|
|
11009
11222
|
studio?: boolean | null | undefined;
|
|
11010
11223
|
};
|
|
11011
11224
|
db: Database;
|
|
11012
|
-
headers: Headers;
|
|
11013
11225
|
env: Bindings;
|
|
11226
|
+
headers: Headers;
|
|
11014
11227
|
client: string;
|
|
11015
11228
|
telemetryDisabled: boolean;
|
|
11016
11229
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11064,8 +11277,8 @@ declare const router: {
|
|
|
11064
11277
|
studio?: boolean | null | undefined;
|
|
11065
11278
|
};
|
|
11066
11279
|
db: Database;
|
|
11067
|
-
headers: Headers;
|
|
11068
11280
|
env: Bindings;
|
|
11281
|
+
headers: Headers;
|
|
11069
11282
|
client: string;
|
|
11070
11283
|
telemetryDisabled: boolean;
|
|
11071
11284
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11100,8 +11313,8 @@ declare const router: {
|
|
|
11100
11313
|
studio?: boolean | null | undefined;
|
|
11101
11314
|
};
|
|
11102
11315
|
db: Database;
|
|
11103
|
-
headers: Headers;
|
|
11104
11316
|
env: Bindings;
|
|
11317
|
+
headers: Headers;
|
|
11105
11318
|
client: string;
|
|
11106
11319
|
telemetryDisabled: boolean;
|
|
11107
11320
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11136,6 +11349,7 @@ declare const router: {
|
|
|
11136
11349
|
draftId: string | null;
|
|
11137
11350
|
id: string;
|
|
11138
11351
|
deleted: boolean;
|
|
11352
|
+
mimeType: string;
|
|
11139
11353
|
createdAt: number;
|
|
11140
11354
|
updatedAt: number;
|
|
11141
11355
|
projectId: number;
|
|
@@ -11149,7 +11363,6 @@ declare const router: {
|
|
|
11149
11363
|
alt: string | null;
|
|
11150
11364
|
filename: string | null;
|
|
11151
11365
|
altsByLocale: Record<string, string>;
|
|
11152
|
-
mimeType: string;
|
|
11153
11366
|
size: number;
|
|
11154
11367
|
optimizedSize: number | null;
|
|
11155
11368
|
width: number | null;
|
|
@@ -11160,6 +11373,7 @@ declare const router: {
|
|
|
11160
11373
|
draftId: string | null;
|
|
11161
11374
|
id: string;
|
|
11162
11375
|
deleted: boolean;
|
|
11376
|
+
mimeType: string;
|
|
11163
11377
|
createdAt: number;
|
|
11164
11378
|
updatedAt: number;
|
|
11165
11379
|
projectId: number;
|
|
@@ -11173,7 +11387,6 @@ declare const router: {
|
|
|
11173
11387
|
alt: string | null;
|
|
11174
11388
|
filename: string | null;
|
|
11175
11389
|
altsByLocale: Record<string, string>;
|
|
11176
|
-
mimeType: string;
|
|
11177
11390
|
size: number;
|
|
11178
11391
|
optimizedSize: number | null;
|
|
11179
11392
|
width: number | null;
|
|
@@ -11191,6 +11404,7 @@ declare const router: {
|
|
|
11191
11404
|
draftId: string | null;
|
|
11192
11405
|
id: string;
|
|
11193
11406
|
deleted: boolean;
|
|
11407
|
+
mimeType: string;
|
|
11194
11408
|
createdAt: number;
|
|
11195
11409
|
updatedAt: number;
|
|
11196
11410
|
projectId: number;
|
|
@@ -11204,7 +11418,6 @@ declare const router: {
|
|
|
11204
11418
|
alt: string | null;
|
|
11205
11419
|
filename: string | null;
|
|
11206
11420
|
altsByLocale: Record<string, string>;
|
|
11207
|
-
mimeType: string;
|
|
11208
11421
|
size: number;
|
|
11209
11422
|
optimizedSize: number | null;
|
|
11210
11423
|
width: number | null;
|
|
@@ -11215,6 +11428,7 @@ declare const router: {
|
|
|
11215
11428
|
draftId: string | null;
|
|
11216
11429
|
id: string;
|
|
11217
11430
|
deleted: boolean;
|
|
11431
|
+
mimeType: string;
|
|
11218
11432
|
createdAt: number;
|
|
11219
11433
|
updatedAt: number;
|
|
11220
11434
|
projectId: number;
|
|
@@ -11228,7 +11442,6 @@ declare const router: {
|
|
|
11228
11442
|
alt: string | null;
|
|
11229
11443
|
filename: string | null;
|
|
11230
11444
|
altsByLocale: Record<string, string>;
|
|
11231
|
-
mimeType: string;
|
|
11232
11445
|
size: number;
|
|
11233
11446
|
optimizedSize: number | null;
|
|
11234
11447
|
width: number | null;
|
|
@@ -11283,8 +11496,8 @@ declare const router: {
|
|
|
11283
11496
|
studio?: boolean | null | undefined;
|
|
11284
11497
|
};
|
|
11285
11498
|
db: Database;
|
|
11286
|
-
headers: Headers;
|
|
11287
11499
|
env: Bindings;
|
|
11500
|
+
headers: Headers;
|
|
11288
11501
|
client: string;
|
|
11289
11502
|
telemetryDisabled: boolean;
|
|
11290
11503
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11319,8 +11532,8 @@ declare const router: {
|
|
|
11319
11532
|
studio?: boolean | null | undefined;
|
|
11320
11533
|
};
|
|
11321
11534
|
db: Database;
|
|
11322
|
-
headers: Headers;
|
|
11323
11535
|
env: Bindings;
|
|
11536
|
+
headers: Headers;
|
|
11324
11537
|
client: string;
|
|
11325
11538
|
telemetryDisabled: boolean;
|
|
11326
11539
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11336,6 +11549,7 @@ declare const router: {
|
|
|
11336
11549
|
draftId: string | null;
|
|
11337
11550
|
id: string;
|
|
11338
11551
|
deleted: boolean;
|
|
11552
|
+
mimeType: string;
|
|
11339
11553
|
createdAt: number;
|
|
11340
11554
|
updatedAt: number;
|
|
11341
11555
|
projectId: number;
|
|
@@ -11349,7 +11563,6 @@ declare const router: {
|
|
|
11349
11563
|
alt: string | null;
|
|
11350
11564
|
filename: string | null;
|
|
11351
11565
|
altsByLocale: Record<string, string>;
|
|
11352
|
-
mimeType: string;
|
|
11353
11566
|
size: number;
|
|
11354
11567
|
optimizedSize: number | null;
|
|
11355
11568
|
width: number | null;
|
|
@@ -11360,6 +11573,7 @@ declare const router: {
|
|
|
11360
11573
|
draftId: string | null;
|
|
11361
11574
|
id: string;
|
|
11362
11575
|
deleted: boolean;
|
|
11576
|
+
mimeType: string;
|
|
11363
11577
|
createdAt: number;
|
|
11364
11578
|
updatedAt: number;
|
|
11365
11579
|
projectId: number;
|
|
@@ -11373,7 +11587,6 @@ declare const router: {
|
|
|
11373
11587
|
alt: string | null;
|
|
11374
11588
|
filename: string | null;
|
|
11375
11589
|
altsByLocale: Record<string, string>;
|
|
11376
|
-
mimeType: string;
|
|
11377
11590
|
size: number;
|
|
11378
11591
|
optimizedSize: number | null;
|
|
11379
11592
|
width: number | null;
|
|
@@ -11417,8 +11630,8 @@ declare const router: {
|
|
|
11417
11630
|
studio?: boolean | null | undefined;
|
|
11418
11631
|
};
|
|
11419
11632
|
db: Database;
|
|
11420
|
-
headers: Headers;
|
|
11421
11633
|
env: Bindings;
|
|
11634
|
+
headers: Headers;
|
|
11422
11635
|
client: string;
|
|
11423
11636
|
telemetryDisabled: boolean;
|
|
11424
11637
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11453,8 +11666,8 @@ declare const router: {
|
|
|
11453
11666
|
studio?: boolean | null | undefined;
|
|
11454
11667
|
};
|
|
11455
11668
|
db: Database;
|
|
11456
|
-
headers: Headers;
|
|
11457
11669
|
env: Bindings;
|
|
11670
|
+
headers: Headers;
|
|
11458
11671
|
client: string;
|
|
11459
11672
|
telemetryDisabled: boolean;
|
|
11460
11673
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11470,6 +11683,7 @@ declare const router: {
|
|
|
11470
11683
|
draftId: string | null;
|
|
11471
11684
|
id: string;
|
|
11472
11685
|
deleted: boolean;
|
|
11686
|
+
mimeType: string;
|
|
11473
11687
|
createdAt: number;
|
|
11474
11688
|
updatedAt: number;
|
|
11475
11689
|
projectId: number;
|
|
@@ -11483,7 +11697,6 @@ declare const router: {
|
|
|
11483
11697
|
alt: string | null;
|
|
11484
11698
|
filename: string | null;
|
|
11485
11699
|
altsByLocale: Record<string, string>;
|
|
11486
|
-
mimeType: string;
|
|
11487
11700
|
size: number;
|
|
11488
11701
|
optimizedSize: number | null;
|
|
11489
11702
|
width: number | null;
|
|
@@ -11494,6 +11707,7 @@ declare const router: {
|
|
|
11494
11707
|
draftId: string | null;
|
|
11495
11708
|
id: string;
|
|
11496
11709
|
deleted: boolean;
|
|
11710
|
+
mimeType: string;
|
|
11497
11711
|
createdAt: number;
|
|
11498
11712
|
updatedAt: number;
|
|
11499
11713
|
projectId: number;
|
|
@@ -11507,7 +11721,6 @@ declare const router: {
|
|
|
11507
11721
|
alt: string | null;
|
|
11508
11722
|
filename: string | null;
|
|
11509
11723
|
altsByLocale: Record<string, string>;
|
|
11510
|
-
mimeType: string;
|
|
11511
11724
|
size: number;
|
|
11512
11725
|
optimizedSize: number | null;
|
|
11513
11726
|
width: number | null;
|
|
@@ -11551,8 +11764,8 @@ declare const router: {
|
|
|
11551
11764
|
studio?: boolean | null | undefined;
|
|
11552
11765
|
};
|
|
11553
11766
|
db: Database;
|
|
11554
|
-
headers: Headers;
|
|
11555
11767
|
env: Bindings;
|
|
11768
|
+
headers: Headers;
|
|
11556
11769
|
client: string;
|
|
11557
11770
|
telemetryDisabled: boolean;
|
|
11558
11771
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11587,8 +11800,8 @@ declare const router: {
|
|
|
11587
11800
|
studio?: boolean | null | undefined;
|
|
11588
11801
|
};
|
|
11589
11802
|
db: Database;
|
|
11590
|
-
headers: Headers;
|
|
11591
11803
|
env: Bindings;
|
|
11804
|
+
headers: Headers;
|
|
11592
11805
|
client: string;
|
|
11593
11806
|
telemetryDisabled: boolean;
|
|
11594
11807
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11603,6 +11816,7 @@ declare const router: {
|
|
|
11603
11816
|
draftId: string | null;
|
|
11604
11817
|
id: string;
|
|
11605
11818
|
deleted: boolean;
|
|
11819
|
+
mimeType: string;
|
|
11606
11820
|
createdAt: number;
|
|
11607
11821
|
updatedAt: number;
|
|
11608
11822
|
projectId: number;
|
|
@@ -11616,7 +11830,6 @@ declare const router: {
|
|
|
11616
11830
|
alt: string | null;
|
|
11617
11831
|
filename: string | null;
|
|
11618
11832
|
altsByLocale: Record<string, string>;
|
|
11619
|
-
mimeType: string;
|
|
11620
11833
|
size: number;
|
|
11621
11834
|
optimizedSize: number | null;
|
|
11622
11835
|
width: number | null;
|
|
@@ -11627,6 +11840,7 @@ declare const router: {
|
|
|
11627
11840
|
draftId: string | null;
|
|
11628
11841
|
id: string;
|
|
11629
11842
|
deleted: boolean;
|
|
11843
|
+
mimeType: string;
|
|
11630
11844
|
createdAt: number;
|
|
11631
11845
|
updatedAt: number;
|
|
11632
11846
|
projectId: number;
|
|
@@ -11640,7 +11854,6 @@ declare const router: {
|
|
|
11640
11854
|
alt: string | null;
|
|
11641
11855
|
filename: string | null;
|
|
11642
11856
|
altsByLocale: Record<string, string>;
|
|
11643
|
-
mimeType: string;
|
|
11644
11857
|
size: number;
|
|
11645
11858
|
optimizedSize: number | null;
|
|
11646
11859
|
width: number | null;
|
|
@@ -11684,8 +11897,8 @@ declare const router: {
|
|
|
11684
11897
|
studio?: boolean | null | undefined;
|
|
11685
11898
|
};
|
|
11686
11899
|
db: Database;
|
|
11687
|
-
headers: Headers;
|
|
11688
11900
|
env: Bindings;
|
|
11901
|
+
headers: Headers;
|
|
11689
11902
|
client: string;
|
|
11690
11903
|
telemetryDisabled: boolean;
|
|
11691
11904
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11720,8 +11933,8 @@ declare const router: {
|
|
|
11720
11933
|
studio?: boolean | null | undefined;
|
|
11721
11934
|
};
|
|
11722
11935
|
db: Database;
|
|
11723
|
-
headers: Headers;
|
|
11724
11936
|
env: Bindings;
|
|
11937
|
+
headers: Headers;
|
|
11725
11938
|
client: string;
|
|
11726
11939
|
telemetryDisabled: boolean;
|
|
11727
11940
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11769,8 +11982,8 @@ declare const router: {
|
|
|
11769
11982
|
studio?: boolean | null | undefined;
|
|
11770
11983
|
};
|
|
11771
11984
|
db: Database;
|
|
11772
|
-
headers: Headers;
|
|
11773
11985
|
env: Bindings;
|
|
11986
|
+
headers: Headers;
|
|
11774
11987
|
client: string;
|
|
11775
11988
|
telemetryDisabled: boolean;
|
|
11776
11989
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11805,8 +12018,8 @@ declare const router: {
|
|
|
11805
12018
|
studio?: boolean | null | undefined;
|
|
11806
12019
|
};
|
|
11807
12020
|
db: Database;
|
|
11808
|
-
headers: Headers;
|
|
11809
12021
|
env: Bindings;
|
|
12022
|
+
headers: Headers;
|
|
11810
12023
|
client: string;
|
|
11811
12024
|
telemetryDisabled: boolean;
|
|
11812
12025
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11822,6 +12035,7 @@ declare const router: {
|
|
|
11822
12035
|
draftId: string | null;
|
|
11823
12036
|
id: string;
|
|
11824
12037
|
deleted: boolean;
|
|
12038
|
+
mimeType: string;
|
|
11825
12039
|
createdAt: number;
|
|
11826
12040
|
updatedAt: number;
|
|
11827
12041
|
projectId: number;
|
|
@@ -11835,7 +12049,6 @@ declare const router: {
|
|
|
11835
12049
|
alt: string | null;
|
|
11836
12050
|
filename: string | null;
|
|
11837
12051
|
altsByLocale: Record<string, string>;
|
|
11838
|
-
mimeType: string;
|
|
11839
12052
|
size: number;
|
|
11840
12053
|
optimizedSize: number | null;
|
|
11841
12054
|
width: number | null;
|
|
@@ -11846,6 +12059,7 @@ declare const router: {
|
|
|
11846
12059
|
draftId: string | null;
|
|
11847
12060
|
id: string;
|
|
11848
12061
|
deleted: boolean;
|
|
12062
|
+
mimeType: string;
|
|
11849
12063
|
createdAt: number;
|
|
11850
12064
|
updatedAt: number;
|
|
11851
12065
|
projectId: number;
|
|
@@ -11859,7 +12073,6 @@ declare const router: {
|
|
|
11859
12073
|
alt: string | null;
|
|
11860
12074
|
filename: string | null;
|
|
11861
12075
|
altsByLocale: Record<string, string>;
|
|
11862
|
-
mimeType: string;
|
|
11863
12076
|
size: number;
|
|
11864
12077
|
optimizedSize: number | null;
|
|
11865
12078
|
width: number | null;
|
|
@@ -11901,8 +12114,8 @@ declare const router: {
|
|
|
11901
12114
|
studio?: boolean | null | undefined;
|
|
11902
12115
|
};
|
|
11903
12116
|
db: Database;
|
|
11904
|
-
headers: Headers;
|
|
11905
12117
|
env: Bindings;
|
|
12118
|
+
headers: Headers;
|
|
11906
12119
|
client: string;
|
|
11907
12120
|
telemetryDisabled: boolean;
|
|
11908
12121
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -11917,6 +12130,7 @@ declare const router: {
|
|
|
11917
12130
|
draftId: string | null;
|
|
11918
12131
|
id: string;
|
|
11919
12132
|
deleted: boolean;
|
|
12133
|
+
mimeType: string;
|
|
11920
12134
|
createdAt: number;
|
|
11921
12135
|
updatedAt: number;
|
|
11922
12136
|
projectId: number;
|
|
@@ -11930,7 +12144,6 @@ declare const router: {
|
|
|
11930
12144
|
alt: string | null;
|
|
11931
12145
|
filename: string | null;
|
|
11932
12146
|
altsByLocale: Record<string, string>;
|
|
11933
|
-
mimeType: string;
|
|
11934
12147
|
size: number;
|
|
11935
12148
|
optimizedSize: number | null;
|
|
11936
12149
|
width: number | null;
|
|
@@ -11941,6 +12154,7 @@ declare const router: {
|
|
|
11941
12154
|
draftId: string | null;
|
|
11942
12155
|
id: string;
|
|
11943
12156
|
deleted: boolean;
|
|
12157
|
+
mimeType: string;
|
|
11944
12158
|
createdAt: number;
|
|
11945
12159
|
updatedAt: number;
|
|
11946
12160
|
projectId: number;
|
|
@@ -11954,7 +12168,6 @@ declare const router: {
|
|
|
11954
12168
|
alt: string | null;
|
|
11955
12169
|
filename: string | null;
|
|
11956
12170
|
altsByLocale: Record<string, string>;
|
|
11957
|
-
mimeType: string;
|
|
11958
12171
|
size: number;
|
|
11959
12172
|
optimizedSize: number | null;
|
|
11960
12173
|
width: number | null;
|
|
@@ -11984,6 +12197,7 @@ declare const router: {
|
|
|
11984
12197
|
deleted: boolean;
|
|
11985
12198
|
settings: unknown;
|
|
11986
12199
|
locale: string;
|
|
12200
|
+
fieldName: string;
|
|
11987
12201
|
createdAt: number;
|
|
11988
12202
|
updatedAt: number;
|
|
11989
12203
|
projectId: number | null;
|
|
@@ -11996,7 +12210,6 @@ declare const router: {
|
|
|
11996
12210
|
position: string;
|
|
11997
12211
|
sharedContentType: string | null;
|
|
11998
12212
|
parentItemId: string | null;
|
|
11999
|
-
fieldName: string;
|
|
12000
12213
|
};
|
|
12001
12214
|
files: FileView[];
|
|
12002
12215
|
}, {
|
|
@@ -12014,6 +12227,7 @@ declare const router: {
|
|
|
12014
12227
|
deleted: boolean;
|
|
12015
12228
|
settings: unknown;
|
|
12016
12229
|
locale: string;
|
|
12230
|
+
fieldName: string;
|
|
12017
12231
|
createdAt: number;
|
|
12018
12232
|
updatedAt: number;
|
|
12019
12233
|
projectId: number | null;
|
|
@@ -12026,7 +12240,6 @@ declare const router: {
|
|
|
12026
12240
|
position: string;
|
|
12027
12241
|
sharedContentType: string | null;
|
|
12028
12242
|
parentItemId: string | null;
|
|
12029
|
-
fieldName: string;
|
|
12030
12243
|
};
|
|
12031
12244
|
files: FileView[];
|
|
12032
12245
|
}>, Record<never, never>, Record<never, never>>;
|
|
@@ -12067,8 +12280,8 @@ declare const router: {
|
|
|
12067
12280
|
studio?: boolean | null | undefined;
|
|
12068
12281
|
};
|
|
12069
12282
|
db: Database;
|
|
12070
|
-
headers: Headers;
|
|
12071
12283
|
env: Bindings;
|
|
12284
|
+
headers: Headers;
|
|
12072
12285
|
client: string;
|
|
12073
12286
|
telemetryDisabled: boolean;
|
|
12074
12287
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12103,8 +12316,8 @@ declare const router: {
|
|
|
12103
12316
|
studio?: boolean | null | undefined;
|
|
12104
12317
|
};
|
|
12105
12318
|
db: Database;
|
|
12106
|
-
headers: Headers;
|
|
12107
12319
|
env: Bindings;
|
|
12320
|
+
headers: Headers;
|
|
12108
12321
|
client: string;
|
|
12109
12322
|
telemetryDisabled: boolean;
|
|
12110
12323
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12138,6 +12351,7 @@ declare const router: {
|
|
|
12138
12351
|
deleted: boolean;
|
|
12139
12352
|
locale: string;
|
|
12140
12353
|
blockId: string | null;
|
|
12354
|
+
fieldName: string;
|
|
12141
12355
|
createdAt: number;
|
|
12142
12356
|
updatedAt: number;
|
|
12143
12357
|
projectId: number | null;
|
|
@@ -12150,7 +12364,6 @@ declare const router: {
|
|
|
12150
12364
|
position: string;
|
|
12151
12365
|
sharedContentType: string | null;
|
|
12152
12366
|
parentItemId: string | null;
|
|
12153
|
-
fieldName: string;
|
|
12154
12367
|
}, {
|
|
12155
12368
|
content: Record<string, unknown>;
|
|
12156
12369
|
settings: unknown;
|
|
@@ -12161,6 +12374,7 @@ declare const router: {
|
|
|
12161
12374
|
deleted: boolean;
|
|
12162
12375
|
locale: string;
|
|
12163
12376
|
blockId: string | null;
|
|
12377
|
+
fieldName: string;
|
|
12164
12378
|
createdAt: number;
|
|
12165
12379
|
updatedAt: number;
|
|
12166
12380
|
projectId: number | null;
|
|
@@ -12173,7 +12387,6 @@ declare const router: {
|
|
|
12173
12387
|
position: string;
|
|
12174
12388
|
sharedContentType: string | null;
|
|
12175
12389
|
parentItemId: string | null;
|
|
12176
|
-
fieldName: string;
|
|
12177
12390
|
}>, Record<never, never>, Record<never, never>>;
|
|
12178
12391
|
updateContent: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
12179
12392
|
draft: DraftRequest | null;
|
|
@@ -12212,8 +12425,8 @@ declare const router: {
|
|
|
12212
12425
|
studio?: boolean | null | undefined;
|
|
12213
12426
|
};
|
|
12214
12427
|
db: Database;
|
|
12215
|
-
headers: Headers;
|
|
12216
12428
|
env: Bindings;
|
|
12429
|
+
headers: Headers;
|
|
12217
12430
|
client: string;
|
|
12218
12431
|
telemetryDisabled: boolean;
|
|
12219
12432
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12248,8 +12461,8 @@ declare const router: {
|
|
|
12248
12461
|
studio?: boolean | null | undefined;
|
|
12249
12462
|
};
|
|
12250
12463
|
db: Database;
|
|
12251
|
-
headers: Headers;
|
|
12252
12464
|
env: Bindings;
|
|
12465
|
+
headers: Headers;
|
|
12253
12466
|
client: string;
|
|
12254
12467
|
telemetryDisabled: boolean;
|
|
12255
12468
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12270,6 +12483,7 @@ declare const router: {
|
|
|
12270
12483
|
deleted: boolean;
|
|
12271
12484
|
locale: string;
|
|
12272
12485
|
blockId: string | null;
|
|
12486
|
+
fieldName: string;
|
|
12273
12487
|
createdAt: number;
|
|
12274
12488
|
updatedAt: number;
|
|
12275
12489
|
projectId: number | null;
|
|
@@ -12282,7 +12496,6 @@ declare const router: {
|
|
|
12282
12496
|
position: string;
|
|
12283
12497
|
sharedContentType: string | null;
|
|
12284
12498
|
parentItemId: string | null;
|
|
12285
|
-
fieldName: string;
|
|
12286
12499
|
} | undefined, {
|
|
12287
12500
|
content: Record<string, unknown>;
|
|
12288
12501
|
settings: unknown;
|
|
@@ -12293,6 +12506,7 @@ declare const router: {
|
|
|
12293
12506
|
deleted: boolean;
|
|
12294
12507
|
locale: string;
|
|
12295
12508
|
blockId: string | null;
|
|
12509
|
+
fieldName: string;
|
|
12296
12510
|
createdAt: number;
|
|
12297
12511
|
updatedAt: number;
|
|
12298
12512
|
projectId: number | null;
|
|
@@ -12305,7 +12519,6 @@ declare const router: {
|
|
|
12305
12519
|
position: string;
|
|
12306
12520
|
sharedContentType: string | null;
|
|
12307
12521
|
parentItemId: string | null;
|
|
12308
|
-
fieldName: string;
|
|
12309
12522
|
} | undefined>, Record<never, never>, Record<never, never>>;
|
|
12310
12523
|
updateSettings: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
12311
12524
|
draft: DraftRequest | null;
|
|
@@ -12344,8 +12557,8 @@ declare const router: {
|
|
|
12344
12557
|
studio?: boolean | null | undefined;
|
|
12345
12558
|
};
|
|
12346
12559
|
db: Database;
|
|
12347
|
-
headers: Headers;
|
|
12348
12560
|
env: Bindings;
|
|
12561
|
+
headers: Headers;
|
|
12349
12562
|
client: string;
|
|
12350
12563
|
telemetryDisabled: boolean;
|
|
12351
12564
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12380,8 +12593,8 @@ declare const router: {
|
|
|
12380
12593
|
studio?: boolean | null | undefined;
|
|
12381
12594
|
};
|
|
12382
12595
|
db: Database;
|
|
12383
|
-
headers: Headers;
|
|
12384
12596
|
env: Bindings;
|
|
12597
|
+
headers: Headers;
|
|
12385
12598
|
client: string;
|
|
12386
12599
|
telemetryDisabled: boolean;
|
|
12387
12600
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12402,6 +12615,7 @@ declare const router: {
|
|
|
12402
12615
|
deleted: boolean;
|
|
12403
12616
|
locale: string;
|
|
12404
12617
|
blockId: string | null;
|
|
12618
|
+
fieldName: string;
|
|
12405
12619
|
createdAt: number;
|
|
12406
12620
|
updatedAt: number;
|
|
12407
12621
|
projectId: number | null;
|
|
@@ -12414,7 +12628,6 @@ declare const router: {
|
|
|
12414
12628
|
position: string;
|
|
12415
12629
|
sharedContentType: string | null;
|
|
12416
12630
|
parentItemId: string | null;
|
|
12417
|
-
fieldName: string;
|
|
12418
12631
|
} | undefined, {
|
|
12419
12632
|
content: Record<string, unknown>;
|
|
12420
12633
|
settings: unknown;
|
|
@@ -12425,6 +12638,7 @@ declare const router: {
|
|
|
12425
12638
|
deleted: boolean;
|
|
12426
12639
|
locale: string;
|
|
12427
12640
|
blockId: string | null;
|
|
12641
|
+
fieldName: string;
|
|
12428
12642
|
createdAt: number;
|
|
12429
12643
|
updatedAt: number;
|
|
12430
12644
|
projectId: number | null;
|
|
@@ -12437,7 +12651,6 @@ declare const router: {
|
|
|
12437
12651
|
position: string;
|
|
12438
12652
|
sharedContentType: string | null;
|
|
12439
12653
|
parentItemId: string | null;
|
|
12440
|
-
fieldName: string;
|
|
12441
12654
|
} | undefined>, Record<never, never>, Record<never, never>>;
|
|
12442
12655
|
updatePosition: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
12443
12656
|
draft: DraftRequest | null;
|
|
@@ -12476,8 +12689,8 @@ declare const router: {
|
|
|
12476
12689
|
studio?: boolean | null | undefined;
|
|
12477
12690
|
};
|
|
12478
12691
|
db: Database;
|
|
12479
|
-
headers: Headers;
|
|
12480
12692
|
env: Bindings;
|
|
12693
|
+
headers: Headers;
|
|
12481
12694
|
client: string;
|
|
12482
12695
|
telemetryDisabled: boolean;
|
|
12483
12696
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12512,8 +12725,8 @@ declare const router: {
|
|
|
12512
12725
|
studio?: boolean | null | undefined;
|
|
12513
12726
|
};
|
|
12514
12727
|
db: Database;
|
|
12515
|
-
headers: Headers;
|
|
12516
12728
|
env: Bindings;
|
|
12729
|
+
headers: Headers;
|
|
12517
12730
|
client: string;
|
|
12518
12731
|
telemetryDisabled: boolean;
|
|
12519
12732
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12535,6 +12748,7 @@ declare const router: {
|
|
|
12535
12748
|
deleted: boolean;
|
|
12536
12749
|
locale: string;
|
|
12537
12750
|
blockId: string | null;
|
|
12751
|
+
fieldName: string;
|
|
12538
12752
|
createdAt: number;
|
|
12539
12753
|
updatedAt: number;
|
|
12540
12754
|
projectId: number | null;
|
|
@@ -12547,7 +12761,6 @@ declare const router: {
|
|
|
12547
12761
|
position: string;
|
|
12548
12762
|
sharedContentType: string | null;
|
|
12549
12763
|
parentItemId: string | null;
|
|
12550
|
-
fieldName: string;
|
|
12551
12764
|
} | undefined, {
|
|
12552
12765
|
content: Record<string, unknown>;
|
|
12553
12766
|
settings: unknown;
|
|
@@ -12558,6 +12771,7 @@ declare const router: {
|
|
|
12558
12771
|
deleted: boolean;
|
|
12559
12772
|
locale: string;
|
|
12560
12773
|
blockId: string | null;
|
|
12774
|
+
fieldName: string;
|
|
12561
12775
|
createdAt: number;
|
|
12562
12776
|
updatedAt: number;
|
|
12563
12777
|
projectId: number | null;
|
|
@@ -12570,7 +12784,6 @@ declare const router: {
|
|
|
12570
12784
|
position: string;
|
|
12571
12785
|
sharedContentType: string | null;
|
|
12572
12786
|
parentItemId: string | null;
|
|
12573
|
-
fieldName: string;
|
|
12574
12787
|
} | undefined>, Record<never, never>, Record<never, never>>;
|
|
12575
12788
|
duplicate: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
12576
12789
|
draft: DraftRequest | null;
|
|
@@ -12609,8 +12822,8 @@ declare const router: {
|
|
|
12609
12822
|
studio?: boolean | null | undefined;
|
|
12610
12823
|
};
|
|
12611
12824
|
db: Database;
|
|
12612
|
-
headers: Headers;
|
|
12613
12825
|
env: Bindings;
|
|
12826
|
+
headers: Headers;
|
|
12614
12827
|
client: string;
|
|
12615
12828
|
telemetryDisabled: boolean;
|
|
12616
12829
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12645,8 +12858,8 @@ declare const router: {
|
|
|
12645
12858
|
studio?: boolean | null | undefined;
|
|
12646
12859
|
};
|
|
12647
12860
|
db: Database;
|
|
12648
|
-
headers: Headers;
|
|
12649
12861
|
env: Bindings;
|
|
12862
|
+
headers: Headers;
|
|
12650
12863
|
client: string;
|
|
12651
12864
|
telemetryDisabled: boolean;
|
|
12652
12865
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12666,6 +12879,7 @@ declare const router: {
|
|
|
12666
12879
|
deleted: boolean;
|
|
12667
12880
|
locale: string;
|
|
12668
12881
|
blockId: string | null;
|
|
12882
|
+
fieldName: string;
|
|
12669
12883
|
createdAt: number;
|
|
12670
12884
|
updatedAt: number;
|
|
12671
12885
|
projectId: number | null;
|
|
@@ -12678,7 +12892,6 @@ declare const router: {
|
|
|
12678
12892
|
position: string;
|
|
12679
12893
|
sharedContentType: string | null;
|
|
12680
12894
|
parentItemId: string | null;
|
|
12681
|
-
fieldName: string;
|
|
12682
12895
|
}, {
|
|
12683
12896
|
content: Record<string, unknown>;
|
|
12684
12897
|
settings: unknown;
|
|
@@ -12689,6 +12902,7 @@ declare const router: {
|
|
|
12689
12902
|
deleted: boolean;
|
|
12690
12903
|
locale: string;
|
|
12691
12904
|
blockId: string | null;
|
|
12905
|
+
fieldName: string;
|
|
12692
12906
|
createdAt: number;
|
|
12693
12907
|
updatedAt: number;
|
|
12694
12908
|
projectId: number | null;
|
|
@@ -12701,7 +12915,6 @@ declare const router: {
|
|
|
12701
12915
|
position: string;
|
|
12702
12916
|
sharedContentType: string | null;
|
|
12703
12917
|
parentItemId: string | null;
|
|
12704
|
-
fieldName: string;
|
|
12705
12918
|
}>, Record<never, never>, Record<never, never>>;
|
|
12706
12919
|
generateSummary: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
12707
12920
|
draft: DraftRequest | null;
|
|
@@ -12738,8 +12951,8 @@ declare const router: {
|
|
|
12738
12951
|
studio?: boolean | null | undefined;
|
|
12739
12952
|
};
|
|
12740
12953
|
db: Database;
|
|
12741
|
-
headers: Headers;
|
|
12742
12954
|
env: Bindings;
|
|
12955
|
+
headers: Headers;
|
|
12743
12956
|
client: string;
|
|
12744
12957
|
telemetryDisabled: boolean;
|
|
12745
12958
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12759,6 +12972,7 @@ declare const router: {
|
|
|
12759
12972
|
deleted: boolean;
|
|
12760
12973
|
locale: string;
|
|
12761
12974
|
blockId: string | null;
|
|
12975
|
+
fieldName: string;
|
|
12762
12976
|
createdAt: number;
|
|
12763
12977
|
updatedAt: number;
|
|
12764
12978
|
projectId: number | null;
|
|
@@ -12771,7 +12985,6 @@ declare const router: {
|
|
|
12771
12985
|
position: string;
|
|
12772
12986
|
sharedContentType: string | null;
|
|
12773
12987
|
parentItemId: string | null;
|
|
12774
|
-
fieldName: string;
|
|
12775
12988
|
} | undefined, {
|
|
12776
12989
|
content: Record<string, unknown>;
|
|
12777
12990
|
settings: unknown;
|
|
@@ -12782,6 +12995,7 @@ declare const router: {
|
|
|
12782
12995
|
deleted: boolean;
|
|
12783
12996
|
locale: string;
|
|
12784
12997
|
blockId: string | null;
|
|
12998
|
+
fieldName: string;
|
|
12785
12999
|
createdAt: number;
|
|
12786
13000
|
updatedAt: number;
|
|
12787
13001
|
projectId: number | null;
|
|
@@ -12794,7 +13008,6 @@ declare const router: {
|
|
|
12794
13008
|
position: string;
|
|
12795
13009
|
sharedContentType: string | null;
|
|
12796
13010
|
parentItemId: string | null;
|
|
12797
|
-
fieldName: string;
|
|
12798
13011
|
} | undefined>, Record<never, never>, Record<never, never>>;
|
|
12799
13012
|
delete: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
12800
13013
|
draft: DraftRequest | null;
|
|
@@ -12833,8 +13046,8 @@ declare const router: {
|
|
|
12833
13046
|
studio?: boolean | null | undefined;
|
|
12834
13047
|
};
|
|
12835
13048
|
db: Database;
|
|
12836
|
-
headers: Headers;
|
|
12837
13049
|
env: Bindings;
|
|
13050
|
+
headers: Headers;
|
|
12838
13051
|
client: string;
|
|
12839
13052
|
telemetryDisabled: boolean;
|
|
12840
13053
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12869,8 +13082,8 @@ declare const router: {
|
|
|
12869
13082
|
studio?: boolean | null | undefined;
|
|
12870
13083
|
};
|
|
12871
13084
|
db: Database;
|
|
12872
|
-
headers: Headers;
|
|
12873
13085
|
env: Bindings;
|
|
13086
|
+
headers: Headers;
|
|
12874
13087
|
client: string;
|
|
12875
13088
|
telemetryDisabled: boolean;
|
|
12876
13089
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -12890,6 +13103,7 @@ declare const router: {
|
|
|
12890
13103
|
deleted: boolean;
|
|
12891
13104
|
locale: string;
|
|
12892
13105
|
blockId: string | null;
|
|
13106
|
+
fieldName: string;
|
|
12893
13107
|
createdAt: number;
|
|
12894
13108
|
updatedAt: number;
|
|
12895
13109
|
projectId: number | null;
|
|
@@ -12902,7 +13116,6 @@ declare const router: {
|
|
|
12902
13116
|
position: string;
|
|
12903
13117
|
sharedContentType: string | null;
|
|
12904
13118
|
parentItemId: string | null;
|
|
12905
|
-
fieldName: string;
|
|
12906
13119
|
} | undefined, {
|
|
12907
13120
|
content: Record<string, unknown>;
|
|
12908
13121
|
settings: unknown;
|
|
@@ -12913,6 +13126,7 @@ declare const router: {
|
|
|
12913
13126
|
deleted: boolean;
|
|
12914
13127
|
locale: string;
|
|
12915
13128
|
blockId: string | null;
|
|
13129
|
+
fieldName: string;
|
|
12916
13130
|
createdAt: number;
|
|
12917
13131
|
updatedAt: number;
|
|
12918
13132
|
projectId: number | null;
|
|
@@ -12925,7 +13139,6 @@ declare const router: {
|
|
|
12925
13139
|
position: string;
|
|
12926
13140
|
sharedContentType: string | null;
|
|
12927
13141
|
parentItemId: string | null;
|
|
12928
|
-
fieldName: string;
|
|
12929
13142
|
} | undefined>, Record<never, never>, Record<never, never>>;
|
|
12930
13143
|
};
|
|
12931
13144
|
blockDefinitions: {
|
|
@@ -13005,8 +13218,8 @@ declare const router: {
|
|
|
13005
13218
|
studio?: boolean | null | undefined;
|
|
13006
13219
|
};
|
|
13007
13220
|
db: Database;
|
|
13008
|
-
headers: Headers;
|
|
13009
13221
|
env: Bindings;
|
|
13222
|
+
headers: Headers;
|
|
13010
13223
|
client: string;
|
|
13011
13224
|
telemetryDisabled: boolean;
|
|
13012
13225
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13064,8 +13277,8 @@ declare const router: {
|
|
|
13064
13277
|
studio?: boolean | null | undefined;
|
|
13065
13278
|
};
|
|
13066
13279
|
db: Database;
|
|
13067
|
-
headers: Headers;
|
|
13068
13280
|
env: Bindings;
|
|
13281
|
+
headers: Headers;
|
|
13069
13282
|
client: string;
|
|
13070
13283
|
telemetryDisabled: boolean;
|
|
13071
13284
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13126,8 +13339,8 @@ declare const router: {
|
|
|
13126
13339
|
studio?: boolean | null | undefined;
|
|
13127
13340
|
};
|
|
13128
13341
|
db: Database;
|
|
13129
|
-
headers: Headers;
|
|
13130
13342
|
env: Bindings;
|
|
13343
|
+
headers: Headers;
|
|
13131
13344
|
client: string;
|
|
13132
13345
|
telemetryDisabled: boolean;
|
|
13133
13346
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13184,8 +13397,8 @@ declare const router: {
|
|
|
13184
13397
|
studio?: boolean | null | undefined;
|
|
13185
13398
|
};
|
|
13186
13399
|
db: Database;
|
|
13187
|
-
headers: Headers;
|
|
13188
13400
|
env: Bindings;
|
|
13401
|
+
headers: Headers;
|
|
13189
13402
|
client: string;
|
|
13190
13403
|
telemetryDisabled: boolean;
|
|
13191
13404
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13249,8 +13462,8 @@ declare const router: {
|
|
|
13249
13462
|
studio?: boolean | null | undefined;
|
|
13250
13463
|
};
|
|
13251
13464
|
db: Database;
|
|
13252
|
-
headers: Headers;
|
|
13253
13465
|
env: Bindings;
|
|
13466
|
+
headers: Headers;
|
|
13254
13467
|
client: string;
|
|
13255
13468
|
telemetryDisabled: boolean;
|
|
13256
13469
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13369,8 +13582,8 @@ declare const router: {
|
|
|
13369
13582
|
studio?: boolean | null | undefined;
|
|
13370
13583
|
};
|
|
13371
13584
|
db: Database;
|
|
13372
|
-
headers: Headers;
|
|
13373
13585
|
env: Bindings;
|
|
13586
|
+
headers: Headers;
|
|
13374
13587
|
client: string;
|
|
13375
13588
|
telemetryDisabled: boolean;
|
|
13376
13589
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13405,8 +13618,8 @@ declare const router: {
|
|
|
13405
13618
|
studio?: boolean | null | undefined;
|
|
13406
13619
|
};
|
|
13407
13620
|
db: Database;
|
|
13408
|
-
headers: Headers;
|
|
13409
13621
|
env: Bindings;
|
|
13622
|
+
headers: Headers;
|
|
13410
13623
|
client: string;
|
|
13411
13624
|
telemetryDisabled: boolean;
|
|
13412
13625
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13473,8 +13686,8 @@ declare const router: {
|
|
|
13473
13686
|
studio?: boolean | null | undefined;
|
|
13474
13687
|
};
|
|
13475
13688
|
db: Database;
|
|
13476
|
-
headers: Headers;
|
|
13477
13689
|
env: Bindings;
|
|
13690
|
+
headers: Headers;
|
|
13478
13691
|
client: string;
|
|
13479
13692
|
telemetryDisabled: boolean;
|
|
13480
13693
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13509,8 +13722,8 @@ declare const router: {
|
|
|
13509
13722
|
studio?: boolean | null | undefined;
|
|
13510
13723
|
};
|
|
13511
13724
|
db: Database;
|
|
13512
|
-
headers: Headers;
|
|
13513
13725
|
env: Bindings;
|
|
13726
|
+
headers: Headers;
|
|
13514
13727
|
client: string;
|
|
13515
13728
|
telemetryDisabled: boolean;
|
|
13516
13729
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13577,8 +13790,8 @@ declare const router: {
|
|
|
13577
13790
|
studio?: boolean | null | undefined;
|
|
13578
13791
|
};
|
|
13579
13792
|
db: Database;
|
|
13580
|
-
headers: Headers;
|
|
13581
13793
|
env: Bindings;
|
|
13794
|
+
headers: Headers;
|
|
13582
13795
|
client: string;
|
|
13583
13796
|
telemetryDisabled: boolean;
|
|
13584
13797
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13613,8 +13826,8 @@ declare const router: {
|
|
|
13613
13826
|
studio?: boolean | null | undefined;
|
|
13614
13827
|
};
|
|
13615
13828
|
db: Database;
|
|
13616
|
-
headers: Headers;
|
|
13617
13829
|
env: Bindings;
|
|
13830
|
+
headers: Headers;
|
|
13618
13831
|
client: string;
|
|
13619
13832
|
telemetryDisabled: boolean;
|
|
13620
13833
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13638,8 +13851,7 @@ declare const router: {
|
|
|
13638
13851
|
locale: string | undefined;
|
|
13639
13852
|
publishingDraft: string | undefined;
|
|
13640
13853
|
}>, import("zod").ZodObject<{
|
|
13641
|
-
deployToken: import("zod").
|
|
13642
|
-
autoCreate: import("zod").ZodBoolean;
|
|
13854
|
+
deployToken: import("zod").ZodString;
|
|
13643
13855
|
definitionSet: import("zod").ZodObject<{
|
|
13644
13856
|
blocks: import("zod").ZodArray<import("zod").ZodObject<{
|
|
13645
13857
|
blockId: import("zod").ZodString;
|
|
@@ -13694,14 +13906,14 @@ declare const router: {
|
|
|
13694
13906
|
properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
13695
13907
|
fieldType: import("zod").ZodEnum<{
|
|
13696
13908
|
String: "String";
|
|
13697
|
-
Embed: "Embed";
|
|
13698
|
-
Link: "Link";
|
|
13699
13909
|
Boolean: "Boolean";
|
|
13700
13910
|
Enum: "Enum";
|
|
13911
|
+
Embed: "Embed";
|
|
13701
13912
|
Image: "Image";
|
|
13702
13913
|
File: "File";
|
|
13703
13914
|
ImageList: "ImageList";
|
|
13704
13915
|
FileList: "FileList";
|
|
13916
|
+
Link: "Link";
|
|
13705
13917
|
Repeater: "Repeater";
|
|
13706
13918
|
Reference: "Reference";
|
|
13707
13919
|
ReferenceList: "ReferenceList";
|
|
@@ -13744,7 +13956,7 @@ declare const router: {
|
|
|
13744
13956
|
contentSchema: {
|
|
13745
13957
|
type: "object";
|
|
13746
13958
|
properties: Record<string, {
|
|
13747
|
-
fieldType: "String" | "
|
|
13959
|
+
fieldType: "String" | "Boolean" | "Enum" | "Embed" | "Image" | "File" | "ImageList" | "FileList" | "Link" | "Repeater" | "Reference" | "ReferenceList";
|
|
13748
13960
|
type?: string | undefined;
|
|
13749
13961
|
anyOf?: unknown;
|
|
13750
13962
|
title?: string | undefined;
|
|
@@ -13781,7 +13993,7 @@ declare const router: {
|
|
|
13781
13993
|
contentSchema: {
|
|
13782
13994
|
type: "object";
|
|
13783
13995
|
properties: Record<string, {
|
|
13784
|
-
fieldType: "String" | "
|
|
13996
|
+
fieldType: "String" | "Boolean" | "Enum" | "Embed" | "Image" | "File" | "ImageList" | "FileList" | "Link" | "Repeater" | "Reference" | "ReferenceList";
|
|
13785
13997
|
type?: string | undefined;
|
|
13786
13998
|
anyOf?: unknown;
|
|
13787
13999
|
title?: string | undefined;
|
|
@@ -13830,7 +14042,6 @@ declare const router: {
|
|
|
13830
14042
|
}, import("zod/v4/core").$strip>;
|
|
13831
14043
|
projectUuid: import("zod").ZodUUID;
|
|
13832
14044
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
13833
|
-
draftCreated: boolean;
|
|
13834
14045
|
blocks: {
|
|
13835
14046
|
count: number;
|
|
13836
14047
|
deletedDefinitionTypes: string[];
|
|
@@ -13859,7 +14070,6 @@ declare const router: {
|
|
|
13859
14070
|
blockCount: number;
|
|
13860
14071
|
} | null;
|
|
13861
14072
|
}, {
|
|
13862
|
-
draftCreated: boolean;
|
|
13863
14073
|
blocks: {
|
|
13864
14074
|
count: number;
|
|
13865
14075
|
deletedDefinitionTypes: string[];
|
|
@@ -13925,8 +14135,8 @@ declare const router: {
|
|
|
13925
14135
|
studio?: boolean | null | undefined;
|
|
13926
14136
|
};
|
|
13927
14137
|
db: Database;
|
|
13928
|
-
headers: Headers;
|
|
13929
14138
|
env: Bindings;
|
|
14139
|
+
headers: Headers;
|
|
13930
14140
|
client: string;
|
|
13931
14141
|
telemetryDisabled: boolean;
|
|
13932
14142
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -13986,8 +14196,8 @@ declare const router: {
|
|
|
13986
14196
|
studio?: boolean | null | undefined;
|
|
13987
14197
|
};
|
|
13988
14198
|
db: Database;
|
|
13989
|
-
headers: Headers;
|
|
13990
14199
|
env: Bindings;
|
|
14200
|
+
headers: Headers;
|
|
13991
14201
|
client: string;
|
|
13992
14202
|
telemetryDisabled: boolean;
|
|
13993
14203
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14034,8 +14244,8 @@ declare const router: {
|
|
|
14034
14244
|
studio?: boolean | null | undefined;
|
|
14035
14245
|
};
|
|
14036
14246
|
db: Database;
|
|
14037
|
-
headers: Headers;
|
|
14038
14247
|
env: Bindings;
|
|
14248
|
+
headers: Headers;
|
|
14039
14249
|
client: string;
|
|
14040
14250
|
telemetryDisabled: boolean;
|
|
14041
14251
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14081,8 +14291,8 @@ declare const router: {
|
|
|
14081
14291
|
studio?: boolean | null | undefined;
|
|
14082
14292
|
};
|
|
14083
14293
|
db: Database;
|
|
14084
|
-
headers: Headers;
|
|
14085
14294
|
env: Bindings;
|
|
14295
|
+
headers: Headers;
|
|
14086
14296
|
client: string;
|
|
14087
14297
|
telemetryDisabled: boolean;
|
|
14088
14298
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14129,8 +14339,8 @@ declare const router: {
|
|
|
14129
14339
|
studio?: boolean | null | undefined;
|
|
14130
14340
|
};
|
|
14131
14341
|
db: Database;
|
|
14132
|
-
headers: Headers;
|
|
14133
14342
|
env: Bindings;
|
|
14343
|
+
headers: Headers;
|
|
14134
14344
|
client: string;
|
|
14135
14345
|
telemetryDisabled: boolean;
|
|
14136
14346
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14220,8 +14430,8 @@ declare const router: {
|
|
|
14220
14430
|
studio?: boolean | null | undefined;
|
|
14221
14431
|
};
|
|
14222
14432
|
db: Database;
|
|
14223
|
-
headers: Headers;
|
|
14224
14433
|
env: Bindings;
|
|
14434
|
+
headers: Headers;
|
|
14225
14435
|
client: string;
|
|
14226
14436
|
telemetryDisabled: boolean;
|
|
14227
14437
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14267,8 +14477,8 @@ declare const router: {
|
|
|
14267
14477
|
studio?: boolean | null | undefined;
|
|
14268
14478
|
};
|
|
14269
14479
|
db: Database;
|
|
14270
|
-
headers: Headers;
|
|
14271
14480
|
env: Bindings;
|
|
14481
|
+
headers: Headers;
|
|
14272
14482
|
client: string;
|
|
14273
14483
|
telemetryDisabled: boolean;
|
|
14274
14484
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14317,8 +14527,8 @@ declare const router: {
|
|
|
14317
14527
|
studio?: boolean | null | undefined;
|
|
14318
14528
|
};
|
|
14319
14529
|
db: Database;
|
|
14320
|
-
headers: Headers;
|
|
14321
14530
|
env: Bindings;
|
|
14531
|
+
headers: Headers;
|
|
14322
14532
|
client: string;
|
|
14323
14533
|
telemetryDisabled: boolean;
|
|
14324
14534
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14368,8 +14578,8 @@ declare const router: {
|
|
|
14368
14578
|
studio?: boolean | null | undefined;
|
|
14369
14579
|
};
|
|
14370
14580
|
db: Database;
|
|
14371
|
-
headers: Headers;
|
|
14372
14581
|
env: Bindings;
|
|
14582
|
+
headers: Headers;
|
|
14373
14583
|
client: string;
|
|
14374
14584
|
telemetryDisabled: boolean;
|
|
14375
14585
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14428,8 +14638,8 @@ declare const router: {
|
|
|
14428
14638
|
studio?: boolean | null | undefined;
|
|
14429
14639
|
};
|
|
14430
14640
|
db: Database;
|
|
14431
|
-
headers: Headers;
|
|
14432
14641
|
env: Bindings;
|
|
14642
|
+
headers: Headers;
|
|
14433
14643
|
client: string;
|
|
14434
14644
|
telemetryDisabled: boolean;
|
|
14435
14645
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14477,8 +14687,8 @@ declare const router: {
|
|
|
14477
14687
|
studio?: boolean | null | undefined;
|
|
14478
14688
|
};
|
|
14479
14689
|
db: Database;
|
|
14480
|
-
headers: Headers;
|
|
14481
14690
|
env: Bindings;
|
|
14691
|
+
headers: Headers;
|
|
14482
14692
|
client: string;
|
|
14483
14693
|
telemetryDisabled: boolean;
|
|
14484
14694
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14526,8 +14736,8 @@ declare const router: {
|
|
|
14526
14736
|
studio?: boolean | null | undefined;
|
|
14527
14737
|
};
|
|
14528
14738
|
db: Database;
|
|
14529
|
-
headers: Headers;
|
|
14530
14739
|
env: Bindings;
|
|
14740
|
+
headers: Headers;
|
|
14531
14741
|
client: string;
|
|
14532
14742
|
telemetryDisabled: boolean;
|
|
14533
14743
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
@@ -14543,6 +14753,76 @@ declare const router: {
|
|
|
14543
14753
|
patrollers: import("@camox/api-contract/patrol").PatrollerView[];
|
|
14544
14754
|
}>, Record<never, never>, Record<never, never>>;
|
|
14545
14755
|
};
|
|
14756
|
+
code: {
|
|
14757
|
+
push: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
14758
|
+
draft: DraftRequest | null;
|
|
14759
|
+
locale: string | undefined;
|
|
14760
|
+
publishingDraft: string | undefined;
|
|
14761
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
14762
|
+
draft: DraftRequest | null;
|
|
14763
|
+
locale: string | undefined;
|
|
14764
|
+
publishingDraft: string | undefined;
|
|
14765
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
14766
|
+
draft: DraftRequest | null;
|
|
14767
|
+
locale: string | undefined;
|
|
14768
|
+
publishingDraft: string | undefined;
|
|
14769
|
+
}>, {
|
|
14770
|
+
user: {
|
|
14771
|
+
id: string;
|
|
14772
|
+
createdAt: Date;
|
|
14773
|
+
updatedAt: Date;
|
|
14774
|
+
email: string;
|
|
14775
|
+
emailVerified: boolean;
|
|
14776
|
+
name: string;
|
|
14777
|
+
image?: string | null | undefined;
|
|
14778
|
+
};
|
|
14779
|
+
session: {
|
|
14780
|
+
id: string;
|
|
14781
|
+
createdAt: Date;
|
|
14782
|
+
updatedAt: Date;
|
|
14783
|
+
userId: string;
|
|
14784
|
+
expiresAt: Date;
|
|
14785
|
+
token: string;
|
|
14786
|
+
ipAddress?: string | null | undefined;
|
|
14787
|
+
userAgent?: string | null | undefined;
|
|
14788
|
+
activeOrganizationId?: string | null | undefined;
|
|
14789
|
+
studio?: boolean | null | undefined;
|
|
14790
|
+
};
|
|
14791
|
+
db: Database;
|
|
14792
|
+
env: Bindings;
|
|
14793
|
+
headers: Headers;
|
|
14794
|
+
client: string;
|
|
14795
|
+
telemetryDisabled: boolean;
|
|
14796
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
14797
|
+
apiOrigin?: string | undefined;
|
|
14798
|
+
draft: DraftRequest | null;
|
|
14799
|
+
locale: string | undefined;
|
|
14800
|
+
publishingDraft: string | undefined;
|
|
14801
|
+
}>, import("zod").ZodObject<{
|
|
14802
|
+
projectUuid: import("zod").ZodUUID;
|
|
14803
|
+
branch: import("zod").ZodString;
|
|
14804
|
+
draftId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14805
|
+
bundle: import("zod").ZodInstanceOf<Blob>;
|
|
14806
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<AsyncGenerator<{
|
|
14807
|
+
type: "progress";
|
|
14808
|
+
step: PushStep;
|
|
14809
|
+
} | {
|
|
14810
|
+
draftId: string;
|
|
14811
|
+
result: BuildResult;
|
|
14812
|
+
studioUrl: string;
|
|
14813
|
+
type: "pushed";
|
|
14814
|
+
step?: undefined;
|
|
14815
|
+
}, void, unknown>, AsyncGenerator<{
|
|
14816
|
+
type: "progress";
|
|
14817
|
+
step: PushStep;
|
|
14818
|
+
} | {
|
|
14819
|
+
draftId: string;
|
|
14820
|
+
result: BuildResult;
|
|
14821
|
+
studioUrl: string;
|
|
14822
|
+
type: "pushed";
|
|
14823
|
+
step?: undefined;
|
|
14824
|
+
}, void, unknown>>, Record<never, never>, Record<never, never>>;
|
|
14825
|
+
};
|
|
14546
14826
|
};
|
|
14547
14827
|
type Router = typeof router;
|
|
14548
14828
|
//#endregion
|