@contentgrowth/content-auth 0.4.5 → 0.4.6
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/backend/index.d.ts +128 -296
- package/dist/backend/index.js +1 -1
- package/dist/{chunk-EXLDH66W.js → chunk-KMN5YLY5.js} +27 -25
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/backend/index.d.ts
CHANGED
|
@@ -51,45 +51,24 @@ declare const createUsersTable: (tableName?: string, fields?: Record<string, str
|
|
|
51
51
|
name: string;
|
|
52
52
|
schema: undefined;
|
|
53
53
|
columns: {
|
|
54
|
-
|
|
54
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
55
55
|
name: string;
|
|
56
56
|
tableName: string;
|
|
57
|
-
dataType: "string";
|
|
58
|
-
columnType: "SQLiteText";
|
|
59
|
-
data: string;
|
|
60
|
-
driverParam: string;
|
|
61
|
-
notNull:
|
|
62
|
-
hasDefault: false;
|
|
63
|
-
isPrimaryKey: true;
|
|
64
|
-
isAutoincrement: false;
|
|
65
|
-
hasRuntimeDefault: false;
|
|
66
|
-
enumValues: [string, ...string[]];
|
|
67
|
-
baseColumn: never;
|
|
68
|
-
identity: undefined;
|
|
69
|
-
generated: undefined;
|
|
70
|
-
}, {}, {
|
|
71
|
-
length: number | undefined;
|
|
72
|
-
}>;
|
|
73
|
-
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
74
|
-
name: string;
|
|
75
|
-
tableName: string;
|
|
76
|
-
dataType: "string";
|
|
77
|
-
columnType: "SQLiteText";
|
|
78
|
-
data: string;
|
|
79
|
-
driverParam: string;
|
|
80
|
-
notNull: true;
|
|
57
|
+
dataType: "string" | "boolean" | "date";
|
|
58
|
+
columnType: "SQLiteText" | "SQLiteBoolean" | "SQLiteTimestamp";
|
|
59
|
+
data: string | boolean | Date;
|
|
60
|
+
driverParam: string | number;
|
|
61
|
+
notNull: false;
|
|
81
62
|
hasDefault: false;
|
|
82
63
|
isPrimaryKey: false;
|
|
83
64
|
isAutoincrement: false;
|
|
84
65
|
hasRuntimeDefault: false;
|
|
85
|
-
enumValues: [string, ...string[]];
|
|
66
|
+
enumValues: [string, ...string[]] | undefined;
|
|
86
67
|
baseColumn: never;
|
|
87
68
|
identity: undefined;
|
|
88
69
|
generated: undefined;
|
|
89
|
-
}, {}, {
|
|
90
|
-
|
|
91
|
-
}>;
|
|
92
|
-
email: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
70
|
+
}, {}, {}>;
|
|
71
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
93
72
|
name: string;
|
|
94
73
|
tableName: string;
|
|
95
74
|
dataType: "string";
|
|
@@ -108,23 +87,6 @@ declare const createUsersTable: (tableName?: string, fields?: Record<string, str
|
|
|
108
87
|
}, {}, {
|
|
109
88
|
length: number | undefined;
|
|
110
89
|
}>;
|
|
111
|
-
emailVerified: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
112
|
-
name: string;
|
|
113
|
-
tableName: string;
|
|
114
|
-
dataType: "boolean";
|
|
115
|
-
columnType: "SQLiteBoolean";
|
|
116
|
-
data: boolean;
|
|
117
|
-
driverParam: number;
|
|
118
|
-
notNull: true;
|
|
119
|
-
hasDefault: false;
|
|
120
|
-
isPrimaryKey: false;
|
|
121
|
-
isAutoincrement: false;
|
|
122
|
-
hasRuntimeDefault: false;
|
|
123
|
-
enumValues: undefined;
|
|
124
|
-
baseColumn: never;
|
|
125
|
-
identity: undefined;
|
|
126
|
-
generated: undefined;
|
|
127
|
-
}, {}, {}>;
|
|
128
90
|
image: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
129
91
|
name: string;
|
|
130
92
|
tableName: string;
|
|
@@ -144,66 +106,30 @@ declare const createUsersTable: (tableName?: string, fields?: Record<string, str
|
|
|
144
106
|
}, {}, {
|
|
145
107
|
length: number | undefined;
|
|
146
108
|
}>;
|
|
147
|
-
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
148
|
-
name: string;
|
|
149
|
-
tableName: string;
|
|
150
|
-
dataType: "date";
|
|
151
|
-
columnType: "SQLiteTimestamp";
|
|
152
|
-
data: Date;
|
|
153
|
-
driverParam: number;
|
|
154
|
-
notNull: true;
|
|
155
|
-
hasDefault: false;
|
|
156
|
-
isPrimaryKey: false;
|
|
157
|
-
isAutoincrement: false;
|
|
158
|
-
hasRuntimeDefault: false;
|
|
159
|
-
enumValues: undefined;
|
|
160
|
-
baseColumn: never;
|
|
161
|
-
identity: undefined;
|
|
162
|
-
generated: undefined;
|
|
163
|
-
}, {}, {}>;
|
|
164
|
-
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
165
|
-
name: string;
|
|
166
|
-
tableName: string;
|
|
167
|
-
dataType: "date";
|
|
168
|
-
columnType: "SQLiteTimestamp";
|
|
169
|
-
data: Date;
|
|
170
|
-
driverParam: number;
|
|
171
|
-
notNull: true;
|
|
172
|
-
hasDefault: false;
|
|
173
|
-
isPrimaryKey: false;
|
|
174
|
-
isAutoincrement: false;
|
|
175
|
-
hasRuntimeDefault: false;
|
|
176
|
-
enumValues: undefined;
|
|
177
|
-
baseColumn: never;
|
|
178
|
-
identity: undefined;
|
|
179
|
-
generated: undefined;
|
|
180
|
-
}, {}, {}>;
|
|
181
109
|
};
|
|
182
110
|
dialect: "sqlite";
|
|
183
111
|
}>;
|
|
184
|
-
declare const createSessionsTable: (tableName?: string, usersTableOrFn?: any, fields?: Record<string, string
|
|
112
|
+
declare const createSessionsTable: (tableName?: string, usersTableOrFn?: any, fields?: Record<string, string>, userPkField?: string) => drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
185
113
|
name: string;
|
|
186
114
|
schema: undefined;
|
|
187
115
|
columns: {
|
|
188
|
-
|
|
116
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
189
117
|
name: string;
|
|
190
118
|
tableName: string;
|
|
191
|
-
dataType: "string";
|
|
192
|
-
columnType: "SQLiteText";
|
|
193
|
-
data: string;
|
|
194
|
-
driverParam: string;
|
|
195
|
-
notNull:
|
|
119
|
+
dataType: "string" | "date";
|
|
120
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
121
|
+
data: string | Date;
|
|
122
|
+
driverParam: string | number;
|
|
123
|
+
notNull: false;
|
|
196
124
|
hasDefault: false;
|
|
197
|
-
isPrimaryKey:
|
|
125
|
+
isPrimaryKey: false;
|
|
198
126
|
isAutoincrement: false;
|
|
199
127
|
hasRuntimeDefault: false;
|
|
200
|
-
enumValues: [string, ...string[]];
|
|
128
|
+
enumValues: [string, ...string[]] | undefined;
|
|
201
129
|
baseColumn: never;
|
|
202
130
|
identity: undefined;
|
|
203
131
|
generated: undefined;
|
|
204
|
-
}, {}, {
|
|
205
|
-
length: number | undefined;
|
|
206
|
-
}>;
|
|
132
|
+
}, {}, {}>;
|
|
207
133
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
208
134
|
name: string;
|
|
209
135
|
tableName: string;
|
|
@@ -353,29 +279,27 @@ declare const createSessionsTable: (tableName?: string, usersTableOrFn?: any, fi
|
|
|
353
279
|
};
|
|
354
280
|
dialect: "sqlite";
|
|
355
281
|
}>;
|
|
356
|
-
declare const createAccountsTable: (tableName?: string, usersTableOrFn?: any, fields?: Record<string, string
|
|
282
|
+
declare const createAccountsTable: (tableName?: string, usersTableOrFn?: any, fields?: Record<string, string>, userPkField?: string) => drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
357
283
|
name: string;
|
|
358
284
|
schema: undefined;
|
|
359
285
|
columns: {
|
|
360
|
-
|
|
286
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
361
287
|
name: string;
|
|
362
288
|
tableName: string;
|
|
363
|
-
dataType: "string";
|
|
364
|
-
columnType: "SQLiteText";
|
|
365
|
-
data: string;
|
|
366
|
-
driverParam: string;
|
|
367
|
-
notNull:
|
|
289
|
+
dataType: "string" | "date";
|
|
290
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
291
|
+
data: string | Date;
|
|
292
|
+
driverParam: string | number;
|
|
293
|
+
notNull: false;
|
|
368
294
|
hasDefault: false;
|
|
369
|
-
isPrimaryKey:
|
|
295
|
+
isPrimaryKey: false;
|
|
370
296
|
isAutoincrement: false;
|
|
371
297
|
hasRuntimeDefault: false;
|
|
372
|
-
enumValues: [string, ...string[]];
|
|
298
|
+
enumValues: [string, ...string[]] | undefined;
|
|
373
299
|
baseColumn: never;
|
|
374
300
|
identity: undefined;
|
|
375
301
|
generated: undefined;
|
|
376
|
-
}, {}, {
|
|
377
|
-
length: number | undefined;
|
|
378
|
-
}>;
|
|
302
|
+
}, {}, {}>;
|
|
379
303
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
380
304
|
name: string;
|
|
381
305
|
tableName: string;
|
|
@@ -603,25 +527,23 @@ declare const createVerificationsTable: (tableName?: string, fields?: Record<str
|
|
|
603
527
|
name: string;
|
|
604
528
|
schema: undefined;
|
|
605
529
|
columns: {
|
|
606
|
-
|
|
530
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
607
531
|
name: string;
|
|
608
532
|
tableName: string;
|
|
609
|
-
dataType: "string";
|
|
610
|
-
columnType: "SQLiteText";
|
|
611
|
-
data: string;
|
|
612
|
-
driverParam: string;
|
|
613
|
-
notNull:
|
|
533
|
+
dataType: "string" | "date";
|
|
534
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
535
|
+
data: string | Date;
|
|
536
|
+
driverParam: string | number;
|
|
537
|
+
notNull: false;
|
|
614
538
|
hasDefault: false;
|
|
615
|
-
isPrimaryKey:
|
|
539
|
+
isPrimaryKey: false;
|
|
616
540
|
isAutoincrement: false;
|
|
617
541
|
hasRuntimeDefault: false;
|
|
618
|
-
enumValues: [string, ...string[]];
|
|
542
|
+
enumValues: [string, ...string[]] | undefined;
|
|
619
543
|
baseColumn: never;
|
|
620
544
|
identity: undefined;
|
|
621
545
|
generated: undefined;
|
|
622
|
-
}, {}, {
|
|
623
|
-
length: number | undefined;
|
|
624
|
-
}>;
|
|
546
|
+
}, {}, {}>;
|
|
625
547
|
identifier: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
626
548
|
name: string;
|
|
627
549
|
tableName: string;
|
|
@@ -718,25 +640,23 @@ declare const createOrganizationsTable: (tableName?: string, fields?: Record<str
|
|
|
718
640
|
name: string;
|
|
719
641
|
schema: undefined;
|
|
720
642
|
columns: {
|
|
721
|
-
|
|
643
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
722
644
|
name: string;
|
|
723
645
|
tableName: string;
|
|
724
|
-
dataType: "string";
|
|
725
|
-
columnType: "SQLiteText";
|
|
726
|
-
data: string;
|
|
727
|
-
driverParam: string;
|
|
728
|
-
notNull:
|
|
646
|
+
dataType: "string" | "date";
|
|
647
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
648
|
+
data: string | Date;
|
|
649
|
+
driverParam: string | number;
|
|
650
|
+
notNull: false;
|
|
729
651
|
hasDefault: false;
|
|
730
|
-
isPrimaryKey:
|
|
652
|
+
isPrimaryKey: false;
|
|
731
653
|
isAutoincrement: false;
|
|
732
654
|
hasRuntimeDefault: false;
|
|
733
|
-
enumValues: [string, ...string[]];
|
|
655
|
+
enumValues: [string, ...string[]] | undefined;
|
|
734
656
|
baseColumn: never;
|
|
735
657
|
identity: undefined;
|
|
736
658
|
generated: undefined;
|
|
737
|
-
}, {}, {
|
|
738
|
-
length: number | undefined;
|
|
739
|
-
}>;
|
|
659
|
+
}, {}, {}>;
|
|
740
660
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
741
661
|
name: string;
|
|
742
662
|
tableName: string;
|
|
@@ -833,29 +753,27 @@ declare const createOrganizationsTable: (tableName?: string, fields?: Record<str
|
|
|
833
753
|
};
|
|
834
754
|
dialect: "sqlite";
|
|
835
755
|
}>;
|
|
836
|
-
declare const createMembersTable: (tableName?: string, organizationsTableOrFn?: any, usersTableOrFn?: any, fields?: Record<string, string
|
|
756
|
+
declare const createMembersTable: (tableName?: string, organizationsTableOrFn?: any, usersTableOrFn?: any, fields?: Record<string, string>, userPkField?: string) => drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
837
757
|
name: string;
|
|
838
758
|
schema: undefined;
|
|
839
759
|
columns: {
|
|
840
|
-
|
|
760
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
841
761
|
name: string;
|
|
842
762
|
tableName: string;
|
|
843
|
-
dataType: "string";
|
|
844
|
-
columnType: "SQLiteText";
|
|
845
|
-
data: string;
|
|
846
|
-
driverParam: string;
|
|
763
|
+
dataType: "string" | "date";
|
|
764
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
765
|
+
data: string | Date;
|
|
766
|
+
driverParam: string | number;
|
|
847
767
|
notNull: true;
|
|
848
768
|
hasDefault: false;
|
|
849
|
-
isPrimaryKey:
|
|
769
|
+
isPrimaryKey: false;
|
|
850
770
|
isAutoincrement: false;
|
|
851
771
|
hasRuntimeDefault: false;
|
|
852
|
-
enumValues: [string, ...string[]];
|
|
772
|
+
enumValues: [string, ...string[]] | undefined;
|
|
853
773
|
baseColumn: never;
|
|
854
774
|
identity: undefined;
|
|
855
775
|
generated: undefined;
|
|
856
|
-
}, {}, {
|
|
857
|
-
length: number | undefined;
|
|
858
|
-
}>;
|
|
776
|
+
}, {}, {}>;
|
|
859
777
|
organizationId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
860
778
|
name: string;
|
|
861
779
|
tableName: string;
|
|
@@ -933,29 +851,27 @@ declare const createMembersTable: (tableName?: string, organizationsTableOrFn?:
|
|
|
933
851
|
};
|
|
934
852
|
dialect: "sqlite";
|
|
935
853
|
}>;
|
|
936
|
-
declare const createInvitationsTable: (tableName?: string, organizationsTableOrFn?: any, usersTableOrFn?: any, fields?: Record<string, string
|
|
854
|
+
declare const createInvitationsTable: (tableName?: string, organizationsTableOrFn?: any, usersTableOrFn?: any, fields?: Record<string, string>, userPkField?: string) => drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
937
855
|
name: string;
|
|
938
856
|
schema: undefined;
|
|
939
857
|
columns: {
|
|
940
|
-
|
|
858
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
941
859
|
name: string;
|
|
942
860
|
tableName: string;
|
|
943
|
-
dataType: "string";
|
|
944
|
-
columnType: "SQLiteText";
|
|
945
|
-
data: string;
|
|
946
|
-
driverParam: string;
|
|
947
|
-
notNull:
|
|
861
|
+
dataType: "string" | "date";
|
|
862
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
863
|
+
data: string | Date;
|
|
864
|
+
driverParam: string | number;
|
|
865
|
+
notNull: false;
|
|
948
866
|
hasDefault: false;
|
|
949
|
-
isPrimaryKey:
|
|
867
|
+
isPrimaryKey: false;
|
|
950
868
|
isAutoincrement: false;
|
|
951
869
|
hasRuntimeDefault: false;
|
|
952
|
-
enumValues: [string, ...string[]];
|
|
870
|
+
enumValues: [string, ...string[]] | undefined;
|
|
953
871
|
baseColumn: never;
|
|
954
872
|
identity: undefined;
|
|
955
873
|
generated: undefined;
|
|
956
|
-
}, {}, {
|
|
957
|
-
length: number | undefined;
|
|
958
|
-
}>;
|
|
874
|
+
}, {}, {}>;
|
|
959
875
|
organizationId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
960
876
|
name: string;
|
|
961
877
|
tableName: string;
|
|
@@ -1092,45 +1008,24 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1092
1008
|
name: string;
|
|
1093
1009
|
schema: undefined;
|
|
1094
1010
|
columns: {
|
|
1095
|
-
|
|
1011
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1096
1012
|
name: string;
|
|
1097
1013
|
tableName: string;
|
|
1098
|
-
dataType: "string";
|
|
1099
|
-
columnType: "SQLiteText";
|
|
1100
|
-
data: string;
|
|
1101
|
-
driverParam: string;
|
|
1102
|
-
notNull:
|
|
1103
|
-
hasDefault: false;
|
|
1104
|
-
isPrimaryKey: true;
|
|
1105
|
-
isAutoincrement: false;
|
|
1106
|
-
hasRuntimeDefault: false;
|
|
1107
|
-
enumValues: [string, ...string[]];
|
|
1108
|
-
baseColumn: never;
|
|
1109
|
-
identity: undefined;
|
|
1110
|
-
generated: undefined;
|
|
1111
|
-
}, {}, {
|
|
1112
|
-
length: number | undefined;
|
|
1113
|
-
}>;
|
|
1114
|
-
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1115
|
-
name: string;
|
|
1116
|
-
tableName: string;
|
|
1117
|
-
dataType: "string";
|
|
1118
|
-
columnType: "SQLiteText";
|
|
1119
|
-
data: string;
|
|
1120
|
-
driverParam: string;
|
|
1121
|
-
notNull: true;
|
|
1014
|
+
dataType: "string" | "boolean" | "date";
|
|
1015
|
+
columnType: "SQLiteText" | "SQLiteBoolean" | "SQLiteTimestamp";
|
|
1016
|
+
data: string | boolean | Date;
|
|
1017
|
+
driverParam: string | number;
|
|
1018
|
+
notNull: false;
|
|
1122
1019
|
hasDefault: false;
|
|
1123
1020
|
isPrimaryKey: false;
|
|
1124
1021
|
isAutoincrement: false;
|
|
1125
1022
|
hasRuntimeDefault: false;
|
|
1126
|
-
enumValues: [string, ...string[]];
|
|
1023
|
+
enumValues: [string, ...string[]] | undefined;
|
|
1127
1024
|
baseColumn: never;
|
|
1128
1025
|
identity: undefined;
|
|
1129
1026
|
generated: undefined;
|
|
1130
|
-
}, {}, {
|
|
1131
|
-
|
|
1132
|
-
}>;
|
|
1133
|
-
email: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1027
|
+
}, {}, {}>;
|
|
1028
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1134
1029
|
name: string;
|
|
1135
1030
|
tableName: string;
|
|
1136
1031
|
dataType: "string";
|
|
@@ -1149,23 +1044,6 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1149
1044
|
}, {}, {
|
|
1150
1045
|
length: number | undefined;
|
|
1151
1046
|
}>;
|
|
1152
|
-
emailVerified: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1153
|
-
name: string;
|
|
1154
|
-
tableName: string;
|
|
1155
|
-
dataType: "boolean";
|
|
1156
|
-
columnType: "SQLiteBoolean";
|
|
1157
|
-
data: boolean;
|
|
1158
|
-
driverParam: number;
|
|
1159
|
-
notNull: true;
|
|
1160
|
-
hasDefault: false;
|
|
1161
|
-
isPrimaryKey: false;
|
|
1162
|
-
isAutoincrement: false;
|
|
1163
|
-
hasRuntimeDefault: false;
|
|
1164
|
-
enumValues: undefined;
|
|
1165
|
-
baseColumn: never;
|
|
1166
|
-
identity: undefined;
|
|
1167
|
-
generated: undefined;
|
|
1168
|
-
}, {}, {}>;
|
|
1169
1047
|
image: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1170
1048
|
name: string;
|
|
1171
1049
|
tableName: string;
|
|
@@ -1185,40 +1063,6 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1185
1063
|
}, {}, {
|
|
1186
1064
|
length: number | undefined;
|
|
1187
1065
|
}>;
|
|
1188
|
-
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1189
|
-
name: string;
|
|
1190
|
-
tableName: string;
|
|
1191
|
-
dataType: "date";
|
|
1192
|
-
columnType: "SQLiteTimestamp";
|
|
1193
|
-
data: Date;
|
|
1194
|
-
driverParam: number;
|
|
1195
|
-
notNull: true;
|
|
1196
|
-
hasDefault: false;
|
|
1197
|
-
isPrimaryKey: false;
|
|
1198
|
-
isAutoincrement: false;
|
|
1199
|
-
hasRuntimeDefault: false;
|
|
1200
|
-
enumValues: undefined;
|
|
1201
|
-
baseColumn: never;
|
|
1202
|
-
identity: undefined;
|
|
1203
|
-
generated: undefined;
|
|
1204
|
-
}, {}, {}>;
|
|
1205
|
-
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1206
|
-
name: string;
|
|
1207
|
-
tableName: string;
|
|
1208
|
-
dataType: "date";
|
|
1209
|
-
columnType: "SQLiteTimestamp";
|
|
1210
|
-
data: Date;
|
|
1211
|
-
driverParam: number;
|
|
1212
|
-
notNull: true;
|
|
1213
|
-
hasDefault: false;
|
|
1214
|
-
isPrimaryKey: false;
|
|
1215
|
-
isAutoincrement: false;
|
|
1216
|
-
hasRuntimeDefault: false;
|
|
1217
|
-
enumValues: undefined;
|
|
1218
|
-
baseColumn: never;
|
|
1219
|
-
identity: undefined;
|
|
1220
|
-
generated: undefined;
|
|
1221
|
-
}, {}, {}>;
|
|
1222
1066
|
};
|
|
1223
1067
|
dialect: "sqlite";
|
|
1224
1068
|
}>;
|
|
@@ -1226,25 +1070,23 @@ declare const organizations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1226
1070
|
name: string;
|
|
1227
1071
|
schema: undefined;
|
|
1228
1072
|
columns: {
|
|
1229
|
-
|
|
1073
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1230
1074
|
name: string;
|
|
1231
1075
|
tableName: string;
|
|
1232
|
-
dataType: "string";
|
|
1233
|
-
columnType: "SQLiteText";
|
|
1234
|
-
data: string;
|
|
1235
|
-
driverParam: string;
|
|
1236
|
-
notNull:
|
|
1076
|
+
dataType: "string" | "date";
|
|
1077
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
1078
|
+
data: string | Date;
|
|
1079
|
+
driverParam: string | number;
|
|
1080
|
+
notNull: false;
|
|
1237
1081
|
hasDefault: false;
|
|
1238
|
-
isPrimaryKey:
|
|
1082
|
+
isPrimaryKey: false;
|
|
1239
1083
|
isAutoincrement: false;
|
|
1240
1084
|
hasRuntimeDefault: false;
|
|
1241
|
-
enumValues: [string, ...string[]];
|
|
1085
|
+
enumValues: [string, ...string[]] | undefined;
|
|
1242
1086
|
baseColumn: never;
|
|
1243
1087
|
identity: undefined;
|
|
1244
1088
|
generated: undefined;
|
|
1245
|
-
}, {}, {
|
|
1246
|
-
length: number | undefined;
|
|
1247
|
-
}>;
|
|
1089
|
+
}, {}, {}>;
|
|
1248
1090
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1249
1091
|
name: string;
|
|
1250
1092
|
tableName: string;
|
|
@@ -1345,25 +1187,23 @@ declare const sessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1345
1187
|
name: string;
|
|
1346
1188
|
schema: undefined;
|
|
1347
1189
|
columns: {
|
|
1348
|
-
|
|
1190
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1349
1191
|
name: string;
|
|
1350
1192
|
tableName: string;
|
|
1351
|
-
dataType: "string";
|
|
1352
|
-
columnType: "SQLiteText";
|
|
1353
|
-
data: string;
|
|
1354
|
-
driverParam: string;
|
|
1355
|
-
notNull:
|
|
1193
|
+
dataType: "string" | "date";
|
|
1194
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
1195
|
+
data: string | Date;
|
|
1196
|
+
driverParam: string | number;
|
|
1197
|
+
notNull: false;
|
|
1356
1198
|
hasDefault: false;
|
|
1357
|
-
isPrimaryKey:
|
|
1199
|
+
isPrimaryKey: false;
|
|
1358
1200
|
isAutoincrement: false;
|
|
1359
1201
|
hasRuntimeDefault: false;
|
|
1360
|
-
enumValues: [string, ...string[]];
|
|
1202
|
+
enumValues: [string, ...string[]] | undefined;
|
|
1361
1203
|
baseColumn: never;
|
|
1362
1204
|
identity: undefined;
|
|
1363
1205
|
generated: undefined;
|
|
1364
|
-
}, {}, {
|
|
1365
|
-
length: number | undefined;
|
|
1366
|
-
}>;
|
|
1206
|
+
}, {}, {}>;
|
|
1367
1207
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1368
1208
|
name: string;
|
|
1369
1209
|
tableName: string;
|
|
@@ -1517,25 +1357,23 @@ declare const accounts: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1517
1357
|
name: string;
|
|
1518
1358
|
schema: undefined;
|
|
1519
1359
|
columns: {
|
|
1520
|
-
|
|
1360
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1521
1361
|
name: string;
|
|
1522
1362
|
tableName: string;
|
|
1523
|
-
dataType: "string";
|
|
1524
|
-
columnType: "SQLiteText";
|
|
1525
|
-
data: string;
|
|
1526
|
-
driverParam: string;
|
|
1527
|
-
notNull:
|
|
1363
|
+
dataType: "string" | "date";
|
|
1364
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
1365
|
+
data: string | Date;
|
|
1366
|
+
driverParam: string | number;
|
|
1367
|
+
notNull: false;
|
|
1528
1368
|
hasDefault: false;
|
|
1529
|
-
isPrimaryKey:
|
|
1369
|
+
isPrimaryKey: false;
|
|
1530
1370
|
isAutoincrement: false;
|
|
1531
1371
|
hasRuntimeDefault: false;
|
|
1532
|
-
enumValues: [string, ...string[]];
|
|
1372
|
+
enumValues: [string, ...string[]] | undefined;
|
|
1533
1373
|
baseColumn: never;
|
|
1534
1374
|
identity: undefined;
|
|
1535
1375
|
generated: undefined;
|
|
1536
|
-
}, {}, {
|
|
1537
|
-
length: number | undefined;
|
|
1538
|
-
}>;
|
|
1376
|
+
}, {}, {}>;
|
|
1539
1377
|
accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1540
1378
|
name: string;
|
|
1541
1379
|
tableName: string;
|
|
@@ -1763,25 +1601,23 @@ declare const verifications: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1763
1601
|
name: string;
|
|
1764
1602
|
schema: undefined;
|
|
1765
1603
|
columns: {
|
|
1766
|
-
|
|
1604
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1767
1605
|
name: string;
|
|
1768
1606
|
tableName: string;
|
|
1769
|
-
dataType: "string";
|
|
1770
|
-
columnType: "SQLiteText";
|
|
1771
|
-
data: string;
|
|
1772
|
-
driverParam: string;
|
|
1773
|
-
notNull:
|
|
1607
|
+
dataType: "string" | "date";
|
|
1608
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
1609
|
+
data: string | Date;
|
|
1610
|
+
driverParam: string | number;
|
|
1611
|
+
notNull: false;
|
|
1774
1612
|
hasDefault: false;
|
|
1775
|
-
isPrimaryKey:
|
|
1613
|
+
isPrimaryKey: false;
|
|
1776
1614
|
isAutoincrement: false;
|
|
1777
1615
|
hasRuntimeDefault: false;
|
|
1778
|
-
enumValues: [string, ...string[]];
|
|
1616
|
+
enumValues: [string, ...string[]] | undefined;
|
|
1779
1617
|
baseColumn: never;
|
|
1780
1618
|
identity: undefined;
|
|
1781
1619
|
generated: undefined;
|
|
1782
|
-
}, {}, {
|
|
1783
|
-
length: number | undefined;
|
|
1784
|
-
}>;
|
|
1620
|
+
}, {}, {}>;
|
|
1785
1621
|
identifier: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1786
1622
|
name: string;
|
|
1787
1623
|
tableName: string;
|
|
@@ -1878,25 +1714,23 @@ declare const members: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1878
1714
|
name: string;
|
|
1879
1715
|
schema: undefined;
|
|
1880
1716
|
columns: {
|
|
1881
|
-
|
|
1717
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1882
1718
|
name: string;
|
|
1883
1719
|
tableName: string;
|
|
1884
|
-
dataType: "string";
|
|
1885
|
-
columnType: "SQLiteText";
|
|
1886
|
-
data: string;
|
|
1887
|
-
driverParam: string;
|
|
1720
|
+
dataType: "string" | "date";
|
|
1721
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
1722
|
+
data: string | Date;
|
|
1723
|
+
driverParam: string | number;
|
|
1888
1724
|
notNull: true;
|
|
1889
1725
|
hasDefault: false;
|
|
1890
|
-
isPrimaryKey:
|
|
1726
|
+
isPrimaryKey: false;
|
|
1891
1727
|
isAutoincrement: false;
|
|
1892
1728
|
hasRuntimeDefault: false;
|
|
1893
|
-
enumValues: [string, ...string[]];
|
|
1729
|
+
enumValues: [string, ...string[]] | undefined;
|
|
1894
1730
|
baseColumn: never;
|
|
1895
1731
|
identity: undefined;
|
|
1896
1732
|
generated: undefined;
|
|
1897
|
-
}, {}, {
|
|
1898
|
-
length: number | undefined;
|
|
1899
|
-
}>;
|
|
1733
|
+
}, {}, {}>;
|
|
1900
1734
|
organizationId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1901
1735
|
name: string;
|
|
1902
1736
|
tableName: string;
|
|
@@ -1978,25 +1812,23 @@ declare const invitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1978
1812
|
name: string;
|
|
1979
1813
|
schema: undefined;
|
|
1980
1814
|
columns: {
|
|
1981
|
-
|
|
1815
|
+
[x: string]: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1982
1816
|
name: string;
|
|
1983
1817
|
tableName: string;
|
|
1984
|
-
dataType: "string";
|
|
1985
|
-
columnType: "SQLiteText";
|
|
1986
|
-
data: string;
|
|
1987
|
-
driverParam: string;
|
|
1988
|
-
notNull:
|
|
1818
|
+
dataType: "string" | "date";
|
|
1819
|
+
columnType: "SQLiteText" | "SQLiteTimestamp";
|
|
1820
|
+
data: string | Date;
|
|
1821
|
+
driverParam: string | number;
|
|
1822
|
+
notNull: false;
|
|
1989
1823
|
hasDefault: false;
|
|
1990
|
-
isPrimaryKey:
|
|
1824
|
+
isPrimaryKey: false;
|
|
1991
1825
|
isAutoincrement: false;
|
|
1992
1826
|
hasRuntimeDefault: false;
|
|
1993
|
-
enumValues: [string, ...string[]];
|
|
1827
|
+
enumValues: [string, ...string[]] | undefined;
|
|
1994
1828
|
baseColumn: never;
|
|
1995
1829
|
identity: undefined;
|
|
1996
1830
|
generated: undefined;
|
|
1997
|
-
}, {}, {
|
|
1998
|
-
length: number | undefined;
|
|
1999
|
-
}>;
|
|
1831
|
+
}, {}, {}>;
|
|
2000
1832
|
organizationId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2001
1833
|
name: string;
|
|
2002
1834
|
tableName: string;
|
package/dist/backend/index.js
CHANGED
|
@@ -121,35 +121,35 @@ __export(schema_exports, {
|
|
|
121
121
|
});
|
|
122
122
|
import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
|
|
123
123
|
var createUsersTable = (tableName = "users", fields) => sqliteTable(tableName, {
|
|
124
|
-
id: text(fields?.id || "id").primaryKey(),
|
|
124
|
+
[fields?.id || "id"]: text(fields?.id || "id").primaryKey(),
|
|
125
125
|
name: text(fields?.name || "name").notNull(),
|
|
126
|
-
email: text(fields?.email || "email").notNull().unique(),
|
|
127
|
-
emailVerified: integer(fields?.emailVerified || "emailVerified", { mode: "boolean" }).notNull(),
|
|
126
|
+
[fields?.email || "email"]: text(fields?.email || "email").notNull().unique(),
|
|
127
|
+
[fields?.emailVerified || "emailVerified"]: integer(fields?.emailVerified || "emailVerified", { mode: "boolean" }).notNull(),
|
|
128
128
|
image: text(fields?.image || "image"),
|
|
129
|
-
createdAt: integer(fields?.createdAt || "createdAt", { mode: "timestamp" }).notNull(),
|
|
130
|
-
updatedAt: integer(fields?.updatedAt || "updatedAt", { mode: "timestamp" }).notNull()
|
|
129
|
+
[fields?.createdAt || "createdAt"]: integer(fields?.createdAt || "createdAt", { mode: "timestamp" }).notNull(),
|
|
130
|
+
[fields?.updatedAt || "updatedAt"]: integer(fields?.updatedAt || "updatedAt", { mode: "timestamp" }).notNull()
|
|
131
131
|
});
|
|
132
|
-
var createSessionsTable = (tableName = "sessions", usersTableOrFn = users, fields) => {
|
|
132
|
+
var createSessionsTable = (tableName = "sessions", usersTableOrFn = users, fields, userPkField = "id") => {
|
|
133
133
|
const usersTable = typeof usersTableOrFn === "function" ? usersTableOrFn() : usersTableOrFn;
|
|
134
134
|
return sqliteTable(tableName, {
|
|
135
|
-
id: text(fields?.id || "id").primaryKey(),
|
|
135
|
+
[fields?.id || "id"]: text(fields?.id || "id").primaryKey(),
|
|
136
136
|
expiresAt: integer(fields?.expiresAt || "expiresAt", { mode: "timestamp" }).notNull(),
|
|
137
137
|
token: text(fields?.token || "token").notNull().unique(),
|
|
138
138
|
createdAt: integer(fields?.createdAt || "createdAt", { mode: "timestamp" }).notNull(),
|
|
139
139
|
updatedAt: integer(fields?.updatedAt || "updatedAt", { mode: "timestamp" }).notNull(),
|
|
140
140
|
ipAddress: text(fields?.ipAddress || "ipAddress"),
|
|
141
141
|
userAgent: text(fields?.userAgent || "userAgent"),
|
|
142
|
-
userId: text(fields?.userId || "userId").notNull().references(() => usersTable
|
|
142
|
+
userId: text(fields?.userId || "userId").notNull().references(() => usersTable[userPkField], { onDelete: "cascade" }),
|
|
143
143
|
activeOrganizationId: text(fields?.activeOrganizationId || "activeOrganizationId")
|
|
144
144
|
});
|
|
145
145
|
};
|
|
146
|
-
var createAccountsTable = (tableName = "accounts", usersTableOrFn = users, fields) => {
|
|
146
|
+
var createAccountsTable = (tableName = "accounts", usersTableOrFn = users, fields, userPkField = "id") => {
|
|
147
147
|
const usersTable = typeof usersTableOrFn === "function" ? usersTableOrFn() : usersTableOrFn;
|
|
148
148
|
return sqliteTable(tableName, {
|
|
149
|
-
id: text(fields?.id || "id").primaryKey(),
|
|
149
|
+
[fields?.id || "id"]: text(fields?.id || "id").primaryKey(),
|
|
150
150
|
accountId: text(fields?.accountId || "accountId").notNull(),
|
|
151
151
|
providerId: text(fields?.providerId || "providerId").notNull(),
|
|
152
|
-
userId: text(fields?.userId || "userId").notNull().references(() => usersTable
|
|
152
|
+
userId: text(fields?.userId || "userId").notNull().references(() => usersTable[userPkField], { onDelete: "cascade" }),
|
|
153
153
|
accessToken: text(fields?.accessToken || "accessToken"),
|
|
154
154
|
refreshToken: text(fields?.refreshToken || "refreshToken"),
|
|
155
155
|
idToken: text(fields?.idToken || "idToken"),
|
|
@@ -162,7 +162,7 @@ var createAccountsTable = (tableName = "accounts", usersTableOrFn = users, field
|
|
|
162
162
|
});
|
|
163
163
|
};
|
|
164
164
|
var createVerificationsTable = (tableName = "verifications", fields) => sqliteTable(tableName, {
|
|
165
|
-
id: text(fields?.id || "id").primaryKey(),
|
|
165
|
+
[fields?.id || "id"]: text(fields?.id || "id").primaryKey(),
|
|
166
166
|
identifier: text(fields?.identifier || "identifier").notNull(),
|
|
167
167
|
value: text(fields?.value || "value").notNull(),
|
|
168
168
|
expiresAt: integer(fields?.expiresAt || "expiresAt", { mode: "timestamp" }).notNull(),
|
|
@@ -170,35 +170,36 @@ var createVerificationsTable = (tableName = "verifications", fields) => sqliteTa
|
|
|
170
170
|
updatedAt: integer(fields?.updatedAt || "updatedAt", { mode: "timestamp" })
|
|
171
171
|
});
|
|
172
172
|
var createOrganizationsTable = (tableName = "organizations", fields) => sqliteTable(tableName, {
|
|
173
|
-
id: text(fields?.id || "id").primaryKey(),
|
|
173
|
+
[fields?.id || "id"]: text(fields?.id || "id").primaryKey(),
|
|
174
174
|
name: text(fields?.name || "name").notNull(),
|
|
175
175
|
slug: text(fields?.slug || "slug").unique(),
|
|
176
176
|
logo: text(fields?.logo || "logo"),
|
|
177
177
|
createdAt: integer(fields?.createdAt || "createdAt", { mode: "timestamp" }).notNull(),
|
|
178
178
|
metadata: text(fields?.metadata || "metadata")
|
|
179
179
|
});
|
|
180
|
-
var createMembersTable = (tableName = "members", organizationsTableOrFn = organizations, usersTableOrFn = users, fields) => {
|
|
180
|
+
var createMembersTable = (tableName = "members", organizationsTableOrFn = organizations, usersTableOrFn = users, fields, userPkField = "id") => {
|
|
181
181
|
const organizationsTable = typeof organizationsTableOrFn === "function" ? organizationsTableOrFn() : organizationsTableOrFn;
|
|
182
182
|
const usersTable = typeof usersTableOrFn === "function" ? usersTableOrFn() : usersTableOrFn;
|
|
183
183
|
return sqliteTable(tableName, {
|
|
184
|
-
id: text(fields?.id || "id").primaryKey(),
|
|
185
|
-
organizationId: text(fields?.organizationId || "organizationId").notNull().references(() => organizationsTable.id, { onDelete: "cascade" }),
|
|
186
|
-
|
|
184
|
+
[fields?.id || "id"]: text(fields?.id || "id").primaryKey(),
|
|
185
|
+
organizationId: text(fields?.organizationId || "organizationId").notNull().references(() => organizationsTable[fields?.organizationId || "id"] || organizationsTable.id, { onDelete: "cascade" }),
|
|
186
|
+
// Partial fix for org FK too?
|
|
187
|
+
userId: text(fields?.userId || "userId").notNull().references(() => usersTable[userPkField], { onDelete: "cascade" }),
|
|
187
188
|
role: text(fields?.role || "role").notNull(),
|
|
188
189
|
createdAt: integer(fields?.createdAt || "createdAt", { mode: "timestamp" }).notNull()
|
|
189
190
|
});
|
|
190
191
|
};
|
|
191
|
-
var createInvitationsTable = (tableName = "invitations", organizationsTableOrFn = organizations, usersTableOrFn = users, fields) => {
|
|
192
|
+
var createInvitationsTable = (tableName = "invitations", organizationsTableOrFn = organizations, usersTableOrFn = users, fields, userPkField = "id") => {
|
|
192
193
|
const organizationsTable = typeof organizationsTableOrFn === "function" ? organizationsTableOrFn() : organizationsTableOrFn;
|
|
193
194
|
const usersTable = typeof usersTableOrFn === "function" ? usersTableOrFn() : usersTableOrFn;
|
|
194
195
|
return sqliteTable(tableName, {
|
|
195
|
-
id: text(fields?.id || "id").primaryKey(),
|
|
196
|
-
organizationId: text(fields?.organizationId || "organizationId").notNull().references(() => organizationsTable.id, { onDelete: "cascade" }),
|
|
196
|
+
[fields?.id || "id"]: text(fields?.id || "id").primaryKey(),
|
|
197
|
+
organizationId: text(fields?.organizationId || "organizationId").notNull().references(() => organizationsTable[fields?.organizationId || "id"] || organizationsTable.id, { onDelete: "cascade" }),
|
|
197
198
|
email: text(fields?.email || "email").notNull(),
|
|
198
199
|
role: text(fields?.role || "role"),
|
|
199
200
|
status: text(fields?.status || "status").notNull(),
|
|
200
201
|
expiresAt: integer(fields?.expiresAt || "expiresAt", { mode: "timestamp" }).notNull(),
|
|
201
|
-
inviterId: text(fields?.inviterId || "inviterId").notNull().references(() => usersTable
|
|
202
|
+
inviterId: text(fields?.inviterId || "inviterId").notNull().references(() => usersTable[userPkField], { onDelete: "cascade" }),
|
|
202
203
|
createdAt: integer(fields?.createdAt || "createdAt", { mode: "timestamp" }).notNull()
|
|
203
204
|
});
|
|
204
205
|
};
|
|
@@ -348,13 +349,14 @@ var createAuth = (config) => {
|
|
|
348
349
|
const orgTableName = schemaMapping?.organization?.tableName || "organizations";
|
|
349
350
|
const memberTableName = schemaMapping?.member?.tableName || "members";
|
|
350
351
|
const invitationTableName = schemaMapping?.invitation?.tableName || "invitations";
|
|
352
|
+
const userPkField = schemaMapping?.user?.fields?.id || "id";
|
|
351
353
|
const usersTable = createUsersTable(userTableName, schemaMapping?.user?.fields);
|
|
352
354
|
const organizationsTable = createOrganizationsTable(orgTableName, schemaMapping?.organization?.fields);
|
|
353
|
-
const sessionsTable = createSessionsTable(sessionTableName, usersTable, schemaMapping?.session?.fields);
|
|
354
|
-
const accountsTable = createAccountsTable(accountTableName, usersTable, schemaMapping?.account?.fields);
|
|
355
|
+
const sessionsTable = createSessionsTable(sessionTableName, usersTable, schemaMapping?.session?.fields, userPkField);
|
|
356
|
+
const accountsTable = createAccountsTable(accountTableName, usersTable, schemaMapping?.account?.fields, userPkField);
|
|
355
357
|
const verificationsTable = createVerificationsTable(verificationTableName, schemaMapping?.verification?.fields);
|
|
356
|
-
const membersTable = createMembersTable(memberTableName, organizationsTable, usersTable, schemaMapping?.member?.fields);
|
|
357
|
-
const invitationsTable = createInvitationsTable(invitationTableName, organizationsTable, usersTable, schemaMapping?.invitation?.fields);
|
|
358
|
+
const membersTable = createMembersTable(memberTableName, organizationsTable, usersTable, schemaMapping?.member?.fields, userPkField);
|
|
359
|
+
const invitationsTable = createInvitationsTable(invitationTableName, organizationsTable, usersTable, schemaMapping?.invitation?.fields, userPkField);
|
|
358
360
|
const userKey = schemaMapping?.user?.tableName || "user";
|
|
359
361
|
const sessionKey = schemaMapping?.session?.tableName || "session";
|
|
360
362
|
const accountKey = schemaMapping?.account?.tableName || "account";
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentgrowth/content-auth",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "Better Auth wrapper with UI components for Cloudflare Workers & Pages. Includes custom schema mapping, Turnstile bot protection, and email normalization.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|