@camox/api-contract 0.26.0 → 0.28.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 +126 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -400,6 +400,28 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
400
400
  identity: undefined;
401
401
  generated: undefined;
402
402
  }, {}, {}>;
403
+ nickname: import("drizzle-orm/sqlite-core").SQLiteColumn<{
404
+ name: "nickname";
405
+ tableName: "pages";
406
+ dataType: "string";
407
+ columnType: "SQLiteText";
408
+ data: string;
409
+ driverParam: string;
410
+ notNull: true;
411
+ hasDefault: false;
412
+ isPrimaryKey: false;
413
+ isAutoincrement: false;
414
+ hasRuntimeDefault: false;
415
+ enumValues: [
416
+ string,
417
+ ...string[]
418
+ ];
419
+ baseColumn: never;
420
+ identity: undefined;
421
+ generated: undefined;
422
+ }, {}, {
423
+ length: number | undefined;
424
+ }>;
403
425
  metaTitle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
404
426
  name: "meta_title";
405
427
  tableName: "pages";
@@ -4230,6 +4252,7 @@ declare const router: {
4230
4252
  pathSegment: string;
4231
4253
  fullPath: string;
4232
4254
  parentPageId: number | null;
4255
+ nickname: string;
4233
4256
  metaTitle: string | null;
4234
4257
  metaDescription: string | null;
4235
4258
  aiSeoEnabled: boolean | null;
@@ -4307,6 +4330,7 @@ declare const router: {
4307
4330
  pathSegment: string;
4308
4331
  fullPath: string;
4309
4332
  parentPageId: number | null;
4333
+ nickname: string;
4310
4334
  metaTitle: string | null;
4311
4335
  metaDescription: string | null;
4312
4336
  aiSeoEnabled: boolean | null;
@@ -4391,6 +4415,7 @@ declare const router: {
4391
4415
  fullPath: string;
4392
4416
  parentPageId: number | null;
4393
4417
  layoutId: number;
4418
+ nickname: string;
4394
4419
  metaTitle: string | null;
4395
4420
  metaDescription: string | null;
4396
4421
  aiSeoEnabled: boolean | null;
@@ -4424,6 +4449,7 @@ declare const router: {
4424
4449
  fullPath: string;
4425
4450
  parentPageId: number | null;
4426
4451
  layoutId: number;
4452
+ nickname: string;
4427
4453
  metaTitle: string | null;
4428
4454
  metaDescription: string | null;
4429
4455
  aiSeoEnabled: boolean | null;
@@ -4458,6 +4484,7 @@ declare const router: {
4458
4484
  fullPath: string;
4459
4485
  parentPageId: number | null;
4460
4486
  layoutId: number;
4487
+ nickname: string;
4461
4488
  metaTitle: string | null;
4462
4489
  metaDescription: string | null;
4463
4490
  aiSeoEnabled: boolean | null;
@@ -4477,6 +4504,7 @@ declare const router: {
4477
4504
  fullPath: string;
4478
4505
  parentPageId: number | null;
4479
4506
  layoutId: number;
4507
+ nickname: string;
4480
4508
  metaTitle: string | null;
4481
4509
  metaDescription: string | null;
4482
4510
  aiSeoEnabled: boolean | null;
@@ -4499,6 +4527,7 @@ declare const router: {
4499
4527
  fullPath: string;
4500
4528
  parentPageId: number | null;
4501
4529
  layoutId: number;
4530
+ nickname: string;
4502
4531
  metaTitle: string | null;
4503
4532
  metaDescription: string | null;
4504
4533
  aiSeoEnabled: boolean | null;
@@ -4518,6 +4547,7 @@ declare const router: {
4518
4547
  fullPath: string;
4519
4548
  parentPageId: number | null;
4520
4549
  layoutId: number;
4550
+ nickname: string;
4521
4551
  metaTitle: string | null;
4522
4552
  metaDescription: string | null;
4523
4553
  aiSeoEnabled: boolean | null;
@@ -4562,6 +4592,7 @@ declare const router: {
4562
4592
  pathSegment: string;
4563
4593
  fullPath: string;
4564
4594
  parentPageId: number | null;
4595
+ nickname: string;
4565
4596
  metaTitle: string | null;
4566
4597
  metaDescription: string | null;
4567
4598
  aiSeoEnabled: boolean | null;
@@ -4579,6 +4610,7 @@ declare const router: {
4579
4610
  pathSegment: string;
4580
4611
  fullPath: string;
4581
4612
  parentPageId: number | null;
4613
+ nickname: string;
4582
4614
  metaTitle: string | null;
4583
4615
  metaDescription: string | null;
4584
4616
  aiSeoEnabled: boolean | null;
@@ -4616,6 +4648,7 @@ declare const router: {
4616
4648
  waitUntil: (promise: Promise<unknown>) => void;
4617
4649
  }>, import("zod").ZodObject<{
4618
4650
  projectId: import("zod").ZodNumber;
4651
+ nickname: import("zod").ZodOptional<import("zod").ZodString>;
4619
4652
  pathSegment: import("zod").ZodString;
4620
4653
  parentPageId: import("zod").ZodOptional<import("zod").ZodNumber>;
4621
4654
  layoutId: import("zod").ZodNumber;
@@ -4633,6 +4666,7 @@ declare const router: {
4633
4666
  pathSegment: string;
4634
4667
  fullPath: string;
4635
4668
  parentPageId: number | null;
4669
+ nickname: string;
4636
4670
  metaTitle: string | null;
4637
4671
  metaDescription: string | null;
4638
4672
  aiSeoEnabled: boolean | null;
@@ -4653,6 +4687,7 @@ declare const router: {
4653
4687
  pathSegment: string;
4654
4688
  fullPath: string;
4655
4689
  parentPageId: number | null;
4690
+ nickname: string;
4656
4691
  metaTitle: string | null;
4657
4692
  metaDescription: string | null;
4658
4693
  aiSeoEnabled: boolean | null;
@@ -4692,6 +4727,7 @@ declare const router: {
4692
4727
  waitUntil: (promise: Promise<unknown>) => void;
4693
4728
  }>, import("zod").ZodObject<{
4694
4729
  id: import("zod").ZodNumber;
4730
+ nickname: import("zod").ZodOptional<import("zod").ZodString>;
4695
4731
  pathSegment: import("zod").ZodOptional<import("zod").ZodString>;
4696
4732
  parentPageId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
4697
4733
  }, import("better-auth").$strip>, import("@orpc/server").Schema<{
@@ -4706,6 +4742,7 @@ declare const router: {
4706
4742
  pathSegment: string;
4707
4743
  fullPath: string;
4708
4744
  parentPageId: number | null;
4745
+ nickname: string;
4709
4746
  metaTitle: string | null;
4710
4747
  metaDescription: string | null;
4711
4748
  aiSeoEnabled: boolean | null;
@@ -4723,6 +4760,7 @@ declare const router: {
4723
4760
  pathSegment: string;
4724
4761
  fullPath: string;
4725
4762
  parentPageId: number | null;
4763
+ nickname: string;
4726
4764
  metaTitle: string | null;
4727
4765
  metaDescription: string | null;
4728
4766
  aiSeoEnabled: boolean | null;
@@ -4772,6 +4810,7 @@ declare const router: {
4772
4810
  pathSegment: string;
4773
4811
  fullPath: string;
4774
4812
  parentPageId: number | null;
4813
+ nickname: string;
4775
4814
  metaTitle: string | null;
4776
4815
  metaDescription: string | null;
4777
4816
  aiSeoEnabled: boolean | null;
@@ -4789,6 +4828,7 @@ declare const router: {
4789
4828
  pathSegment: string;
4790
4829
  fullPath: string;
4791
4830
  parentPageId: number | null;
4831
+ nickname: string;
4792
4832
  metaTitle: string | null;
4793
4833
  metaDescription: string | null;
4794
4834
  aiSeoEnabled: boolean | null;
@@ -4839,6 +4879,7 @@ declare const router: {
4839
4879
  pathSegment: string;
4840
4880
  fullPath: string;
4841
4881
  parentPageId: number | null;
4882
+ nickname: string;
4842
4883
  metaTitle: string | null;
4843
4884
  metaDescription: string | null;
4844
4885
  aiSeoEnabled: boolean | null;
@@ -4856,6 +4897,7 @@ declare const router: {
4856
4897
  pathSegment: string;
4857
4898
  fullPath: string;
4858
4899
  parentPageId: number | null;
4900
+ nickname: string;
4859
4901
  metaTitle: string | null;
4860
4902
  metaDescription: string | null;
4861
4903
  aiSeoEnabled: boolean | null;
@@ -4906,6 +4948,7 @@ declare const router: {
4906
4948
  pathSegment: string;
4907
4949
  fullPath: string;
4908
4950
  parentPageId: number | null;
4951
+ nickname: string;
4909
4952
  metaTitle: string | null;
4910
4953
  metaDescription: string | null;
4911
4954
  aiSeoEnabled: boolean | null;
@@ -4923,6 +4966,7 @@ declare const router: {
4923
4966
  pathSegment: string;
4924
4967
  fullPath: string;
4925
4968
  parentPageId: number | null;
4969
+ nickname: string;
4926
4970
  metaTitle: string | null;
4927
4971
  metaDescription: string | null;
4928
4972
  aiSeoEnabled: boolean | null;
@@ -4973,6 +5017,7 @@ declare const router: {
4973
5017
  pathSegment: string;
4974
5018
  fullPath: string;
4975
5019
  parentPageId: number | null;
5020
+ nickname: string;
4976
5021
  metaTitle: string | null;
4977
5022
  metaDescription: string | null;
4978
5023
  aiSeoEnabled: boolean | null;
@@ -4990,6 +5035,7 @@ declare const router: {
4990
5035
  pathSegment: string;
4991
5036
  fullPath: string;
4992
5037
  parentPageId: number | null;
5038
+ nickname: string;
4993
5039
  metaTitle: string | null;
4994
5040
  metaDescription: string | null;
4995
5041
  aiSeoEnabled: boolean | null;
@@ -5040,6 +5086,7 @@ declare const router: {
5040
5086
  pathSegment: string;
5041
5087
  fullPath: string;
5042
5088
  parentPageId: number | null;
5089
+ nickname: string;
5043
5090
  metaTitle: string | null;
5044
5091
  metaDescription: string | null;
5045
5092
  aiSeoEnabled: boolean | null;
@@ -5057,6 +5104,7 @@ declare const router: {
5057
5104
  pathSegment: string;
5058
5105
  fullPath: string;
5059
5106
  parentPageId: number | null;
5107
+ nickname: string;
5060
5108
  metaTitle: string | null;
5061
5109
  metaDescription: string | null;
5062
5110
  aiSeoEnabled: boolean | null;
@@ -5102,6 +5150,7 @@ declare const router: {
5102
5150
  fullPath: string;
5103
5151
  parentPageId: number | null;
5104
5152
  layoutId: number;
5153
+ nickname: string;
5105
5154
  metaTitle: string | null;
5106
5155
  metaDescription: string | null;
5107
5156
  aiSeoEnabled: boolean | null;
@@ -5119,6 +5168,7 @@ declare const router: {
5119
5168
  fullPath: string;
5120
5169
  parentPageId: number | null;
5121
5170
  layoutId: number;
5171
+ nickname: string;
5122
5172
  metaTitle: string | null;
5123
5173
  metaDescription: string | null;
5124
5174
  aiSeoEnabled: boolean | null;
@@ -5173,6 +5223,7 @@ declare const router: {
5173
5223
  pathSegment: string;
5174
5224
  fullPath: string;
5175
5225
  parentPageId: number | null;
5226
+ nickname: string;
5176
5227
  metaTitle: string | null;
5177
5228
  metaDescription: string | null;
5178
5229
  aiSeoEnabled: boolean | null;
@@ -5190,6 +5241,7 @@ declare const router: {
5190
5241
  pathSegment: string;
5191
5242
  fullPath: string;
5192
5243
  parentPageId: number | null;
5244
+ nickname: string;
5193
5245
  metaTitle: string | null;
5194
5246
  metaDescription: string | null;
5195
5247
  aiSeoEnabled: boolean | null;
@@ -5239,6 +5291,75 @@ declare const router: {
5239
5291
  pathSegment: string;
5240
5292
  fullPath: string;
5241
5293
  parentPageId: number | null;
5294
+ nickname: string;
5295
+ metaTitle: string | null;
5296
+ metaDescription: string | null;
5297
+ aiSeoEnabled: boolean | null;
5298
+ customOgImageBlobId: string | null;
5299
+ customOgImageUrl: string | null;
5300
+ }, {
5301
+ id: number;
5302
+ createdAt: number;
5303
+ updatedAt: number;
5304
+ projectId: number;
5305
+ environmentId: number;
5306
+ layoutId: number;
5307
+ livePublishedCheckpointId: number | null;
5308
+ contentUpdatedAt: number;
5309
+ pathSegment: string;
5310
+ fullPath: string;
5311
+ parentPageId: number | null;
5312
+ nickname: string;
5313
+ metaTitle: string | null;
5314
+ metaDescription: string | null;
5315
+ aiSeoEnabled: boolean | null;
5316
+ customOgImageBlobId: string | null;
5317
+ customOgImageUrl: string | null;
5318
+ }>, Record<never, never>, Record<never, never>>;
5319
+ discardChanges: 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>>, {
5320
+ user: {
5321
+ id: string;
5322
+ createdAt: Date;
5323
+ updatedAt: Date;
5324
+ email: string;
5325
+ emailVerified: boolean;
5326
+ name: string;
5327
+ image?: string | null | undefined;
5328
+ };
5329
+ session: {
5330
+ id: string;
5331
+ createdAt: Date;
5332
+ updatedAt: Date;
5333
+ userId: string;
5334
+ expiresAt: Date;
5335
+ token: string;
5336
+ ipAddress?: string | null | undefined;
5337
+ userAgent?: string | null | undefined;
5338
+ activeOrganizationId?: string | null | undefined;
5339
+ activeTeamId?: string | null | undefined;
5340
+ };
5341
+ env: Bindings;
5342
+ headers: Headers;
5343
+ db: Database;
5344
+ environmentName: string;
5345
+ client: string;
5346
+ telemetryDisabled: boolean;
5347
+ waitUntil: (promise: Promise<unknown>) => void;
5348
+ }>, import("zod").ZodObject<{
5349
+ id: import("zod").ZodNumber;
5350
+ }, import("better-auth").$strip>, import("@orpc/server").Schema<{
5351
+ id: number;
5352
+ createdAt: number;
5353
+ updatedAt: number;
5354
+ projectId: number;
5355
+ environmentId: number;
5356
+ layoutId: number;
5357
+ livePublishedCheckpointId: number | null;
5358
+ contentUpdatedAt: number;
5359
+ pathSegment: string;
5360
+ fullPath: string;
5361
+ parentPageId: number | null;
5362
+ nickname: string;
5242
5363
  metaTitle: string | null;
5243
5364
  metaDescription: string | null;
5244
5365
  aiSeoEnabled: boolean | null;
@@ -5256,6 +5377,7 @@ declare const router: {
5256
5377
  pathSegment: string;
5257
5378
  fullPath: string;
5258
5379
  parentPageId: number | null;
5380
+ nickname: string;
5259
5381
  metaTitle: string | null;
5260
5382
  metaDescription: string | null;
5261
5383
  aiSeoEnabled: boolean | null;
@@ -7228,6 +7350,8 @@ declare const router: {
7228
7350
  pages: number;
7229
7351
  blocks: number;
7230
7352
  repeatableItems: number;
7353
+ pageCheckpoints: number;
7354
+ layoutCheckpoints: number;
7231
7355
  };
7232
7356
  snapshotKey: string;
7233
7357
  }, {
@@ -7246,6 +7370,8 @@ declare const router: {
7246
7370
  pages: number;
7247
7371
  blocks: number;
7248
7372
  repeatableItems: number;
7373
+ pageCheckpoints: number;
7374
+ layoutCheckpoints: number;
7249
7375
  };
7250
7376
  snapshotKey: string;
7251
7377
  }>, 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.26.0",
3
+ "version": "0.28.0",
4
4
  "files": [
5
5
  "src",
6
6
  "dist"