@camox/api-contract 0.12.1 → 0.14.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 +90 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -943,6 +943,23 @@ declare function createDb(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Dat
|
|
|
943
943
|
identity: undefined;
|
|
944
944
|
generated: undefined;
|
|
945
945
|
}, {}, {}>;
|
|
946
|
+
settings: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
947
|
+
name: "settings";
|
|
948
|
+
tableName: "repeatable_items";
|
|
949
|
+
dataType: "json";
|
|
950
|
+
columnType: "SQLiteTextJson";
|
|
951
|
+
data: unknown;
|
|
952
|
+
driverParam: string;
|
|
953
|
+
notNull: false;
|
|
954
|
+
hasDefault: false;
|
|
955
|
+
isPrimaryKey: false;
|
|
956
|
+
isAutoincrement: false;
|
|
957
|
+
hasRuntimeDefault: false;
|
|
958
|
+
enumValues: undefined;
|
|
959
|
+
baseColumn: never;
|
|
960
|
+
identity: undefined;
|
|
961
|
+
generated: undefined;
|
|
962
|
+
}, {}, {}>;
|
|
946
963
|
summary: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
947
964
|
name: "summary";
|
|
948
965
|
tableName: "repeatable_items";
|
|
@@ -3734,6 +3751,7 @@ declare const router: {
|
|
|
3734
3751
|
parentItemId: number | null;
|
|
3735
3752
|
fieldName: string;
|
|
3736
3753
|
content: unknown;
|
|
3754
|
+
settings: unknown;
|
|
3737
3755
|
summary: string;
|
|
3738
3756
|
position: string;
|
|
3739
3757
|
createdAt: number;
|
|
@@ -3784,6 +3802,7 @@ declare const router: {
|
|
|
3784
3802
|
parentItemId: number | null;
|
|
3785
3803
|
fieldName: string;
|
|
3786
3804
|
content: unknown;
|
|
3805
|
+
settings: unknown;
|
|
3787
3806
|
summary: string;
|
|
3788
3807
|
position: string;
|
|
3789
3808
|
createdAt: number;
|
|
@@ -4418,6 +4437,7 @@ declare const router: {
|
|
|
4418
4437
|
parentItemId: number | null;
|
|
4419
4438
|
fieldName: string;
|
|
4420
4439
|
content: unknown;
|
|
4440
|
+
settings: unknown;
|
|
4421
4441
|
summary: string;
|
|
4422
4442
|
position: string;
|
|
4423
4443
|
createdAt: number;
|
|
@@ -4460,6 +4480,7 @@ declare const router: {
|
|
|
4460
4480
|
parentItemId: number | null;
|
|
4461
4481
|
fieldName: string;
|
|
4462
4482
|
content: unknown;
|
|
4483
|
+
settings: unknown;
|
|
4463
4484
|
summary: string;
|
|
4464
4485
|
position: string;
|
|
4465
4486
|
createdAt: number;
|
|
@@ -5474,6 +5495,7 @@ declare const router: {
|
|
|
5474
5495
|
parentItemId: number | null;
|
|
5475
5496
|
fieldName: string;
|
|
5476
5497
|
content: unknown;
|
|
5498
|
+
settings: unknown;
|
|
5477
5499
|
summary: string;
|
|
5478
5500
|
position: string;
|
|
5479
5501
|
createdAt: number;
|
|
@@ -5501,6 +5523,7 @@ declare const router: {
|
|
|
5501
5523
|
parentItemId: number | null;
|
|
5502
5524
|
fieldName: string;
|
|
5503
5525
|
content: unknown;
|
|
5526
|
+
settings: unknown;
|
|
5504
5527
|
summary: string;
|
|
5505
5528
|
position: string;
|
|
5506
5529
|
createdAt: number;
|
|
@@ -5554,12 +5577,14 @@ declare const router: {
|
|
|
5554
5577
|
parentItemId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
5555
5578
|
fieldName: import("zod").ZodString;
|
|
5556
5579
|
content: import("zod").ZodUnknown;
|
|
5580
|
+
settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
5557
5581
|
afterPosition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
5558
5582
|
nestedItems: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5559
5583
|
tempId: import("zod").ZodString;
|
|
5560
5584
|
parentTempId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
5561
5585
|
fieldName: import("zod").ZodString;
|
|
5562
5586
|
content: import("zod").ZodUnknown;
|
|
5587
|
+
settings: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
5563
5588
|
position: import("zod").ZodString;
|
|
5564
5589
|
}, import("better-auth").$strip>>>;
|
|
5565
5590
|
}, import("better-auth").$strip>, import("@orpc/server").Schema<{
|
|
@@ -5568,6 +5593,7 @@ declare const router: {
|
|
|
5568
5593
|
updatedAt: number;
|
|
5569
5594
|
blockId: number;
|
|
5570
5595
|
content: unknown;
|
|
5596
|
+
settings: unknown;
|
|
5571
5597
|
summary: string;
|
|
5572
5598
|
position: string;
|
|
5573
5599
|
parentItemId: number | null;
|
|
@@ -5578,6 +5604,7 @@ declare const router: {
|
|
|
5578
5604
|
updatedAt: number;
|
|
5579
5605
|
blockId: number;
|
|
5580
5606
|
content: unknown;
|
|
5607
|
+
settings: unknown;
|
|
5581
5608
|
summary: string;
|
|
5582
5609
|
position: string;
|
|
5583
5610
|
parentItemId: number | null;
|
|
@@ -5619,6 +5646,60 @@ declare const router: {
|
|
|
5619
5646
|
updatedAt: number;
|
|
5620
5647
|
blockId: number;
|
|
5621
5648
|
content: unknown;
|
|
5649
|
+
settings: unknown;
|
|
5650
|
+
summary: string;
|
|
5651
|
+
position: string;
|
|
5652
|
+
parentItemId: number | null;
|
|
5653
|
+
fieldName: string;
|
|
5654
|
+
}, {
|
|
5655
|
+
id: number;
|
|
5656
|
+
createdAt: number;
|
|
5657
|
+
updatedAt: number;
|
|
5658
|
+
blockId: number;
|
|
5659
|
+
content: unknown;
|
|
5660
|
+
settings: unknown;
|
|
5661
|
+
summary: string;
|
|
5662
|
+
position: string;
|
|
5663
|
+
parentItemId: number | null;
|
|
5664
|
+
fieldName: string;
|
|
5665
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
5666
|
+
updateSettings: 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>>, {
|
|
5667
|
+
user: {
|
|
5668
|
+
id: string;
|
|
5669
|
+
createdAt: Date;
|
|
5670
|
+
updatedAt: Date;
|
|
5671
|
+
email: string;
|
|
5672
|
+
emailVerified: boolean;
|
|
5673
|
+
name: string;
|
|
5674
|
+
image?: string | null | undefined;
|
|
5675
|
+
};
|
|
5676
|
+
session: {
|
|
5677
|
+
id: string;
|
|
5678
|
+
createdAt: Date;
|
|
5679
|
+
updatedAt: Date;
|
|
5680
|
+
userId: string;
|
|
5681
|
+
expiresAt: Date;
|
|
5682
|
+
token: string;
|
|
5683
|
+
ipAddress?: string | null | undefined;
|
|
5684
|
+
userAgent?: string | null | undefined;
|
|
5685
|
+
activeOrganizationId?: string | null | undefined;
|
|
5686
|
+
activeTeamId?: string | null | undefined;
|
|
5687
|
+
};
|
|
5688
|
+
db: Database;
|
|
5689
|
+
env: Bindings;
|
|
5690
|
+
headers: Headers;
|
|
5691
|
+
environmentName: string;
|
|
5692
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
5693
|
+
}>, import("zod").ZodObject<{
|
|
5694
|
+
id: import("zod").ZodNumber;
|
|
5695
|
+
settings: import("zod").ZodUnknown;
|
|
5696
|
+
}, import("better-auth").$strip>, import("@orpc/server").Schema<{
|
|
5697
|
+
id: number;
|
|
5698
|
+
createdAt: number;
|
|
5699
|
+
updatedAt: number;
|
|
5700
|
+
blockId: number;
|
|
5701
|
+
content: unknown;
|
|
5702
|
+
settings: unknown;
|
|
5622
5703
|
summary: string;
|
|
5623
5704
|
position: string;
|
|
5624
5705
|
parentItemId: number | null;
|
|
@@ -5629,6 +5710,7 @@ declare const router: {
|
|
|
5629
5710
|
updatedAt: number;
|
|
5630
5711
|
blockId: number;
|
|
5631
5712
|
content: unknown;
|
|
5713
|
+
settings: unknown;
|
|
5632
5714
|
summary: string;
|
|
5633
5715
|
position: string;
|
|
5634
5716
|
parentItemId: number | null;
|
|
@@ -5671,6 +5753,7 @@ declare const router: {
|
|
|
5671
5753
|
updatedAt: number;
|
|
5672
5754
|
blockId: number;
|
|
5673
5755
|
content: unknown;
|
|
5756
|
+
settings: unknown;
|
|
5674
5757
|
summary: string;
|
|
5675
5758
|
position: string;
|
|
5676
5759
|
parentItemId: number | null;
|
|
@@ -5681,6 +5764,7 @@ declare const router: {
|
|
|
5681
5764
|
updatedAt: number;
|
|
5682
5765
|
blockId: number;
|
|
5683
5766
|
content: unknown;
|
|
5767
|
+
settings: unknown;
|
|
5684
5768
|
summary: string;
|
|
5685
5769
|
position: string;
|
|
5686
5770
|
parentItemId: number | null;
|
|
@@ -5721,6 +5805,7 @@ declare const router: {
|
|
|
5721
5805
|
updatedAt: number;
|
|
5722
5806
|
blockId: number;
|
|
5723
5807
|
content: unknown;
|
|
5808
|
+
settings: unknown;
|
|
5724
5809
|
summary: string;
|
|
5725
5810
|
position: string;
|
|
5726
5811
|
parentItemId: number | null;
|
|
@@ -5731,6 +5816,7 @@ declare const router: {
|
|
|
5731
5816
|
updatedAt: number;
|
|
5732
5817
|
blockId: number;
|
|
5733
5818
|
content: unknown;
|
|
5819
|
+
settings: unknown;
|
|
5734
5820
|
summary: string;
|
|
5735
5821
|
position: string;
|
|
5736
5822
|
parentItemId: number | null;
|
|
@@ -5771,6 +5857,7 @@ declare const router: {
|
|
|
5771
5857
|
parentItemId: number | null;
|
|
5772
5858
|
fieldName: string;
|
|
5773
5859
|
content: unknown;
|
|
5860
|
+
settings: unknown;
|
|
5774
5861
|
summary: string;
|
|
5775
5862
|
position: string;
|
|
5776
5863
|
createdAt: number;
|
|
@@ -5781,6 +5868,7 @@ declare const router: {
|
|
|
5781
5868
|
parentItemId: number | null;
|
|
5782
5869
|
fieldName: string;
|
|
5783
5870
|
content: unknown;
|
|
5871
|
+
settings: unknown;
|
|
5784
5872
|
summary: string;
|
|
5785
5873
|
position: string;
|
|
5786
5874
|
createdAt: number;
|
|
@@ -5821,6 +5909,7 @@ declare const router: {
|
|
|
5821
5909
|
updatedAt: number;
|
|
5822
5910
|
blockId: number;
|
|
5823
5911
|
content: unknown;
|
|
5912
|
+
settings: unknown;
|
|
5824
5913
|
summary: string;
|
|
5825
5914
|
position: string;
|
|
5826
5915
|
parentItemId: number | null;
|
|
@@ -5831,6 +5920,7 @@ declare const router: {
|
|
|
5831
5920
|
updatedAt: number;
|
|
5832
5921
|
blockId: number;
|
|
5833
5922
|
content: unknown;
|
|
5923
|
+
settings: unknown;
|
|
5834
5924
|
summary: string;
|
|
5835
5925
|
position: string;
|
|
5836
5926
|
parentItemId: number | null;
|