@camox/api-contract 0.42.0 → 0.43.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +42 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -915,6 +915,29 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
915
915
  }, {}, {
916
916
  length: undefined;
917
917
  }>;
918
+ kind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
919
+ name: "kind";
920
+ tableName: "layouts";
921
+ dataType: "string";
922
+ columnType: "SQLiteText";
923
+ data: "curated" | "derived" | "singleton";
924
+ driverParam: string;
925
+ notNull: true;
926
+ hasDefault: true;
927
+ isPrimaryKey: false;
928
+ isAutoincrement: false;
929
+ hasRuntimeDefault: false;
930
+ enumValues: [
931
+ "curated",
932
+ "derived",
933
+ "singleton"
934
+ ];
935
+ baseColumn: never;
936
+ identity: undefined;
937
+ generated: undefined;
938
+ }, {}, {
939
+ length: number | undefined;
940
+ }>;
918
941
  livePublishedCheckpointId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
919
942
  name: "live_published_checkpoint_id";
920
943
  tableName: "layouts";
@@ -3811,6 +3834,9 @@ export type CompatibilityReason = {
3811
3834
  } | {
3812
3835
  kind: "layout-missing-in-target";
3813
3836
  layoutId: string;
3837
+ } | {
3838
+ kind: "layout-kind-mismatch";
3839
+ layoutId: string;
3814
3840
  };
3815
3841
  export type JsonSchemaTool = {
3816
3842
  name: string;
@@ -4767,6 +4793,9 @@ declare const router: {
4767
4793
  nickname: import("zod").ZodOptional<import("zod").ZodString>;
4768
4794
  pathSegment: import("zod").ZodOptional<import("zod").ZodString>;
4769
4795
  parentPageId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
4796
+ metaTitle: import("zod").ZodOptional<import("zod").ZodString>;
4797
+ metaDescription: import("zod").ZodOptional<import("zod").ZodString>;
4798
+ aiSeoEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
4770
4799
  }, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
4771
4800
  id: number;
4772
4801
  createdAt: number;
@@ -6119,6 +6148,7 @@ declare const router: {
6119
6148
  environmentId: number;
6120
6149
  layoutId: string;
6121
6150
  description: string | null;
6151
+ kind: "curated" | "derived" | "singleton";
6122
6152
  livePublishedCheckpointId: number | null;
6123
6153
  contentUpdatedAt: number;
6124
6154
  createdAt: number;
@@ -6131,6 +6161,7 @@ declare const router: {
6131
6161
  environmentId: number;
6132
6162
  layoutId: string;
6133
6163
  description: string | null;
6164
+ kind: "curated" | "derived" | "singleton";
6134
6165
  livePublishedCheckpointId: number | null;
6135
6166
  contentUpdatedAt: number;
6136
6167
  createdAt: number;
@@ -6142,6 +6173,11 @@ declare const router: {
6142
6173
  autoCreate: import("zod").ZodBoolean;
6143
6174
  layouts: import("zod").ZodArray<import("zod").ZodObject<{
6144
6175
  layoutId: import("zod").ZodString;
6176
+ kind: import("zod").ZodDefault<import("zod").ZodEnum<{
6177
+ curated: "curated";
6178
+ derived: "derived";
6179
+ singleton: "singleton";
6180
+ }>>;
6145
6181
  description: import("zod").ZodString;
6146
6182
  blocks: import("zod").ZodArray<import("zod").ZodObject<{
6147
6183
  type: import("zod").ZodString;
@@ -6170,6 +6206,7 @@ declare const router: {
6170
6206
  environmentId: number;
6171
6207
  layoutId: string;
6172
6208
  description: string | null;
6209
+ kind: "curated" | "derived" | "singleton";
6173
6210
  livePublishedCheckpointId: number | null;
6174
6211
  contentUpdatedAt: number;
6175
6212
  };
@@ -6194,6 +6231,7 @@ declare const router: {
6194
6231
  environmentId: number;
6195
6232
  layoutId: string;
6196
6233
  description: string | null;
6234
+ kind: "curated" | "derived" | "singleton";
6197
6235
  livePublishedCheckpointId: number | null;
6198
6236
  contentUpdatedAt: number;
6199
6237
  };
@@ -6245,6 +6283,7 @@ declare const router: {
6245
6283
  environmentId: number;
6246
6284
  layoutId: string;
6247
6285
  description: string | null;
6286
+ kind: "curated" | "derived" | "singleton";
6248
6287
  livePublishedCheckpointId: number | null;
6249
6288
  contentUpdatedAt: number;
6250
6289
  createdAt: number;
@@ -6255,6 +6294,7 @@ declare const router: {
6255
6294
  environmentId: number;
6256
6295
  layoutId: string;
6257
6296
  description: string | null;
6297
+ kind: "curated" | "derived" | "singleton";
6258
6298
  livePublishedCheckpointId: number | null;
6259
6299
  contentUpdatedAt: number;
6260
6300
  createdAt: number;
@@ -6298,6 +6338,7 @@ declare const router: {
6298
6338
  environmentId: number;
6299
6339
  layoutId: string;
6300
6340
  description: string | null;
6341
+ kind: "curated" | "derived" | "singleton";
6301
6342
  livePublishedCheckpointId: number | null;
6302
6343
  contentUpdatedAt: number;
6303
6344
  }, {
@@ -6308,6 +6349,7 @@ declare const router: {
6308
6349
  environmentId: number;
6309
6350
  layoutId: string;
6310
6351
  description: string | null;
6352
+ kind: "curated" | "derived" | "singleton";
6311
6353
  livePublishedCheckpointId: number | null;
6312
6354
  contentUpdatedAt: number;
6313
6355
  }>, Record<never, never>, Record<never, never>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camox/api-contract",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "src",