@sqrzro/server 2.0.0-bz.50 → 2.0.0-bz.52
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.
|
@@ -17,12 +17,8 @@ declare const authUserTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
17
17
|
driverParam: string;
|
|
18
18
|
notNull: true;
|
|
19
19
|
hasDefault: false;
|
|
20
|
-
isPrimaryKey: true;
|
|
21
|
-
isAutoincrement: false;
|
|
22
|
-
hasRuntimeDefault: false;
|
|
23
20
|
enumValues: [string, ...string[]];
|
|
24
21
|
baseColumn: never;
|
|
25
|
-
generated: undefined;
|
|
26
22
|
}, {}, {}>;
|
|
27
23
|
email: drizzle_orm_pg_core.PgColumn<{
|
|
28
24
|
name: "email";
|
|
@@ -33,12 +29,8 @@ declare const authUserTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
33
29
|
driverParam: string;
|
|
34
30
|
notNull: true;
|
|
35
31
|
hasDefault: false;
|
|
36
|
-
isPrimaryKey: false;
|
|
37
|
-
isAutoincrement: false;
|
|
38
|
-
hasRuntimeDefault: false;
|
|
39
32
|
enumValues: [string, ...string[]];
|
|
40
33
|
baseColumn: never;
|
|
41
|
-
generated: undefined;
|
|
42
34
|
}, {}, {}>;
|
|
43
35
|
password: drizzle_orm_pg_core.PgColumn<{
|
|
44
36
|
name: "password";
|
|
@@ -49,12 +41,8 @@ declare const authUserTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
49
41
|
driverParam: string;
|
|
50
42
|
notNull: false;
|
|
51
43
|
hasDefault: false;
|
|
52
|
-
isPrimaryKey: false;
|
|
53
|
-
isAutoincrement: false;
|
|
54
|
-
hasRuntimeDefault: false;
|
|
55
44
|
enumValues: [string, ...string[]];
|
|
56
45
|
baseColumn: never;
|
|
57
|
-
generated: undefined;
|
|
58
46
|
}, {}, {}>;
|
|
59
47
|
role: drizzle_orm_pg_core.PgColumn<{
|
|
60
48
|
name: "role";
|
|
@@ -65,12 +53,8 @@ declare const authUserTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
65
53
|
driverParam: string | number;
|
|
66
54
|
notNull: true;
|
|
67
55
|
hasDefault: true;
|
|
68
|
-
isPrimaryKey: false;
|
|
69
|
-
isAutoincrement: false;
|
|
70
|
-
hasRuntimeDefault: false;
|
|
71
56
|
enumValues: undefined;
|
|
72
57
|
baseColumn: never;
|
|
73
|
-
generated: undefined;
|
|
74
58
|
}, {}, {}>;
|
|
75
59
|
};
|
|
76
60
|
dialect: "pg";
|
|
@@ -89,12 +73,8 @@ declare const authSessionTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
89
73
|
driverParam: string;
|
|
90
74
|
notNull: true;
|
|
91
75
|
hasDefault: false;
|
|
92
|
-
isPrimaryKey: true;
|
|
93
|
-
isAutoincrement: false;
|
|
94
|
-
hasRuntimeDefault: false;
|
|
95
76
|
enumValues: [string, ...string[]];
|
|
96
77
|
baseColumn: never;
|
|
97
|
-
generated: undefined;
|
|
98
78
|
}, {}, {}>;
|
|
99
79
|
userId: drizzle_orm_pg_core.PgColumn<{
|
|
100
80
|
name: "userId";
|
|
@@ -105,12 +85,8 @@ declare const authSessionTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
105
85
|
driverParam: string;
|
|
106
86
|
notNull: true;
|
|
107
87
|
hasDefault: false;
|
|
108
|
-
isPrimaryKey: false;
|
|
109
|
-
isAutoincrement: false;
|
|
110
|
-
hasRuntimeDefault: false;
|
|
111
88
|
enumValues: [string, ...string[]];
|
|
112
89
|
baseColumn: never;
|
|
113
|
-
generated: undefined;
|
|
114
90
|
}, {}, {}>;
|
|
115
91
|
scope: drizzle_orm_pg_core.PgColumn<{
|
|
116
92
|
name: "scope";
|
|
@@ -121,12 +97,8 @@ declare const authSessionTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
121
97
|
driverParam: string;
|
|
122
98
|
notNull: true;
|
|
123
99
|
hasDefault: true;
|
|
124
|
-
isPrimaryKey: false;
|
|
125
|
-
isAutoincrement: false;
|
|
126
|
-
hasRuntimeDefault: false;
|
|
127
100
|
enumValues: ["ANON", "MFA", "AUTHED"];
|
|
128
101
|
baseColumn: never;
|
|
129
|
-
generated: undefined;
|
|
130
102
|
}, {}, {}>;
|
|
131
103
|
expiresAt: drizzle_orm_pg_core.PgColumn<{
|
|
132
104
|
name: "expiresAt";
|
|
@@ -137,12 +109,8 @@ declare const authSessionTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
137
109
|
driverParam: string;
|
|
138
110
|
notNull: true;
|
|
139
111
|
hasDefault: false;
|
|
140
|
-
isPrimaryKey: false;
|
|
141
|
-
isAutoincrement: false;
|
|
142
|
-
hasRuntimeDefault: false;
|
|
143
112
|
enumValues: undefined;
|
|
144
113
|
baseColumn: never;
|
|
145
|
-
generated: undefined;
|
|
146
114
|
}, {}, {}>;
|
|
147
115
|
};
|
|
148
116
|
dialect: "pg";
|
|
@@ -161,12 +129,8 @@ declare const authResetTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
161
129
|
driverParam: string;
|
|
162
130
|
notNull: true;
|
|
163
131
|
hasDefault: false;
|
|
164
|
-
isPrimaryKey: true;
|
|
165
|
-
isAutoincrement: false;
|
|
166
|
-
hasRuntimeDefault: false;
|
|
167
132
|
enumValues: [string, ...string[]];
|
|
168
133
|
baseColumn: never;
|
|
169
|
-
generated: undefined;
|
|
170
134
|
}, {}, {}>;
|
|
171
135
|
userId: drizzle_orm_pg_core.PgColumn<{
|
|
172
136
|
name: "userId";
|
|
@@ -177,12 +141,8 @@ declare const authResetTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
177
141
|
driverParam: string;
|
|
178
142
|
notNull: true;
|
|
179
143
|
hasDefault: false;
|
|
180
|
-
isPrimaryKey: false;
|
|
181
|
-
isAutoincrement: false;
|
|
182
|
-
hasRuntimeDefault: false;
|
|
183
144
|
enumValues: [string, ...string[]];
|
|
184
145
|
baseColumn: never;
|
|
185
|
-
generated: undefined;
|
|
186
146
|
}, {}, {}>;
|
|
187
147
|
expiresAt: drizzle_orm_pg_core.PgColumn<{
|
|
188
148
|
name: "expiresAt";
|
|
@@ -193,12 +153,8 @@ declare const authResetTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
193
153
|
driverParam: string;
|
|
194
154
|
notNull: true;
|
|
195
155
|
hasDefault: false;
|
|
196
|
-
isPrimaryKey: false;
|
|
197
|
-
isAutoincrement: false;
|
|
198
|
-
hasRuntimeDefault: false;
|
|
199
156
|
enumValues: undefined;
|
|
200
157
|
baseColumn: never;
|
|
201
|
-
generated: undefined;
|
|
202
158
|
}, {}, {}>;
|
|
203
159
|
};
|
|
204
160
|
dialect: "pg";
|
|
@@ -217,12 +173,8 @@ declare const authMFATable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
217
173
|
driverParam: string;
|
|
218
174
|
notNull: true;
|
|
219
175
|
hasDefault: false;
|
|
220
|
-
isPrimaryKey: true;
|
|
221
|
-
isAutoincrement: false;
|
|
222
|
-
hasRuntimeDefault: false;
|
|
223
176
|
enumValues: [string, ...string[]];
|
|
224
177
|
baseColumn: never;
|
|
225
|
-
generated: undefined;
|
|
226
178
|
}, {}, {}>;
|
|
227
179
|
name: drizzle_orm_pg_core.PgColumn<{
|
|
228
180
|
name: "name";
|
|
@@ -233,12 +185,8 @@ declare const authMFATable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
233
185
|
driverParam: string;
|
|
234
186
|
notNull: true;
|
|
235
187
|
hasDefault: false;
|
|
236
|
-
isPrimaryKey: false;
|
|
237
|
-
isAutoincrement: false;
|
|
238
|
-
hasRuntimeDefault: false;
|
|
239
188
|
enumValues: [string, ...string[]];
|
|
240
189
|
baseColumn: never;
|
|
241
|
-
generated: undefined;
|
|
242
190
|
}, {}, {}>;
|
|
243
191
|
userId: drizzle_orm_pg_core.PgColumn<{
|
|
244
192
|
name: "userId";
|
|
@@ -249,12 +197,8 @@ declare const authMFATable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
249
197
|
driverParam: string;
|
|
250
198
|
notNull: true;
|
|
251
199
|
hasDefault: false;
|
|
252
|
-
isPrimaryKey: false;
|
|
253
|
-
isAutoincrement: false;
|
|
254
|
-
hasRuntimeDefault: false;
|
|
255
200
|
enumValues: [string, ...string[]];
|
|
256
201
|
baseColumn: never;
|
|
257
|
-
generated: undefined;
|
|
258
202
|
}, {}, {}>;
|
|
259
203
|
type: drizzle_orm_pg_core.PgColumn<{
|
|
260
204
|
name: "type";
|
|
@@ -265,12 +209,8 @@ declare const authMFATable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
265
209
|
driverParam: string;
|
|
266
210
|
notNull: true;
|
|
267
211
|
hasDefault: true;
|
|
268
|
-
isPrimaryKey: false;
|
|
269
|
-
isAutoincrement: false;
|
|
270
|
-
hasRuntimeDefault: false;
|
|
271
212
|
enumValues: ["TOTP", "HARDWARE"];
|
|
272
213
|
baseColumn: never;
|
|
273
|
-
generated: undefined;
|
|
274
214
|
}, {}, {}>;
|
|
275
215
|
secret: drizzle_orm_pg_core.PgColumn<{
|
|
276
216
|
name: "secret";
|
|
@@ -281,12 +221,8 @@ declare const authMFATable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
281
221
|
driverParam: string;
|
|
282
222
|
notNull: true;
|
|
283
223
|
hasDefault: false;
|
|
284
|
-
isPrimaryKey: false;
|
|
285
|
-
isAutoincrement: false;
|
|
286
|
-
hasRuntimeDefault: false;
|
|
287
224
|
enumValues: [string, ...string[]];
|
|
288
225
|
baseColumn: never;
|
|
289
|
-
generated: undefined;
|
|
290
226
|
}, {}, {}>;
|
|
291
227
|
verifiedAt: drizzle_orm_pg_core.PgColumn<{
|
|
292
228
|
name: "verifiedAt";
|
|
@@ -297,12 +233,8 @@ declare const authMFATable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
297
233
|
driverParam: string;
|
|
298
234
|
notNull: false;
|
|
299
235
|
hasDefault: false;
|
|
300
|
-
isPrimaryKey: false;
|
|
301
|
-
isAutoincrement: false;
|
|
302
|
-
hasRuntimeDefault: false;
|
|
303
236
|
enumValues: undefined;
|
|
304
237
|
baseColumn: never;
|
|
305
|
-
generated: undefined;
|
|
306
238
|
}, {}, {}>;
|
|
307
239
|
};
|
|
308
240
|
dialect: "pg";
|
|
@@ -321,12 +253,8 @@ declare const authClientTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
321
253
|
driverParam: string;
|
|
322
254
|
notNull: true;
|
|
323
255
|
hasDefault: false;
|
|
324
|
-
isPrimaryKey: true;
|
|
325
|
-
isAutoincrement: false;
|
|
326
|
-
hasRuntimeDefault: false;
|
|
327
256
|
enumValues: [string, ...string[]];
|
|
328
257
|
baseColumn: never;
|
|
329
|
-
generated: undefined;
|
|
330
258
|
}, {}, {}>;
|
|
331
259
|
alias: drizzle_orm_pg_core.PgColumn<{
|
|
332
260
|
name: "alias";
|
|
@@ -337,12 +265,8 @@ declare const authClientTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
337
265
|
driverParam: string;
|
|
338
266
|
notNull: true;
|
|
339
267
|
hasDefault: false;
|
|
340
|
-
isPrimaryKey: false;
|
|
341
|
-
isAutoincrement: false;
|
|
342
|
-
hasRuntimeDefault: false;
|
|
343
268
|
enumValues: [string, ...string[]];
|
|
344
269
|
baseColumn: never;
|
|
345
|
-
generated: undefined;
|
|
346
270
|
}, {}, {}>;
|
|
347
271
|
secret: drizzle_orm_pg_core.PgColumn<{
|
|
348
272
|
name: "secret";
|
|
@@ -353,12 +277,8 @@ declare const authClientTable: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
353
277
|
driverParam: string;
|
|
354
278
|
notNull: true;
|
|
355
279
|
hasDefault: false;
|
|
356
|
-
isPrimaryKey: false;
|
|
357
|
-
isAutoincrement: false;
|
|
358
|
-
hasRuntimeDefault: false;
|
|
359
280
|
enumValues: [string, ...string[]];
|
|
360
281
|
baseColumn: never;
|
|
361
|
-
generated: undefined;
|
|
362
282
|
}, {}, {}>;
|
|
363
283
|
};
|
|
364
284
|
dialect: "pg";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqrzro/server",
|
|
3
|
-
"version": "2.0.0-bz.
|
|
3
|
+
"version": "2.0.0-bz.52",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@sqrzro/interfaces": "bz",
|
|
59
59
|
"@sqrzro/utility": "bz",
|
|
60
60
|
"bcryptjs": "^2.4.3",
|
|
61
|
-
"drizzle-orm": "^0.
|
|
61
|
+
"drizzle-orm": "^0.29.5",
|
|
62
62
|
"joi": "^17.12.3",
|
|
63
63
|
"lucia": "^3.1.1",
|
|
64
64
|
"next": "15.0.2",
|