@camox/api-contract 0.78.0 → 0.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/drafts.js +3 -1
- package/dist/query-keys.d.ts +1 -0
- package/dist/query-keys.js +12 -5
- package/dist/router.d.ts +1931 -316
- package/dist/threads.d.ts +3 -2
- package/dist/threads.js +5 -2
- package/dist/voice.d.ts +191 -0
- package/dist/voice.js +228 -0
- package/package.json +5 -1
- package/src/drafts.ts +6 -3
- package/src/query-keys.ts +3 -1
- package/src/threads.ts +5 -2
- package/src/voice.ts +229 -0
package/dist/router.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import "@earendil-works/pi-durable/tools";
|
|
|
10
10
|
import "@camox/ai-tools";
|
|
11
11
|
import { AgentEvent } from "@earendil-works/pi-durable";
|
|
12
12
|
import "effect";
|
|
13
|
-
import { EndedDraft, PublishAbortReason } from "@camox/api-contract/drafts";
|
|
13
|
+
import { EndedDraft, LookPlaceholderHeight, PublishAbortReason } from "@camox/api-contract/drafts";
|
|
14
14
|
import "@camox/api-contract/projects";
|
|
15
15
|
import "drizzle-orm";
|
|
16
16
|
import "drizzle-orm/sqlite-core";
|
|
@@ -20,6 +20,7 @@ import { FileErrorCode } from "@earendil-works/pi-durable/env";
|
|
|
20
20
|
import { SdkBundleNames } from "camox/_internal/sdkBundleName";
|
|
21
21
|
import { CIWorkflow, CiContext, CiParams, CloudflareArtifacts } from "@cloudflare/ci";
|
|
22
22
|
import { CiBindings } from "@cloudflare/ci/worker";
|
|
23
|
+
import { VoiceChange } from "@camox/api-contract/voice";
|
|
23
24
|
import { ProjectRoomMessage } from "@camox/api-contract/query-keys";
|
|
24
25
|
import { Server } from "partyserver";
|
|
25
26
|
import "@orpc/server";
|
|
@@ -28,7 +29,7 @@ import { EvaluatedNode, RecordText } from "@camox/api-contract";
|
|
|
28
29
|
//#endregion
|
|
29
30
|
//#region ../../apps/api/src/durable-objects/edge-cache-purger.d.ts
|
|
30
31
|
/**
|
|
31
|
-
* The one place the API's edge
|
|
32
|
+
* The one place the API's edge caches are purged from (`edgeCachePurges`). It collects the tags to
|
|
32
33
|
* purge and sends them together: at once when the last purge is old enough, otherwise once it
|
|
33
34
|
* is. A purge that fails is retried with the next batch.
|
|
34
35
|
*/
|
|
@@ -1635,7 +1636,7 @@ type DraftRequest = {
|
|
|
1635
1636
|
//#endregion
|
|
1636
1637
|
//#region ../../apps/api/src/domains/drafts/overlay.d.ts
|
|
1637
1638
|
/** The kinds of entity drafts hold: what changes and conflicts name. */
|
|
1638
|
-
declare const ENTITY_KINDS: readonly ["locale", "page", "block", "sharedContent", "repeatableItem", "file", "record", "exclusion", "memory"];
|
|
1639
|
+
declare const ENTITY_KINDS: readonly ["locale", "page", "block", "sharedContent", "repeatableItem", "file", "record", "exclusion", "memory", "voiceAxis"];
|
|
1639
1640
|
type EntityKind = (typeof ENTITY_KINDS)[number];
|
|
1640
1641
|
//#endregion
|
|
1641
1642
|
//#region ../../apps/api/src/domains/revisions/schema.d.ts
|
|
@@ -1646,6 +1647,121 @@ type EntityKind = (typeof ENTITY_KINDS)[number];
|
|
|
1646
1647
|
*/
|
|
1647
1648
|
type RevisionSource = "build" | "turn" | "merge" | "push" | "revert";
|
|
1648
1649
|
//#endregion
|
|
1650
|
+
//#region ../../apps/api/src/domains/ai-usage/schema.d.ts
|
|
1651
|
+
/**
|
|
1652
|
+
* Which of a thread's agents made a call: the thread's agent, its Code Agent, or one of its
|
|
1653
|
+
* Artifact Agents.
|
|
1654
|
+
*/
|
|
1655
|
+
type AiAgent = "thread_agent" | "code_agent" | "artifact_agent";
|
|
1656
|
+
//#endregion
|
|
1657
|
+
//#region ../../apps/api/src/domains/artifact-agent/tool.d.ts
|
|
1658
|
+
/** The artifact field an `artifact` call names, in a Locale, the Default Locale without one. */
|
|
1659
|
+
type ArtifactTarget = {
|
|
1660
|
+
block: string;
|
|
1661
|
+
item?: string;
|
|
1662
|
+
field: string;
|
|
1663
|
+
locale?: string;
|
|
1664
|
+
};
|
|
1665
|
+
//#endregion
|
|
1666
|
+
//#region ../../apps/api/src/lib/timing.d.ts
|
|
1667
|
+
/** What a span's line says beside its name and duration. Undefined fields are left out. */
|
|
1668
|
+
type SpanFields = Record<string, string | number | boolean | null | undefined>;
|
|
1669
|
+
//#endregion
|
|
1670
|
+
//#region ../../apps/api/src/domains/looks/moments.d.ts
|
|
1671
|
+
/**
|
|
1672
|
+
* A Moment the Artifact Agent asks `look` for: a Mark by name, a Mark and a delay after it in ms,
|
|
1673
|
+
* a time in ms, or `ALL_MARKS` for every Mark in time order.
|
|
1674
|
+
*/
|
|
1675
|
+
type Moment = string | number | {
|
|
1676
|
+
mark: string;
|
|
1677
|
+
after: number;
|
|
1678
|
+
};
|
|
1679
|
+
/** A Moment at the time a capture seeks to, in ms, as the result names it. */
|
|
1680
|
+
type TimedMoment = {
|
|
1681
|
+
moment: Moment;
|
|
1682
|
+
t: number;
|
|
1683
|
+
};
|
|
1684
|
+
//#endregion
|
|
1685
|
+
//#region ../../apps/api/src/domains/looks/capture.d.ts
|
|
1686
|
+
/** The sizes `look` captures at, by name: a desktop screen and a phone's. */
|
|
1687
|
+
declare const LOOK_SIZES: {
|
|
1688
|
+
readonly desktop: {
|
|
1689
|
+
readonly width: 1440;
|
|
1690
|
+
readonly height: 900;
|
|
1691
|
+
};
|
|
1692
|
+
readonly mobile: {
|
|
1693
|
+
readonly width: 390;
|
|
1694
|
+
readonly height: 844;
|
|
1695
|
+
};
|
|
1696
|
+
};
|
|
1697
|
+
type LookSize = keyof typeof LOOK_SIZES;
|
|
1698
|
+
/** What the page said beside its image: its errors, the requests that failed, and overflow. */
|
|
1699
|
+
type CaptureChecks = {
|
|
1700
|
+
/** Console errors and uncaught page errors, in the order they came. */
|
|
1701
|
+
errors: string[];
|
|
1702
|
+
/** The requests that failed or answered an error status, each with why. */
|
|
1703
|
+
failedRequests: string[];
|
|
1704
|
+
/** Whether the document is wider than the viewport: content overflows horizontally. */
|
|
1705
|
+
overflow: boolean;
|
|
1706
|
+
};
|
|
1707
|
+
//#endregion
|
|
1708
|
+
//#region ../../apps/api/src/domains/looks/look.d.ts
|
|
1709
|
+
/**
|
|
1710
|
+
* A page of the draft, by its path in its Locale, the Default Locale without one: a curated
|
|
1711
|
+
* page, or a page of a Singleton or Derived Layout.
|
|
1712
|
+
*/
|
|
1713
|
+
type PageTarget = {
|
|
1714
|
+
path: string;
|
|
1715
|
+
locale?: string;
|
|
1716
|
+
};
|
|
1717
|
+
/**
|
|
1718
|
+
* A Block Definition, unplaced: empty fields with `content` and `settings` merged on, in the
|
|
1719
|
+
* shape the content tools take.
|
|
1720
|
+
*/
|
|
1721
|
+
type BlockDefinitionTarget = {
|
|
1722
|
+
blockDefinition: string;
|
|
1723
|
+
content?: unknown;
|
|
1724
|
+
settings?: unknown;
|
|
1725
|
+
};
|
|
1726
|
+
/**
|
|
1727
|
+
* A curated Layout Definition around no page: its blocks with empty fields and the content and
|
|
1728
|
+
* Block Settings given by Block Definition name merged on, around a labelled placeholder where a
|
|
1729
|
+
* page's content goes, short (the first height) or tall.
|
|
1730
|
+
*/
|
|
1731
|
+
type LayoutDefinitionTarget = {
|
|
1732
|
+
layoutDefinition: string;
|
|
1733
|
+
placeholder?: LookPlaceholderHeight;
|
|
1734
|
+
blocks?: Record<string, {
|
|
1735
|
+
content?: unknown;
|
|
1736
|
+
settings?: unknown;
|
|
1737
|
+
}>;
|
|
1738
|
+
};
|
|
1739
|
+
/** One Placement on a page of the draft, by the page's path and the block's ID. */
|
|
1740
|
+
type PlacementTarget = PageTarget & {
|
|
1741
|
+
block: string;
|
|
1742
|
+
};
|
|
1743
|
+
/**
|
|
1744
|
+
* An Artifact Agent's own artifact, on its block's page or on the page at `path`, at the Moments
|
|
1745
|
+
* of its Timeline it asks for, its poster without.
|
|
1746
|
+
*/
|
|
1747
|
+
type ArtifactLookTarget = {
|
|
1748
|
+
artifact: true;
|
|
1749
|
+
path?: string;
|
|
1750
|
+
moments?: Moment[];
|
|
1751
|
+
};
|
|
1752
|
+
/**
|
|
1753
|
+
* What the agent asks `look` to capture, with the sizes it wants and how long to wait before
|
|
1754
|
+
* capturing, in milliseconds.
|
|
1755
|
+
*/
|
|
1756
|
+
type LookTarget = (PageTarget | PlacementTarget | BlockDefinitionTarget | LayoutDefinitionTarget | ArtifactLookTarget) & {
|
|
1757
|
+
sizes?: LookSize[];
|
|
1758
|
+
delay?: number;
|
|
1759
|
+
};
|
|
1760
|
+
//#endregion
|
|
1761
|
+
//#region ../../apps/api/src/domains/look-records/schema.d.ts
|
|
1762
|
+
/** Who took a look: the agent, with its `look`, or Camox, before handing an Artifact Agent a request. */
|
|
1763
|
+
type LookTaker = "agent" | "camox";
|
|
1764
|
+
//#endregion
|
|
1649
1765
|
//#region ../../apps/api/src/db.d.ts
|
|
1650
1766
|
declare const schema: {
|
|
1651
1767
|
projects: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
@@ -9826,10 +9942,6 @@ declare class ProjectCode extends DurableObject<Bindings> {
|
|
|
9826
9942
|
snapshot(known?: string): Promise<MainSnapshot>;
|
|
9827
9943
|
}
|
|
9828
9944
|
//#endregion
|
|
9829
|
-
//#region ../../apps/api/src/lib/timing.d.ts
|
|
9830
|
-
/** What a span's line says beside its name and duration. Undefined fields are left out. */
|
|
9831
|
-
type SpanFields = Record<string, string | number | boolean | null | undefined>;
|
|
9832
|
-
//#endregion
|
|
9833
9945
|
//#region ../../apps/api/src/domains/revisions/sandbox.d.ts
|
|
9834
9946
|
/** A type check's outcome, with what it printed: its errors when it failed. */
|
|
9835
9947
|
type SandboxTypeCheck = {
|
|
@@ -10868,6 +10980,11 @@ type Bindings = {
|
|
|
10868
10980
|
AI: Ai;
|
|
10869
10981
|
AI_JOB_SCHEDULER: DurableObjectNamespace;
|
|
10870
10982
|
ProjectRoom: DurableObjectNamespace;
|
|
10983
|
+
/**
|
|
10984
|
+
* The Live Reads Worker's `LiveCacheKeys` entrypoint, which answers each project's Live cache key
|
|
10985
|
+
* from its edge cache (src/live-reads.ts), and takes purges of it.
|
|
10986
|
+
*/
|
|
10987
|
+
LIVE_CACHE_KEYS: Fetcher;
|
|
10871
10988
|
/** Batches the edge cache's purges, which the account's purge rate limit caps. */
|
|
10872
10989
|
EDGE_CACHE_PURGER: EdgeCachePurgerNamespace;
|
|
10873
10990
|
THREAD: DurableObjectNamespace<Thread>;
|
|
@@ -10907,6 +11024,11 @@ type Bindings = {
|
|
|
10907
11024
|
REVISION_BUILDS: R2Bucket;
|
|
10908
11025
|
/** The skills each `camox` version ships, one object per version (`domains/code/skills.ts`). */
|
|
10909
11026
|
SKILLS: R2Bucket;
|
|
11027
|
+
/**
|
|
11028
|
+
* Look Records' images, and the Artifact Sources they showed, each stored once
|
|
11029
|
+
* (`domains/look-records`). Private: only operator procedures read it.
|
|
11030
|
+
*/
|
|
11031
|
+
LOOKS_BUCKET: R2Bucket;
|
|
10910
11032
|
/** The dispatch Worker, which loads revisions (`domains/revisions/dispatch.ts`). */
|
|
10911
11033
|
DISPATCH: Dispatch;
|
|
10912
11034
|
/** Browser Run, whose Chromium the agent's `look` captures a draft in (`domains/looks`). */
|
|
@@ -11048,7 +11170,7 @@ type Person = {
|
|
|
11048
11170
|
name: string;
|
|
11049
11171
|
};
|
|
11050
11172
|
//#endregion
|
|
11051
|
-
//#region ../../apps/api/src/domains/
|
|
11173
|
+
//#region ../../apps/api/src/domains/brand/memory.d.ts
|
|
11052
11174
|
/**
|
|
11053
11175
|
* Where a memory comes from, as members see it: for a member's words, whether the draft they were
|
|
11054
11176
|
* said in was published since, which takes its thread to its Publication (ADR 0045).
|
|
@@ -11209,6 +11331,8 @@ type PublishPreview = {
|
|
|
11209
11331
|
changes: Change[];
|
|
11210
11332
|
/** The memories among `changes`, with their text and Live's before a change (ADR 0049). */
|
|
11211
11333
|
memoryChanges: MemoryChange[];
|
|
11334
|
+
/** The Voice Axes among `changes` the draft moves, in the axes' order (ADR 0051). */
|
|
11335
|
+
voiceChanges: VoiceChange[];
|
|
11212
11336
|
/** The tag of the default locale, which the others are translated from (null: none yet). */
|
|
11213
11337
|
defaultLocale: string | null;
|
|
11214
11338
|
/** The draft's overview: AI's headline and bullets about its changes. */
|
|
@@ -11303,9 +11427,39 @@ type PushStep =
|
|
|
11303
11427
|
/** Its head builds. */
|
|
11304
11428
|
"building";
|
|
11305
11429
|
//#endregion
|
|
11430
|
+
//#region ../../apps/api/src/lib/artifact-agent-models.d.ts
|
|
11431
|
+
/**
|
|
11432
|
+
* The models operators choose from for a project's Artifact Agents (ADR 0035), Claude Opus 5.5
|
|
11433
|
+
* first: the one a project that chose none runs on. `threadModel` resolves each to the model Pi
|
|
11434
|
+
* calls.
|
|
11435
|
+
*/
|
|
11436
|
+
declare const ARTIFACT_AGENT_MODELS: readonly ["claude-opus-5.5", "claude-sonnet-5.5", "claude-haiku-5.5"];
|
|
11437
|
+
/** A model operators may choose for a project's Artifact Agents. */
|
|
11438
|
+
type ArtifactAgentModel = (typeof ARTIFACT_AGENT_MODELS)[number];
|
|
11439
|
+
//#endregion
|
|
11306
11440
|
//#region ../../apps/api/src/router.d.ts
|
|
11307
11441
|
declare const router: {
|
|
11308
11442
|
projects: {
|
|
11443
|
+
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>>, {
|
|
11444
|
+
draft: DraftRequest | null;
|
|
11445
|
+
locale: string | undefined;
|
|
11446
|
+
publishingDraft: string | undefined;
|
|
11447
|
+
look: LookGrant | undefined;
|
|
11448
|
+
}>, import("zod").ZodObject<{
|
|
11449
|
+
projectUuid: import("zod").ZodUUID;
|
|
11450
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
11451
|
+
id: number;
|
|
11452
|
+
updatedAt: number;
|
|
11453
|
+
analytics: AnalyticsProviders;
|
|
11454
|
+
socialProfiles: string[];
|
|
11455
|
+
hiddenFromSearchEngines: boolean;
|
|
11456
|
+
}, {
|
|
11457
|
+
id: number;
|
|
11458
|
+
updatedAt: number;
|
|
11459
|
+
analytics: AnalyticsProviders;
|
|
11460
|
+
socialProfiles: string[];
|
|
11461
|
+
hiddenFromSearchEngines: boolean;
|
|
11462
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
11309
11463
|
list: 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>>, {
|
|
11310
11464
|
draft: DraftRequest | null;
|
|
11311
11465
|
locale: string | undefined;
|
|
@@ -11708,26 +11862,6 @@ declare const router: {
|
|
|
11708
11862
|
upgradePushRequestedAt: number | null;
|
|
11709
11863
|
uuid: string;
|
|
11710
11864
|
}>, Record<never, never>, Record<never, never>>;
|
|
11711
|
-
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>>, {
|
|
11712
|
-
draft: DraftRequest | null;
|
|
11713
|
-
locale: string | undefined;
|
|
11714
|
-
publishingDraft: string | undefined;
|
|
11715
|
-
look: LookGrant | undefined;
|
|
11716
|
-
}>, import("zod").ZodObject<{
|
|
11717
|
-
projectUuid: import("zod").ZodUUID;
|
|
11718
|
-
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
11719
|
-
id: number;
|
|
11720
|
-
updatedAt: number;
|
|
11721
|
-
analytics: AnalyticsProviders;
|
|
11722
|
-
socialProfiles: string[];
|
|
11723
|
-
hiddenFromSearchEngines: boolean;
|
|
11724
|
-
}, {
|
|
11725
|
-
id: number;
|
|
11726
|
-
updatedAt: number;
|
|
11727
|
-
analytics: AnalyticsProviders;
|
|
11728
|
-
socialProfiles: string[];
|
|
11729
|
-
hiddenFromSearchEngines: boolean;
|
|
11730
|
-
}>, Record<never, never>, Record<never, never>>;
|
|
11731
11865
|
get: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
11732
11866
|
draft: DraftRequest | null;
|
|
11733
11867
|
locale: string | undefined;
|
|
@@ -12672,20 +12806,20 @@ declare const router: {
|
|
|
12672
12806
|
structuredData: BlockStructuredData;
|
|
12673
12807
|
recordStructuredData: import("@camox/api-contract").RecordStructuredData;
|
|
12674
12808
|
}>, Record<never, never>, Record<never, never>>;
|
|
12675
|
-
|
|
12809
|
+
listBySlug: 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>>, {
|
|
12676
12810
|
draft: DraftRequest | null;
|
|
12677
12811
|
locale: string | undefined;
|
|
12678
12812
|
publishingDraft: string | undefined;
|
|
12679
12813
|
look: LookGrant | undefined;
|
|
12680
12814
|
}>, import("zod").ZodObject<{
|
|
12681
12815
|
projectUuid: import("zod").ZodUUID;
|
|
12682
|
-
path: import("zod").ZodString;
|
|
12683
12816
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
12684
|
-
|
|
12817
|
+
projectName: string;
|
|
12818
|
+
pages: {
|
|
12685
12819
|
aiSeo: boolean;
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12820
|
+
needsLayout: boolean;
|
|
12821
|
+
shadowed: boolean;
|
|
12822
|
+
duplicatePath: boolean;
|
|
12689
12823
|
baseVersion: number | null;
|
|
12690
12824
|
contentUpdatedAt: number;
|
|
12691
12825
|
createdAt: number;
|
|
@@ -12694,6 +12828,7 @@ declare const router: {
|
|
|
12694
12828
|
customOgImageUrl: string | null;
|
|
12695
12829
|
deleted: boolean;
|
|
12696
12830
|
draftId: string | null;
|
|
12831
|
+
firstPublishedAt: number | null;
|
|
12697
12832
|
fullPath: string;
|
|
12698
12833
|
id: string;
|
|
12699
12834
|
layoutId: string;
|
|
@@ -12705,32 +12840,19 @@ declare const router: {
|
|
|
12705
12840
|
pathSegment: string;
|
|
12706
12841
|
projectId: number;
|
|
12707
12842
|
publicationId: string | null;
|
|
12843
|
+
publishedAt: number | null;
|
|
12708
12844
|
publishedBy: string | null;
|
|
12709
12845
|
rowId: number;
|
|
12710
12846
|
updatedAt: number;
|
|
12711
12847
|
version: number;
|
|
12712
|
-
};
|
|
12713
|
-
projectName: string;
|
|
12714
|
-
project: {
|
|
12715
|
-
id: number;
|
|
12716
|
-
updatedAt: number;
|
|
12717
|
-
analytics: AnalyticsProviders;
|
|
12718
|
-
socialProfiles: string[];
|
|
12719
|
-
hiddenFromSearchEngines: boolean;
|
|
12720
|
-
};
|
|
12721
|
-
layout: {
|
|
12722
|
-
layoutId: string;
|
|
12723
|
-
contentUpdatedAt: number;
|
|
12724
|
-
updatedAt: number;
|
|
12725
|
-
beforeBlockIds: string[];
|
|
12726
|
-
afterBlockIds: string[];
|
|
12727
|
-
} | null;
|
|
12848
|
+
}[];
|
|
12728
12849
|
}, {
|
|
12729
|
-
|
|
12850
|
+
projectName: string;
|
|
12851
|
+
pages: {
|
|
12730
12852
|
aiSeo: boolean;
|
|
12731
|
-
|
|
12732
|
-
|
|
12733
|
-
|
|
12853
|
+
needsLayout: boolean;
|
|
12854
|
+
shadowed: boolean;
|
|
12855
|
+
duplicatePath: boolean;
|
|
12734
12856
|
baseVersion: number | null;
|
|
12735
12857
|
contentUpdatedAt: number;
|
|
12736
12858
|
createdAt: number;
|
|
@@ -12739,6 +12861,7 @@ declare const router: {
|
|
|
12739
12861
|
customOgImageUrl: string | null;
|
|
12740
12862
|
deleted: boolean;
|
|
12741
12863
|
draftId: string | null;
|
|
12864
|
+
firstPublishedAt: number | null;
|
|
12742
12865
|
fullPath: string;
|
|
12743
12866
|
id: string;
|
|
12744
12867
|
layoutId: string;
|
|
@@ -12750,26 +12873,12 @@ declare const router: {
|
|
|
12750
12873
|
pathSegment: string;
|
|
12751
12874
|
projectId: number;
|
|
12752
12875
|
publicationId: string | null;
|
|
12876
|
+
publishedAt: number | null;
|
|
12753
12877
|
publishedBy: string | null;
|
|
12754
12878
|
rowId: number;
|
|
12755
12879
|
updatedAt: number;
|
|
12756
12880
|
version: number;
|
|
12757
|
-
};
|
|
12758
|
-
projectName: string;
|
|
12759
|
-
project: {
|
|
12760
|
-
id: number;
|
|
12761
|
-
updatedAt: number;
|
|
12762
|
-
analytics: AnalyticsProviders;
|
|
12763
|
-
socialProfiles: string[];
|
|
12764
|
-
hiddenFromSearchEngines: boolean;
|
|
12765
|
-
};
|
|
12766
|
-
layout: {
|
|
12767
|
-
layoutId: string;
|
|
12768
|
-
contentUpdatedAt: number;
|
|
12769
|
-
updatedAt: number;
|
|
12770
|
-
beforeBlockIds: string[];
|
|
12771
|
-
afterBlockIds: string[];
|
|
12772
|
-
} | null;
|
|
12881
|
+
}[];
|
|
12773
12882
|
}>, Record<never, never>, Record<never, never>>;
|
|
12774
12883
|
getMarkdown: 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>>, {
|
|
12775
12884
|
draft: DraftRequest | null;
|
|
@@ -12864,6 +12973,105 @@ declare const router: {
|
|
|
12864
12973
|
projectName: string;
|
|
12865
12974
|
markdown: string;
|
|
12866
12975
|
}>, Record<never, never>, Record<never, never>>;
|
|
12976
|
+
getStructure: 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>>, {
|
|
12977
|
+
draft: DraftRequest | null;
|
|
12978
|
+
locale: string | undefined;
|
|
12979
|
+
publishingDraft: string | undefined;
|
|
12980
|
+
look: LookGrant | undefined;
|
|
12981
|
+
}>, import("zod").ZodObject<{
|
|
12982
|
+
projectUuid: import("zod").ZodUUID;
|
|
12983
|
+
path: import("zod").ZodString;
|
|
12984
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
12985
|
+
page: {
|
|
12986
|
+
aiSeo: boolean;
|
|
12987
|
+
firstPublishedAt: number | null;
|
|
12988
|
+
publishedAt: number | null;
|
|
12989
|
+
blockIds: string[];
|
|
12990
|
+
baseVersion: number | null;
|
|
12991
|
+
contentUpdatedAt: number;
|
|
12992
|
+
createdAt: number;
|
|
12993
|
+
createdById: string | null;
|
|
12994
|
+
customOgImageBlobId: string | null;
|
|
12995
|
+
customOgImageUrl: string | null;
|
|
12996
|
+
deleted: boolean;
|
|
12997
|
+
draftId: string | null;
|
|
12998
|
+
fullPath: string;
|
|
12999
|
+
id: string;
|
|
13000
|
+
layoutId: string;
|
|
13001
|
+
locale: string;
|
|
13002
|
+
metaDescription: string | null;
|
|
13003
|
+
metaTitle: string | null;
|
|
13004
|
+
nickname: string;
|
|
13005
|
+
parentPageId: string | null;
|
|
13006
|
+
pathSegment: string;
|
|
13007
|
+
projectId: number;
|
|
13008
|
+
publicationId: string | null;
|
|
13009
|
+
publishedBy: string | null;
|
|
13010
|
+
rowId: number;
|
|
13011
|
+
updatedAt: number;
|
|
13012
|
+
version: number;
|
|
13013
|
+
};
|
|
13014
|
+
projectName: string;
|
|
13015
|
+
project: {
|
|
13016
|
+
id: number;
|
|
13017
|
+
updatedAt: number;
|
|
13018
|
+
analytics: AnalyticsProviders;
|
|
13019
|
+
socialProfiles: string[];
|
|
13020
|
+
hiddenFromSearchEngines: boolean;
|
|
13021
|
+
};
|
|
13022
|
+
layout: {
|
|
13023
|
+
layoutId: string;
|
|
13024
|
+
contentUpdatedAt: number;
|
|
13025
|
+
updatedAt: number;
|
|
13026
|
+
beforeBlockIds: string[];
|
|
13027
|
+
afterBlockIds: string[];
|
|
13028
|
+
} | null;
|
|
13029
|
+
}, {
|
|
13030
|
+
page: {
|
|
13031
|
+
aiSeo: boolean;
|
|
13032
|
+
firstPublishedAt: number | null;
|
|
13033
|
+
publishedAt: number | null;
|
|
13034
|
+
blockIds: string[];
|
|
13035
|
+
baseVersion: number | null;
|
|
13036
|
+
contentUpdatedAt: number;
|
|
13037
|
+
createdAt: number;
|
|
13038
|
+
createdById: string | null;
|
|
13039
|
+
customOgImageBlobId: string | null;
|
|
13040
|
+
customOgImageUrl: string | null;
|
|
13041
|
+
deleted: boolean;
|
|
13042
|
+
draftId: string | null;
|
|
13043
|
+
fullPath: string;
|
|
13044
|
+
id: string;
|
|
13045
|
+
layoutId: string;
|
|
13046
|
+
locale: string;
|
|
13047
|
+
metaDescription: string | null;
|
|
13048
|
+
metaTitle: string | null;
|
|
13049
|
+
nickname: string;
|
|
13050
|
+
parentPageId: string | null;
|
|
13051
|
+
pathSegment: string;
|
|
13052
|
+
projectId: number;
|
|
13053
|
+
publicationId: string | null;
|
|
13054
|
+
publishedBy: string | null;
|
|
13055
|
+
rowId: number;
|
|
13056
|
+
updatedAt: number;
|
|
13057
|
+
version: number;
|
|
13058
|
+
};
|
|
13059
|
+
projectName: string;
|
|
13060
|
+
project: {
|
|
13061
|
+
id: number;
|
|
13062
|
+
updatedAt: number;
|
|
13063
|
+
analytics: AnalyticsProviders;
|
|
13064
|
+
socialProfiles: string[];
|
|
13065
|
+
hiddenFromSearchEngines: boolean;
|
|
13066
|
+
};
|
|
13067
|
+
layout: {
|
|
13068
|
+
layoutId: string;
|
|
13069
|
+
contentUpdatedAt: number;
|
|
13070
|
+
updatedAt: number;
|
|
13071
|
+
beforeBlockIds: string[];
|
|
13072
|
+
afterBlockIds: string[];
|
|
13073
|
+
} | null;
|
|
13074
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
12867
13075
|
list: 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>>, {
|
|
12868
13076
|
draft: DraftRequest | null;
|
|
12869
13077
|
locale: string | undefined;
|
|
@@ -12932,81 +13140,7 @@ declare const router: {
|
|
|
12932
13140
|
updatedAt: number;
|
|
12933
13141
|
version: number;
|
|
12934
13142
|
}[]>, Record<never, never>, Record<never, never>>;
|
|
12935
|
-
|
|
12936
|
-
draft: DraftRequest | null;
|
|
12937
|
-
locale: string | undefined;
|
|
12938
|
-
publishingDraft: string | undefined;
|
|
12939
|
-
look: LookGrant | undefined;
|
|
12940
|
-
}>, import("zod").ZodObject<{
|
|
12941
|
-
projectUuid: import("zod").ZodUUID;
|
|
12942
|
-
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
12943
|
-
projectName: string;
|
|
12944
|
-
pages: {
|
|
12945
|
-
aiSeo: boolean;
|
|
12946
|
-
needsLayout: boolean;
|
|
12947
|
-
shadowed: boolean;
|
|
12948
|
-
duplicatePath: boolean;
|
|
12949
|
-
baseVersion: number | null;
|
|
12950
|
-
contentUpdatedAt: number;
|
|
12951
|
-
createdAt: number;
|
|
12952
|
-
createdById: string | null;
|
|
12953
|
-
customOgImageBlobId: string | null;
|
|
12954
|
-
customOgImageUrl: string | null;
|
|
12955
|
-
deleted: boolean;
|
|
12956
|
-
draftId: string | null;
|
|
12957
|
-
firstPublishedAt: number | null;
|
|
12958
|
-
fullPath: string;
|
|
12959
|
-
id: string;
|
|
12960
|
-
layoutId: string;
|
|
12961
|
-
locale: string;
|
|
12962
|
-
metaDescription: string | null;
|
|
12963
|
-
metaTitle: string | null;
|
|
12964
|
-
nickname: string;
|
|
12965
|
-
parentPageId: string | null;
|
|
12966
|
-
pathSegment: string;
|
|
12967
|
-
projectId: number;
|
|
12968
|
-
publicationId: string | null;
|
|
12969
|
-
publishedAt: number | null;
|
|
12970
|
-
publishedBy: string | null;
|
|
12971
|
-
rowId: number;
|
|
12972
|
-
updatedAt: number;
|
|
12973
|
-
version: number;
|
|
12974
|
-
}[];
|
|
12975
|
-
}, {
|
|
12976
|
-
projectName: string;
|
|
12977
|
-
pages: {
|
|
12978
|
-
aiSeo: boolean;
|
|
12979
|
-
needsLayout: boolean;
|
|
12980
|
-
shadowed: boolean;
|
|
12981
|
-
duplicatePath: boolean;
|
|
12982
|
-
baseVersion: number | null;
|
|
12983
|
-
contentUpdatedAt: number;
|
|
12984
|
-
createdAt: number;
|
|
12985
|
-
createdById: string | null;
|
|
12986
|
-
customOgImageBlobId: string | null;
|
|
12987
|
-
customOgImageUrl: string | null;
|
|
12988
|
-
deleted: boolean;
|
|
12989
|
-
draftId: string | null;
|
|
12990
|
-
firstPublishedAt: number | null;
|
|
12991
|
-
fullPath: string;
|
|
12992
|
-
id: string;
|
|
12993
|
-
layoutId: string;
|
|
12994
|
-
locale: string;
|
|
12995
|
-
metaDescription: string | null;
|
|
12996
|
-
metaTitle: string | null;
|
|
12997
|
-
nickname: string;
|
|
12998
|
-
parentPageId: string | null;
|
|
12999
|
-
pathSegment: string;
|
|
13000
|
-
projectId: number;
|
|
13001
|
-
publicationId: string | null;
|
|
13002
|
-
publishedAt: number | null;
|
|
13003
|
-
publishedBy: string | null;
|
|
13004
|
-
rowId: number;
|
|
13005
|
-
updatedAt: number;
|
|
13006
|
-
version: number;
|
|
13007
|
-
}[];
|
|
13008
|
-
}>, Record<never, never>, Record<never, never>>;
|
|
13009
|
-
get: 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>>, {
|
|
13143
|
+
get: 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>>, {
|
|
13010
13144
|
draft: DraftRequest | null;
|
|
13011
13145
|
locale: string | undefined;
|
|
13012
13146
|
publishingDraft: string | undefined;
|
|
@@ -13924,13 +14058,33 @@ declare const router: {
|
|
|
13924
14058
|
}> | undefined>, Record<never, never>, Record<never, never>>;
|
|
13925
14059
|
};
|
|
13926
14060
|
blocks: {
|
|
13927
|
-
|
|
14061
|
+
getLayoutMarkdown: 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>>, {
|
|
13928
14062
|
draft: DraftRequest | null;
|
|
13929
14063
|
locale: string | undefined;
|
|
13930
14064
|
publishingDraft: string | undefined;
|
|
13931
14065
|
look: LookGrant | undefined;
|
|
13932
14066
|
}>, import("zod").ZodObject<{
|
|
13933
|
-
|
|
14067
|
+
projectUuid: import("zod").ZodUUID;
|
|
14068
|
+
layoutId: import("zod").ZodString;
|
|
14069
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14070
|
+
before: string;
|
|
14071
|
+
after: string;
|
|
14072
|
+
projectName: string;
|
|
14073
|
+
}, {
|
|
14074
|
+
before: string;
|
|
14075
|
+
after: string;
|
|
14076
|
+
projectName: string;
|
|
14077
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
14078
|
+
getUnplaced: 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>>, {
|
|
14079
|
+
draft: DraftRequest | null;
|
|
14080
|
+
locale: string | undefined;
|
|
14081
|
+
publishingDraft: string | undefined;
|
|
14082
|
+
look: LookGrant | undefined;
|
|
14083
|
+
}>, import("zod").ZodObject<{
|
|
14084
|
+
projectUuid: import("zod").ZodUUID;
|
|
14085
|
+
type: import("zod").ZodString;
|
|
14086
|
+
content: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
14087
|
+
settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
13934
14088
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
13935
14089
|
block: Omit<{
|
|
13936
14090
|
baseVersion: number | null;
|
|
@@ -14062,84 +14216,13 @@ declare const router: {
|
|
|
14062
14216
|
})[];
|
|
14063
14217
|
files: FileView[];
|
|
14064
14218
|
}>, Record<never, never>, Record<never, never>>;
|
|
14065
|
-
|
|
14066
|
-
draft: DraftRequest | null;
|
|
14067
|
-
locale: string | undefined;
|
|
14068
|
-
publishingDraft: string | undefined;
|
|
14069
|
-
look: LookGrant | undefined;
|
|
14070
|
-
}>, import("zod").ZodObject<{
|
|
14071
|
-
pageId: import("zod").ZodUUID;
|
|
14072
|
-
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14073
|
-
markdown: string;
|
|
14074
|
-
blocks: {
|
|
14075
|
-
id: string;
|
|
14076
|
-
position: string;
|
|
14077
|
-
markdown: string;
|
|
14078
|
-
}[];
|
|
14079
|
-
}, {
|
|
14080
|
-
markdown: string;
|
|
14081
|
-
blocks: {
|
|
14082
|
-
id: string;
|
|
14083
|
-
position: string;
|
|
14084
|
-
markdown: string;
|
|
14085
|
-
}[];
|
|
14086
|
-
}>, Record<never, never>, Record<never, never>>;
|
|
14087
|
-
getLayoutMarkdown: 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>>, {
|
|
14088
|
-
draft: DraftRequest | null;
|
|
14089
|
-
locale: string | undefined;
|
|
14090
|
-
publishingDraft: string | undefined;
|
|
14091
|
-
look: LookGrant | undefined;
|
|
14092
|
-
}>, import("zod").ZodObject<{
|
|
14093
|
-
projectUuid: import("zod").ZodUUID;
|
|
14094
|
-
layoutId: import("zod").ZodString;
|
|
14095
|
-
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14096
|
-
before: string;
|
|
14097
|
-
after: string;
|
|
14098
|
-
projectName: string;
|
|
14099
|
-
}, {
|
|
14100
|
-
before: string;
|
|
14101
|
-
after: string;
|
|
14102
|
-
projectName: string;
|
|
14103
|
-
}>, Record<never, never>, Record<never, never>>;
|
|
14104
|
-
getUsageCounts: 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>>, {
|
|
14105
|
-
draft: DraftRequest | null;
|
|
14106
|
-
locale: string | undefined;
|
|
14107
|
-
publishingDraft: string | undefined;
|
|
14108
|
-
look: LookGrant | undefined;
|
|
14109
|
-
}>, import("zod").ZodObject<{
|
|
14110
|
-
projectId: import("zod").ZodNumber;
|
|
14111
|
-
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14112
|
-
type: string;
|
|
14113
|
-
count: number;
|
|
14114
|
-
}[], {
|
|
14115
|
-
type: string;
|
|
14116
|
-
count: number;
|
|
14117
|
-
}[]>, Record<never, never>, Record<never, never>>;
|
|
14118
|
-
getPagesUsing: 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>>, {
|
|
14119
|
-
draft: DraftRequest | null;
|
|
14120
|
-
locale: string | undefined;
|
|
14121
|
-
publishingDraft: string | undefined;
|
|
14122
|
-
look: LookGrant | undefined;
|
|
14123
|
-
}>, import("zod").ZodObject<{
|
|
14124
|
-
projectId: import("zod").ZodNumber;
|
|
14125
|
-
type: import("zod").ZodString;
|
|
14126
|
-
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14127
|
-
id: string;
|
|
14128
|
-
nickname: string;
|
|
14129
|
-
fullPath: string;
|
|
14130
|
-
}[], {
|
|
14131
|
-
id: string;
|
|
14132
|
-
nickname: string;
|
|
14133
|
-
fullPath: string;
|
|
14134
|
-
}[]>, Record<never, never>, Record<never, never>>;
|
|
14135
|
-
getSyncedContent: 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>>, {
|
|
14219
|
+
get: 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>>, {
|
|
14136
14220
|
draft: DraftRequest | null;
|
|
14137
14221
|
locale: string | undefined;
|
|
14138
14222
|
publishingDraft: string | undefined;
|
|
14139
14223
|
look: LookGrant | undefined;
|
|
14140
14224
|
}>, import("zod").ZodObject<{
|
|
14141
|
-
|
|
14142
|
-
type: import("zod").ZodString;
|
|
14225
|
+
id: import("zod").ZodUUID;
|
|
14143
14226
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14144
14227
|
block: Omit<{
|
|
14145
14228
|
baseVersion: number | null;
|
|
@@ -14205,7 +14288,7 @@ declare const router: {
|
|
|
14205
14288
|
references: ResolvedReferences;
|
|
14206
14289
|
})[];
|
|
14207
14290
|
files: FileView[];
|
|
14208
|
-
}
|
|
14291
|
+
}, {
|
|
14209
14292
|
block: Omit<{
|
|
14210
14293
|
baseVersion: number | null;
|
|
14211
14294
|
content: unknown;
|
|
@@ -14270,17 +14353,68 @@ declare const router: {
|
|
|
14270
14353
|
references: ResolvedReferences;
|
|
14271
14354
|
})[];
|
|
14272
14355
|
files: FileView[];
|
|
14273
|
-
}
|
|
14274
|
-
|
|
14356
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
14357
|
+
getPageMarkdown: 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>>, {
|
|
14275
14358
|
draft: DraftRequest | null;
|
|
14276
14359
|
locale: string | undefined;
|
|
14277
14360
|
publishingDraft: string | undefined;
|
|
14278
14361
|
look: LookGrant | undefined;
|
|
14279
14362
|
}>, import("zod").ZodObject<{
|
|
14280
|
-
|
|
14363
|
+
pageId: import("zod").ZodUUID;
|
|
14364
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14365
|
+
markdown: string;
|
|
14366
|
+
blocks: {
|
|
14367
|
+
id: string;
|
|
14368
|
+
position: string;
|
|
14369
|
+
markdown: string;
|
|
14370
|
+
}[];
|
|
14371
|
+
}, {
|
|
14372
|
+
markdown: string;
|
|
14373
|
+
blocks: {
|
|
14374
|
+
id: string;
|
|
14375
|
+
position: string;
|
|
14376
|
+
markdown: string;
|
|
14377
|
+
}[];
|
|
14378
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
14379
|
+
getUsageCounts: 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>>, {
|
|
14380
|
+
draft: DraftRequest | null;
|
|
14381
|
+
locale: string | undefined;
|
|
14382
|
+
publishingDraft: string | undefined;
|
|
14383
|
+
look: LookGrant | undefined;
|
|
14384
|
+
}>, import("zod").ZodObject<{
|
|
14385
|
+
projectId: import("zod").ZodNumber;
|
|
14386
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14387
|
+
type: string;
|
|
14388
|
+
count: number;
|
|
14389
|
+
}[], {
|
|
14390
|
+
type: string;
|
|
14391
|
+
count: number;
|
|
14392
|
+
}[]>, Record<never, never>, Record<never, never>>;
|
|
14393
|
+
getPagesUsing: 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>>, {
|
|
14394
|
+
draft: DraftRequest | null;
|
|
14395
|
+
locale: string | undefined;
|
|
14396
|
+
publishingDraft: string | undefined;
|
|
14397
|
+
look: LookGrant | undefined;
|
|
14398
|
+
}>, import("zod").ZodObject<{
|
|
14399
|
+
projectId: import("zod").ZodNumber;
|
|
14400
|
+
type: import("zod").ZodString;
|
|
14401
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14402
|
+
id: string;
|
|
14403
|
+
nickname: string;
|
|
14404
|
+
fullPath: string;
|
|
14405
|
+
}[], {
|
|
14406
|
+
id: string;
|
|
14407
|
+
nickname: string;
|
|
14408
|
+
fullPath: string;
|
|
14409
|
+
}[]>, Record<never, never>, Record<never, never>>;
|
|
14410
|
+
getSyncedContent: 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>>, {
|
|
14411
|
+
draft: DraftRequest | null;
|
|
14412
|
+
locale: string | undefined;
|
|
14413
|
+
publishingDraft: string | undefined;
|
|
14414
|
+
look: LookGrant | undefined;
|
|
14415
|
+
}>, import("zod").ZodObject<{
|
|
14416
|
+
projectId: import("zod").ZodNumber;
|
|
14281
14417
|
type: import("zod").ZodString;
|
|
14282
|
-
content: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
14283
|
-
settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
14284
14418
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
14285
14419
|
block: Omit<{
|
|
14286
14420
|
baseVersion: number | null;
|
|
@@ -14346,7 +14480,7 @@ declare const router: {
|
|
|
14346
14480
|
references: ResolvedReferences;
|
|
14347
14481
|
})[];
|
|
14348
14482
|
files: FileView[];
|
|
14349
|
-
}, {
|
|
14483
|
+
} | null, {
|
|
14350
14484
|
block: Omit<{
|
|
14351
14485
|
baseVersion: number | null;
|
|
14352
14486
|
content: unknown;
|
|
@@ -14411,7 +14545,7 @@ declare const router: {
|
|
|
14411
14545
|
references: ResolvedReferences;
|
|
14412
14546
|
})[];
|
|
14413
14547
|
files: FileView[];
|
|
14414
|
-
}>, Record<never, never>, Record<never, never>>;
|
|
14548
|
+
} | null>, Record<never, never>, Record<never, never>>;
|
|
14415
14549
|
create: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
14416
14550
|
draft: DraftRequest | null;
|
|
14417
14551
|
locale: string | undefined;
|
|
@@ -17441,29 +17575,219 @@ declare const router: {
|
|
|
17441
17575
|
projectId: import("zod").ZodNumber;
|
|
17442
17576
|
id: import("zod").ZodString;
|
|
17443
17577
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<MemoryView, MemoryView>, Record<never, never>, Record<never, never>>;
|
|
17444
|
-
|
|
17445
|
-
repeatableItems: {
|
|
17446
|
-
get: 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>>, {
|
|
17578
|
+
voice: 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>>, {
|
|
17447
17579
|
draft: DraftRequest | null;
|
|
17448
17580
|
locale: string | undefined;
|
|
17449
17581
|
publishingDraft: string | undefined;
|
|
17450
17582
|
look: LookGrant | undefined;
|
|
17451
|
-
}>, import("
|
|
17452
|
-
|
|
17453
|
-
|
|
17454
|
-
|
|
17455
|
-
|
|
17456
|
-
|
|
17457
|
-
|
|
17458
|
-
|
|
17459
|
-
|
|
17460
|
-
|
|
17461
|
-
|
|
17462
|
-
|
|
17463
|
-
|
|
17464
|
-
|
|
17465
|
-
|
|
17466
|
-
|
|
17583
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
17584
|
+
draft: DraftRequest | null;
|
|
17585
|
+
locale: string | undefined;
|
|
17586
|
+
publishingDraft: string | undefined;
|
|
17587
|
+
look: LookGrant | undefined;
|
|
17588
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
17589
|
+
draft: DraftRequest | null;
|
|
17590
|
+
locale: string | undefined;
|
|
17591
|
+
publishingDraft: string | undefined;
|
|
17592
|
+
look: LookGrant | undefined;
|
|
17593
|
+
}>, {
|
|
17594
|
+
db: Database;
|
|
17595
|
+
env: Bindings;
|
|
17596
|
+
headers: Headers;
|
|
17597
|
+
client: string;
|
|
17598
|
+
telemetryDisabled: boolean;
|
|
17599
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
17600
|
+
apiOrigin?: string;
|
|
17601
|
+
draft: DraftRequest | null;
|
|
17602
|
+
locale: string | undefined;
|
|
17603
|
+
publishingDraft: string | undefined;
|
|
17604
|
+
look: LookGrant | undefined;
|
|
17605
|
+
user: {
|
|
17606
|
+
id: string;
|
|
17607
|
+
createdAt: Date;
|
|
17608
|
+
updatedAt: Date;
|
|
17609
|
+
email: string;
|
|
17610
|
+
emailVerified: boolean;
|
|
17611
|
+
name: string;
|
|
17612
|
+
image?: string | null | undefined;
|
|
17613
|
+
};
|
|
17614
|
+
session: {
|
|
17615
|
+
id: string;
|
|
17616
|
+
createdAt: Date;
|
|
17617
|
+
updatedAt: Date;
|
|
17618
|
+
userId: string;
|
|
17619
|
+
expiresAt: Date;
|
|
17620
|
+
token: string;
|
|
17621
|
+
ipAddress?: string | null | undefined;
|
|
17622
|
+
userAgent?: string | null | undefined;
|
|
17623
|
+
activeOrganizationId?: string | null | undefined;
|
|
17624
|
+
local?: boolean | null | undefined;
|
|
17625
|
+
studio?: boolean | null | undefined;
|
|
17626
|
+
};
|
|
17627
|
+
}>, import("zod").ZodObject<{
|
|
17628
|
+
projectId: import("zod").ZodNumber;
|
|
17629
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<import("@camox/api-contract/voice").Voice, import("@camox/api-contract/voice").Voice>, Record<never, never>, Record<never, never>>;
|
|
17630
|
+
saveVoice: 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>>, {
|
|
17631
|
+
draft: DraftRequest | null;
|
|
17632
|
+
locale: string | undefined;
|
|
17633
|
+
publishingDraft: string | undefined;
|
|
17634
|
+
look: LookGrant | undefined;
|
|
17635
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
17636
|
+
draft: DraftRequest | null;
|
|
17637
|
+
locale: string | undefined;
|
|
17638
|
+
publishingDraft: string | undefined;
|
|
17639
|
+
look: LookGrant | undefined;
|
|
17640
|
+
}>>, {
|
|
17641
|
+
draft: DraftRequest | null;
|
|
17642
|
+
} & Record<never, never>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
17643
|
+
draft: DraftRequest | null;
|
|
17644
|
+
locale: string | undefined;
|
|
17645
|
+
publishingDraft: string | undefined;
|
|
17646
|
+
look: LookGrant | undefined;
|
|
17647
|
+
}>, {
|
|
17648
|
+
db: Database;
|
|
17649
|
+
env: Bindings;
|
|
17650
|
+
headers: Headers;
|
|
17651
|
+
client: string;
|
|
17652
|
+
telemetryDisabled: boolean;
|
|
17653
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
17654
|
+
apiOrigin?: string;
|
|
17655
|
+
draft: DraftRequest | null;
|
|
17656
|
+
locale: string | undefined;
|
|
17657
|
+
publishingDraft: string | undefined;
|
|
17658
|
+
look: LookGrant | undefined;
|
|
17659
|
+
user: {
|
|
17660
|
+
id: string;
|
|
17661
|
+
createdAt: Date;
|
|
17662
|
+
updatedAt: Date;
|
|
17663
|
+
email: string;
|
|
17664
|
+
emailVerified: boolean;
|
|
17665
|
+
name: string;
|
|
17666
|
+
image?: string | null | undefined;
|
|
17667
|
+
};
|
|
17668
|
+
session: {
|
|
17669
|
+
id: string;
|
|
17670
|
+
createdAt: Date;
|
|
17671
|
+
updatedAt: Date;
|
|
17672
|
+
userId: string;
|
|
17673
|
+
expiresAt: Date;
|
|
17674
|
+
token: string;
|
|
17675
|
+
ipAddress?: string | null | undefined;
|
|
17676
|
+
userAgent?: string | null | undefined;
|
|
17677
|
+
activeOrganizationId?: string | null | undefined;
|
|
17678
|
+
local?: boolean | null | undefined;
|
|
17679
|
+
studio?: boolean | null | undefined;
|
|
17680
|
+
};
|
|
17681
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
17682
|
+
draft: DraftRequest | null;
|
|
17683
|
+
locale: string | undefined;
|
|
17684
|
+
publishingDraft: string | undefined;
|
|
17685
|
+
look: LookGrant | undefined;
|
|
17686
|
+
}>, {
|
|
17687
|
+
db: Database;
|
|
17688
|
+
env: Bindings;
|
|
17689
|
+
headers: Headers;
|
|
17690
|
+
client: string;
|
|
17691
|
+
telemetryDisabled: boolean;
|
|
17692
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
17693
|
+
apiOrigin?: string;
|
|
17694
|
+
draft: DraftRequest | null;
|
|
17695
|
+
locale: string | undefined;
|
|
17696
|
+
publishingDraft: string | undefined;
|
|
17697
|
+
look: LookGrant | undefined;
|
|
17698
|
+
user: {
|
|
17699
|
+
id: string;
|
|
17700
|
+
createdAt: Date;
|
|
17701
|
+
updatedAt: Date;
|
|
17702
|
+
email: string;
|
|
17703
|
+
emailVerified: boolean;
|
|
17704
|
+
name: string;
|
|
17705
|
+
image?: string | null | undefined;
|
|
17706
|
+
};
|
|
17707
|
+
session: {
|
|
17708
|
+
id: string;
|
|
17709
|
+
createdAt: Date;
|
|
17710
|
+
updatedAt: Date;
|
|
17711
|
+
userId: string;
|
|
17712
|
+
expiresAt: Date;
|
|
17713
|
+
token: string;
|
|
17714
|
+
ipAddress?: string | null | undefined;
|
|
17715
|
+
userAgent?: string | null | undefined;
|
|
17716
|
+
activeOrganizationId?: string | null | undefined;
|
|
17717
|
+
local?: boolean | null | undefined;
|
|
17718
|
+
studio?: boolean | null | undefined;
|
|
17719
|
+
};
|
|
17720
|
+
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
17721
|
+
projectId: import("zod").ZodNumber;
|
|
17722
|
+
steps: import("zod").ZodObject<{
|
|
17723
|
+
claimStrength: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
17724
|
+
assertive: "assertive";
|
|
17725
|
+
bold: "bold";
|
|
17726
|
+
confident: "confident";
|
|
17727
|
+
measured: "measured";
|
|
17728
|
+
understated: "understated";
|
|
17729
|
+
}>>;
|
|
17730
|
+
density: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
17731
|
+
balanced: "balanced";
|
|
17732
|
+
concise: "concise";
|
|
17733
|
+
descriptive: "descriptive";
|
|
17734
|
+
expansive: "expansive";
|
|
17735
|
+
telegraphic: "telegraphic";
|
|
17736
|
+
}>>;
|
|
17737
|
+
distance: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
17738
|
+
collective: "collective";
|
|
17739
|
+
direct: "direct";
|
|
17740
|
+
institutional: "institutional";
|
|
17741
|
+
personal: "personal";
|
|
17742
|
+
solo: "solo";
|
|
17743
|
+
}>>;
|
|
17744
|
+
expertise: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
17745
|
+
accessible: "accessible";
|
|
17746
|
+
informed: "informed";
|
|
17747
|
+
plain: "plain";
|
|
17748
|
+
specialist: "specialist";
|
|
17749
|
+
technical: "technical";
|
|
17750
|
+
}>>;
|
|
17751
|
+
formality: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
17752
|
+
ceremonial: "ceremonial";
|
|
17753
|
+
colloquial: "colloquial";
|
|
17754
|
+
conversational: "conversational";
|
|
17755
|
+
formal: "formal";
|
|
17756
|
+
neutral: "neutral";
|
|
17757
|
+
}>>;
|
|
17758
|
+
humor: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
17759
|
+
earnest: "earnest";
|
|
17760
|
+
grave: "grave";
|
|
17761
|
+
irreverent: "irreverent";
|
|
17762
|
+
light: "light";
|
|
17763
|
+
witty: "witty";
|
|
17764
|
+
}>>;
|
|
17765
|
+
}, import("zod/v4/core").$strip>;
|
|
17766
|
+
rewrite: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
17767
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<import("@camox/api-contract/voice").Voice, import("@camox/api-contract/voice").Voice>, Record<never, never>, Record<never, never>>;
|
|
17768
|
+
};
|
|
17769
|
+
repeatableItems: {
|
|
17770
|
+
get: 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>>, {
|
|
17771
|
+
draft: DraftRequest | null;
|
|
17772
|
+
locale: string | undefined;
|
|
17773
|
+
publishingDraft: string | undefined;
|
|
17774
|
+
look: LookGrant | undefined;
|
|
17775
|
+
}>, import("zod").ZodObject<{
|
|
17776
|
+
id: import("zod").ZodUUID;
|
|
17777
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
17778
|
+
item: {
|
|
17779
|
+
content: Record<string, unknown>;
|
|
17780
|
+
blockId: string | null;
|
|
17781
|
+
summary: string;
|
|
17782
|
+
title: string;
|
|
17783
|
+
artifactHashes: {
|
|
17784
|
+
[k: string]: string;
|
|
17785
|
+
};
|
|
17786
|
+
references: ResolvedReferences;
|
|
17787
|
+
baseVersion: number | null;
|
|
17788
|
+
createdAt: number;
|
|
17789
|
+
deleted: boolean;
|
|
17790
|
+
draftId: string | null;
|
|
17467
17791
|
fieldName: string;
|
|
17468
17792
|
firstPublishedAt: number | null;
|
|
17469
17793
|
id: string;
|
|
@@ -18517,6 +18841,74 @@ declare const router: {
|
|
|
18517
18841
|
}[]>, Record<never, never>, Record<never, never>>;
|
|
18518
18842
|
};
|
|
18519
18843
|
collectionDefinitions: {
|
|
18844
|
+
findRecordsByField: 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>>, {
|
|
18845
|
+
draft: DraftRequest | null;
|
|
18846
|
+
locale: string | undefined;
|
|
18847
|
+
publishingDraft: string | undefined;
|
|
18848
|
+
look: LookGrant | undefined;
|
|
18849
|
+
}>, import("zod").ZodObject<{
|
|
18850
|
+
projectUuid: import("zod").ZodUUID;
|
|
18851
|
+
collectionId: import("zod").ZodString;
|
|
18852
|
+
field: import("zod").ZodString;
|
|
18853
|
+
value: import("zod").ZodString;
|
|
18854
|
+
}, import("zod/v4/core").$strict>, import("@orpc/server").Schema<{
|
|
18855
|
+
id: string;
|
|
18856
|
+
title: string;
|
|
18857
|
+
description: string | null;
|
|
18858
|
+
content: Record<string, unknown>;
|
|
18859
|
+
updatedAt: number;
|
|
18860
|
+
references: ResolvedReferences;
|
|
18861
|
+
structuredData: {
|
|
18862
|
+
node?: import("@camox/api-contract").EvaluatedNode | undefined;
|
|
18863
|
+
records: import("@camox/api-contract").RecordStructuredData;
|
|
18864
|
+
};
|
|
18865
|
+
firstPublishedAt: number | null;
|
|
18866
|
+
publishedAt: number | null;
|
|
18867
|
+
}[], {
|
|
18868
|
+
id: string;
|
|
18869
|
+
title: string;
|
|
18870
|
+
description: string | null;
|
|
18871
|
+
content: Record<string, unknown>;
|
|
18872
|
+
updatedAt: number;
|
|
18873
|
+
references: ResolvedReferences;
|
|
18874
|
+
structuredData: {
|
|
18875
|
+
node?: import("@camox/api-contract").EvaluatedNode | undefined;
|
|
18876
|
+
records: import("@camox/api-contract").RecordStructuredData;
|
|
18877
|
+
};
|
|
18878
|
+
firstPublishedAt: number | null;
|
|
18879
|
+
publishedAt: number | null;
|
|
18880
|
+
}[]>, Record<never, never>, Record<never, never>>;
|
|
18881
|
+
listRecordPageValues: 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>>, {
|
|
18882
|
+
draft: DraftRequest | null;
|
|
18883
|
+
locale: string | undefined;
|
|
18884
|
+
publishingDraft: string | undefined;
|
|
18885
|
+
look: LookGrant | undefined;
|
|
18886
|
+
}>, import("zod").ZodObject<{
|
|
18887
|
+
projectUuid: import("zod").ZodUUID;
|
|
18888
|
+
collectionId: import("zod").ZodString;
|
|
18889
|
+
field: import("zod").ZodString;
|
|
18890
|
+
}, import("zod/v4/core").$strict>, import("@orpc/server").Schema<{
|
|
18891
|
+
id: string;
|
|
18892
|
+
value: string;
|
|
18893
|
+
title: string;
|
|
18894
|
+
description: string | null;
|
|
18895
|
+
}[], {
|
|
18896
|
+
id: string;
|
|
18897
|
+
value: string;
|
|
18898
|
+
title: string;
|
|
18899
|
+
description: string | null;
|
|
18900
|
+
}[]>, Record<never, never>, Record<never, never>>;
|
|
18901
|
+
recordMarkdown: 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>>, {
|
|
18902
|
+
draft: DraftRequest | null;
|
|
18903
|
+
locale: string | undefined;
|
|
18904
|
+
publishingDraft: string | undefined;
|
|
18905
|
+
look: LookGrant | undefined;
|
|
18906
|
+
}>, import("zod").ZodObject<{
|
|
18907
|
+
projectUuid: import("zod").ZodUUID;
|
|
18908
|
+
collectionId: import("zod").ZodString;
|
|
18909
|
+
id: import("zod").ZodUUID;
|
|
18910
|
+
toMarkdown: import("zod").ZodArray<import("zod").ZodString>;
|
|
18911
|
+
}, import("zod/v4/core").$strict>, import("@orpc/server").Schema<string, string>, Record<never, never>, Record<never, never>>;
|
|
18520
18912
|
list: 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>>, {
|
|
18521
18913
|
draft: DraftRequest | null;
|
|
18522
18914
|
locale: string | undefined;
|
|
@@ -18839,75 +19231,7 @@ declare const router: {
|
|
|
18839
19231
|
}, {
|
|
18840
19232
|
count: number;
|
|
18841
19233
|
}>, Record<never, never>, Record<never, never>>;
|
|
18842
|
-
|
|
18843
|
-
draft: DraftRequest | null;
|
|
18844
|
-
locale: string | undefined;
|
|
18845
|
-
publishingDraft: string | undefined;
|
|
18846
|
-
look: LookGrant | undefined;
|
|
18847
|
-
}>, import("zod").ZodObject<{
|
|
18848
|
-
projectUuid: import("zod").ZodUUID;
|
|
18849
|
-
collectionId: import("zod").ZodString;
|
|
18850
|
-
field: import("zod").ZodString;
|
|
18851
|
-
value: import("zod").ZodString;
|
|
18852
|
-
}, import("zod/v4/core").$strict>, import("@orpc/server").Schema<{
|
|
18853
|
-
id: string;
|
|
18854
|
-
title: string;
|
|
18855
|
-
description: string | null;
|
|
18856
|
-
content: Record<string, unknown>;
|
|
18857
|
-
updatedAt: number;
|
|
18858
|
-
references: ResolvedReferences;
|
|
18859
|
-
structuredData: {
|
|
18860
|
-
node?: import("@camox/api-contract").EvaluatedNode | undefined;
|
|
18861
|
-
records: import("@camox/api-contract").RecordStructuredData;
|
|
18862
|
-
};
|
|
18863
|
-
firstPublishedAt: number | null;
|
|
18864
|
-
publishedAt: number | null;
|
|
18865
|
-
}[], {
|
|
18866
|
-
id: string;
|
|
18867
|
-
title: string;
|
|
18868
|
-
description: string | null;
|
|
18869
|
-
content: Record<string, unknown>;
|
|
18870
|
-
updatedAt: number;
|
|
18871
|
-
references: ResolvedReferences;
|
|
18872
|
-
structuredData: {
|
|
18873
|
-
node?: import("@camox/api-contract").EvaluatedNode | undefined;
|
|
18874
|
-
records: import("@camox/api-contract").RecordStructuredData;
|
|
18875
|
-
};
|
|
18876
|
-
firstPublishedAt: number | null;
|
|
18877
|
-
publishedAt: number | null;
|
|
18878
|
-
}[]>, Record<never, never>, Record<never, never>>;
|
|
18879
|
-
listRecordPageValues: 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>>, {
|
|
18880
|
-
draft: DraftRequest | null;
|
|
18881
|
-
locale: string | undefined;
|
|
18882
|
-
publishingDraft: string | undefined;
|
|
18883
|
-
look: LookGrant | undefined;
|
|
18884
|
-
}>, import("zod").ZodObject<{
|
|
18885
|
-
projectUuid: import("zod").ZodUUID;
|
|
18886
|
-
collectionId: import("zod").ZodString;
|
|
18887
|
-
field: import("zod").ZodString;
|
|
18888
|
-
}, import("zod/v4/core").$strict>, import("@orpc/server").Schema<{
|
|
18889
|
-
id: string;
|
|
18890
|
-
value: string;
|
|
18891
|
-
title: string;
|
|
18892
|
-
description: string | null;
|
|
18893
|
-
}[], {
|
|
18894
|
-
id: string;
|
|
18895
|
-
value: string;
|
|
18896
|
-
title: string;
|
|
18897
|
-
description: string | null;
|
|
18898
|
-
}[]>, Record<never, never>, Record<never, never>>;
|
|
18899
|
-
recordMarkdown: 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>>, {
|
|
18900
|
-
draft: DraftRequest | null;
|
|
18901
|
-
locale: string | undefined;
|
|
18902
|
-
publishingDraft: string | undefined;
|
|
18903
|
-
look: LookGrant | undefined;
|
|
18904
|
-
}>, import("zod").ZodObject<{
|
|
18905
|
-
projectUuid: import("zod").ZodUUID;
|
|
18906
|
-
collectionId: import("zod").ZodString;
|
|
18907
|
-
id: import("zod").ZodUUID;
|
|
18908
|
-
toMarkdown: import("zod").ZodArray<import("zod").ZodString>;
|
|
18909
|
-
}, import("zod/v4/core").$strict>, import("@orpc/server").Schema<string, string>, Record<never, never>, Record<never, never>>;
|
|
18910
|
-
createRecord: 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>>, {
|
|
19234
|
+
createRecord: 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>>, {
|
|
18911
19235
|
draft: DraftRequest | null;
|
|
18912
19236
|
locale: string | undefined;
|
|
18913
19237
|
publishingDraft: string | undefined;
|
|
@@ -19692,6 +20016,7 @@ declare const router: {
|
|
|
19692
20016
|
blockers: Problem[];
|
|
19693
20017
|
changes: Change[];
|
|
19694
20018
|
memoryChanges: MemoryChange[];
|
|
20019
|
+
voiceChanges: import("@camox/api-contract/voice").VoiceChange[];
|
|
19695
20020
|
defaultLocale: string;
|
|
19696
20021
|
overview: {
|
|
19697
20022
|
status: "pending";
|
|
@@ -19718,6 +20043,7 @@ declare const router: {
|
|
|
19718
20043
|
blockers: Problem[];
|
|
19719
20044
|
changes: Change[];
|
|
19720
20045
|
memoryChanges: MemoryChange[];
|
|
20046
|
+
voiceChanges: import("@camox/api-contract/voice").VoiceChange[];
|
|
19721
20047
|
defaultLocale: string;
|
|
19722
20048
|
overview: {
|
|
19723
20049
|
status: "pending";
|
|
@@ -20127,6 +20453,7 @@ declare const router: {
|
|
|
20127
20453
|
record: "record";
|
|
20128
20454
|
repeatableItem: "repeatableItem";
|
|
20129
20455
|
sharedContent: "sharedContent";
|
|
20456
|
+
voiceAxis: "voiceAxis";
|
|
20130
20457
|
}>;
|
|
20131
20458
|
id: import("zod").ZodString;
|
|
20132
20459
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{}, {}>, Record<never, never>, Record<never, never>>;
|
|
@@ -21828,6 +22155,1294 @@ declare const router: {
|
|
|
21828
22155
|
organizationId: string;
|
|
21829
22156
|
}>, Record<never, never>, Record<never, never>>;
|
|
21830
22157
|
};
|
|
22158
|
+
lookRecords: {
|
|
22159
|
+
list: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22160
|
+
draft: DraftRequest | null;
|
|
22161
|
+
locale: string | undefined;
|
|
22162
|
+
publishingDraft: string | undefined;
|
|
22163
|
+
look: LookGrant | undefined;
|
|
22164
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22165
|
+
draft: DraftRequest | null;
|
|
22166
|
+
locale: string | undefined;
|
|
22167
|
+
publishingDraft: string | undefined;
|
|
22168
|
+
look: LookGrant | undefined;
|
|
22169
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22170
|
+
draft: DraftRequest | null;
|
|
22171
|
+
locale: string | undefined;
|
|
22172
|
+
publishingDraft: string | undefined;
|
|
22173
|
+
look: LookGrant | undefined;
|
|
22174
|
+
}>, {
|
|
22175
|
+
db: Database;
|
|
22176
|
+
env: Bindings;
|
|
22177
|
+
headers: Headers;
|
|
22178
|
+
client: string;
|
|
22179
|
+
telemetryDisabled: boolean;
|
|
22180
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22181
|
+
apiOrigin?: string;
|
|
22182
|
+
draft: DraftRequest | null;
|
|
22183
|
+
locale: string | undefined;
|
|
22184
|
+
publishingDraft: string | undefined;
|
|
22185
|
+
look: LookGrant | undefined;
|
|
22186
|
+
user: {
|
|
22187
|
+
id: string;
|
|
22188
|
+
createdAt: Date;
|
|
22189
|
+
updatedAt: Date;
|
|
22190
|
+
email: string;
|
|
22191
|
+
emailVerified: boolean;
|
|
22192
|
+
name: string;
|
|
22193
|
+
image?: string | null | undefined;
|
|
22194
|
+
};
|
|
22195
|
+
session: {
|
|
22196
|
+
id: string;
|
|
22197
|
+
createdAt: Date;
|
|
22198
|
+
updatedAt: Date;
|
|
22199
|
+
userId: string;
|
|
22200
|
+
expiresAt: Date;
|
|
22201
|
+
token: string;
|
|
22202
|
+
ipAddress?: string | null | undefined;
|
|
22203
|
+
userAgent?: string | null | undefined;
|
|
22204
|
+
activeOrganizationId?: string | null | undefined;
|
|
22205
|
+
local?: boolean | null | undefined;
|
|
22206
|
+
studio?: boolean | null | undefined;
|
|
22207
|
+
};
|
|
22208
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22209
|
+
draft: DraftRequest | null;
|
|
22210
|
+
locale: string | undefined;
|
|
22211
|
+
publishingDraft: string | undefined;
|
|
22212
|
+
look: LookGrant | undefined;
|
|
22213
|
+
}>, {
|
|
22214
|
+
db: Database;
|
|
22215
|
+
env: Bindings;
|
|
22216
|
+
headers: Headers;
|
|
22217
|
+
client: string;
|
|
22218
|
+
telemetryDisabled: boolean;
|
|
22219
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22220
|
+
apiOrigin?: string;
|
|
22221
|
+
draft: DraftRequest | null;
|
|
22222
|
+
locale: string | undefined;
|
|
22223
|
+
publishingDraft: string | undefined;
|
|
22224
|
+
look: LookGrant | undefined;
|
|
22225
|
+
user: {
|
|
22226
|
+
id: string;
|
|
22227
|
+
createdAt: Date;
|
|
22228
|
+
updatedAt: Date;
|
|
22229
|
+
email: string;
|
|
22230
|
+
emailVerified: boolean;
|
|
22231
|
+
name: string;
|
|
22232
|
+
image?: string | null | undefined;
|
|
22233
|
+
};
|
|
22234
|
+
session: {
|
|
22235
|
+
id: string;
|
|
22236
|
+
createdAt: Date;
|
|
22237
|
+
updatedAt: Date;
|
|
22238
|
+
userId: string;
|
|
22239
|
+
expiresAt: Date;
|
|
22240
|
+
token: string;
|
|
22241
|
+
ipAddress?: string | null | undefined;
|
|
22242
|
+
userAgent?: string | null | undefined;
|
|
22243
|
+
activeOrganizationId?: string | null | undefined;
|
|
22244
|
+
local?: boolean | null | undefined;
|
|
22245
|
+
studio?: boolean | null | undefined;
|
|
22246
|
+
};
|
|
22247
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22248
|
+
draft: DraftRequest | null;
|
|
22249
|
+
locale: string | undefined;
|
|
22250
|
+
publishingDraft: string | undefined;
|
|
22251
|
+
look: LookGrant | undefined;
|
|
22252
|
+
}>, {
|
|
22253
|
+
db: Database;
|
|
22254
|
+
env: Bindings;
|
|
22255
|
+
headers: Headers;
|
|
22256
|
+
client: string;
|
|
22257
|
+
telemetryDisabled: boolean;
|
|
22258
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22259
|
+
apiOrigin?: string;
|
|
22260
|
+
draft: DraftRequest | null;
|
|
22261
|
+
locale: string | undefined;
|
|
22262
|
+
publishingDraft: string | undefined;
|
|
22263
|
+
look: LookGrant | undefined;
|
|
22264
|
+
user: {
|
|
22265
|
+
id: string;
|
|
22266
|
+
createdAt: Date;
|
|
22267
|
+
updatedAt: Date;
|
|
22268
|
+
email: string;
|
|
22269
|
+
emailVerified: boolean;
|
|
22270
|
+
name: string;
|
|
22271
|
+
image?: string | null | undefined;
|
|
22272
|
+
};
|
|
22273
|
+
session: {
|
|
22274
|
+
id: string;
|
|
22275
|
+
createdAt: Date;
|
|
22276
|
+
updatedAt: Date;
|
|
22277
|
+
userId: string;
|
|
22278
|
+
expiresAt: Date;
|
|
22279
|
+
token: string;
|
|
22280
|
+
ipAddress?: string | null | undefined;
|
|
22281
|
+
userAgent?: string | null | undefined;
|
|
22282
|
+
activeOrganizationId?: string | null | undefined;
|
|
22283
|
+
local?: boolean | null | undefined;
|
|
22284
|
+
studio?: boolean | null | undefined;
|
|
22285
|
+
};
|
|
22286
|
+
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
22287
|
+
draftId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22288
|
+
requestId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22289
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
22290
|
+
hasSource: boolean;
|
|
22291
|
+
agent: AiAgent;
|
|
22292
|
+
artifact: ArtifactTarget | null;
|
|
22293
|
+
callId: string | null;
|
|
22294
|
+
checks: CaptureChecks;
|
|
22295
|
+
conversationId: string | null;
|
|
22296
|
+
createdAt: number;
|
|
22297
|
+
cut: boolean;
|
|
22298
|
+
draftId: string | null;
|
|
22299
|
+
error: string | null;
|
|
22300
|
+
frames: TimedMoment[] | null;
|
|
22301
|
+
freshnessHash: string | null;
|
|
22302
|
+
guardrail: import("@camox/api-contract/drafts").LookGuardrailFinding[] | null;
|
|
22303
|
+
id: string;
|
|
22304
|
+
lastLook: boolean | null;
|
|
22305
|
+
model: string | null;
|
|
22306
|
+
organizationId: string | null;
|
|
22307
|
+
projectId: number | null;
|
|
22308
|
+
requestId: string | null;
|
|
22309
|
+
round: number | null;
|
|
22310
|
+
size: "desktop" | "mobile";
|
|
22311
|
+
takenBy: LookTaker;
|
|
22312
|
+
target: LookTarget;
|
|
22313
|
+
thinkingLevel: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh" | null;
|
|
22314
|
+
threadId: string | null;
|
|
22315
|
+
timeline: import("@camox/api-contract/drafts").LookTimeline | null;
|
|
22316
|
+
}[], {
|
|
22317
|
+
hasSource: boolean;
|
|
22318
|
+
agent: AiAgent;
|
|
22319
|
+
artifact: ArtifactTarget | null;
|
|
22320
|
+
callId: string | null;
|
|
22321
|
+
checks: CaptureChecks;
|
|
22322
|
+
conversationId: string | null;
|
|
22323
|
+
createdAt: number;
|
|
22324
|
+
cut: boolean;
|
|
22325
|
+
draftId: string | null;
|
|
22326
|
+
error: string | null;
|
|
22327
|
+
frames: TimedMoment[] | null;
|
|
22328
|
+
freshnessHash: string | null;
|
|
22329
|
+
guardrail: import("@camox/api-contract/drafts").LookGuardrailFinding[] | null;
|
|
22330
|
+
id: string;
|
|
22331
|
+
lastLook: boolean | null;
|
|
22332
|
+
model: string | null;
|
|
22333
|
+
organizationId: string | null;
|
|
22334
|
+
projectId: number | null;
|
|
22335
|
+
requestId: string | null;
|
|
22336
|
+
round: number | null;
|
|
22337
|
+
size: "desktop" | "mobile";
|
|
22338
|
+
takenBy: LookTaker;
|
|
22339
|
+
target: LookTarget;
|
|
22340
|
+
thinkingLevel: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh" | null;
|
|
22341
|
+
threadId: string | null;
|
|
22342
|
+
timeline: import("@camox/api-contract/drafts").LookTimeline | null;
|
|
22343
|
+
}[]>, Record<never, never>, Record<never, never>>;
|
|
22344
|
+
image: 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>>, {
|
|
22345
|
+
draft: DraftRequest | null;
|
|
22346
|
+
locale: string | undefined;
|
|
22347
|
+
publishingDraft: string | undefined;
|
|
22348
|
+
look: LookGrant | undefined;
|
|
22349
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22350
|
+
draft: DraftRequest | null;
|
|
22351
|
+
locale: string | undefined;
|
|
22352
|
+
publishingDraft: string | undefined;
|
|
22353
|
+
look: LookGrant | undefined;
|
|
22354
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22355
|
+
draft: DraftRequest | null;
|
|
22356
|
+
locale: string | undefined;
|
|
22357
|
+
publishingDraft: string | undefined;
|
|
22358
|
+
look: LookGrant | undefined;
|
|
22359
|
+
}>, {
|
|
22360
|
+
db: Database;
|
|
22361
|
+
env: Bindings;
|
|
22362
|
+
headers: Headers;
|
|
22363
|
+
client: string;
|
|
22364
|
+
telemetryDisabled: boolean;
|
|
22365
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22366
|
+
apiOrigin?: string;
|
|
22367
|
+
draft: DraftRequest | null;
|
|
22368
|
+
locale: string | undefined;
|
|
22369
|
+
publishingDraft: string | undefined;
|
|
22370
|
+
look: LookGrant | undefined;
|
|
22371
|
+
user: {
|
|
22372
|
+
id: string;
|
|
22373
|
+
createdAt: Date;
|
|
22374
|
+
updatedAt: Date;
|
|
22375
|
+
email: string;
|
|
22376
|
+
emailVerified: boolean;
|
|
22377
|
+
name: string;
|
|
22378
|
+
image?: string | null | undefined;
|
|
22379
|
+
};
|
|
22380
|
+
session: {
|
|
22381
|
+
id: string;
|
|
22382
|
+
createdAt: Date;
|
|
22383
|
+
updatedAt: Date;
|
|
22384
|
+
userId: string;
|
|
22385
|
+
expiresAt: Date;
|
|
22386
|
+
token: string;
|
|
22387
|
+
ipAddress?: string | null | undefined;
|
|
22388
|
+
userAgent?: string | null | undefined;
|
|
22389
|
+
activeOrganizationId?: string | null | undefined;
|
|
22390
|
+
local?: boolean | null | undefined;
|
|
22391
|
+
studio?: boolean | null | undefined;
|
|
22392
|
+
};
|
|
22393
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22394
|
+
draft: DraftRequest | null;
|
|
22395
|
+
locale: string | undefined;
|
|
22396
|
+
publishingDraft: string | undefined;
|
|
22397
|
+
look: LookGrant | undefined;
|
|
22398
|
+
}>, {
|
|
22399
|
+
db: Database;
|
|
22400
|
+
env: Bindings;
|
|
22401
|
+
headers: Headers;
|
|
22402
|
+
client: string;
|
|
22403
|
+
telemetryDisabled: boolean;
|
|
22404
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22405
|
+
apiOrigin?: string;
|
|
22406
|
+
draft: DraftRequest | null;
|
|
22407
|
+
locale: string | undefined;
|
|
22408
|
+
publishingDraft: string | undefined;
|
|
22409
|
+
look: LookGrant | undefined;
|
|
22410
|
+
user: {
|
|
22411
|
+
id: string;
|
|
22412
|
+
createdAt: Date;
|
|
22413
|
+
updatedAt: Date;
|
|
22414
|
+
email: string;
|
|
22415
|
+
emailVerified: boolean;
|
|
22416
|
+
name: string;
|
|
22417
|
+
image?: string | null | undefined;
|
|
22418
|
+
};
|
|
22419
|
+
session: {
|
|
22420
|
+
id: string;
|
|
22421
|
+
createdAt: Date;
|
|
22422
|
+
updatedAt: Date;
|
|
22423
|
+
userId: string;
|
|
22424
|
+
expiresAt: Date;
|
|
22425
|
+
token: string;
|
|
22426
|
+
ipAddress?: string | null | undefined;
|
|
22427
|
+
userAgent?: string | null | undefined;
|
|
22428
|
+
activeOrganizationId?: string | null | undefined;
|
|
22429
|
+
local?: boolean | null | undefined;
|
|
22430
|
+
studio?: boolean | null | undefined;
|
|
22431
|
+
};
|
|
22432
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22433
|
+
draft: DraftRequest | null;
|
|
22434
|
+
locale: string | undefined;
|
|
22435
|
+
publishingDraft: string | undefined;
|
|
22436
|
+
look: LookGrant | undefined;
|
|
22437
|
+
}>, {
|
|
22438
|
+
db: Database;
|
|
22439
|
+
env: Bindings;
|
|
22440
|
+
headers: Headers;
|
|
22441
|
+
client: string;
|
|
22442
|
+
telemetryDisabled: boolean;
|
|
22443
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22444
|
+
apiOrigin?: string;
|
|
22445
|
+
draft: DraftRequest | null;
|
|
22446
|
+
locale: string | undefined;
|
|
22447
|
+
publishingDraft: string | undefined;
|
|
22448
|
+
look: LookGrant | undefined;
|
|
22449
|
+
user: {
|
|
22450
|
+
id: string;
|
|
22451
|
+
createdAt: Date;
|
|
22452
|
+
updatedAt: Date;
|
|
22453
|
+
email: string;
|
|
22454
|
+
emailVerified: boolean;
|
|
22455
|
+
name: string;
|
|
22456
|
+
image?: string | null | undefined;
|
|
22457
|
+
};
|
|
22458
|
+
session: {
|
|
22459
|
+
id: string;
|
|
22460
|
+
createdAt: Date;
|
|
22461
|
+
updatedAt: Date;
|
|
22462
|
+
userId: string;
|
|
22463
|
+
expiresAt: Date;
|
|
22464
|
+
token: string;
|
|
22465
|
+
ipAddress?: string | null | undefined;
|
|
22466
|
+
userAgent?: string | null | undefined;
|
|
22467
|
+
activeOrganizationId?: string | null | undefined;
|
|
22468
|
+
local?: boolean | null | undefined;
|
|
22469
|
+
studio?: boolean | null | undefined;
|
|
22470
|
+
};
|
|
22471
|
+
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
22472
|
+
id: import("zod").ZodString;
|
|
22473
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
22474
|
+
data: string;
|
|
22475
|
+
mimeType: any;
|
|
22476
|
+
}, {
|
|
22477
|
+
data: string;
|
|
22478
|
+
mimeType: any;
|
|
22479
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
22480
|
+
source: 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>>, {
|
|
22481
|
+
draft: DraftRequest | null;
|
|
22482
|
+
locale: string | undefined;
|
|
22483
|
+
publishingDraft: string | undefined;
|
|
22484
|
+
look: LookGrant | undefined;
|
|
22485
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22486
|
+
draft: DraftRequest | null;
|
|
22487
|
+
locale: string | undefined;
|
|
22488
|
+
publishingDraft: string | undefined;
|
|
22489
|
+
look: LookGrant | undefined;
|
|
22490
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22491
|
+
draft: DraftRequest | null;
|
|
22492
|
+
locale: string | undefined;
|
|
22493
|
+
publishingDraft: string | undefined;
|
|
22494
|
+
look: LookGrant | undefined;
|
|
22495
|
+
}>, {
|
|
22496
|
+
db: Database;
|
|
22497
|
+
env: Bindings;
|
|
22498
|
+
headers: Headers;
|
|
22499
|
+
client: string;
|
|
22500
|
+
telemetryDisabled: boolean;
|
|
22501
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22502
|
+
apiOrigin?: string;
|
|
22503
|
+
draft: DraftRequest | null;
|
|
22504
|
+
locale: string | undefined;
|
|
22505
|
+
publishingDraft: string | undefined;
|
|
22506
|
+
look: LookGrant | undefined;
|
|
22507
|
+
user: {
|
|
22508
|
+
id: string;
|
|
22509
|
+
createdAt: Date;
|
|
22510
|
+
updatedAt: Date;
|
|
22511
|
+
email: string;
|
|
22512
|
+
emailVerified: boolean;
|
|
22513
|
+
name: string;
|
|
22514
|
+
image?: string | null | undefined;
|
|
22515
|
+
};
|
|
22516
|
+
session: {
|
|
22517
|
+
id: string;
|
|
22518
|
+
createdAt: Date;
|
|
22519
|
+
updatedAt: Date;
|
|
22520
|
+
userId: string;
|
|
22521
|
+
expiresAt: Date;
|
|
22522
|
+
token: string;
|
|
22523
|
+
ipAddress?: string | null | undefined;
|
|
22524
|
+
userAgent?: string | null | undefined;
|
|
22525
|
+
activeOrganizationId?: string | null | undefined;
|
|
22526
|
+
local?: boolean | null | undefined;
|
|
22527
|
+
studio?: boolean | null | undefined;
|
|
22528
|
+
};
|
|
22529
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22530
|
+
draft: DraftRequest | null;
|
|
22531
|
+
locale: string | undefined;
|
|
22532
|
+
publishingDraft: string | undefined;
|
|
22533
|
+
look: LookGrant | undefined;
|
|
22534
|
+
}>, {
|
|
22535
|
+
db: Database;
|
|
22536
|
+
env: Bindings;
|
|
22537
|
+
headers: Headers;
|
|
22538
|
+
client: string;
|
|
22539
|
+
telemetryDisabled: boolean;
|
|
22540
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22541
|
+
apiOrigin?: string;
|
|
22542
|
+
draft: DraftRequest | null;
|
|
22543
|
+
locale: string | undefined;
|
|
22544
|
+
publishingDraft: string | undefined;
|
|
22545
|
+
look: LookGrant | undefined;
|
|
22546
|
+
user: {
|
|
22547
|
+
id: string;
|
|
22548
|
+
createdAt: Date;
|
|
22549
|
+
updatedAt: Date;
|
|
22550
|
+
email: string;
|
|
22551
|
+
emailVerified: boolean;
|
|
22552
|
+
name: string;
|
|
22553
|
+
image?: string | null | undefined;
|
|
22554
|
+
};
|
|
22555
|
+
session: {
|
|
22556
|
+
id: string;
|
|
22557
|
+
createdAt: Date;
|
|
22558
|
+
updatedAt: Date;
|
|
22559
|
+
userId: string;
|
|
22560
|
+
expiresAt: Date;
|
|
22561
|
+
token: string;
|
|
22562
|
+
ipAddress?: string | null | undefined;
|
|
22563
|
+
userAgent?: string | null | undefined;
|
|
22564
|
+
activeOrganizationId?: string | null | undefined;
|
|
22565
|
+
local?: boolean | null | undefined;
|
|
22566
|
+
studio?: boolean | null | undefined;
|
|
22567
|
+
};
|
|
22568
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22569
|
+
draft: DraftRequest | null;
|
|
22570
|
+
locale: string | undefined;
|
|
22571
|
+
publishingDraft: string | undefined;
|
|
22572
|
+
look: LookGrant | undefined;
|
|
22573
|
+
}>, {
|
|
22574
|
+
db: Database;
|
|
22575
|
+
env: Bindings;
|
|
22576
|
+
headers: Headers;
|
|
22577
|
+
client: string;
|
|
22578
|
+
telemetryDisabled: boolean;
|
|
22579
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22580
|
+
apiOrigin?: string;
|
|
22581
|
+
draft: DraftRequest | null;
|
|
22582
|
+
locale: string | undefined;
|
|
22583
|
+
publishingDraft: string | undefined;
|
|
22584
|
+
look: LookGrant | undefined;
|
|
22585
|
+
user: {
|
|
22586
|
+
id: string;
|
|
22587
|
+
createdAt: Date;
|
|
22588
|
+
updatedAt: Date;
|
|
22589
|
+
email: string;
|
|
22590
|
+
emailVerified: boolean;
|
|
22591
|
+
name: string;
|
|
22592
|
+
image?: string | null | undefined;
|
|
22593
|
+
};
|
|
22594
|
+
session: {
|
|
22595
|
+
id: string;
|
|
22596
|
+
createdAt: Date;
|
|
22597
|
+
updatedAt: Date;
|
|
22598
|
+
userId: string;
|
|
22599
|
+
expiresAt: Date;
|
|
22600
|
+
token: string;
|
|
22601
|
+
ipAddress?: string | null | undefined;
|
|
22602
|
+
userAgent?: string | null | undefined;
|
|
22603
|
+
activeOrganizationId?: string | null | undefined;
|
|
22604
|
+
local?: boolean | null | undefined;
|
|
22605
|
+
studio?: boolean | null | undefined;
|
|
22606
|
+
};
|
|
22607
|
+
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
22608
|
+
id: import("zod").ZodString;
|
|
22609
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
22610
|
+
source: unknown;
|
|
22611
|
+
}, {
|
|
22612
|
+
source: unknown;
|
|
22613
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
22614
|
+
artifactRequests: 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>>, {
|
|
22615
|
+
draft: DraftRequest | null;
|
|
22616
|
+
locale: string | undefined;
|
|
22617
|
+
publishingDraft: string | undefined;
|
|
22618
|
+
look: LookGrant | undefined;
|
|
22619
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22620
|
+
draft: DraftRequest | null;
|
|
22621
|
+
locale: string | undefined;
|
|
22622
|
+
publishingDraft: string | undefined;
|
|
22623
|
+
look: LookGrant | undefined;
|
|
22624
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22625
|
+
draft: DraftRequest | null;
|
|
22626
|
+
locale: string | undefined;
|
|
22627
|
+
publishingDraft: string | undefined;
|
|
22628
|
+
look: LookGrant | undefined;
|
|
22629
|
+
}>, {
|
|
22630
|
+
db: Database;
|
|
22631
|
+
env: Bindings;
|
|
22632
|
+
headers: Headers;
|
|
22633
|
+
client: string;
|
|
22634
|
+
telemetryDisabled: boolean;
|
|
22635
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22636
|
+
apiOrigin?: string;
|
|
22637
|
+
draft: DraftRequest | null;
|
|
22638
|
+
locale: string | undefined;
|
|
22639
|
+
publishingDraft: string | undefined;
|
|
22640
|
+
look: LookGrant | undefined;
|
|
22641
|
+
user: {
|
|
22642
|
+
id: string;
|
|
22643
|
+
createdAt: Date;
|
|
22644
|
+
updatedAt: Date;
|
|
22645
|
+
email: string;
|
|
22646
|
+
emailVerified: boolean;
|
|
22647
|
+
name: string;
|
|
22648
|
+
image?: string | null | undefined;
|
|
22649
|
+
};
|
|
22650
|
+
session: {
|
|
22651
|
+
id: string;
|
|
22652
|
+
createdAt: Date;
|
|
22653
|
+
updatedAt: Date;
|
|
22654
|
+
userId: string;
|
|
22655
|
+
expiresAt: Date;
|
|
22656
|
+
token: string;
|
|
22657
|
+
ipAddress?: string | null | undefined;
|
|
22658
|
+
userAgent?: string | null | undefined;
|
|
22659
|
+
activeOrganizationId?: string | null | undefined;
|
|
22660
|
+
local?: boolean | null | undefined;
|
|
22661
|
+
studio?: boolean | null | undefined;
|
|
22662
|
+
};
|
|
22663
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22664
|
+
draft: DraftRequest | null;
|
|
22665
|
+
locale: string | undefined;
|
|
22666
|
+
publishingDraft: string | undefined;
|
|
22667
|
+
look: LookGrant | undefined;
|
|
22668
|
+
}>, {
|
|
22669
|
+
db: Database;
|
|
22670
|
+
env: Bindings;
|
|
22671
|
+
headers: Headers;
|
|
22672
|
+
client: string;
|
|
22673
|
+
telemetryDisabled: boolean;
|
|
22674
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22675
|
+
apiOrigin?: string;
|
|
22676
|
+
draft: DraftRequest | null;
|
|
22677
|
+
locale: string | undefined;
|
|
22678
|
+
publishingDraft: string | undefined;
|
|
22679
|
+
look: LookGrant | undefined;
|
|
22680
|
+
user: {
|
|
22681
|
+
id: string;
|
|
22682
|
+
createdAt: Date;
|
|
22683
|
+
updatedAt: Date;
|
|
22684
|
+
email: string;
|
|
22685
|
+
emailVerified: boolean;
|
|
22686
|
+
name: string;
|
|
22687
|
+
image?: string | null | undefined;
|
|
22688
|
+
};
|
|
22689
|
+
session: {
|
|
22690
|
+
id: string;
|
|
22691
|
+
createdAt: Date;
|
|
22692
|
+
updatedAt: Date;
|
|
22693
|
+
userId: string;
|
|
22694
|
+
expiresAt: Date;
|
|
22695
|
+
token: string;
|
|
22696
|
+
ipAddress?: string | null | undefined;
|
|
22697
|
+
userAgent?: string | null | undefined;
|
|
22698
|
+
activeOrganizationId?: string | null | undefined;
|
|
22699
|
+
local?: boolean | null | undefined;
|
|
22700
|
+
studio?: boolean | null | undefined;
|
|
22701
|
+
};
|
|
22702
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22703
|
+
draft: DraftRequest | null;
|
|
22704
|
+
locale: string | undefined;
|
|
22705
|
+
publishingDraft: string | undefined;
|
|
22706
|
+
look: LookGrant | undefined;
|
|
22707
|
+
}>, {
|
|
22708
|
+
db: Database;
|
|
22709
|
+
env: Bindings;
|
|
22710
|
+
headers: Headers;
|
|
22711
|
+
client: string;
|
|
22712
|
+
telemetryDisabled: boolean;
|
|
22713
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22714
|
+
apiOrigin?: string;
|
|
22715
|
+
draft: DraftRequest | null;
|
|
22716
|
+
locale: string | undefined;
|
|
22717
|
+
publishingDraft: string | undefined;
|
|
22718
|
+
look: LookGrant | undefined;
|
|
22719
|
+
user: {
|
|
22720
|
+
id: string;
|
|
22721
|
+
createdAt: Date;
|
|
22722
|
+
updatedAt: Date;
|
|
22723
|
+
email: string;
|
|
22724
|
+
emailVerified: boolean;
|
|
22725
|
+
name: string;
|
|
22726
|
+
image?: string | null | undefined;
|
|
22727
|
+
};
|
|
22728
|
+
session: {
|
|
22729
|
+
id: string;
|
|
22730
|
+
createdAt: Date;
|
|
22731
|
+
updatedAt: Date;
|
|
22732
|
+
userId: string;
|
|
22733
|
+
expiresAt: Date;
|
|
22734
|
+
token: string;
|
|
22735
|
+
ipAddress?: string | null | undefined;
|
|
22736
|
+
userAgent?: string | null | undefined;
|
|
22737
|
+
activeOrganizationId?: string | null | undefined;
|
|
22738
|
+
local?: boolean | null | undefined;
|
|
22739
|
+
studio?: boolean | null | undefined;
|
|
22740
|
+
};
|
|
22741
|
+
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
22742
|
+
projectId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
22743
|
+
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22744
|
+
firstVersion: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
22745
|
+
lastLook: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
22746
|
+
before: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
22747
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
22748
|
+
id: string;
|
|
22749
|
+
requestId: string;
|
|
22750
|
+
organizationId: string | null;
|
|
22751
|
+
projectId: number | null;
|
|
22752
|
+
draftId: string | null;
|
|
22753
|
+
threadId: string | null;
|
|
22754
|
+
conversationId: string | null;
|
|
22755
|
+
artifact: ArtifactTarget;
|
|
22756
|
+
request: string;
|
|
22757
|
+
firstVersion: boolean;
|
|
22758
|
+
model: string;
|
|
22759
|
+
thinkingLevel: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
22760
|
+
lastLook: boolean;
|
|
22761
|
+
createdAt: number;
|
|
22762
|
+
projectName: string | null;
|
|
22763
|
+
costMicroUsd: number | null;
|
|
22764
|
+
rounds: number;
|
|
22765
|
+
finalImages: {
|
|
22766
|
+
desktop: string | null;
|
|
22767
|
+
mobile: string | null;
|
|
22768
|
+
};
|
|
22769
|
+
}[], {
|
|
22770
|
+
id: string;
|
|
22771
|
+
requestId: string;
|
|
22772
|
+
organizationId: string | null;
|
|
22773
|
+
projectId: number | null;
|
|
22774
|
+
draftId: string | null;
|
|
22775
|
+
threadId: string | null;
|
|
22776
|
+
conversationId: string | null;
|
|
22777
|
+
artifact: ArtifactTarget;
|
|
22778
|
+
request: string;
|
|
22779
|
+
firstVersion: boolean;
|
|
22780
|
+
model: string;
|
|
22781
|
+
thinkingLevel: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
22782
|
+
lastLook: boolean;
|
|
22783
|
+
createdAt: number;
|
|
22784
|
+
projectName: string | null;
|
|
22785
|
+
costMicroUsd: number | null;
|
|
22786
|
+
rounds: number;
|
|
22787
|
+
finalImages: {
|
|
22788
|
+
desktop: string | null;
|
|
22789
|
+
mobile: string | null;
|
|
22790
|
+
};
|
|
22791
|
+
}[]>, Record<never, never>, Record<never, never>>;
|
|
22792
|
+
artifactRequestTotals: 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>>, {
|
|
22793
|
+
draft: DraftRequest | null;
|
|
22794
|
+
locale: string | undefined;
|
|
22795
|
+
publishingDraft: string | undefined;
|
|
22796
|
+
look: LookGrant | undefined;
|
|
22797
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22798
|
+
draft: DraftRequest | null;
|
|
22799
|
+
locale: string | undefined;
|
|
22800
|
+
publishingDraft: string | undefined;
|
|
22801
|
+
look: LookGrant | undefined;
|
|
22802
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22803
|
+
draft: DraftRequest | null;
|
|
22804
|
+
locale: string | undefined;
|
|
22805
|
+
publishingDraft: string | undefined;
|
|
22806
|
+
look: LookGrant | undefined;
|
|
22807
|
+
}>, {
|
|
22808
|
+
db: Database;
|
|
22809
|
+
env: Bindings;
|
|
22810
|
+
headers: Headers;
|
|
22811
|
+
client: string;
|
|
22812
|
+
telemetryDisabled: boolean;
|
|
22813
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22814
|
+
apiOrigin?: string;
|
|
22815
|
+
draft: DraftRequest | null;
|
|
22816
|
+
locale: string | undefined;
|
|
22817
|
+
publishingDraft: string | undefined;
|
|
22818
|
+
look: LookGrant | undefined;
|
|
22819
|
+
user: {
|
|
22820
|
+
id: string;
|
|
22821
|
+
createdAt: Date;
|
|
22822
|
+
updatedAt: Date;
|
|
22823
|
+
email: string;
|
|
22824
|
+
emailVerified: boolean;
|
|
22825
|
+
name: string;
|
|
22826
|
+
image?: string | null | undefined;
|
|
22827
|
+
};
|
|
22828
|
+
session: {
|
|
22829
|
+
id: string;
|
|
22830
|
+
createdAt: Date;
|
|
22831
|
+
updatedAt: Date;
|
|
22832
|
+
userId: string;
|
|
22833
|
+
expiresAt: Date;
|
|
22834
|
+
token: string;
|
|
22835
|
+
ipAddress?: string | null | undefined;
|
|
22836
|
+
userAgent?: string | null | undefined;
|
|
22837
|
+
activeOrganizationId?: string | null | undefined;
|
|
22838
|
+
local?: boolean | null | undefined;
|
|
22839
|
+
studio?: boolean | null | undefined;
|
|
22840
|
+
};
|
|
22841
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22842
|
+
draft: DraftRequest | null;
|
|
22843
|
+
locale: string | undefined;
|
|
22844
|
+
publishingDraft: string | undefined;
|
|
22845
|
+
look: LookGrant | undefined;
|
|
22846
|
+
}>, {
|
|
22847
|
+
db: Database;
|
|
22848
|
+
env: Bindings;
|
|
22849
|
+
headers: Headers;
|
|
22850
|
+
client: string;
|
|
22851
|
+
telemetryDisabled: boolean;
|
|
22852
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22853
|
+
apiOrigin?: string;
|
|
22854
|
+
draft: DraftRequest | null;
|
|
22855
|
+
locale: string | undefined;
|
|
22856
|
+
publishingDraft: string | undefined;
|
|
22857
|
+
look: LookGrant | undefined;
|
|
22858
|
+
user: {
|
|
22859
|
+
id: string;
|
|
22860
|
+
createdAt: Date;
|
|
22861
|
+
updatedAt: Date;
|
|
22862
|
+
email: string;
|
|
22863
|
+
emailVerified: boolean;
|
|
22864
|
+
name: string;
|
|
22865
|
+
image?: string | null | undefined;
|
|
22866
|
+
};
|
|
22867
|
+
session: {
|
|
22868
|
+
id: string;
|
|
22869
|
+
createdAt: Date;
|
|
22870
|
+
updatedAt: Date;
|
|
22871
|
+
userId: string;
|
|
22872
|
+
expiresAt: Date;
|
|
22873
|
+
token: string;
|
|
22874
|
+
ipAddress?: string | null | undefined;
|
|
22875
|
+
userAgent?: string | null | undefined;
|
|
22876
|
+
activeOrganizationId?: string | null | undefined;
|
|
22877
|
+
local?: boolean | null | undefined;
|
|
22878
|
+
studio?: boolean | null | undefined;
|
|
22879
|
+
};
|
|
22880
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22881
|
+
draft: DraftRequest | null;
|
|
22882
|
+
locale: string | undefined;
|
|
22883
|
+
publishingDraft: string | undefined;
|
|
22884
|
+
look: LookGrant | undefined;
|
|
22885
|
+
}>, {
|
|
22886
|
+
db: Database;
|
|
22887
|
+
env: Bindings;
|
|
22888
|
+
headers: Headers;
|
|
22889
|
+
client: string;
|
|
22890
|
+
telemetryDisabled: boolean;
|
|
22891
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22892
|
+
apiOrigin?: string;
|
|
22893
|
+
draft: DraftRequest | null;
|
|
22894
|
+
locale: string | undefined;
|
|
22895
|
+
publishingDraft: string | undefined;
|
|
22896
|
+
look: LookGrant | undefined;
|
|
22897
|
+
user: {
|
|
22898
|
+
id: string;
|
|
22899
|
+
createdAt: Date;
|
|
22900
|
+
updatedAt: Date;
|
|
22901
|
+
email: string;
|
|
22902
|
+
emailVerified: boolean;
|
|
22903
|
+
name: string;
|
|
22904
|
+
image?: string | null | undefined;
|
|
22905
|
+
};
|
|
22906
|
+
session: {
|
|
22907
|
+
id: string;
|
|
22908
|
+
createdAt: Date;
|
|
22909
|
+
updatedAt: Date;
|
|
22910
|
+
userId: string;
|
|
22911
|
+
expiresAt: Date;
|
|
22912
|
+
token: string;
|
|
22913
|
+
ipAddress?: string | null | undefined;
|
|
22914
|
+
userAgent?: string | null | undefined;
|
|
22915
|
+
activeOrganizationId?: string | null | undefined;
|
|
22916
|
+
local?: boolean | null | undefined;
|
|
22917
|
+
studio?: boolean | null | undefined;
|
|
22918
|
+
};
|
|
22919
|
+
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
22920
|
+
projectId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
22921
|
+
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22922
|
+
firstVersion: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
22923
|
+
lastLook: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
22924
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
22925
|
+
model: string;
|
|
22926
|
+
requests: number;
|
|
22927
|
+
averageCostMicroUsd: number | null;
|
|
22928
|
+
averageRounds: number;
|
|
22929
|
+
}[], {
|
|
22930
|
+
model: string;
|
|
22931
|
+
requests: number;
|
|
22932
|
+
averageCostMicroUsd: number | null;
|
|
22933
|
+
averageRounds: number;
|
|
22934
|
+
}[]>, Record<never, never>, Record<never, never>>;
|
|
22935
|
+
request: 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>>, {
|
|
22936
|
+
draft: DraftRequest | null;
|
|
22937
|
+
locale: string | undefined;
|
|
22938
|
+
publishingDraft: string | undefined;
|
|
22939
|
+
look: LookGrant | undefined;
|
|
22940
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22941
|
+
draft: DraftRequest | null;
|
|
22942
|
+
locale: string | undefined;
|
|
22943
|
+
publishingDraft: string | undefined;
|
|
22944
|
+
look: LookGrant | undefined;
|
|
22945
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22946
|
+
draft: DraftRequest | null;
|
|
22947
|
+
locale: string | undefined;
|
|
22948
|
+
publishingDraft: string | undefined;
|
|
22949
|
+
look: LookGrant | undefined;
|
|
22950
|
+
}>, {
|
|
22951
|
+
db: Database;
|
|
22952
|
+
env: Bindings;
|
|
22953
|
+
headers: Headers;
|
|
22954
|
+
client: string;
|
|
22955
|
+
telemetryDisabled: boolean;
|
|
22956
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22957
|
+
apiOrigin?: string;
|
|
22958
|
+
draft: DraftRequest | null;
|
|
22959
|
+
locale: string | undefined;
|
|
22960
|
+
publishingDraft: string | undefined;
|
|
22961
|
+
look: LookGrant | undefined;
|
|
22962
|
+
user: {
|
|
22963
|
+
id: string;
|
|
22964
|
+
createdAt: Date;
|
|
22965
|
+
updatedAt: Date;
|
|
22966
|
+
email: string;
|
|
22967
|
+
emailVerified: boolean;
|
|
22968
|
+
name: string;
|
|
22969
|
+
image?: string | null | undefined;
|
|
22970
|
+
};
|
|
22971
|
+
session: {
|
|
22972
|
+
id: string;
|
|
22973
|
+
createdAt: Date;
|
|
22974
|
+
updatedAt: Date;
|
|
22975
|
+
userId: string;
|
|
22976
|
+
expiresAt: Date;
|
|
22977
|
+
token: string;
|
|
22978
|
+
ipAddress?: string | null | undefined;
|
|
22979
|
+
userAgent?: string | null | undefined;
|
|
22980
|
+
activeOrganizationId?: string | null | undefined;
|
|
22981
|
+
local?: boolean | null | undefined;
|
|
22982
|
+
studio?: boolean | null | undefined;
|
|
22983
|
+
};
|
|
22984
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
22985
|
+
draft: DraftRequest | null;
|
|
22986
|
+
locale: string | undefined;
|
|
22987
|
+
publishingDraft: string | undefined;
|
|
22988
|
+
look: LookGrant | undefined;
|
|
22989
|
+
}>, {
|
|
22990
|
+
db: Database;
|
|
22991
|
+
env: Bindings;
|
|
22992
|
+
headers: Headers;
|
|
22993
|
+
client: string;
|
|
22994
|
+
telemetryDisabled: boolean;
|
|
22995
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
22996
|
+
apiOrigin?: string;
|
|
22997
|
+
draft: DraftRequest | null;
|
|
22998
|
+
locale: string | undefined;
|
|
22999
|
+
publishingDraft: string | undefined;
|
|
23000
|
+
look: LookGrant | undefined;
|
|
23001
|
+
user: {
|
|
23002
|
+
id: string;
|
|
23003
|
+
createdAt: Date;
|
|
23004
|
+
updatedAt: Date;
|
|
23005
|
+
email: string;
|
|
23006
|
+
emailVerified: boolean;
|
|
23007
|
+
name: string;
|
|
23008
|
+
image?: string | null | undefined;
|
|
23009
|
+
};
|
|
23010
|
+
session: {
|
|
23011
|
+
id: string;
|
|
23012
|
+
createdAt: Date;
|
|
23013
|
+
updatedAt: Date;
|
|
23014
|
+
userId: string;
|
|
23015
|
+
expiresAt: Date;
|
|
23016
|
+
token: string;
|
|
23017
|
+
ipAddress?: string | null | undefined;
|
|
23018
|
+
userAgent?: string | null | undefined;
|
|
23019
|
+
activeOrganizationId?: string | null | undefined;
|
|
23020
|
+
local?: boolean | null | undefined;
|
|
23021
|
+
studio?: boolean | null | undefined;
|
|
23022
|
+
};
|
|
23023
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
23024
|
+
draft: DraftRequest | null;
|
|
23025
|
+
locale: string | undefined;
|
|
23026
|
+
publishingDraft: string | undefined;
|
|
23027
|
+
look: LookGrant | undefined;
|
|
23028
|
+
}>, {
|
|
23029
|
+
db: Database;
|
|
23030
|
+
env: Bindings;
|
|
23031
|
+
headers: Headers;
|
|
23032
|
+
client: string;
|
|
23033
|
+
telemetryDisabled: boolean;
|
|
23034
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
23035
|
+
apiOrigin?: string;
|
|
23036
|
+
draft: DraftRequest | null;
|
|
23037
|
+
locale: string | undefined;
|
|
23038
|
+
publishingDraft: string | undefined;
|
|
23039
|
+
look: LookGrant | undefined;
|
|
23040
|
+
user: {
|
|
23041
|
+
id: string;
|
|
23042
|
+
createdAt: Date;
|
|
23043
|
+
updatedAt: Date;
|
|
23044
|
+
email: string;
|
|
23045
|
+
emailVerified: boolean;
|
|
23046
|
+
name: string;
|
|
23047
|
+
image?: string | null | undefined;
|
|
23048
|
+
};
|
|
23049
|
+
session: {
|
|
23050
|
+
id: string;
|
|
23051
|
+
createdAt: Date;
|
|
23052
|
+
updatedAt: Date;
|
|
23053
|
+
userId: string;
|
|
23054
|
+
expiresAt: Date;
|
|
23055
|
+
token: string;
|
|
23056
|
+
ipAddress?: string | null | undefined;
|
|
23057
|
+
userAgent?: string | null | undefined;
|
|
23058
|
+
activeOrganizationId?: string | null | undefined;
|
|
23059
|
+
local?: boolean | null | undefined;
|
|
23060
|
+
studio?: boolean | null | undefined;
|
|
23061
|
+
};
|
|
23062
|
+
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
23063
|
+
requestId: import("zod").ZodString;
|
|
23064
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
23065
|
+
id: string;
|
|
23066
|
+
requestId: string;
|
|
23067
|
+
organizationId: string | null;
|
|
23068
|
+
projectId: number | null;
|
|
23069
|
+
draftId: string | null;
|
|
23070
|
+
threadId: string | null;
|
|
23071
|
+
conversationId: string | null;
|
|
23072
|
+
artifact: ArtifactTarget;
|
|
23073
|
+
request: string;
|
|
23074
|
+
firstVersion: boolean;
|
|
23075
|
+
model: string;
|
|
23076
|
+
thinkingLevel: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
23077
|
+
lastLook: boolean;
|
|
23078
|
+
createdAt: number;
|
|
23079
|
+
projectName: string | null;
|
|
23080
|
+
rounds: {
|
|
23081
|
+
round: number | null;
|
|
23082
|
+
records: {
|
|
23083
|
+
hasSource: boolean;
|
|
23084
|
+
agent: AiAgent;
|
|
23085
|
+
artifact: ArtifactTarget | null;
|
|
23086
|
+
callId: string | null;
|
|
23087
|
+
checks: CaptureChecks;
|
|
23088
|
+
conversationId: string | null;
|
|
23089
|
+
createdAt: number;
|
|
23090
|
+
cut: boolean;
|
|
23091
|
+
draftId: string | null;
|
|
23092
|
+
error: string | null;
|
|
23093
|
+
frames: TimedMoment[] | null;
|
|
23094
|
+
freshnessHash: string | null;
|
|
23095
|
+
guardrail: import("@camox/api-contract/drafts").LookGuardrailFinding[] | null;
|
|
23096
|
+
id: string;
|
|
23097
|
+
lastLook: boolean | null;
|
|
23098
|
+
model: string | null;
|
|
23099
|
+
organizationId: string | null;
|
|
23100
|
+
projectId: number | null;
|
|
23101
|
+
requestId: string | null;
|
|
23102
|
+
round: number | null;
|
|
23103
|
+
size: "desktop" | "mobile";
|
|
23104
|
+
takenBy: LookTaker;
|
|
23105
|
+
target: LookTarget;
|
|
23106
|
+
thinkingLevel: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh" | null;
|
|
23107
|
+
threadId: string | null;
|
|
23108
|
+
timeline: import("@camox/api-contract/drafts").LookTimeline | null;
|
|
23109
|
+
}[];
|
|
23110
|
+
}[];
|
|
23111
|
+
}, {
|
|
23112
|
+
id: string;
|
|
23113
|
+
requestId: string;
|
|
23114
|
+
organizationId: string | null;
|
|
23115
|
+
projectId: number | null;
|
|
23116
|
+
draftId: string | null;
|
|
23117
|
+
threadId: string | null;
|
|
23118
|
+
conversationId: string | null;
|
|
23119
|
+
artifact: ArtifactTarget;
|
|
23120
|
+
request: string;
|
|
23121
|
+
firstVersion: boolean;
|
|
23122
|
+
model: string;
|
|
23123
|
+
thinkingLevel: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
23124
|
+
lastLook: boolean;
|
|
23125
|
+
createdAt: number;
|
|
23126
|
+
projectName: string | null;
|
|
23127
|
+
rounds: {
|
|
23128
|
+
round: number | null;
|
|
23129
|
+
records: {
|
|
23130
|
+
hasSource: boolean;
|
|
23131
|
+
agent: AiAgent;
|
|
23132
|
+
artifact: ArtifactTarget | null;
|
|
23133
|
+
callId: string | null;
|
|
23134
|
+
checks: CaptureChecks;
|
|
23135
|
+
conversationId: string | null;
|
|
23136
|
+
createdAt: number;
|
|
23137
|
+
cut: boolean;
|
|
23138
|
+
draftId: string | null;
|
|
23139
|
+
error: string | null;
|
|
23140
|
+
frames: TimedMoment[] | null;
|
|
23141
|
+
freshnessHash: string | null;
|
|
23142
|
+
guardrail: import("@camox/api-contract/drafts").LookGuardrailFinding[] | null;
|
|
23143
|
+
id: string;
|
|
23144
|
+
lastLook: boolean | null;
|
|
23145
|
+
model: string | null;
|
|
23146
|
+
organizationId: string | null;
|
|
23147
|
+
projectId: number | null;
|
|
23148
|
+
requestId: string | null;
|
|
23149
|
+
round: number | null;
|
|
23150
|
+
size: "desktop" | "mobile";
|
|
23151
|
+
takenBy: LookTaker;
|
|
23152
|
+
target: LookTarget;
|
|
23153
|
+
thinkingLevel: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh" | null;
|
|
23154
|
+
threadId: string | null;
|
|
23155
|
+
timeline: import("@camox/api-contract/drafts").LookTimeline | null;
|
|
23156
|
+
}[];
|
|
23157
|
+
}[];
|
|
23158
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
23159
|
+
};
|
|
23160
|
+
artifactAgentSettings: {
|
|
23161
|
+
list: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
23162
|
+
draft: DraftRequest | null;
|
|
23163
|
+
locale: string | undefined;
|
|
23164
|
+
publishingDraft: string | undefined;
|
|
23165
|
+
look: LookGrant | undefined;
|
|
23166
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
23167
|
+
draft: DraftRequest | null;
|
|
23168
|
+
locale: string | undefined;
|
|
23169
|
+
publishingDraft: string | undefined;
|
|
23170
|
+
look: LookGrant | undefined;
|
|
23171
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
23172
|
+
draft: DraftRequest | null;
|
|
23173
|
+
locale: string | undefined;
|
|
23174
|
+
publishingDraft: string | undefined;
|
|
23175
|
+
look: LookGrant | undefined;
|
|
23176
|
+
}>, {
|
|
23177
|
+
db: Database;
|
|
23178
|
+
env: Bindings;
|
|
23179
|
+
headers: Headers;
|
|
23180
|
+
client: string;
|
|
23181
|
+
telemetryDisabled: boolean;
|
|
23182
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
23183
|
+
apiOrigin?: string;
|
|
23184
|
+
draft: DraftRequest | null;
|
|
23185
|
+
locale: string | undefined;
|
|
23186
|
+
publishingDraft: string | undefined;
|
|
23187
|
+
look: LookGrant | undefined;
|
|
23188
|
+
user: {
|
|
23189
|
+
id: string;
|
|
23190
|
+
createdAt: Date;
|
|
23191
|
+
updatedAt: Date;
|
|
23192
|
+
email: string;
|
|
23193
|
+
emailVerified: boolean;
|
|
23194
|
+
name: string;
|
|
23195
|
+
image?: string | null | undefined;
|
|
23196
|
+
};
|
|
23197
|
+
session: {
|
|
23198
|
+
id: string;
|
|
23199
|
+
createdAt: Date;
|
|
23200
|
+
updatedAt: Date;
|
|
23201
|
+
userId: string;
|
|
23202
|
+
expiresAt: Date;
|
|
23203
|
+
token: string;
|
|
23204
|
+
ipAddress?: string | null | undefined;
|
|
23205
|
+
userAgent?: string | null | undefined;
|
|
23206
|
+
activeOrganizationId?: string | null | undefined;
|
|
23207
|
+
local?: boolean | null | undefined;
|
|
23208
|
+
studio?: boolean | null | undefined;
|
|
23209
|
+
};
|
|
23210
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
23211
|
+
draft: DraftRequest | null;
|
|
23212
|
+
locale: string | undefined;
|
|
23213
|
+
publishingDraft: string | undefined;
|
|
23214
|
+
look: LookGrant | undefined;
|
|
23215
|
+
}>, {
|
|
23216
|
+
db: Database;
|
|
23217
|
+
env: Bindings;
|
|
23218
|
+
headers: Headers;
|
|
23219
|
+
client: string;
|
|
23220
|
+
telemetryDisabled: boolean;
|
|
23221
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
23222
|
+
apiOrigin?: string;
|
|
23223
|
+
draft: DraftRequest | null;
|
|
23224
|
+
locale: string | undefined;
|
|
23225
|
+
publishingDraft: string | undefined;
|
|
23226
|
+
look: LookGrant | undefined;
|
|
23227
|
+
user: {
|
|
23228
|
+
id: string;
|
|
23229
|
+
createdAt: Date;
|
|
23230
|
+
updatedAt: Date;
|
|
23231
|
+
email: string;
|
|
23232
|
+
emailVerified: boolean;
|
|
23233
|
+
name: string;
|
|
23234
|
+
image?: string | null | undefined;
|
|
23235
|
+
};
|
|
23236
|
+
session: {
|
|
23237
|
+
id: string;
|
|
23238
|
+
createdAt: Date;
|
|
23239
|
+
updatedAt: Date;
|
|
23240
|
+
userId: string;
|
|
23241
|
+
expiresAt: Date;
|
|
23242
|
+
token: string;
|
|
23243
|
+
ipAddress?: string | null | undefined;
|
|
23244
|
+
userAgent?: string | null | undefined;
|
|
23245
|
+
activeOrganizationId?: string | null | undefined;
|
|
23246
|
+
local?: boolean | null | undefined;
|
|
23247
|
+
studio?: boolean | null | undefined;
|
|
23248
|
+
};
|
|
23249
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
23250
|
+
draft: DraftRequest | null;
|
|
23251
|
+
locale: string | undefined;
|
|
23252
|
+
publishingDraft: string | undefined;
|
|
23253
|
+
look: LookGrant | undefined;
|
|
23254
|
+
}>, {
|
|
23255
|
+
db: Database;
|
|
23256
|
+
env: Bindings;
|
|
23257
|
+
headers: Headers;
|
|
23258
|
+
client: string;
|
|
23259
|
+
telemetryDisabled: boolean;
|
|
23260
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
23261
|
+
apiOrigin?: string;
|
|
23262
|
+
draft: DraftRequest | null;
|
|
23263
|
+
locale: string | undefined;
|
|
23264
|
+
publishingDraft: string | undefined;
|
|
23265
|
+
look: LookGrant | undefined;
|
|
23266
|
+
user: {
|
|
23267
|
+
id: string;
|
|
23268
|
+
createdAt: Date;
|
|
23269
|
+
updatedAt: Date;
|
|
23270
|
+
email: string;
|
|
23271
|
+
emailVerified: boolean;
|
|
23272
|
+
name: string;
|
|
23273
|
+
image?: string | null | undefined;
|
|
23274
|
+
};
|
|
23275
|
+
session: {
|
|
23276
|
+
id: string;
|
|
23277
|
+
createdAt: Date;
|
|
23278
|
+
updatedAt: Date;
|
|
23279
|
+
userId: string;
|
|
23280
|
+
expiresAt: Date;
|
|
23281
|
+
token: string;
|
|
23282
|
+
ipAddress?: string | null | undefined;
|
|
23283
|
+
userAgent?: string | null | undefined;
|
|
23284
|
+
activeOrganizationId?: string | null | undefined;
|
|
23285
|
+
local?: boolean | null | undefined;
|
|
23286
|
+
studio?: boolean | null | undefined;
|
|
23287
|
+
};
|
|
23288
|
+
}>, Record<never, never>>, import("@orpc/server").Schema<unknown, unknown>, import("@orpc/server").Schema<{
|
|
23289
|
+
lastLook: boolean;
|
|
23290
|
+
model: "claude-haiku-5.5" | "claude-opus-5.5" | "claude-sonnet-5.5";
|
|
23291
|
+
projectId: number;
|
|
23292
|
+
projectName: string;
|
|
23293
|
+
organizationName: string | null;
|
|
23294
|
+
}[], {
|
|
23295
|
+
lastLook: boolean;
|
|
23296
|
+
model: "claude-haiku-5.5" | "claude-opus-5.5" | "claude-sonnet-5.5";
|
|
23297
|
+
projectId: number;
|
|
23298
|
+
projectName: string;
|
|
23299
|
+
organizationName: string | null;
|
|
23300
|
+
}[]>, Record<never, never>, Record<never, never>>;
|
|
23301
|
+
set: 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>>, {
|
|
23302
|
+
draft: DraftRequest | null;
|
|
23303
|
+
locale: string | undefined;
|
|
23304
|
+
publishingDraft: string | undefined;
|
|
23305
|
+
look: LookGrant | undefined;
|
|
23306
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
23307
|
+
draft: DraftRequest | null;
|
|
23308
|
+
locale: string | undefined;
|
|
23309
|
+
publishingDraft: string | undefined;
|
|
23310
|
+
look: LookGrant | undefined;
|
|
23311
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
23312
|
+
draft: DraftRequest | null;
|
|
23313
|
+
locale: string | undefined;
|
|
23314
|
+
publishingDraft: string | undefined;
|
|
23315
|
+
look: LookGrant | undefined;
|
|
23316
|
+
}>, {
|
|
23317
|
+
db: Database;
|
|
23318
|
+
env: Bindings;
|
|
23319
|
+
headers: Headers;
|
|
23320
|
+
client: string;
|
|
23321
|
+
telemetryDisabled: boolean;
|
|
23322
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
23323
|
+
apiOrigin?: string;
|
|
23324
|
+
draft: DraftRequest | null;
|
|
23325
|
+
locale: string | undefined;
|
|
23326
|
+
publishingDraft: string | undefined;
|
|
23327
|
+
look: LookGrant | undefined;
|
|
23328
|
+
user: {
|
|
23329
|
+
id: string;
|
|
23330
|
+
createdAt: Date;
|
|
23331
|
+
updatedAt: Date;
|
|
23332
|
+
email: string;
|
|
23333
|
+
emailVerified: boolean;
|
|
23334
|
+
name: string;
|
|
23335
|
+
image?: string | null | undefined;
|
|
23336
|
+
};
|
|
23337
|
+
session: {
|
|
23338
|
+
id: string;
|
|
23339
|
+
createdAt: Date;
|
|
23340
|
+
updatedAt: Date;
|
|
23341
|
+
userId: string;
|
|
23342
|
+
expiresAt: Date;
|
|
23343
|
+
token: string;
|
|
23344
|
+
ipAddress?: string | null | undefined;
|
|
23345
|
+
userAgent?: string | null | undefined;
|
|
23346
|
+
activeOrganizationId?: string | null | undefined;
|
|
23347
|
+
local?: boolean | null | undefined;
|
|
23348
|
+
studio?: boolean | null | undefined;
|
|
23349
|
+
};
|
|
23350
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
23351
|
+
draft: DraftRequest | null;
|
|
23352
|
+
locale: string | undefined;
|
|
23353
|
+
publishingDraft: string | undefined;
|
|
23354
|
+
look: LookGrant | undefined;
|
|
23355
|
+
}>, {
|
|
23356
|
+
db: Database;
|
|
23357
|
+
env: Bindings;
|
|
23358
|
+
headers: Headers;
|
|
23359
|
+
client: string;
|
|
23360
|
+
telemetryDisabled: boolean;
|
|
23361
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
23362
|
+
apiOrigin?: string;
|
|
23363
|
+
draft: DraftRequest | null;
|
|
23364
|
+
locale: string | undefined;
|
|
23365
|
+
publishingDraft: string | undefined;
|
|
23366
|
+
look: LookGrant | undefined;
|
|
23367
|
+
user: {
|
|
23368
|
+
id: string;
|
|
23369
|
+
createdAt: Date;
|
|
23370
|
+
updatedAt: Date;
|
|
23371
|
+
email: string;
|
|
23372
|
+
emailVerified: boolean;
|
|
23373
|
+
name: string;
|
|
23374
|
+
image?: string | null | undefined;
|
|
23375
|
+
};
|
|
23376
|
+
session: {
|
|
23377
|
+
id: string;
|
|
23378
|
+
createdAt: Date;
|
|
23379
|
+
updatedAt: Date;
|
|
23380
|
+
userId: string;
|
|
23381
|
+
expiresAt: Date;
|
|
23382
|
+
token: string;
|
|
23383
|
+
ipAddress?: string | null | undefined;
|
|
23384
|
+
userAgent?: string | null | undefined;
|
|
23385
|
+
activeOrganizationId?: string | null | undefined;
|
|
23386
|
+
local?: boolean | null | undefined;
|
|
23387
|
+
studio?: boolean | null | undefined;
|
|
23388
|
+
};
|
|
23389
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
23390
|
+
draft: DraftRequest | null;
|
|
23391
|
+
locale: string | undefined;
|
|
23392
|
+
publishingDraft: string | undefined;
|
|
23393
|
+
look: LookGrant | undefined;
|
|
23394
|
+
}>, {
|
|
23395
|
+
db: Database;
|
|
23396
|
+
env: Bindings;
|
|
23397
|
+
headers: Headers;
|
|
23398
|
+
client: string;
|
|
23399
|
+
telemetryDisabled: boolean;
|
|
23400
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
23401
|
+
apiOrigin?: string;
|
|
23402
|
+
draft: DraftRequest | null;
|
|
23403
|
+
locale: string | undefined;
|
|
23404
|
+
publishingDraft: string | undefined;
|
|
23405
|
+
look: LookGrant | undefined;
|
|
23406
|
+
user: {
|
|
23407
|
+
id: string;
|
|
23408
|
+
createdAt: Date;
|
|
23409
|
+
updatedAt: Date;
|
|
23410
|
+
email: string;
|
|
23411
|
+
emailVerified: boolean;
|
|
23412
|
+
name: string;
|
|
23413
|
+
image?: string | null | undefined;
|
|
23414
|
+
};
|
|
23415
|
+
session: {
|
|
23416
|
+
id: string;
|
|
23417
|
+
createdAt: Date;
|
|
23418
|
+
updatedAt: Date;
|
|
23419
|
+
userId: string;
|
|
23420
|
+
expiresAt: Date;
|
|
23421
|
+
token: string;
|
|
23422
|
+
ipAddress?: string | null | undefined;
|
|
23423
|
+
userAgent?: string | null | undefined;
|
|
23424
|
+
activeOrganizationId?: string | null | undefined;
|
|
23425
|
+
local?: boolean | null | undefined;
|
|
23426
|
+
studio?: boolean | null | undefined;
|
|
23427
|
+
};
|
|
23428
|
+
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
23429
|
+
projectId: import("zod").ZodNumber;
|
|
23430
|
+
lastLook: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
23431
|
+
model: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
23432
|
+
"claude-haiku-5.5": "claude-haiku-5.5";
|
|
23433
|
+
"claude-opus-5.5": "claude-opus-5.5";
|
|
23434
|
+
"claude-sonnet-5.5": "claude-sonnet-5.5";
|
|
23435
|
+
}>>;
|
|
23436
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
23437
|
+
lastLook: boolean;
|
|
23438
|
+
model: ArtifactAgentModel;
|
|
23439
|
+
projectId: number;
|
|
23440
|
+
}, {
|
|
23441
|
+
lastLook: boolean;
|
|
23442
|
+
model: ArtifactAgentModel;
|
|
23443
|
+
projectId: number;
|
|
23444
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
23445
|
+
};
|
|
21831
23446
|
};
|
|
21832
23447
|
type Router = typeof router;
|
|
21833
23448
|
//#endregion
|