@camox/api-contract 0.47.0 → 0.48.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/index.d.ts +541 -49
- package/dist/index.js +67 -1
- package/dist/projects.d.ts +5 -0
- package/dist/projects.js +14 -1
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/projects.ts +18 -0
- package/src/record-templates.ts +44 -0
- package/src/structured-data.ts +104 -0
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { DurableObject } from "cloudflare:workers";
|
|
|
14
14
|
import { CiParams, CloudflareArtifacts } from "@cloudflare/ci";
|
|
15
15
|
import "@cloudflare/ci/worker";
|
|
16
16
|
import { PosthogRegion } from "@camox/api-contract/analytics";
|
|
17
|
+
import { EvaluatedNode as EvaluatedNode$1, RecordText as RecordText$1 } from "@camox/api-contract";
|
|
17
18
|
import "@camox/ai-tools";
|
|
18
19
|
//#region src/artifact.d.ts
|
|
19
20
|
/**
|
|
@@ -26,6 +27,33 @@ export declare function artifactSourceTitle(source: string): string | undefined;
|
|
|
26
27
|
/** The artifact's name: its source's `<title>`, or "Untitled artifact". */
|
|
27
28
|
export declare function artifactTitle(source: string): string;
|
|
28
29
|
//#endregion
|
|
30
|
+
//#region src/record-templates.d.ts
|
|
31
|
+
/**
|
|
32
|
+
* A collection's `toTitle` and `toDescription` are record templates: text with `{{field}}` tokens
|
|
33
|
+
* naming the record's String fields, which the SDK writes and the API fills with each record's
|
|
34
|
+
* plain text. Both sides read them the same way through these helpers.
|
|
35
|
+
*/
|
|
36
|
+
/** The fields a record template's tokens name, in order, such as `firstName` and `lastName`. */
|
|
37
|
+
export declare function templateFields(template: string): string[];
|
|
38
|
+
/**
|
|
39
|
+
* The fields a record template names that aren't String fields of the content schema's
|
|
40
|
+
* properties: templates read fields as plain text, so they name no other field.
|
|
41
|
+
*/
|
|
42
|
+
export declare function nonStringTemplateFields(template: string, properties: Readonly<Record<string, object | undefined>>): string[];
|
|
43
|
+
/** How a record names itself: its title, and its description, or null when it has none. */
|
|
44
|
+
export type RecordText = {
|
|
45
|
+
title: string;
|
|
46
|
+
description: string | null;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* A record's title and description: its collection's templates filled with the plain text
|
|
50
|
+
* `textOf` reads from each field they name.
|
|
51
|
+
*/
|
|
52
|
+
export declare function recordText(templates: {
|
|
53
|
+
toTitle: string;
|
|
54
|
+
toDescription?: string | null;
|
|
55
|
+
}, textOf: (field: string) => string): RecordText;
|
|
56
|
+
//#endregion
|
|
29
57
|
//#region src/reference-query.d.ts
|
|
30
58
|
/**
|
|
31
59
|
* Rules for query-backed reference lists, shared by the SDK (builders) and the API (definition
|
|
@@ -45,6 +73,72 @@ export declare function isQueryBacked(field: object | null | undefined): boolean
|
|
|
45
73
|
*/
|
|
46
74
|
export declare function referenceQueryProblem(query: unknown, fieldTypeOf: (key: string) => unknown): string | undefined;
|
|
47
75
|
//#endregion
|
|
76
|
+
//#region src/structured-data.d.ts
|
|
77
|
+
/**
|
|
78
|
+
* Structured Data the API evaluates from block and repeatable item templates, for the runtime to
|
|
79
|
+
* put in a page's graph. Only the runtime knows the website's address, so where a node needs an
|
|
80
|
+
* absolute URL to a page of the website, the API leaves a marker the runtime resolves.
|
|
81
|
+
*/
|
|
82
|
+
/** A JSON value of a node the API evaluated, which may hold markers. */
|
|
83
|
+
export type StructuredDataValue = string | number | boolean | null | StructuredDataValue[] | {
|
|
84
|
+
[key: string]: StructuredDataValue;
|
|
85
|
+
};
|
|
86
|
+
/** A node the API evaluated from a template, before the runtime resolves its markers. */
|
|
87
|
+
export type EvaluatedNode = {
|
|
88
|
+
[key: string]: StructuredDataValue;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* A page of the website, by its path in a locale, whose absolute URL the runtime fills in. The
|
|
92
|
+
* path is locale-relative, as pages store it; without `locale`, it's the default locale's.
|
|
93
|
+
*/
|
|
94
|
+
export type PageUrlMarker = {
|
|
95
|
+
"@camox": "pageUrl";
|
|
96
|
+
path: string;
|
|
97
|
+
locale?: string;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* A link to a collection record's node, as templates and record pages' layouts leave it. Only the
|
|
101
|
+
* runtime knows the website's address, which a record's `@id` is built from, so the link names
|
|
102
|
+
* the record by its id, and the runtime gives it the record's `@id` in the page's locale.
|
|
103
|
+
*/
|
|
104
|
+
export type RecordLink = {
|
|
105
|
+
"@id": `camox:record:${string}`;
|
|
106
|
+
};
|
|
107
|
+
/** A link to the node of the record with id `id`. */
|
|
108
|
+
export declare function recordLink(id: string): RecordLink;
|
|
109
|
+
/** The id of the record a value links, when it is a record link. */
|
|
110
|
+
export declare function linkedRecordId(value: unknown): string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* The nodes of the records a read's content references, from their collections' templates, and
|
|
113
|
+
* of the records those link in turn. Their `@id`s and links are record links.
|
|
114
|
+
*/
|
|
115
|
+
export type RecordStructuredData = {
|
|
116
|
+
/** Each record's node, by record id. */
|
|
117
|
+
nodes: Record<string, EvaluatedNode>;
|
|
118
|
+
/**
|
|
119
|
+
* The records with nodes that the content references itself, in the order found: the page's
|
|
120
|
+
* `mentions`, unless a node places them.
|
|
121
|
+
*/
|
|
122
|
+
referenced: string[];
|
|
123
|
+
};
|
|
124
|
+
/** The Article types, whose name is their `headline`. */
|
|
125
|
+
export declare const ARTICLE_TYPES: readonly ["Article", "BlogPosting", "NewsArticle", "TechArticle", "ScholarlyArticle", "Report", "SocialMediaPosting"];
|
|
126
|
+
/** Whether a value is a marker for a page's URL. */
|
|
127
|
+
export declare function isPageUrlMarker(value: unknown): value is PageUrlMarker;
|
|
128
|
+
/**
|
|
129
|
+
* A part of a block's or repeatable item's template shown only while one of its settings holds:
|
|
130
|
+
* a Boolean setting is on, or an Enum setting `equals` a value. The API evaluates `show` when it
|
|
131
|
+
* does and leaves the part out otherwise; a list in a list adds its entries.
|
|
132
|
+
*/
|
|
133
|
+
export type SettingCondition = {
|
|
134
|
+
"@camox": "if";
|
|
135
|
+
setting: `settings.${string}` | `itemSettings.${string}`;
|
|
136
|
+
equals?: string;
|
|
137
|
+
show: unknown;
|
|
138
|
+
};
|
|
139
|
+
/** Whether a template's value is shown only under a setting. */
|
|
140
|
+
export declare function isSettingCondition(value: unknown): value is SettingCondition;
|
|
141
|
+
//#endregion
|
|
48
142
|
//#region ../../apps/api/src/domains/layouts/schema.d.ts
|
|
49
143
|
/** Which collection a layout's record pages render, and the field they're found by. */
|
|
50
144
|
type RecordPages = {
|
|
@@ -1199,6 +1293,40 @@ declare const files: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
|
1199
1293
|
identity: undefined;
|
|
1200
1294
|
generated: undefined;
|
|
1201
1295
|
}, {}, {}>;
|
|
1296
|
+
width: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1297
|
+
name: "width";
|
|
1298
|
+
tableName: "files";
|
|
1299
|
+
dataType: "number";
|
|
1300
|
+
columnType: "SQLiteInteger";
|
|
1301
|
+
data: number;
|
|
1302
|
+
driverParam: number;
|
|
1303
|
+
notNull: false;
|
|
1304
|
+
hasDefault: false;
|
|
1305
|
+
isPrimaryKey: false;
|
|
1306
|
+
isAutoincrement: false;
|
|
1307
|
+
hasRuntimeDefault: false;
|
|
1308
|
+
enumValues: undefined;
|
|
1309
|
+
baseColumn: never;
|
|
1310
|
+
identity: undefined;
|
|
1311
|
+
generated: undefined;
|
|
1312
|
+
}, {}, {}>;
|
|
1313
|
+
height: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1314
|
+
name: "height";
|
|
1315
|
+
tableName: "files";
|
|
1316
|
+
dataType: "number";
|
|
1317
|
+
columnType: "SQLiteInteger";
|
|
1318
|
+
data: number;
|
|
1319
|
+
driverParam: number;
|
|
1320
|
+
notNull: false;
|
|
1321
|
+
hasDefault: false;
|
|
1322
|
+
isPrimaryKey: false;
|
|
1323
|
+
isAutoincrement: false;
|
|
1324
|
+
hasRuntimeDefault: false;
|
|
1325
|
+
enumValues: undefined;
|
|
1326
|
+
baseColumn: never;
|
|
1327
|
+
identity: undefined;
|
|
1328
|
+
generated: undefined;
|
|
1329
|
+
}, {}, {}>;
|
|
1202
1330
|
blobId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1203
1331
|
name: "blob_id";
|
|
1204
1332
|
tableName: "files";
|
|
@@ -1532,6 +1660,25 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
|
|
|
1532
1660
|
length: number | undefined;
|
|
1533
1661
|
$type: "us" | "eu";
|
|
1534
1662
|
}>;
|
|
1663
|
+
socialProfiles: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1664
|
+
name: "social_profiles";
|
|
1665
|
+
tableName: "projects";
|
|
1666
|
+
dataType: "json";
|
|
1667
|
+
columnType: "SQLiteTextJson";
|
|
1668
|
+
data: string[];
|
|
1669
|
+
driverParam: string;
|
|
1670
|
+
notNull: true;
|
|
1671
|
+
hasDefault: true;
|
|
1672
|
+
isPrimaryKey: false;
|
|
1673
|
+
isAutoincrement: false;
|
|
1674
|
+
hasRuntimeDefault: false;
|
|
1675
|
+
enumValues: undefined;
|
|
1676
|
+
baseColumn: never;
|
|
1677
|
+
identity: undefined;
|
|
1678
|
+
generated: undefined;
|
|
1679
|
+
}, {}, {
|
|
1680
|
+
$type: string[];
|
|
1681
|
+
}>;
|
|
1535
1682
|
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1536
1683
|
name: "created_at";
|
|
1537
1684
|
tableName: "projects";
|
|
@@ -3395,6 +3542,40 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
|
|
|
3395
3542
|
identity: undefined;
|
|
3396
3543
|
generated: undefined;
|
|
3397
3544
|
}, {}, {}>;
|
|
3545
|
+
width: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3546
|
+
name: "width";
|
|
3547
|
+
tableName: "files";
|
|
3548
|
+
dataType: "number";
|
|
3549
|
+
columnType: "SQLiteInteger";
|
|
3550
|
+
data: number;
|
|
3551
|
+
driverParam: number;
|
|
3552
|
+
notNull: false;
|
|
3553
|
+
hasDefault: false;
|
|
3554
|
+
isPrimaryKey: false;
|
|
3555
|
+
isAutoincrement: false;
|
|
3556
|
+
hasRuntimeDefault: false;
|
|
3557
|
+
enumValues: undefined;
|
|
3558
|
+
baseColumn: never;
|
|
3559
|
+
identity: undefined;
|
|
3560
|
+
generated: undefined;
|
|
3561
|
+
}, {}, {}>;
|
|
3562
|
+
height: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3563
|
+
name: "height";
|
|
3564
|
+
tableName: "files";
|
|
3565
|
+
dataType: "number";
|
|
3566
|
+
columnType: "SQLiteInteger";
|
|
3567
|
+
data: number;
|
|
3568
|
+
driverParam: number;
|
|
3569
|
+
notNull: false;
|
|
3570
|
+
hasDefault: false;
|
|
3571
|
+
isPrimaryKey: false;
|
|
3572
|
+
isAutoincrement: false;
|
|
3573
|
+
hasRuntimeDefault: false;
|
|
3574
|
+
enumValues: undefined;
|
|
3575
|
+
baseColumn: never;
|
|
3576
|
+
identity: undefined;
|
|
3577
|
+
generated: undefined;
|
|
3578
|
+
}, {}, {}>;
|
|
3398
3579
|
blobId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3399
3580
|
name: "blob_id";
|
|
3400
3581
|
tableName: "files";
|
|
@@ -4063,8 +4244,8 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
|
|
|
4063
4244
|
}, {}, {
|
|
4064
4245
|
length: undefined;
|
|
4065
4246
|
}>;
|
|
4066
|
-
|
|
4067
|
-
name: "
|
|
4247
|
+
toTitle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4248
|
+
name: "to_title";
|
|
4068
4249
|
tableName: "collection_definitions";
|
|
4069
4250
|
dataType: "string";
|
|
4070
4251
|
columnType: "SQLiteText";
|
|
@@ -4080,7 +4261,45 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
|
|
|
4080
4261
|
identity: undefined;
|
|
4081
4262
|
generated: undefined;
|
|
4082
4263
|
}, {}, {
|
|
4083
|
-
length: undefined;
|
|
4264
|
+
length: number | undefined;
|
|
4265
|
+
}>;
|
|
4266
|
+
toDescription: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4267
|
+
name: "to_description";
|
|
4268
|
+
tableName: "collection_definitions";
|
|
4269
|
+
dataType: "string";
|
|
4270
|
+
columnType: "SQLiteText";
|
|
4271
|
+
data: string;
|
|
4272
|
+
driverParam: string;
|
|
4273
|
+
notNull: false;
|
|
4274
|
+
hasDefault: false;
|
|
4275
|
+
isPrimaryKey: false;
|
|
4276
|
+
isAutoincrement: false;
|
|
4277
|
+
hasRuntimeDefault: false;
|
|
4278
|
+
enumValues: [string, ...string[]];
|
|
4279
|
+
baseColumn: never;
|
|
4280
|
+
identity: undefined;
|
|
4281
|
+
generated: undefined;
|
|
4282
|
+
}, {}, {
|
|
4283
|
+
length: number | undefined;
|
|
4284
|
+
}>;
|
|
4285
|
+
toStructuredData: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4286
|
+
name: "to_structured_data";
|
|
4287
|
+
tableName: "collection_definitions";
|
|
4288
|
+
dataType: "json";
|
|
4289
|
+
columnType: "SQLiteTextJson";
|
|
4290
|
+
data: Record<string, unknown> | null;
|
|
4291
|
+
driverParam: string;
|
|
4292
|
+
notNull: false;
|
|
4293
|
+
hasDefault: false;
|
|
4294
|
+
isPrimaryKey: false;
|
|
4295
|
+
isAutoincrement: false;
|
|
4296
|
+
hasRuntimeDefault: false;
|
|
4297
|
+
enumValues: undefined;
|
|
4298
|
+
baseColumn: never;
|
|
4299
|
+
identity: undefined;
|
|
4300
|
+
generated: undefined;
|
|
4301
|
+
}, {}, {
|
|
4302
|
+
$type: Record<string, unknown> | null;
|
|
4084
4303
|
}>;
|
|
4085
4304
|
contentSchema: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4086
4305
|
name: "content_schema";
|
|
@@ -5876,10 +6095,9 @@ type FileView<F extends FileRow = FileRow> = Omit<F, "alt" | "filename"> & FileM
|
|
|
5876
6095
|
};
|
|
5877
6096
|
//#endregion
|
|
5878
6097
|
//#region ../../apps/api/src/domains/content/references.d.ts
|
|
5879
|
-
type ResolvedReference = {
|
|
6098
|
+
type ResolvedReference = RecordText$1 & {
|
|
5880
6099
|
id: string;
|
|
5881
6100
|
collectionId: string;
|
|
5882
|
-
label: string;
|
|
5883
6101
|
content: Record<string, unknown>;
|
|
5884
6102
|
contentSchema: unknown;
|
|
5885
6103
|
/** The records this record references, one hop further; absent beyond the second hop. */
|
|
@@ -5905,11 +6123,19 @@ type Conformed<T extends {
|
|
|
5905
6123
|
//#endregion
|
|
5906
6124
|
//#region ../../apps/api/src/domains/content/blocks.d.ts
|
|
5907
6125
|
type BlockRow = typeof blocks.$inferSelect;
|
|
5908
|
-
/**
|
|
6126
|
+
/**
|
|
6127
|
+
* A block as readers see it: its shared content if it's a synced placement, its summary, and its
|
|
6128
|
+
* title, which names it until it has a summary.
|
|
6129
|
+
*/
|
|
5909
6130
|
type ShownBlock = Conformed<BlockRow> & {
|
|
5910
6131
|
summary: string;
|
|
6132
|
+
title: string;
|
|
5911
6133
|
};
|
|
5912
6134
|
//#endregion
|
|
6135
|
+
//#region ../../apps/api/src/domains/content/structured-data.d.ts
|
|
6136
|
+
/** Each block's Structured Data nodes, by block id. Blocks without nodes are left out. */
|
|
6137
|
+
type BlockStructuredData = Record<string, EvaluatedNode$1[]>;
|
|
6138
|
+
//#endregion
|
|
5913
6139
|
//#region ../../apps/api/src/domains/locales/service.d.ts
|
|
5914
6140
|
/** A locale as people and agents see it. */
|
|
5915
6141
|
type LocaleView = {
|
|
@@ -5928,7 +6154,7 @@ type MissingPage = {
|
|
|
5928
6154
|
type MissingRecord = {
|
|
5929
6155
|
id: string;
|
|
5930
6156
|
collectionId: string;
|
|
5931
|
-
|
|
6157
|
+
title: string;
|
|
5932
6158
|
};
|
|
5933
6159
|
//#endregion
|
|
5934
6160
|
//#region ../../apps/api/src/domains/drafts/people.d.ts
|
|
@@ -5980,7 +6206,10 @@ type SubjectKind = EntityKind | "definition";
|
|
|
5980
6206
|
type Subject = {
|
|
5981
6207
|
entity: SubjectKind;
|
|
5982
6208
|
id: string;
|
|
5983
|
-
/**
|
|
6209
|
+
/**
|
|
6210
|
+
* What the entity is to people, e.g. a block's Summary, else its title, else its definition's
|
|
6211
|
+
* title.
|
|
6212
|
+
*/
|
|
5984
6213
|
label: string;
|
|
5985
6214
|
owner: Owner;
|
|
5986
6215
|
};
|
|
@@ -6118,6 +6347,7 @@ declare const router: {
|
|
|
6118
6347
|
ga4MeasurementId: string | null;
|
|
6119
6348
|
posthogProjectApiKey: string | null;
|
|
6120
6349
|
posthogRegion: "us" | "eu" | null;
|
|
6350
|
+
socialProfiles: string[];
|
|
6121
6351
|
createdAt: number;
|
|
6122
6352
|
updatedAt: number;
|
|
6123
6353
|
}[], {
|
|
@@ -6132,6 +6362,7 @@ declare const router: {
|
|
|
6132
6362
|
ga4MeasurementId: string | null;
|
|
6133
6363
|
posthogProjectApiKey: string | null;
|
|
6134
6364
|
posthogRegion: "us" | "eu" | null;
|
|
6365
|
+
socialProfiles: string[];
|
|
6135
6366
|
createdAt: number;
|
|
6136
6367
|
updatedAt: number;
|
|
6137
6368
|
}[]>, Record<never, never>, Record<never, never>>;
|
|
@@ -6188,6 +6419,7 @@ declare const router: {
|
|
|
6188
6419
|
ga4MeasurementId: string | null;
|
|
6189
6420
|
posthogProjectApiKey: string | null;
|
|
6190
6421
|
posthogRegion: "us" | "eu" | null;
|
|
6422
|
+
socialProfiles: string[];
|
|
6191
6423
|
createdAt: number;
|
|
6192
6424
|
updatedAt: number;
|
|
6193
6425
|
}, {
|
|
@@ -6202,6 +6434,7 @@ declare const router: {
|
|
|
6202
6434
|
ga4MeasurementId: string | null;
|
|
6203
6435
|
posthogProjectApiKey: string | null;
|
|
6204
6436
|
posthogRegion: "us" | "eu" | null;
|
|
6437
|
+
socialProfiles: string[];
|
|
6205
6438
|
createdAt: number;
|
|
6206
6439
|
updatedAt: number;
|
|
6207
6440
|
}>, Record<never, never>, Record<never, never>>;
|
|
@@ -6249,9 +6482,9 @@ declare const router: {
|
|
|
6249
6482
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
6250
6483
|
organizationSlug: string | null;
|
|
6251
6484
|
analytics: AnalyticsProviders;
|
|
6485
|
+
uuid: string;
|
|
6252
6486
|
id: number;
|
|
6253
6487
|
name: string;
|
|
6254
|
-
uuid: string;
|
|
6255
6488
|
slug: string;
|
|
6256
6489
|
deployToken: string;
|
|
6257
6490
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6261,13 +6494,14 @@ declare const router: {
|
|
|
6261
6494
|
ga4MeasurementId: string | null;
|
|
6262
6495
|
posthogProjectApiKey: string | null;
|
|
6263
6496
|
posthogRegion: "us" | "eu" | null;
|
|
6497
|
+
socialProfiles: string[];
|
|
6264
6498
|
updatedAt: number;
|
|
6265
6499
|
}, {
|
|
6266
6500
|
organizationSlug: string | null;
|
|
6267
6501
|
analytics: AnalyticsProviders;
|
|
6502
|
+
uuid: string;
|
|
6268
6503
|
id: number;
|
|
6269
6504
|
name: string;
|
|
6270
|
-
uuid: string;
|
|
6271
6505
|
slug: string;
|
|
6272
6506
|
deployToken: string;
|
|
6273
6507
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6277,6 +6511,7 @@ declare const router: {
|
|
|
6277
6511
|
ga4MeasurementId: string | null;
|
|
6278
6512
|
posthogProjectApiKey: string | null;
|
|
6279
6513
|
posthogRegion: "us" | "eu" | null;
|
|
6514
|
+
socialProfiles: string[];
|
|
6280
6515
|
updatedAt: number;
|
|
6281
6516
|
}>, Record<never, never>, Record<never, never>>;
|
|
6282
6517
|
getByUuid: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
@@ -6323,9 +6558,9 @@ declare const router: {
|
|
|
6323
6558
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
6324
6559
|
organizationSlug: string | null;
|
|
6325
6560
|
analytics: AnalyticsProviders;
|
|
6561
|
+
uuid: string;
|
|
6326
6562
|
id: number;
|
|
6327
6563
|
name: string;
|
|
6328
|
-
uuid: string;
|
|
6329
6564
|
slug: string;
|
|
6330
6565
|
deployToken: string;
|
|
6331
6566
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6335,13 +6570,14 @@ declare const router: {
|
|
|
6335
6570
|
ga4MeasurementId: string | null;
|
|
6336
6571
|
posthogProjectApiKey: string | null;
|
|
6337
6572
|
posthogRegion: "us" | "eu" | null;
|
|
6573
|
+
socialProfiles: string[];
|
|
6338
6574
|
updatedAt: number;
|
|
6339
6575
|
}, {
|
|
6340
6576
|
organizationSlug: string | null;
|
|
6341
6577
|
analytics: AnalyticsProviders;
|
|
6578
|
+
uuid: string;
|
|
6342
6579
|
id: number;
|
|
6343
6580
|
name: string;
|
|
6344
|
-
uuid: string;
|
|
6345
6581
|
slug: string;
|
|
6346
6582
|
deployToken: string;
|
|
6347
6583
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6351,8 +6587,25 @@ declare const router: {
|
|
|
6351
6587
|
ga4MeasurementId: string | null;
|
|
6352
6588
|
posthogProjectApiKey: string | null;
|
|
6353
6589
|
posthogRegion: "us" | "eu" | null;
|
|
6590
|
+
socialProfiles: string[];
|
|
6354
6591
|
updatedAt: number;
|
|
6355
6592
|
}>, Record<never, never>, Record<never, never>>;
|
|
6593
|
+
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>>, {
|
|
6594
|
+
draft: DraftRequest | null;
|
|
6595
|
+
locale: string | undefined;
|
|
6596
|
+
}>, import("zod").ZodObject<{
|
|
6597
|
+
projectUuid: import("zod").ZodUUID;
|
|
6598
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
6599
|
+
id: number;
|
|
6600
|
+
updatedAt: number;
|
|
6601
|
+
analytics: AnalyticsProviders;
|
|
6602
|
+
socialProfiles: string[];
|
|
6603
|
+
}, {
|
|
6604
|
+
id: number;
|
|
6605
|
+
updatedAt: number;
|
|
6606
|
+
analytics: AnalyticsProviders;
|
|
6607
|
+
socialProfiles: string[];
|
|
6608
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
6356
6609
|
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>>, {
|
|
6357
6610
|
draft: DraftRequest | null;
|
|
6358
6611
|
locale: string | undefined;
|
|
@@ -6397,9 +6650,9 @@ declare const router: {
|
|
|
6397
6650
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
6398
6651
|
organizationSlug: string | null;
|
|
6399
6652
|
analytics: AnalyticsProviders;
|
|
6653
|
+
uuid: string;
|
|
6400
6654
|
id: number;
|
|
6401
6655
|
name: string;
|
|
6402
|
-
uuid: string;
|
|
6403
6656
|
slug: string;
|
|
6404
6657
|
deployToken: string;
|
|
6405
6658
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6409,13 +6662,14 @@ declare const router: {
|
|
|
6409
6662
|
ga4MeasurementId: string | null;
|
|
6410
6663
|
posthogProjectApiKey: string | null;
|
|
6411
6664
|
posthogRegion: "us" | "eu" | null;
|
|
6665
|
+
socialProfiles: string[];
|
|
6412
6666
|
updatedAt: number;
|
|
6413
6667
|
}, {
|
|
6414
6668
|
organizationSlug: string | null;
|
|
6415
6669
|
analytics: AnalyticsProviders;
|
|
6670
|
+
uuid: string;
|
|
6416
6671
|
id: number;
|
|
6417
6672
|
name: string;
|
|
6418
|
-
uuid: string;
|
|
6419
6673
|
slug: string;
|
|
6420
6674
|
deployToken: string;
|
|
6421
6675
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6425,6 +6679,7 @@ declare const router: {
|
|
|
6425
6679
|
ga4MeasurementId: string | null;
|
|
6426
6680
|
posthogProjectApiKey: string | null;
|
|
6427
6681
|
posthogRegion: "us" | "eu" | null;
|
|
6682
|
+
socialProfiles: string[];
|
|
6428
6683
|
updatedAt: number;
|
|
6429
6684
|
}>, Record<never, never>, Record<never, never>>;
|
|
6430
6685
|
checkSlugAvailability: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
@@ -6525,9 +6780,9 @@ declare const router: {
|
|
|
6525
6780
|
slug: import("zod").ZodString;
|
|
6526
6781
|
organizationId: import("zod").ZodString;
|
|
6527
6782
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
6783
|
+
uuid: string;
|
|
6528
6784
|
id: number;
|
|
6529
6785
|
name: string;
|
|
6530
|
-
uuid: string;
|
|
6531
6786
|
slug: string;
|
|
6532
6787
|
deployToken: string;
|
|
6533
6788
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6537,11 +6792,12 @@ declare const router: {
|
|
|
6537
6792
|
ga4MeasurementId: string | null;
|
|
6538
6793
|
posthogProjectApiKey: string | null;
|
|
6539
6794
|
posthogRegion: "us" | "eu" | null;
|
|
6795
|
+
socialProfiles: string[];
|
|
6540
6796
|
updatedAt: number;
|
|
6541
6797
|
}, {
|
|
6798
|
+
uuid: string;
|
|
6542
6799
|
id: number;
|
|
6543
6800
|
name: string;
|
|
6544
|
-
uuid: string;
|
|
6545
6801
|
slug: string;
|
|
6546
6802
|
deployToken: string;
|
|
6547
6803
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6551,6 +6807,7 @@ declare const router: {
|
|
|
6551
6807
|
ga4MeasurementId: string | null;
|
|
6552
6808
|
posthogProjectApiKey: string | null;
|
|
6553
6809
|
posthogRegion: "us" | "eu" | null;
|
|
6810
|
+
socialProfiles: string[];
|
|
6554
6811
|
updatedAt: number;
|
|
6555
6812
|
}>, Record<never, never>, Record<never, never>>;
|
|
6556
6813
|
update: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
@@ -6596,9 +6853,9 @@ declare const router: {
|
|
|
6596
6853
|
id: import("zod").ZodNumber;
|
|
6597
6854
|
name: import("zod").ZodString;
|
|
6598
6855
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
6856
|
+
uuid: string;
|
|
6599
6857
|
id: number;
|
|
6600
6858
|
name: string;
|
|
6601
|
-
uuid: string;
|
|
6602
6859
|
slug: string;
|
|
6603
6860
|
deployToken: string;
|
|
6604
6861
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6608,11 +6865,12 @@ declare const router: {
|
|
|
6608
6865
|
ga4MeasurementId: string | null;
|
|
6609
6866
|
posthogProjectApiKey: string | null;
|
|
6610
6867
|
posthogRegion: "us" | "eu" | null;
|
|
6868
|
+
socialProfiles: string[];
|
|
6611
6869
|
updatedAt: number;
|
|
6612
6870
|
}, {
|
|
6871
|
+
uuid: string;
|
|
6613
6872
|
id: number;
|
|
6614
6873
|
name: string;
|
|
6615
|
-
uuid: string;
|
|
6616
6874
|
slug: string;
|
|
6617
6875
|
deployToken: string;
|
|
6618
6876
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6622,6 +6880,7 @@ declare const router: {
|
|
|
6622
6880
|
ga4MeasurementId: string | null;
|
|
6623
6881
|
posthogProjectApiKey: string | null;
|
|
6624
6882
|
posthogRegion: "us" | "eu" | null;
|
|
6883
|
+
socialProfiles: string[];
|
|
6625
6884
|
updatedAt: number;
|
|
6626
6885
|
}>, Record<never, never>, Record<never, never>>;
|
|
6627
6886
|
updateAnalytics: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
@@ -6682,6 +6941,55 @@ declare const router: {
|
|
|
6682
6941
|
analytics: AnalyticsProviders;
|
|
6683
6942
|
updatedAt: number;
|
|
6684
6943
|
}>, Record<never, never>, Record<never, never>>;
|
|
6944
|
+
updateSocialProfiles: 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>>, {
|
|
6945
|
+
draft: DraftRequest | null;
|
|
6946
|
+
locale: string | undefined;
|
|
6947
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
6948
|
+
draft: DraftRequest | null;
|
|
6949
|
+
locale: string | undefined;
|
|
6950
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
6951
|
+
draft: DraftRequest | null;
|
|
6952
|
+
locale: string | undefined;
|
|
6953
|
+
}>, {
|
|
6954
|
+
user: {
|
|
6955
|
+
id: string;
|
|
6956
|
+
createdAt: Date;
|
|
6957
|
+
updatedAt: Date;
|
|
6958
|
+
email: string;
|
|
6959
|
+
emailVerified: boolean;
|
|
6960
|
+
name: string;
|
|
6961
|
+
image?: string | null | undefined;
|
|
6962
|
+
};
|
|
6963
|
+
session: {
|
|
6964
|
+
id: string;
|
|
6965
|
+
createdAt: Date;
|
|
6966
|
+
updatedAt: Date;
|
|
6967
|
+
userId: string;
|
|
6968
|
+
expiresAt: Date;
|
|
6969
|
+
token: string;
|
|
6970
|
+
ipAddress?: string | null | undefined;
|
|
6971
|
+
userAgent?: string | null | undefined;
|
|
6972
|
+
activeOrganizationId?: string | null | undefined;
|
|
6973
|
+
studio?: boolean | null | undefined;
|
|
6974
|
+
};
|
|
6975
|
+
db: Database;
|
|
6976
|
+
env: Bindings;
|
|
6977
|
+
headers: Headers;
|
|
6978
|
+
client: string;
|
|
6979
|
+
telemetryDisabled: boolean;
|
|
6980
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
6981
|
+
draft: DraftRequest | null;
|
|
6982
|
+
locale: string | undefined;
|
|
6983
|
+
}>, import("zod").ZodObject<{
|
|
6984
|
+
id: import("zod").ZodNumber;
|
|
6985
|
+
socialProfiles: import("zod").ZodArray<import("zod").ZodString>;
|
|
6986
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
6987
|
+
socialProfiles: string[];
|
|
6988
|
+
updatedAt: number;
|
|
6989
|
+
}, {
|
|
6990
|
+
socialProfiles: string[];
|
|
6991
|
+
updatedAt: number;
|
|
6992
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
6685
6993
|
delete: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
6686
6994
|
draft: DraftRequest | null;
|
|
6687
6995
|
locale: string | undefined;
|
|
@@ -6724,9 +7032,9 @@ declare const router: {
|
|
|
6724
7032
|
}>, import("zod").ZodObject<{
|
|
6725
7033
|
id: import("zod").ZodNumber;
|
|
6726
7034
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7035
|
+
uuid: string;
|
|
6727
7036
|
id: number;
|
|
6728
7037
|
name: string;
|
|
6729
|
-
uuid: string;
|
|
6730
7038
|
slug: string;
|
|
6731
7039
|
deployToken: string;
|
|
6732
7040
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6736,11 +7044,12 @@ declare const router: {
|
|
|
6736
7044
|
ga4MeasurementId: string | null;
|
|
6737
7045
|
posthogProjectApiKey: string | null;
|
|
6738
7046
|
posthogRegion: "us" | "eu" | null;
|
|
7047
|
+
socialProfiles: string[];
|
|
6739
7048
|
updatedAt: number;
|
|
6740
7049
|
} | undefined, {
|
|
7050
|
+
uuid: string;
|
|
6741
7051
|
id: number;
|
|
6742
7052
|
name: string;
|
|
6743
|
-
uuid: string;
|
|
6744
7053
|
slug: string;
|
|
6745
7054
|
deployToken: string;
|
|
6746
7055
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
@@ -6750,6 +7059,7 @@ declare const router: {
|
|
|
6750
7059
|
ga4MeasurementId: string | null;
|
|
6751
7060
|
posthogProjectApiKey: string | null;
|
|
6752
7061
|
posthogRegion: "us" | "eu" | null;
|
|
7062
|
+
socialProfiles: string[];
|
|
6753
7063
|
updatedAt: number;
|
|
6754
7064
|
} | undefined>, Record<never, never>, Record<never, never>>;
|
|
6755
7065
|
};
|
|
@@ -6794,6 +7104,7 @@ declare const router: {
|
|
|
6794
7104
|
id: number;
|
|
6795
7105
|
updatedAt: number;
|
|
6796
7106
|
analytics: AnalyticsProviders;
|
|
7107
|
+
socialProfiles: string[];
|
|
6797
7108
|
};
|
|
6798
7109
|
layout: {
|
|
6799
7110
|
layoutId: string;
|
|
@@ -6827,6 +7138,7 @@ declare const router: {
|
|
|
6827
7138
|
content: Record<string, unknown>;
|
|
6828
7139
|
} & {
|
|
6829
7140
|
summary: string;
|
|
7141
|
+
title: string;
|
|
6830
7142
|
} & {
|
|
6831
7143
|
references: ResolvedReferences;
|
|
6832
7144
|
})[];
|
|
@@ -6856,10 +7168,13 @@ declare const router: {
|
|
|
6856
7168
|
} & {
|
|
6857
7169
|
blockId: string;
|
|
6858
7170
|
summary: string;
|
|
7171
|
+
title: string;
|
|
6859
7172
|
} & {
|
|
6860
7173
|
references: ResolvedReferences;
|
|
6861
7174
|
})[];
|
|
6862
7175
|
files: FileView[];
|
|
7176
|
+
structuredData: BlockStructuredData;
|
|
7177
|
+
recordStructuredData: import("@camox/api-contract").RecordStructuredData;
|
|
6863
7178
|
}, {
|
|
6864
7179
|
page: {
|
|
6865
7180
|
blockIds: string[];
|
|
@@ -6894,6 +7209,7 @@ declare const router: {
|
|
|
6894
7209
|
id: number;
|
|
6895
7210
|
updatedAt: number;
|
|
6896
7211
|
analytics: AnalyticsProviders;
|
|
7212
|
+
socialProfiles: string[];
|
|
6897
7213
|
};
|
|
6898
7214
|
layout: {
|
|
6899
7215
|
layoutId: string;
|
|
@@ -6927,6 +7243,7 @@ declare const router: {
|
|
|
6927
7243
|
content: Record<string, unknown>;
|
|
6928
7244
|
} & {
|
|
6929
7245
|
summary: string;
|
|
7246
|
+
title: string;
|
|
6930
7247
|
} & {
|
|
6931
7248
|
references: ResolvedReferences;
|
|
6932
7249
|
})[];
|
|
@@ -6956,10 +7273,13 @@ declare const router: {
|
|
|
6956
7273
|
} & {
|
|
6957
7274
|
blockId: string;
|
|
6958
7275
|
summary: string;
|
|
7276
|
+
title: string;
|
|
6959
7277
|
} & {
|
|
6960
7278
|
references: ResolvedReferences;
|
|
6961
7279
|
})[];
|
|
6962
7280
|
files: FileView[];
|
|
7281
|
+
structuredData: BlockStructuredData;
|
|
7282
|
+
recordStructuredData: import("@camox/api-contract").RecordStructuredData;
|
|
6963
7283
|
}>, Record<never, never>, Record<never, never>>;
|
|
6964
7284
|
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>>, {
|
|
6965
7285
|
draft: DraftRequest | null;
|
|
@@ -6970,6 +7290,8 @@ declare const router: {
|
|
|
6970
7290
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
6971
7291
|
page: {
|
|
6972
7292
|
blockIds: string[];
|
|
7293
|
+
firstPublishedAt: number | null;
|
|
7294
|
+
publishedAt: number | null;
|
|
6973
7295
|
id: string;
|
|
6974
7296
|
draftId: string | null;
|
|
6975
7297
|
deleted: boolean;
|
|
@@ -6981,8 +7303,6 @@ declare const router: {
|
|
|
6981
7303
|
rowId: number;
|
|
6982
7304
|
version: number;
|
|
6983
7305
|
baseVersion: number | null;
|
|
6984
|
-
firstPublishedAt: number | null;
|
|
6985
|
-
publishedAt: number | null;
|
|
6986
7306
|
publishedBy: string | null;
|
|
6987
7307
|
pathSegment: string;
|
|
6988
7308
|
fullPath: string;
|
|
@@ -7001,6 +7321,7 @@ declare const router: {
|
|
|
7001
7321
|
id: number;
|
|
7002
7322
|
updatedAt: number;
|
|
7003
7323
|
analytics: AnalyticsProviders;
|
|
7324
|
+
socialProfiles: string[];
|
|
7004
7325
|
};
|
|
7005
7326
|
layout: {
|
|
7006
7327
|
layoutId: string;
|
|
@@ -7012,6 +7333,8 @@ declare const router: {
|
|
|
7012
7333
|
}, {
|
|
7013
7334
|
page: {
|
|
7014
7335
|
blockIds: string[];
|
|
7336
|
+
firstPublishedAt: number | null;
|
|
7337
|
+
publishedAt: number | null;
|
|
7015
7338
|
id: string;
|
|
7016
7339
|
draftId: string | null;
|
|
7017
7340
|
deleted: boolean;
|
|
@@ -7023,8 +7346,6 @@ declare const router: {
|
|
|
7023
7346
|
rowId: number;
|
|
7024
7347
|
version: number;
|
|
7025
7348
|
baseVersion: number | null;
|
|
7026
|
-
firstPublishedAt: number | null;
|
|
7027
|
-
publishedAt: number | null;
|
|
7028
7349
|
publishedBy: string | null;
|
|
7029
7350
|
pathSegment: string;
|
|
7030
7351
|
fullPath: string;
|
|
@@ -7043,6 +7364,7 @@ declare const router: {
|
|
|
7043
7364
|
id: number;
|
|
7044
7365
|
updatedAt: number;
|
|
7045
7366
|
analytics: AnalyticsProviders;
|
|
7367
|
+
socialProfiles: string[];
|
|
7046
7368
|
};
|
|
7047
7369
|
layout: {
|
|
7048
7370
|
layoutId: string;
|
|
@@ -8029,6 +8351,7 @@ declare const router: {
|
|
|
8029
8351
|
content: Record<string, unknown>;
|
|
8030
8352
|
} & {
|
|
8031
8353
|
summary: string;
|
|
8354
|
+
title: string;
|
|
8032
8355
|
} & {
|
|
8033
8356
|
references: ResolvedReferences;
|
|
8034
8357
|
};
|
|
@@ -8058,6 +8381,7 @@ declare const router: {
|
|
|
8058
8381
|
} & {
|
|
8059
8382
|
blockId: string;
|
|
8060
8383
|
summary: string;
|
|
8384
|
+
title: string;
|
|
8061
8385
|
} & {
|
|
8062
8386
|
references: ResolvedReferences;
|
|
8063
8387
|
})[];
|
|
@@ -8088,6 +8412,7 @@ declare const router: {
|
|
|
8088
8412
|
content: Record<string, unknown>;
|
|
8089
8413
|
} & {
|
|
8090
8414
|
summary: string;
|
|
8415
|
+
title: string;
|
|
8091
8416
|
} & {
|
|
8092
8417
|
references: ResolvedReferences;
|
|
8093
8418
|
};
|
|
@@ -8117,6 +8442,7 @@ declare const router: {
|
|
|
8117
8442
|
} & {
|
|
8118
8443
|
blockId: string;
|
|
8119
8444
|
summary: string;
|
|
8445
|
+
title: string;
|
|
8120
8446
|
} & {
|
|
8121
8447
|
references: ResolvedReferences;
|
|
8122
8448
|
})[];
|
|
@@ -8216,6 +8542,7 @@ declare const router: {
|
|
|
8216
8542
|
content: Record<string, unknown>;
|
|
8217
8543
|
} & {
|
|
8218
8544
|
summary: string;
|
|
8545
|
+
title: string;
|
|
8219
8546
|
} & {
|
|
8220
8547
|
references: ResolvedReferences;
|
|
8221
8548
|
};
|
|
@@ -8245,6 +8572,7 @@ declare const router: {
|
|
|
8245
8572
|
} & {
|
|
8246
8573
|
blockId: string;
|
|
8247
8574
|
summary: string;
|
|
8575
|
+
title: string;
|
|
8248
8576
|
} & {
|
|
8249
8577
|
references: ResolvedReferences;
|
|
8250
8578
|
})[];
|
|
@@ -8275,6 +8603,7 @@ declare const router: {
|
|
|
8275
8603
|
content: Record<string, unknown>;
|
|
8276
8604
|
} & {
|
|
8277
8605
|
summary: string;
|
|
8606
|
+
title: string;
|
|
8278
8607
|
} & {
|
|
8279
8608
|
references: ResolvedReferences;
|
|
8280
8609
|
};
|
|
@@ -8304,6 +8633,7 @@ declare const router: {
|
|
|
8304
8633
|
} & {
|
|
8305
8634
|
blockId: string;
|
|
8306
8635
|
summary: string;
|
|
8636
|
+
title: string;
|
|
8307
8637
|
} & {
|
|
8308
8638
|
references: ResolvedReferences;
|
|
8309
8639
|
})[];
|
|
@@ -8424,6 +8754,7 @@ declare const router: {
|
|
|
8424
8754
|
content: Record<string, unknown>;
|
|
8425
8755
|
} & {
|
|
8426
8756
|
summary: string;
|
|
8757
|
+
title: string;
|
|
8427
8758
|
} & {
|
|
8428
8759
|
warnings?: string[];
|
|
8429
8760
|
}, Omit<{
|
|
@@ -8451,6 +8782,7 @@ declare const router: {
|
|
|
8451
8782
|
content: Record<string, unknown>;
|
|
8452
8783
|
} & {
|
|
8453
8784
|
summary: string;
|
|
8785
|
+
title: string;
|
|
8454
8786
|
} & {
|
|
8455
8787
|
warnings?: string[];
|
|
8456
8788
|
}>, Record<never, never>, Record<never, never>>;
|
|
@@ -8976,6 +9308,7 @@ declare const router: {
|
|
|
8976
9308
|
id: number;
|
|
8977
9309
|
updatedAt: number;
|
|
8978
9310
|
analytics: AnalyticsProviders;
|
|
9311
|
+
socialProfiles: string[];
|
|
8979
9312
|
};
|
|
8980
9313
|
layout: {
|
|
8981
9314
|
layoutId: string;
|
|
@@ -9009,6 +9342,7 @@ declare const router: {
|
|
|
9009
9342
|
content: Record<string, unknown>;
|
|
9010
9343
|
} & {
|
|
9011
9344
|
summary: string;
|
|
9345
|
+
title: string;
|
|
9012
9346
|
} & {
|
|
9013
9347
|
references: ResolvedReferences;
|
|
9014
9348
|
})[];
|
|
@@ -9038,16 +9372,20 @@ declare const router: {
|
|
|
9038
9372
|
} & {
|
|
9039
9373
|
blockId: string;
|
|
9040
9374
|
summary: string;
|
|
9375
|
+
title: string;
|
|
9041
9376
|
} & {
|
|
9042
9377
|
references: ResolvedReferences;
|
|
9043
9378
|
})[];
|
|
9044
9379
|
files: FileView[];
|
|
9380
|
+
structuredData: BlockStructuredData;
|
|
9381
|
+
recordStructuredData: import("@camox/api-contract").RecordStructuredData;
|
|
9045
9382
|
}, {
|
|
9046
9383
|
projectName: string;
|
|
9047
9384
|
project: {
|
|
9048
9385
|
id: number;
|
|
9049
9386
|
updatedAt: number;
|
|
9050
9387
|
analytics: AnalyticsProviders;
|
|
9388
|
+
socialProfiles: string[];
|
|
9051
9389
|
};
|
|
9052
9390
|
layout: {
|
|
9053
9391
|
layoutId: string;
|
|
@@ -9081,6 +9419,7 @@ declare const router: {
|
|
|
9081
9419
|
content: Record<string, unknown>;
|
|
9082
9420
|
} & {
|
|
9083
9421
|
summary: string;
|
|
9422
|
+
title: string;
|
|
9084
9423
|
} & {
|
|
9085
9424
|
references: ResolvedReferences;
|
|
9086
9425
|
})[];
|
|
@@ -9110,10 +9449,13 @@ declare const router: {
|
|
|
9110
9449
|
} & {
|
|
9111
9450
|
blockId: string;
|
|
9112
9451
|
summary: string;
|
|
9452
|
+
title: string;
|
|
9113
9453
|
} & {
|
|
9114
9454
|
references: ResolvedReferences;
|
|
9115
9455
|
})[];
|
|
9116
9456
|
files: FileView[];
|
|
9457
|
+
structuredData: BlockStructuredData;
|
|
9458
|
+
recordStructuredData: import("@camox/api-contract").RecordStructuredData;
|
|
9117
9459
|
}>, Record<never, never>, Record<never, never>>;
|
|
9118
9460
|
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>>, {
|
|
9119
9461
|
draft: DraftRequest | null;
|
|
@@ -9498,6 +9840,7 @@ declare const router: {
|
|
|
9498
9840
|
}>, import("zod").ZodObject<{
|
|
9499
9841
|
projectId: import("zod").ZodNumber;
|
|
9500
9842
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
9843
|
+
path: string;
|
|
9501
9844
|
id: string;
|
|
9502
9845
|
draftId: string | null;
|
|
9503
9846
|
deleted: boolean;
|
|
@@ -9517,9 +9860,11 @@ declare const router: {
|
|
|
9517
9860
|
mimeType: string;
|
|
9518
9861
|
size: number;
|
|
9519
9862
|
optimizedSize: number | null;
|
|
9863
|
+
width: number | null;
|
|
9864
|
+
height: number | null;
|
|
9520
9865
|
blobId: string;
|
|
9521
|
-
path: string;
|
|
9522
9866
|
}>[], FileView<{
|
|
9867
|
+
path: string;
|
|
9523
9868
|
id: string;
|
|
9524
9869
|
draftId: string | null;
|
|
9525
9870
|
deleted: boolean;
|
|
@@ -9539,8 +9884,9 @@ declare const router: {
|
|
|
9539
9884
|
mimeType: string;
|
|
9540
9885
|
size: number;
|
|
9541
9886
|
optimizedSize: number | null;
|
|
9887
|
+
width: number | null;
|
|
9888
|
+
height: number | null;
|
|
9542
9889
|
blobId: string;
|
|
9543
|
-
path: string;
|
|
9544
9890
|
}>[]>, Record<never, never>, Record<never, never>>;
|
|
9545
9891
|
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>>, {
|
|
9546
9892
|
draft: DraftRequest | null;
|
|
@@ -9548,6 +9894,7 @@ declare const router: {
|
|
|
9548
9894
|
}>, import("zod").ZodObject<{
|
|
9549
9895
|
id: import("zod").ZodUUID;
|
|
9550
9896
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
9897
|
+
path: string;
|
|
9551
9898
|
id: string;
|
|
9552
9899
|
draftId: string | null;
|
|
9553
9900
|
deleted: boolean;
|
|
@@ -9567,9 +9914,11 @@ declare const router: {
|
|
|
9567
9914
|
mimeType: string;
|
|
9568
9915
|
size: number;
|
|
9569
9916
|
optimizedSize: number | null;
|
|
9917
|
+
width: number | null;
|
|
9918
|
+
height: number | null;
|
|
9570
9919
|
blobId: string;
|
|
9571
|
-
path: string;
|
|
9572
9920
|
}>, FileView<{
|
|
9921
|
+
path: string;
|
|
9573
9922
|
id: string;
|
|
9574
9923
|
draftId: string | null;
|
|
9575
9924
|
deleted: boolean;
|
|
@@ -9589,8 +9938,9 @@ declare const router: {
|
|
|
9589
9938
|
mimeType: string;
|
|
9590
9939
|
size: number;
|
|
9591
9940
|
optimizedSize: number | null;
|
|
9941
|
+
width: number | null;
|
|
9942
|
+
height: number | null;
|
|
9592
9943
|
blobId: string;
|
|
9593
|
-
path: string;
|
|
9594
9944
|
}>>, Record<never, never>, Record<never, never>>;
|
|
9595
9945
|
getUsageCount: 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>>, {
|
|
9596
9946
|
draft: DraftRequest | null;
|
|
@@ -9680,6 +10030,7 @@ declare const router: {
|
|
|
9680
10030
|
id: import("zod").ZodUUID;
|
|
9681
10031
|
alt: import("zod").ZodString;
|
|
9682
10032
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
10033
|
+
path: string;
|
|
9683
10034
|
id: string;
|
|
9684
10035
|
draftId: string | null;
|
|
9685
10036
|
deleted: boolean;
|
|
@@ -9699,9 +10050,11 @@ declare const router: {
|
|
|
9699
10050
|
mimeType: string;
|
|
9700
10051
|
size: number;
|
|
9701
10052
|
optimizedSize: number | null;
|
|
10053
|
+
width: number | null;
|
|
10054
|
+
height: number | null;
|
|
9702
10055
|
blobId: string;
|
|
9703
|
-
path: string;
|
|
9704
10056
|
}>, FileView<{
|
|
10057
|
+
path: string;
|
|
9705
10058
|
id: string;
|
|
9706
10059
|
draftId: string | null;
|
|
9707
10060
|
deleted: boolean;
|
|
@@ -9721,8 +10074,9 @@ declare const router: {
|
|
|
9721
10074
|
mimeType: string;
|
|
9722
10075
|
size: number;
|
|
9723
10076
|
optimizedSize: number | null;
|
|
10077
|
+
width: number | null;
|
|
10078
|
+
height: number | null;
|
|
9724
10079
|
blobId: string;
|
|
9725
|
-
path: string;
|
|
9726
10080
|
}>>, Record<never, never>, Record<never, never>>;
|
|
9727
10081
|
setFilename: 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>>, {
|
|
9728
10082
|
draft: DraftRequest | null;
|
|
@@ -9802,6 +10156,7 @@ declare const router: {
|
|
|
9802
10156
|
id: import("zod").ZodUUID;
|
|
9803
10157
|
filename: import("zod").ZodString;
|
|
9804
10158
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
10159
|
+
path: string;
|
|
9805
10160
|
id: string;
|
|
9806
10161
|
draftId: string | null;
|
|
9807
10162
|
deleted: boolean;
|
|
@@ -9821,9 +10176,11 @@ declare const router: {
|
|
|
9821
10176
|
mimeType: string;
|
|
9822
10177
|
size: number;
|
|
9823
10178
|
optimizedSize: number | null;
|
|
10179
|
+
width: number | null;
|
|
10180
|
+
height: number | null;
|
|
9824
10181
|
blobId: string;
|
|
9825
|
-
path: string;
|
|
9826
10182
|
}>, FileView<{
|
|
10183
|
+
path: string;
|
|
9827
10184
|
id: string;
|
|
9828
10185
|
draftId: string | null;
|
|
9829
10186
|
deleted: boolean;
|
|
@@ -9843,8 +10200,9 @@ declare const router: {
|
|
|
9843
10200
|
mimeType: string;
|
|
9844
10201
|
size: number;
|
|
9845
10202
|
optimizedSize: number | null;
|
|
10203
|
+
width: number | null;
|
|
10204
|
+
height: number | null;
|
|
9846
10205
|
blobId: string;
|
|
9847
|
-
path: string;
|
|
9848
10206
|
}>>, Record<never, never>, Record<never, never>>;
|
|
9849
10207
|
delete: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
9850
10208
|
draft: DraftRequest | null;
|
|
@@ -9923,6 +10281,7 @@ declare const router: {
|
|
|
9923
10281
|
}>, Record<never, never>>, import("zod").ZodObject<{
|
|
9924
10282
|
id: import("zod").ZodUUID;
|
|
9925
10283
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
10284
|
+
path: string;
|
|
9926
10285
|
id: string;
|
|
9927
10286
|
draftId: string | null;
|
|
9928
10287
|
deleted: boolean;
|
|
@@ -9942,9 +10301,11 @@ declare const router: {
|
|
|
9942
10301
|
mimeType: string;
|
|
9943
10302
|
size: number;
|
|
9944
10303
|
optimizedSize: number | null;
|
|
10304
|
+
width: number | null;
|
|
10305
|
+
height: number | null;
|
|
9945
10306
|
blobId: string;
|
|
9946
|
-
path: string;
|
|
9947
10307
|
}, {
|
|
10308
|
+
path: string;
|
|
9948
10309
|
id: string;
|
|
9949
10310
|
draftId: string | null;
|
|
9950
10311
|
deleted: boolean;
|
|
@@ -9964,8 +10325,9 @@ declare const router: {
|
|
|
9964
10325
|
mimeType: string;
|
|
9965
10326
|
size: number;
|
|
9966
10327
|
optimizedSize: number | null;
|
|
10328
|
+
width: number | null;
|
|
10329
|
+
height: number | null;
|
|
9967
10330
|
blobId: string;
|
|
9968
|
-
path: string;
|
|
9969
10331
|
}>, Record<never, never>, Record<never, never>>;
|
|
9970
10332
|
deleteMany: 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>>, {
|
|
9971
10333
|
draft: DraftRequest | null;
|
|
@@ -10122,6 +10484,7 @@ declare const router: {
|
|
|
10122
10484
|
id: import("zod").ZodUUID;
|
|
10123
10485
|
enabled: import("zod").ZodBoolean;
|
|
10124
10486
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
10487
|
+
path: string;
|
|
10125
10488
|
id: string;
|
|
10126
10489
|
draftId: string | null;
|
|
10127
10490
|
deleted: boolean;
|
|
@@ -10141,9 +10504,11 @@ declare const router: {
|
|
|
10141
10504
|
mimeType: string;
|
|
10142
10505
|
size: number;
|
|
10143
10506
|
optimizedSize: number | null;
|
|
10507
|
+
width: number | null;
|
|
10508
|
+
height: number | null;
|
|
10144
10509
|
blobId: string;
|
|
10145
|
-
path: string;
|
|
10146
10510
|
}>, FileView<{
|
|
10511
|
+
path: string;
|
|
10147
10512
|
id: string;
|
|
10148
10513
|
draftId: string | null;
|
|
10149
10514
|
deleted: boolean;
|
|
@@ -10163,8 +10528,9 @@ declare const router: {
|
|
|
10163
10528
|
mimeType: string;
|
|
10164
10529
|
size: number;
|
|
10165
10530
|
optimizedSize: number | null;
|
|
10531
|
+
width: number | null;
|
|
10532
|
+
height: number | null;
|
|
10166
10533
|
blobId: string;
|
|
10167
|
-
path: string;
|
|
10168
10534
|
}>>, Record<never, never>, Record<never, never>>;
|
|
10169
10535
|
generateMetadata: 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>>, {
|
|
10170
10536
|
draft: DraftRequest | null;
|
|
@@ -10208,6 +10574,7 @@ declare const router: {
|
|
|
10208
10574
|
}>, import("zod").ZodObject<{
|
|
10209
10575
|
id: import("zod").ZodUUID;
|
|
10210
10576
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<FileView<{
|
|
10577
|
+
path: string;
|
|
10211
10578
|
id: string;
|
|
10212
10579
|
draftId: string | null;
|
|
10213
10580
|
deleted: boolean;
|
|
@@ -10227,9 +10594,11 @@ declare const router: {
|
|
|
10227
10594
|
mimeType: string;
|
|
10228
10595
|
size: number;
|
|
10229
10596
|
optimizedSize: number | null;
|
|
10597
|
+
width: number | null;
|
|
10598
|
+
height: number | null;
|
|
10230
10599
|
blobId: string;
|
|
10231
|
-
path: string;
|
|
10232
10600
|
}> | undefined, FileView<{
|
|
10601
|
+
path: string;
|
|
10233
10602
|
id: string;
|
|
10234
10603
|
draftId: string | null;
|
|
10235
10604
|
deleted: boolean;
|
|
@@ -10249,8 +10618,9 @@ declare const router: {
|
|
|
10249
10618
|
mimeType: string;
|
|
10250
10619
|
size: number;
|
|
10251
10620
|
optimizedSize: number | null;
|
|
10621
|
+
width: number | null;
|
|
10622
|
+
height: number | null;
|
|
10252
10623
|
blobId: string;
|
|
10253
|
-
path: string;
|
|
10254
10624
|
}> | undefined>, Record<never, never>, Record<never, never>>;
|
|
10255
10625
|
};
|
|
10256
10626
|
repeatableItems: {
|
|
@@ -10264,6 +10634,7 @@ declare const router: {
|
|
|
10264
10634
|
content: Record<string, unknown>;
|
|
10265
10635
|
blockId: string | null;
|
|
10266
10636
|
summary: string;
|
|
10637
|
+
title: string;
|
|
10267
10638
|
references: ResolvedReferences;
|
|
10268
10639
|
id: string;
|
|
10269
10640
|
draftId: string | null;
|
|
@@ -10290,6 +10661,7 @@ declare const router: {
|
|
|
10290
10661
|
content: Record<string, unknown>;
|
|
10291
10662
|
blockId: string | null;
|
|
10292
10663
|
summary: string;
|
|
10664
|
+
title: string;
|
|
10293
10665
|
references: ResolvedReferences;
|
|
10294
10666
|
id: string;
|
|
10295
10667
|
draftId: string | null;
|
|
@@ -10406,6 +10778,7 @@ declare const router: {
|
|
|
10406
10778
|
content: Record<string, unknown>;
|
|
10407
10779
|
settings: unknown;
|
|
10408
10780
|
summary: string;
|
|
10781
|
+
title: string;
|
|
10409
10782
|
id: string;
|
|
10410
10783
|
draftId: string | null;
|
|
10411
10784
|
deleted: boolean;
|
|
@@ -10428,6 +10801,7 @@ declare const router: {
|
|
|
10428
10801
|
content: Record<string, unknown>;
|
|
10429
10802
|
settings: unknown;
|
|
10430
10803
|
summary: string;
|
|
10804
|
+
title: string;
|
|
10431
10805
|
id: string;
|
|
10432
10806
|
draftId: string | null;
|
|
10433
10807
|
deleted: boolean;
|
|
@@ -10528,6 +10902,7 @@ declare const router: {
|
|
|
10528
10902
|
content: Record<string, unknown>;
|
|
10529
10903
|
settings: unknown;
|
|
10530
10904
|
summary: string;
|
|
10905
|
+
title: string;
|
|
10531
10906
|
id: string;
|
|
10532
10907
|
draftId: string | null;
|
|
10533
10908
|
deleted: boolean;
|
|
@@ -10550,6 +10925,7 @@ declare const router: {
|
|
|
10550
10925
|
content: Record<string, unknown>;
|
|
10551
10926
|
settings: unknown;
|
|
10552
10927
|
summary: string;
|
|
10928
|
+
title: string;
|
|
10553
10929
|
id: string;
|
|
10554
10930
|
draftId: string | null;
|
|
10555
10931
|
deleted: boolean;
|
|
@@ -10650,6 +11026,7 @@ declare const router: {
|
|
|
10650
11026
|
content: Record<string, unknown>;
|
|
10651
11027
|
settings: unknown;
|
|
10652
11028
|
summary: string;
|
|
11029
|
+
title: string;
|
|
10653
11030
|
id: string;
|
|
10654
11031
|
draftId: string | null;
|
|
10655
11032
|
deleted: boolean;
|
|
@@ -10672,6 +11049,7 @@ declare const router: {
|
|
|
10672
11049
|
content: Record<string, unknown>;
|
|
10673
11050
|
settings: unknown;
|
|
10674
11051
|
summary: string;
|
|
11052
|
+
title: string;
|
|
10675
11053
|
id: string;
|
|
10676
11054
|
draftId: string | null;
|
|
10677
11055
|
deleted: boolean;
|
|
@@ -10773,6 +11151,7 @@ declare const router: {
|
|
|
10773
11151
|
content: Record<string, unknown>;
|
|
10774
11152
|
settings: unknown;
|
|
10775
11153
|
summary: string;
|
|
11154
|
+
title: string;
|
|
10776
11155
|
id: string;
|
|
10777
11156
|
draftId: string | null;
|
|
10778
11157
|
deleted: boolean;
|
|
@@ -10795,6 +11174,7 @@ declare const router: {
|
|
|
10795
11174
|
content: Record<string, unknown>;
|
|
10796
11175
|
settings: unknown;
|
|
10797
11176
|
summary: string;
|
|
11177
|
+
title: string;
|
|
10798
11178
|
id: string;
|
|
10799
11179
|
draftId: string | null;
|
|
10800
11180
|
deleted: boolean;
|
|
@@ -10894,6 +11274,7 @@ declare const router: {
|
|
|
10894
11274
|
content: Record<string, unknown>;
|
|
10895
11275
|
settings: unknown;
|
|
10896
11276
|
summary: string;
|
|
11277
|
+
title: string;
|
|
10897
11278
|
id: string;
|
|
10898
11279
|
draftId: string | null;
|
|
10899
11280
|
deleted: boolean;
|
|
@@ -10916,6 +11297,7 @@ declare const router: {
|
|
|
10916
11297
|
content: Record<string, unknown>;
|
|
10917
11298
|
settings: unknown;
|
|
10918
11299
|
summary: string;
|
|
11300
|
+
title: string;
|
|
10919
11301
|
id: string;
|
|
10920
11302
|
draftId: string | null;
|
|
10921
11303
|
deleted: boolean;
|
|
@@ -10980,6 +11362,7 @@ declare const router: {
|
|
|
10980
11362
|
content: Record<string, unknown>;
|
|
10981
11363
|
settings: unknown;
|
|
10982
11364
|
summary: string;
|
|
11365
|
+
title: string;
|
|
10983
11366
|
id: string;
|
|
10984
11367
|
draftId: string | null;
|
|
10985
11368
|
deleted: boolean;
|
|
@@ -11002,6 +11385,7 @@ declare const router: {
|
|
|
11002
11385
|
content: Record<string, unknown>;
|
|
11003
11386
|
settings: unknown;
|
|
11004
11387
|
summary: string;
|
|
11388
|
+
title: string;
|
|
11005
11389
|
id: string;
|
|
11006
11390
|
draftId: string | null;
|
|
11007
11391
|
deleted: boolean;
|
|
@@ -11101,6 +11485,7 @@ declare const router: {
|
|
|
11101
11485
|
content: Record<string, unknown>;
|
|
11102
11486
|
settings: unknown;
|
|
11103
11487
|
summary: string;
|
|
11488
|
+
title: string;
|
|
11104
11489
|
id: string;
|
|
11105
11490
|
draftId: string | null;
|
|
11106
11491
|
deleted: boolean;
|
|
@@ -11123,6 +11508,7 @@ declare const router: {
|
|
|
11123
11508
|
content: Record<string, unknown>;
|
|
11124
11509
|
settings: unknown;
|
|
11125
11510
|
summary: string;
|
|
11511
|
+
title: string;
|
|
11126
11512
|
id: string;
|
|
11127
11513
|
draftId: string | null;
|
|
11128
11514
|
deleted: boolean;
|
|
@@ -11229,12 +11615,14 @@ declare const router: {
|
|
|
11229
11615
|
collectionId: string;
|
|
11230
11616
|
title: string;
|
|
11231
11617
|
description: string;
|
|
11232
|
-
|
|
11618
|
+
toTitle: string;
|
|
11619
|
+
toDescription: string | null;
|
|
11233
11620
|
}[], {
|
|
11234
11621
|
collectionId: string;
|
|
11235
11622
|
title: string;
|
|
11236
11623
|
description: string;
|
|
11237
|
-
|
|
11624
|
+
toTitle: string;
|
|
11625
|
+
toDescription: string | null;
|
|
11238
11626
|
}[]>, Record<never, never>, Record<never, never>>;
|
|
11239
11627
|
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>>, {
|
|
11240
11628
|
draft: DraftRequest | null;
|
|
@@ -11282,13 +11670,15 @@ declare const router: {
|
|
|
11282
11670
|
collectionId: string;
|
|
11283
11671
|
title: string;
|
|
11284
11672
|
description: string;
|
|
11285
|
-
|
|
11673
|
+
toTitle: string;
|
|
11674
|
+
toDescription: string | null;
|
|
11286
11675
|
contentSchema: Record<string, unknown>;
|
|
11287
11676
|
}, {
|
|
11288
11677
|
collectionId: string;
|
|
11289
11678
|
title: string;
|
|
11290
11679
|
description: string;
|
|
11291
|
-
|
|
11680
|
+
toTitle: string;
|
|
11681
|
+
toDescription: string | null;
|
|
11292
11682
|
contentSchema: Record<string, unknown>;
|
|
11293
11683
|
}>, Record<never, never>, Record<never, never>>;
|
|
11294
11684
|
listRecords: 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>>, {
|
|
@@ -11335,11 +11725,13 @@ declare const router: {
|
|
|
11335
11725
|
projectUuid: import("zod").ZodUUID;
|
|
11336
11726
|
}, import("zod/v4/core").$strict>, import("@orpc/server").Schema<{
|
|
11337
11727
|
id: string;
|
|
11338
|
-
|
|
11728
|
+
title: string;
|
|
11729
|
+
description: string | null;
|
|
11339
11730
|
duplicatePageValue: boolean;
|
|
11340
11731
|
}[], {
|
|
11341
11732
|
id: string;
|
|
11342
|
-
|
|
11733
|
+
title: string;
|
|
11734
|
+
description: string | null;
|
|
11343
11735
|
duplicatePageValue: boolean;
|
|
11344
11736
|
}[]>, Record<never, never>, Record<never, never>>;
|
|
11345
11737
|
getRecord: 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>>, {
|
|
@@ -11460,14 +11852,30 @@ declare const router: {
|
|
|
11460
11852
|
projectUuid: import("zod").ZodUUID;
|
|
11461
11853
|
}, import("zod/v4/core").$strict>, import("@orpc/server").Schema<{
|
|
11462
11854
|
id: string;
|
|
11855
|
+
title: string;
|
|
11856
|
+
description: string | null;
|
|
11463
11857
|
content: Record<string, unknown>;
|
|
11464
11858
|
updatedAt: number;
|
|
11465
11859
|
references: ResolvedReferences;
|
|
11860
|
+
structuredData: {
|
|
11861
|
+
records: import("@camox/api-contract").RecordStructuredData;
|
|
11862
|
+
node?: import("@camox/api-contract").EvaluatedNode | undefined;
|
|
11863
|
+
};
|
|
11864
|
+
firstPublishedAt: number | null;
|
|
11865
|
+
publishedAt: number | null;
|
|
11466
11866
|
}[], {
|
|
11467
11867
|
id: string;
|
|
11868
|
+
title: string;
|
|
11869
|
+
description: string | null;
|
|
11468
11870
|
content: Record<string, unknown>;
|
|
11469
11871
|
updatedAt: number;
|
|
11470
11872
|
references: ResolvedReferences;
|
|
11873
|
+
structuredData: {
|
|
11874
|
+
records: import("@camox/api-contract").RecordStructuredData;
|
|
11875
|
+
node?: import("@camox/api-contract").EvaluatedNode | undefined;
|
|
11876
|
+
};
|
|
11877
|
+
firstPublishedAt: number | null;
|
|
11878
|
+
publishedAt: number | null;
|
|
11471
11879
|
}[]>, Record<never, never>, Record<never, never>>;
|
|
11472
11880
|
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>>, {
|
|
11473
11881
|
draft: DraftRequest | null;
|
|
@@ -11479,11 +11887,13 @@ declare const router: {
|
|
|
11479
11887
|
}, import("zod/v4/core").$strict>, import("@orpc/server").Schema<{
|
|
11480
11888
|
id: string;
|
|
11481
11889
|
value: string;
|
|
11482
|
-
|
|
11890
|
+
title: string;
|
|
11891
|
+
description: string | null;
|
|
11483
11892
|
}[], {
|
|
11484
11893
|
id: string;
|
|
11485
11894
|
value: string;
|
|
11486
|
-
|
|
11895
|
+
title: string;
|
|
11896
|
+
description: string | null;
|
|
11487
11897
|
}[]>, Record<never, never>, Record<never, never>>;
|
|
11488
11898
|
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>>, {
|
|
11489
11899
|
draft: DraftRequest | null;
|
|
@@ -11819,11 +12229,13 @@ declare const router: {
|
|
|
11819
12229
|
}, import("zod/v4/core").$strip>>>;
|
|
11820
12230
|
}, import("zod/v4/core").$strip>, unknown>>;
|
|
11821
12231
|
}, import("zod/v4/core").$strip>>;
|
|
11822
|
-
collections: import("zod").ZodArray<import("zod").ZodObject<{
|
|
12232
|
+
collections: import("zod").ZodArray<import("zod").ZodPipe<import("zod").ZodObject<{
|
|
11823
12233
|
collectionId: import("zod").ZodString;
|
|
11824
12234
|
title: import("zod").ZodString;
|
|
11825
12235
|
description: import("zod").ZodString;
|
|
11826
|
-
|
|
12236
|
+
toTitle: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12237
|
+
toDescription: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
12238
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11827
12239
|
contentSchema: import("zod").ZodObject<{
|
|
11828
12240
|
type: import("zod").ZodLiteral<"object">;
|
|
11829
12241
|
properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
@@ -11869,7 +12281,87 @@ declare const router: {
|
|
|
11869
12281
|
required: import("zod").ZodArray<import("zod").ZodString>;
|
|
11870
12282
|
additionalProperties: import("zod").ZodLiteral<false>;
|
|
11871
12283
|
}, import("zod/v4/core").$strict>;
|
|
11872
|
-
|
|
12284
|
+
toStructuredData: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
12285
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<{
|
|
12286
|
+
toStructuredData: Record<string, unknown> | null;
|
|
12287
|
+
toTitle: string;
|
|
12288
|
+
toDescription: string | null;
|
|
12289
|
+
collectionId: string;
|
|
12290
|
+
title: string;
|
|
12291
|
+
description: string;
|
|
12292
|
+
contentSchema: {
|
|
12293
|
+
type: "object";
|
|
12294
|
+
properties: Record<string, {
|
|
12295
|
+
fieldType: "String" | "Boolean" | "Enum" | "Embed" | "Image" | "File" | "ImageList" | "FileList" | "Link" | "Repeater" | "Reference" | "ReferenceList";
|
|
12296
|
+
type?: string | undefined;
|
|
12297
|
+
anyOf?: unknown;
|
|
12298
|
+
title?: string | undefined;
|
|
12299
|
+
default?: unknown;
|
|
12300
|
+
minLength?: number | undefined;
|
|
12301
|
+
maxLength?: number | undefined;
|
|
12302
|
+
pattern?: string | undefined;
|
|
12303
|
+
enum?: string[] | undefined;
|
|
12304
|
+
properties?: Record<string, unknown> | undefined;
|
|
12305
|
+
items?: unknown;
|
|
12306
|
+
minItems?: number | undefined;
|
|
12307
|
+
maxItems?: number | undefined;
|
|
12308
|
+
accept?: string[] | undefined;
|
|
12309
|
+
enumLabels?: Record<string, string> | undefined;
|
|
12310
|
+
defaultItems?: number | undefined;
|
|
12311
|
+
toMarkdown?: string[] | undefined;
|
|
12312
|
+
itemSettingsSchema?: unknown;
|
|
12313
|
+
defaultItemSettings?: unknown;
|
|
12314
|
+
description?: string | undefined;
|
|
12315
|
+
collectionId?: string | undefined;
|
|
12316
|
+
required?: false | undefined;
|
|
12317
|
+
referenceSchema?: unknown;
|
|
12318
|
+
labelField?: string | undefined;
|
|
12319
|
+
query?: unknown;
|
|
12320
|
+
}>;
|
|
12321
|
+
required: string[];
|
|
12322
|
+
additionalProperties: false;
|
|
12323
|
+
};
|
|
12324
|
+
}, {
|
|
12325
|
+
collectionId: string;
|
|
12326
|
+
title: string;
|
|
12327
|
+
description: string;
|
|
12328
|
+
contentSchema: {
|
|
12329
|
+
type: "object";
|
|
12330
|
+
properties: Record<string, {
|
|
12331
|
+
fieldType: "String" | "Boolean" | "Enum" | "Embed" | "Image" | "File" | "ImageList" | "FileList" | "Link" | "Repeater" | "Reference" | "ReferenceList";
|
|
12332
|
+
type?: string | undefined;
|
|
12333
|
+
anyOf?: unknown;
|
|
12334
|
+
title?: string | undefined;
|
|
12335
|
+
default?: unknown;
|
|
12336
|
+
minLength?: number | undefined;
|
|
12337
|
+
maxLength?: number | undefined;
|
|
12338
|
+
pattern?: string | undefined;
|
|
12339
|
+
enum?: string[] | undefined;
|
|
12340
|
+
properties?: Record<string, unknown> | undefined;
|
|
12341
|
+
items?: unknown;
|
|
12342
|
+
minItems?: number | undefined;
|
|
12343
|
+
maxItems?: number | undefined;
|
|
12344
|
+
accept?: string[] | undefined;
|
|
12345
|
+
enumLabels?: Record<string, string> | undefined;
|
|
12346
|
+
defaultItems?: number | undefined;
|
|
12347
|
+
toMarkdown?: string[] | undefined;
|
|
12348
|
+
itemSettingsSchema?: unknown;
|
|
12349
|
+
defaultItemSettings?: unknown;
|
|
12350
|
+
description?: string | undefined;
|
|
12351
|
+
collectionId?: string | undefined;
|
|
12352
|
+
required?: false | undefined;
|
|
12353
|
+
referenceSchema?: unknown;
|
|
12354
|
+
labelField?: string | undefined;
|
|
12355
|
+
query?: unknown;
|
|
12356
|
+
}>;
|
|
12357
|
+
required: string[];
|
|
12358
|
+
additionalProperties: false;
|
|
12359
|
+
};
|
|
12360
|
+
toTitle?: string | undefined;
|
|
12361
|
+
toDescription?: string | null | undefined;
|
|
12362
|
+
label?: string | undefined;
|
|
12363
|
+
toStructuredData?: Record<string, unknown> | null | undefined;
|
|
12364
|
+
}>>>;
|
|
11873
12365
|
homepage: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
11874
12366
|
layoutId: import("zod").ZodString;
|
|
11875
12367
|
blocks: import("zod").ZodArray<import("zod").ZodObject<{
|