@glinr/theauth 0.5.0 → 0.6.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/README.md +54 -20
- package/dist/a2a/index.d.ts +3 -3
- package/dist/a2a/index.js.map +1 -1
- package/dist/agent/index.d.ts +3 -3
- package/dist/agent/index.js +48 -48
- package/dist/agent/index.js.map +1 -1
- package/dist/audit/index.d.ts +2 -2
- package/dist/audit/index.js +48 -48
- package/dist/audit/index.js.map +1 -1
- package/dist/auth/index.d.ts +71 -51
- package/dist/auth/index.js +1156 -241
- package/dist/auth/index.js.map +1 -1
- package/dist/index.d.ts +1204 -1224
- package/dist/index.js +4467 -3520
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js.map +1 -1
- package/dist/permission/index.d.ts +3 -3
- package/dist/permission/index.js +51 -50
- package/dist/permission/index.js.map +1 -1
- package/dist/redirect/index.d.ts +1 -1
- package/dist/redirect/index.js +1 -1
- package/dist/redirect/index.js.map +1 -1
- package/dist/standards/index.d.ts +1 -1
- package/dist/standards/index.js.map +1 -1
- package/dist/{types-D1dTo8-m.d.ts → types-JOx1R8-Q.d.ts} +494 -499
- package/dist/{types-IkWVkOVv.d.ts → types-XoCxTUZj.d.ts} +2 -6
- package/dist/vc/index.d.ts +6 -12
- package/dist/vc/index.js +4 -7
- package/dist/vc/index.js.map +1 -1
- package/package.json +10 -4
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
2
2
|
import { BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
|
|
3
|
-
import { R as Result, f as McpConfig } from './types-
|
|
3
|
+
import { R as Result, f as McpConfig } from './types-XoCxTUZj.js';
|
|
4
4
|
import { RedirectConfig } from './redirect/index.js';
|
|
5
5
|
|
|
6
6
|
declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
7
|
-
name: "
|
|
7
|
+
name: "theauth_users";
|
|
8
8
|
schema: undefined;
|
|
9
9
|
columns: {
|
|
10
10
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
11
11
|
name: "id";
|
|
12
|
-
tableName: "
|
|
12
|
+
tableName: "theauth_users";
|
|
13
13
|
dataType: "string";
|
|
14
14
|
columnType: "SQLiteText";
|
|
15
15
|
data: string;
|
|
@@ -28,7 +28,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
28
28
|
}>;
|
|
29
29
|
email: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
30
30
|
name: "email";
|
|
31
|
-
tableName: "
|
|
31
|
+
tableName: "theauth_users";
|
|
32
32
|
dataType: "string";
|
|
33
33
|
columnType: "SQLiteText";
|
|
34
34
|
data: string;
|
|
@@ -47,7 +47,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
47
47
|
}>;
|
|
48
48
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
49
49
|
name: "name";
|
|
50
|
-
tableName: "
|
|
50
|
+
tableName: "theauth_users";
|
|
51
51
|
dataType: "string";
|
|
52
52
|
columnType: "SQLiteText";
|
|
53
53
|
data: string;
|
|
@@ -66,7 +66,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
66
66
|
}>;
|
|
67
67
|
username: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
68
68
|
name: "username";
|
|
69
|
-
tableName: "
|
|
69
|
+
tableName: "theauth_users";
|
|
70
70
|
dataType: "string";
|
|
71
71
|
columnType: "SQLiteText";
|
|
72
72
|
data: string;
|
|
@@ -85,7 +85,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
85
85
|
}>;
|
|
86
86
|
externalId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
87
87
|
name: "external_id";
|
|
88
|
-
tableName: "
|
|
88
|
+
tableName: "theauth_users";
|
|
89
89
|
dataType: "string";
|
|
90
90
|
columnType: "SQLiteText";
|
|
91
91
|
data: string;
|
|
@@ -104,7 +104,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
104
104
|
}>;
|
|
105
105
|
externalProvider: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
106
106
|
name: "external_provider";
|
|
107
|
-
tableName: "
|
|
107
|
+
tableName: "theauth_users";
|
|
108
108
|
dataType: "string";
|
|
109
109
|
columnType: "SQLiteText";
|
|
110
110
|
data: string;
|
|
@@ -123,7 +123,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
123
123
|
}>;
|
|
124
124
|
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
125
125
|
name: "metadata";
|
|
126
|
-
tableName: "
|
|
126
|
+
tableName: "theauth_users";
|
|
127
127
|
dataType: "json";
|
|
128
128
|
columnType: "SQLiteTextJson";
|
|
129
129
|
data: Record<string, unknown>;
|
|
@@ -142,7 +142,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
142
142
|
}>;
|
|
143
143
|
banned: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
144
144
|
name: "banned";
|
|
145
|
-
tableName: "
|
|
145
|
+
tableName: "theauth_users";
|
|
146
146
|
dataType: "number";
|
|
147
147
|
columnType: "SQLiteInteger";
|
|
148
148
|
data: number;
|
|
@@ -159,7 +159,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
159
159
|
}, {}, {}>;
|
|
160
160
|
banReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
161
161
|
name: "ban_reason";
|
|
162
|
-
tableName: "
|
|
162
|
+
tableName: "theauth_users";
|
|
163
163
|
dataType: "string";
|
|
164
164
|
columnType: "SQLiteText";
|
|
165
165
|
data: string;
|
|
@@ -178,7 +178,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
178
178
|
}>;
|
|
179
179
|
banExpiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
180
180
|
name: "ban_expires_at";
|
|
181
|
-
tableName: "
|
|
181
|
+
tableName: "theauth_users";
|
|
182
182
|
dataType: "date";
|
|
183
183
|
columnType: "SQLiteTimestamp";
|
|
184
184
|
data: Date;
|
|
@@ -195,7 +195,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
195
195
|
}, {}, {}>;
|
|
196
196
|
forcePasswordReset: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
197
197
|
name: "force_password_reset";
|
|
198
|
-
tableName: "
|
|
198
|
+
tableName: "theauth_users";
|
|
199
199
|
dataType: "number";
|
|
200
200
|
columnType: "SQLiteInteger";
|
|
201
201
|
data: number;
|
|
@@ -212,7 +212,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
212
212
|
}, {}, {}>;
|
|
213
213
|
emailVerified: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
214
214
|
name: "email_verified";
|
|
215
|
-
tableName: "
|
|
215
|
+
tableName: "theauth_users";
|
|
216
216
|
dataType: "number";
|
|
217
217
|
columnType: "SQLiteInteger";
|
|
218
218
|
data: number;
|
|
@@ -229,7 +229,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
229
229
|
}, {}, {}>;
|
|
230
230
|
stripeCustomerId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
231
231
|
name: "stripe_customer_id";
|
|
232
|
-
tableName: "
|
|
232
|
+
tableName: "theauth_users";
|
|
233
233
|
dataType: "string";
|
|
234
234
|
columnType: "SQLiteText";
|
|
235
235
|
data: string;
|
|
@@ -248,7 +248,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
248
248
|
}>;
|
|
249
249
|
stripeSubscriptionId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
250
250
|
name: "stripe_subscription_id";
|
|
251
|
-
tableName: "
|
|
251
|
+
tableName: "theauth_users";
|
|
252
252
|
dataType: "string";
|
|
253
253
|
columnType: "SQLiteText";
|
|
254
254
|
data: string;
|
|
@@ -267,7 +267,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
267
267
|
}>;
|
|
268
268
|
stripeSubscriptionStatus: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
269
269
|
name: "stripe_subscription_status";
|
|
270
|
-
tableName: "
|
|
270
|
+
tableName: "theauth_users";
|
|
271
271
|
dataType: "string";
|
|
272
272
|
columnType: "SQLiteText";
|
|
273
273
|
data: string;
|
|
@@ -286,7 +286,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
286
286
|
}>;
|
|
287
287
|
stripePriceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
288
288
|
name: "stripe_price_id";
|
|
289
|
-
tableName: "
|
|
289
|
+
tableName: "theauth_users";
|
|
290
290
|
dataType: "string";
|
|
291
291
|
columnType: "SQLiteText";
|
|
292
292
|
data: string;
|
|
@@ -305,7 +305,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
305
305
|
}>;
|
|
306
306
|
stripeCurrentPeriodEnd: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
307
307
|
name: "stripe_current_period_end";
|
|
308
|
-
tableName: "
|
|
308
|
+
tableName: "theauth_users";
|
|
309
309
|
dataType: "date";
|
|
310
310
|
columnType: "SQLiteTimestamp";
|
|
311
311
|
data: Date;
|
|
@@ -322,7 +322,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
322
322
|
}, {}, {}>;
|
|
323
323
|
stripeCancelAtPeriodEnd: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
324
324
|
name: "stripe_cancel_at_period_end";
|
|
325
|
-
tableName: "
|
|
325
|
+
tableName: "theauth_users";
|
|
326
326
|
dataType: "boolean";
|
|
327
327
|
columnType: "SQLiteBoolean";
|
|
328
328
|
data: boolean;
|
|
@@ -339,7 +339,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
339
339
|
}, {}, {}>;
|
|
340
340
|
polarCustomerId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
341
341
|
name: "polar_customer_id";
|
|
342
|
-
tableName: "
|
|
342
|
+
tableName: "theauth_users";
|
|
343
343
|
dataType: "string";
|
|
344
344
|
columnType: "SQLiteText";
|
|
345
345
|
data: string;
|
|
@@ -358,7 +358,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
358
358
|
}>;
|
|
359
359
|
polarSubscriptionId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
360
360
|
name: "polar_subscription_id";
|
|
361
|
-
tableName: "
|
|
361
|
+
tableName: "theauth_users";
|
|
362
362
|
dataType: "string";
|
|
363
363
|
columnType: "SQLiteText";
|
|
364
364
|
data: string;
|
|
@@ -377,7 +377,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
377
377
|
}>;
|
|
378
378
|
polarSubscriptionStatus: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
379
379
|
name: "polar_subscription_status";
|
|
380
|
-
tableName: "
|
|
380
|
+
tableName: "theauth_users";
|
|
381
381
|
dataType: "string";
|
|
382
382
|
columnType: "SQLiteText";
|
|
383
383
|
data: string;
|
|
@@ -396,7 +396,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
396
396
|
}>;
|
|
397
397
|
polarProductId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
398
398
|
name: "polar_product_id";
|
|
399
|
-
tableName: "
|
|
399
|
+
tableName: "theauth_users";
|
|
400
400
|
dataType: "string";
|
|
401
401
|
columnType: "SQLiteText";
|
|
402
402
|
data: string;
|
|
@@ -415,7 +415,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
415
415
|
}>;
|
|
416
416
|
polarCurrentPeriodEnd: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
417
417
|
name: "polar_current_period_end";
|
|
418
|
-
tableName: "
|
|
418
|
+
tableName: "theauth_users";
|
|
419
419
|
dataType: "date";
|
|
420
420
|
columnType: "SQLiteTimestamp";
|
|
421
421
|
data: Date;
|
|
@@ -432,7 +432,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
432
432
|
}, {}, {}>;
|
|
433
433
|
polarCancelAtPeriodEnd: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
434
434
|
name: "polar_cancel_at_period_end";
|
|
435
|
-
tableName: "
|
|
435
|
+
tableName: "theauth_users";
|
|
436
436
|
dataType: "boolean";
|
|
437
437
|
columnType: "SQLiteBoolean";
|
|
438
438
|
data: boolean;
|
|
@@ -449,7 +449,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
449
449
|
}, {}, {}>;
|
|
450
450
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
451
451
|
name: "created_at";
|
|
452
|
-
tableName: "
|
|
452
|
+
tableName: "theauth_users";
|
|
453
453
|
dataType: "date";
|
|
454
454
|
columnType: "SQLiteTimestamp";
|
|
455
455
|
data: Date;
|
|
@@ -466,7 +466,7 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
466
466
|
}, {}, {}>;
|
|
467
467
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
468
468
|
name: "updated_at";
|
|
469
|
-
tableName: "
|
|
469
|
+
tableName: "theauth_users";
|
|
470
470
|
dataType: "date";
|
|
471
471
|
columnType: "SQLiteTimestamp";
|
|
472
472
|
data: Date;
|
|
@@ -485,12 +485,12 @@ declare const users: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
485
485
|
dialect: "sqlite";
|
|
486
486
|
}>;
|
|
487
487
|
declare const tenants: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
488
|
-
name: "
|
|
488
|
+
name: "theauth_tenants";
|
|
489
489
|
schema: undefined;
|
|
490
490
|
columns: {
|
|
491
491
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
492
492
|
name: "id";
|
|
493
|
-
tableName: "
|
|
493
|
+
tableName: "theauth_tenants";
|
|
494
494
|
dataType: "string";
|
|
495
495
|
columnType: "SQLiteText";
|
|
496
496
|
data: string;
|
|
@@ -509,7 +509,7 @@ declare const tenants: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
509
509
|
}>;
|
|
510
510
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
511
511
|
name: "name";
|
|
512
|
-
tableName: "
|
|
512
|
+
tableName: "theauth_tenants";
|
|
513
513
|
dataType: "string";
|
|
514
514
|
columnType: "SQLiteText";
|
|
515
515
|
data: string;
|
|
@@ -528,7 +528,7 @@ declare const tenants: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
528
528
|
}>;
|
|
529
529
|
slug: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
530
530
|
name: "slug";
|
|
531
|
-
tableName: "
|
|
531
|
+
tableName: "theauth_tenants";
|
|
532
532
|
dataType: "string";
|
|
533
533
|
columnType: "SQLiteText";
|
|
534
534
|
data: string;
|
|
@@ -547,7 +547,7 @@ declare const tenants: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
547
547
|
}>;
|
|
548
548
|
settings: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
549
549
|
name: "settings";
|
|
550
|
-
tableName: "
|
|
550
|
+
tableName: "theauth_tenants";
|
|
551
551
|
dataType: "json";
|
|
552
552
|
columnType: "SQLiteTextJson";
|
|
553
553
|
data: TenantSettingsRow;
|
|
@@ -566,7 +566,7 @@ declare const tenants: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
566
566
|
}>;
|
|
567
567
|
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
568
568
|
name: "status";
|
|
569
|
-
tableName: "
|
|
569
|
+
tableName: "theauth_tenants";
|
|
570
570
|
dataType: "string";
|
|
571
571
|
columnType: "SQLiteText";
|
|
572
572
|
data: "active" | "suspended";
|
|
@@ -585,7 +585,7 @@ declare const tenants: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
585
585
|
}>;
|
|
586
586
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
587
587
|
name: "created_at";
|
|
588
|
-
tableName: "
|
|
588
|
+
tableName: "theauth_tenants";
|
|
589
589
|
dataType: "date";
|
|
590
590
|
columnType: "SQLiteTimestamp";
|
|
591
591
|
data: Date;
|
|
@@ -602,7 +602,7 @@ declare const tenants: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
602
602
|
}, {}, {}>;
|
|
603
603
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
604
604
|
name: "updated_at";
|
|
605
|
-
tableName: "
|
|
605
|
+
tableName: "theauth_tenants";
|
|
606
606
|
dataType: "date";
|
|
607
607
|
columnType: "SQLiteTimestamp";
|
|
608
608
|
data: Date;
|
|
@@ -627,12 +627,12 @@ interface TenantSettingsRow {
|
|
|
627
627
|
allowedAgentTypes?: string[];
|
|
628
628
|
}
|
|
629
629
|
declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
630
|
-
name: "
|
|
630
|
+
name: "theauth_agents";
|
|
631
631
|
schema: undefined;
|
|
632
632
|
columns: {
|
|
633
633
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
634
634
|
name: "id";
|
|
635
|
-
tableName: "
|
|
635
|
+
tableName: "theauth_agents";
|
|
636
636
|
dataType: "string";
|
|
637
637
|
columnType: "SQLiteText";
|
|
638
638
|
data: string;
|
|
@@ -651,7 +651,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
651
651
|
}>;
|
|
652
652
|
ownerId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
653
653
|
name: "owner_id";
|
|
654
|
-
tableName: "
|
|
654
|
+
tableName: "theauth_agents";
|
|
655
655
|
dataType: "string";
|
|
656
656
|
columnType: "SQLiteText";
|
|
657
657
|
data: string;
|
|
@@ -670,7 +670,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
670
670
|
}>;
|
|
671
671
|
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
672
672
|
name: "tenant_id";
|
|
673
|
-
tableName: "
|
|
673
|
+
tableName: "theauth_agents";
|
|
674
674
|
dataType: "string";
|
|
675
675
|
columnType: "SQLiteText";
|
|
676
676
|
data: string;
|
|
@@ -689,7 +689,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
689
689
|
}>;
|
|
690
690
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
691
691
|
name: "name";
|
|
692
|
-
tableName: "
|
|
692
|
+
tableName: "theauth_agents";
|
|
693
693
|
dataType: "string";
|
|
694
694
|
columnType: "SQLiteText";
|
|
695
695
|
data: string;
|
|
@@ -708,7 +708,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
708
708
|
}>;
|
|
709
709
|
type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
710
710
|
name: "type";
|
|
711
|
-
tableName: "
|
|
711
|
+
tableName: "theauth_agents";
|
|
712
712
|
dataType: "string";
|
|
713
713
|
columnType: "SQLiteText";
|
|
714
714
|
data: "autonomous" | "delegated" | "service";
|
|
@@ -727,7 +727,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
727
727
|
}>;
|
|
728
728
|
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
729
729
|
name: "status";
|
|
730
|
-
tableName: "
|
|
730
|
+
tableName: "theauth_agents";
|
|
731
731
|
dataType: "string";
|
|
732
732
|
columnType: "SQLiteText";
|
|
733
733
|
data: "active" | "revoked" | "expired";
|
|
@@ -746,7 +746,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
746
746
|
}>;
|
|
747
747
|
tokenHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
748
748
|
name: "token_hash";
|
|
749
|
-
tableName: "
|
|
749
|
+
tableName: "theauth_agents";
|
|
750
750
|
dataType: "string";
|
|
751
751
|
columnType: "SQLiteText";
|
|
752
752
|
data: string;
|
|
@@ -765,7 +765,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
765
765
|
}>;
|
|
766
766
|
tokenPrefix: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
767
767
|
name: "token_prefix";
|
|
768
|
-
tableName: "
|
|
768
|
+
tableName: "theauth_agents";
|
|
769
769
|
dataType: "string";
|
|
770
770
|
columnType: "SQLiteText";
|
|
771
771
|
data: string;
|
|
@@ -784,7 +784,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
784
784
|
}>;
|
|
785
785
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
786
786
|
name: "expires_at";
|
|
787
|
-
tableName: "
|
|
787
|
+
tableName: "theauth_agents";
|
|
788
788
|
dataType: "date";
|
|
789
789
|
columnType: "SQLiteTimestamp";
|
|
790
790
|
data: Date;
|
|
@@ -801,7 +801,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
801
801
|
}, {}, {}>;
|
|
802
802
|
lastActiveAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
803
803
|
name: "last_active_at";
|
|
804
|
-
tableName: "
|
|
804
|
+
tableName: "theauth_agents";
|
|
805
805
|
dataType: "date";
|
|
806
806
|
columnType: "SQLiteTimestamp";
|
|
807
807
|
data: Date;
|
|
@@ -818,7 +818,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
818
818
|
}, {}, {}>;
|
|
819
819
|
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
820
820
|
name: "metadata";
|
|
821
|
-
tableName: "
|
|
821
|
+
tableName: "theauth_agents";
|
|
822
822
|
dataType: "json";
|
|
823
823
|
columnType: "SQLiteTextJson";
|
|
824
824
|
data: Record<string, unknown>;
|
|
@@ -837,7 +837,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
837
837
|
}>;
|
|
838
838
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
839
839
|
name: "created_at";
|
|
840
|
-
tableName: "
|
|
840
|
+
tableName: "theauth_agents";
|
|
841
841
|
dataType: "date";
|
|
842
842
|
columnType: "SQLiteTimestamp";
|
|
843
843
|
data: Date;
|
|
@@ -854,7 +854,7 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
854
854
|
}, {}, {}>;
|
|
855
855
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
856
856
|
name: "updated_at";
|
|
857
|
-
tableName: "
|
|
857
|
+
tableName: "theauth_agents";
|
|
858
858
|
dataType: "date";
|
|
859
859
|
columnType: "SQLiteTimestamp";
|
|
860
860
|
data: Date;
|
|
@@ -873,12 +873,12 @@ declare const agents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
873
873
|
dialect: "sqlite";
|
|
874
874
|
}>;
|
|
875
875
|
declare const permissions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
876
|
-
name: "
|
|
876
|
+
name: "theauth_permissions";
|
|
877
877
|
schema: undefined;
|
|
878
878
|
columns: {
|
|
879
879
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
880
880
|
name: "id";
|
|
881
|
-
tableName: "
|
|
881
|
+
tableName: "theauth_permissions";
|
|
882
882
|
dataType: "string";
|
|
883
883
|
columnType: "SQLiteText";
|
|
884
884
|
data: string;
|
|
@@ -897,7 +897,7 @@ declare const permissions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
897
897
|
}>;
|
|
898
898
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
899
899
|
name: "agent_id";
|
|
900
|
-
tableName: "
|
|
900
|
+
tableName: "theauth_permissions";
|
|
901
901
|
dataType: "string";
|
|
902
902
|
columnType: "SQLiteText";
|
|
903
903
|
data: string;
|
|
@@ -916,7 +916,7 @@ declare const permissions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
916
916
|
}>;
|
|
917
917
|
resource: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
918
918
|
name: "resource";
|
|
919
|
-
tableName: "
|
|
919
|
+
tableName: "theauth_permissions";
|
|
920
920
|
dataType: "string";
|
|
921
921
|
columnType: "SQLiteText";
|
|
922
922
|
data: string;
|
|
@@ -935,7 +935,7 @@ declare const permissions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
935
935
|
}>;
|
|
936
936
|
actions: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
937
937
|
name: "actions";
|
|
938
|
-
tableName: "
|
|
938
|
+
tableName: "theauth_permissions";
|
|
939
939
|
dataType: "json";
|
|
940
940
|
columnType: "SQLiteTextJson";
|
|
941
941
|
data: string[];
|
|
@@ -954,7 +954,7 @@ declare const permissions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
954
954
|
}>;
|
|
955
955
|
constraints: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
956
956
|
name: "constraints";
|
|
957
|
-
tableName: "
|
|
957
|
+
tableName: "theauth_permissions";
|
|
958
958
|
dataType: "json";
|
|
959
959
|
columnType: "SQLiteTextJson";
|
|
960
960
|
data: PermissionConstraintsRow;
|
|
@@ -973,7 +973,7 @@ declare const permissions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
973
973
|
}>;
|
|
974
974
|
relation: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
975
975
|
name: "relation";
|
|
976
|
-
tableName: "
|
|
976
|
+
tableName: "theauth_permissions";
|
|
977
977
|
dataType: "string";
|
|
978
978
|
columnType: "SQLiteText";
|
|
979
979
|
data: string;
|
|
@@ -992,7 +992,7 @@ declare const permissions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
992
992
|
}>;
|
|
993
993
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
994
994
|
name: "created_at";
|
|
995
|
-
tableName: "
|
|
995
|
+
tableName: "theauth_permissions";
|
|
996
996
|
dataType: "date";
|
|
997
997
|
columnType: "SQLiteTimestamp";
|
|
998
998
|
data: Date;
|
|
@@ -1021,12 +1021,12 @@ interface PermissionConstraintsRow {
|
|
|
1021
1021
|
ipAllowlist?: string[];
|
|
1022
1022
|
}
|
|
1023
1023
|
declare const delegationChains: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
1024
|
-
name: "
|
|
1024
|
+
name: "theauth_delegation_chains";
|
|
1025
1025
|
schema: undefined;
|
|
1026
1026
|
columns: {
|
|
1027
1027
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1028
1028
|
name: "id";
|
|
1029
|
-
tableName: "
|
|
1029
|
+
tableName: "theauth_delegation_chains";
|
|
1030
1030
|
dataType: "string";
|
|
1031
1031
|
columnType: "SQLiteText";
|
|
1032
1032
|
data: string;
|
|
@@ -1045,7 +1045,7 @@ declare const delegationChains: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1045
1045
|
}>;
|
|
1046
1046
|
fromAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1047
1047
|
name: "from_agent_id";
|
|
1048
|
-
tableName: "
|
|
1048
|
+
tableName: "theauth_delegation_chains";
|
|
1049
1049
|
dataType: "string";
|
|
1050
1050
|
columnType: "SQLiteText";
|
|
1051
1051
|
data: string;
|
|
@@ -1064,7 +1064,7 @@ declare const delegationChains: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1064
1064
|
}>;
|
|
1065
1065
|
toAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1066
1066
|
name: "to_agent_id";
|
|
1067
|
-
tableName: "
|
|
1067
|
+
tableName: "theauth_delegation_chains";
|
|
1068
1068
|
dataType: "string";
|
|
1069
1069
|
columnType: "SQLiteText";
|
|
1070
1070
|
data: string;
|
|
@@ -1083,7 +1083,7 @@ declare const delegationChains: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1083
1083
|
}>;
|
|
1084
1084
|
permissions: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1085
1085
|
name: "permissions";
|
|
1086
|
-
tableName: "
|
|
1086
|
+
tableName: "theauth_delegation_chains";
|
|
1087
1087
|
dataType: "json";
|
|
1088
1088
|
columnType: "SQLiteTextJson";
|
|
1089
1089
|
data: DelegationPermissionRow[];
|
|
@@ -1102,7 +1102,7 @@ declare const delegationChains: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1102
1102
|
}>;
|
|
1103
1103
|
depth: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1104
1104
|
name: "depth";
|
|
1105
|
-
tableName: "
|
|
1105
|
+
tableName: "theauth_delegation_chains";
|
|
1106
1106
|
dataType: "number";
|
|
1107
1107
|
columnType: "SQLiteInteger";
|
|
1108
1108
|
data: number;
|
|
@@ -1119,7 +1119,7 @@ declare const delegationChains: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1119
1119
|
}, {}, {}>;
|
|
1120
1120
|
maxDepth: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1121
1121
|
name: "max_depth";
|
|
1122
|
-
tableName: "
|
|
1122
|
+
tableName: "theauth_delegation_chains";
|
|
1123
1123
|
dataType: "number";
|
|
1124
1124
|
columnType: "SQLiteInteger";
|
|
1125
1125
|
data: number;
|
|
@@ -1136,7 +1136,7 @@ declare const delegationChains: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1136
1136
|
}, {}, {}>;
|
|
1137
1137
|
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1138
1138
|
name: "status";
|
|
1139
|
-
tableName: "
|
|
1139
|
+
tableName: "theauth_delegation_chains";
|
|
1140
1140
|
dataType: "string";
|
|
1141
1141
|
columnType: "SQLiteText";
|
|
1142
1142
|
data: "active" | "revoked" | "expired";
|
|
@@ -1155,7 +1155,7 @@ declare const delegationChains: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1155
1155
|
}>;
|
|
1156
1156
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1157
1157
|
name: "expires_at";
|
|
1158
|
-
tableName: "
|
|
1158
|
+
tableName: "theauth_delegation_chains";
|
|
1159
1159
|
dataType: "date";
|
|
1160
1160
|
columnType: "SQLiteTimestamp";
|
|
1161
1161
|
data: Date;
|
|
@@ -1172,7 +1172,7 @@ declare const delegationChains: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1172
1172
|
}, {}, {}>;
|
|
1173
1173
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1174
1174
|
name: "created_at";
|
|
1175
|
-
tableName: "
|
|
1175
|
+
tableName: "theauth_delegation_chains";
|
|
1176
1176
|
dataType: "date";
|
|
1177
1177
|
columnType: "SQLiteTimestamp";
|
|
1178
1178
|
data: Date;
|
|
@@ -1195,12 +1195,12 @@ interface DelegationPermissionRow {
|
|
|
1195
1195
|
actions: string[];
|
|
1196
1196
|
}
|
|
1197
1197
|
declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
1198
|
-
name: "
|
|
1198
|
+
name: "theauth_audit_logs";
|
|
1199
1199
|
schema: undefined;
|
|
1200
1200
|
columns: {
|
|
1201
1201
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1202
1202
|
name: "id";
|
|
1203
|
-
tableName: "
|
|
1203
|
+
tableName: "theauth_audit_logs";
|
|
1204
1204
|
dataType: "string";
|
|
1205
1205
|
columnType: "SQLiteText";
|
|
1206
1206
|
data: string;
|
|
@@ -1219,7 +1219,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1219
1219
|
}>;
|
|
1220
1220
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1221
1221
|
name: "agent_id";
|
|
1222
|
-
tableName: "
|
|
1222
|
+
tableName: "theauth_audit_logs";
|
|
1223
1223
|
dataType: "string";
|
|
1224
1224
|
columnType: "SQLiteText";
|
|
1225
1225
|
data: string;
|
|
@@ -1238,7 +1238,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1238
1238
|
}>;
|
|
1239
1239
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1240
1240
|
name: "user_id";
|
|
1241
|
-
tableName: "
|
|
1241
|
+
tableName: "theauth_audit_logs";
|
|
1242
1242
|
dataType: "string";
|
|
1243
1243
|
columnType: "SQLiteText";
|
|
1244
1244
|
data: string;
|
|
@@ -1257,7 +1257,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1257
1257
|
}>;
|
|
1258
1258
|
action: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1259
1259
|
name: "action";
|
|
1260
|
-
tableName: "
|
|
1260
|
+
tableName: "theauth_audit_logs";
|
|
1261
1261
|
dataType: "string";
|
|
1262
1262
|
columnType: "SQLiteText";
|
|
1263
1263
|
data: string;
|
|
@@ -1276,7 +1276,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1276
1276
|
}>;
|
|
1277
1277
|
resource: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1278
1278
|
name: "resource";
|
|
1279
|
-
tableName: "
|
|
1279
|
+
tableName: "theauth_audit_logs";
|
|
1280
1280
|
dataType: "string";
|
|
1281
1281
|
columnType: "SQLiteText";
|
|
1282
1282
|
data: string;
|
|
@@ -1295,7 +1295,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1295
1295
|
}>;
|
|
1296
1296
|
parameters: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1297
1297
|
name: "parameters";
|
|
1298
|
-
tableName: "
|
|
1298
|
+
tableName: "theauth_audit_logs";
|
|
1299
1299
|
dataType: "json";
|
|
1300
1300
|
columnType: "SQLiteTextJson";
|
|
1301
1301
|
data: Record<string, unknown>;
|
|
@@ -1314,7 +1314,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1314
1314
|
}>;
|
|
1315
1315
|
result: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1316
1316
|
name: "result";
|
|
1317
|
-
tableName: "
|
|
1317
|
+
tableName: "theauth_audit_logs";
|
|
1318
1318
|
dataType: "string";
|
|
1319
1319
|
columnType: "SQLiteText";
|
|
1320
1320
|
data: "allowed" | "denied" | "rate_limited";
|
|
@@ -1333,7 +1333,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1333
1333
|
}>;
|
|
1334
1334
|
reason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1335
1335
|
name: "reason";
|
|
1336
|
-
tableName: "
|
|
1336
|
+
tableName: "theauth_audit_logs";
|
|
1337
1337
|
dataType: "string";
|
|
1338
1338
|
columnType: "SQLiteText";
|
|
1339
1339
|
data: string;
|
|
@@ -1352,7 +1352,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1352
1352
|
}>;
|
|
1353
1353
|
durationMs: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1354
1354
|
name: "duration_ms";
|
|
1355
|
-
tableName: "
|
|
1355
|
+
tableName: "theauth_audit_logs";
|
|
1356
1356
|
dataType: "number";
|
|
1357
1357
|
columnType: "SQLiteInteger";
|
|
1358
1358
|
data: number;
|
|
@@ -1369,7 +1369,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1369
1369
|
}, {}, {}>;
|
|
1370
1370
|
tokensCost: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1371
1371
|
name: "tokens_cost";
|
|
1372
|
-
tableName: "
|
|
1372
|
+
tableName: "theauth_audit_logs";
|
|
1373
1373
|
dataType: "number";
|
|
1374
1374
|
columnType: "SQLiteInteger";
|
|
1375
1375
|
data: number;
|
|
@@ -1386,7 +1386,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1386
1386
|
}, {}, {}>;
|
|
1387
1387
|
ip: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1388
1388
|
name: "ip";
|
|
1389
|
-
tableName: "
|
|
1389
|
+
tableName: "theauth_audit_logs";
|
|
1390
1390
|
dataType: "string";
|
|
1391
1391
|
columnType: "SQLiteText";
|
|
1392
1392
|
data: string;
|
|
@@ -1405,7 +1405,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1405
1405
|
}>;
|
|
1406
1406
|
userAgent: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1407
1407
|
name: "user_agent";
|
|
1408
|
-
tableName: "
|
|
1408
|
+
tableName: "theauth_audit_logs";
|
|
1409
1409
|
dataType: "string";
|
|
1410
1410
|
columnType: "SQLiteText";
|
|
1411
1411
|
data: string;
|
|
@@ -1424,7 +1424,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1424
1424
|
}>;
|
|
1425
1425
|
cacheHit: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1426
1426
|
name: "cache_hit";
|
|
1427
|
-
tableName: "
|
|
1427
|
+
tableName: "theauth_audit_logs";
|
|
1428
1428
|
dataType: "boolean";
|
|
1429
1429
|
columnType: "SQLiteBoolean";
|
|
1430
1430
|
data: boolean;
|
|
@@ -1441,7 +1441,7 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1441
1441
|
}, {}, {}>;
|
|
1442
1442
|
timestamp: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1443
1443
|
name: "timestamp";
|
|
1444
|
-
tableName: "
|
|
1444
|
+
tableName: "theauth_audit_logs";
|
|
1445
1445
|
dataType: "date";
|
|
1446
1446
|
columnType: "SQLiteTimestamp";
|
|
1447
1447
|
data: Date;
|
|
@@ -1460,12 +1460,12 @@ declare const auditLogs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1460
1460
|
dialect: "sqlite";
|
|
1461
1461
|
}>;
|
|
1462
1462
|
declare const rateLimits: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
1463
|
-
name: "
|
|
1463
|
+
name: "theauth_rate_limits";
|
|
1464
1464
|
schema: undefined;
|
|
1465
1465
|
columns: {
|
|
1466
1466
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1467
1467
|
name: "id";
|
|
1468
|
-
tableName: "
|
|
1468
|
+
tableName: "theauth_rate_limits";
|
|
1469
1469
|
dataType: "string";
|
|
1470
1470
|
columnType: "SQLiteText";
|
|
1471
1471
|
data: string;
|
|
@@ -1484,7 +1484,7 @@ declare const rateLimits: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1484
1484
|
}>;
|
|
1485
1485
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1486
1486
|
name: "agent_id";
|
|
1487
|
-
tableName: "
|
|
1487
|
+
tableName: "theauth_rate_limits";
|
|
1488
1488
|
dataType: "string";
|
|
1489
1489
|
columnType: "SQLiteText";
|
|
1490
1490
|
data: string;
|
|
@@ -1503,7 +1503,7 @@ declare const rateLimits: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1503
1503
|
}>;
|
|
1504
1504
|
resource: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1505
1505
|
name: "resource";
|
|
1506
|
-
tableName: "
|
|
1506
|
+
tableName: "theauth_rate_limits";
|
|
1507
1507
|
dataType: "string";
|
|
1508
1508
|
columnType: "SQLiteText";
|
|
1509
1509
|
data: string;
|
|
@@ -1522,7 +1522,7 @@ declare const rateLimits: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1522
1522
|
}>;
|
|
1523
1523
|
windowStart: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1524
1524
|
name: "window_start";
|
|
1525
|
-
tableName: "
|
|
1525
|
+
tableName: "theauth_rate_limits";
|
|
1526
1526
|
dataType: "date";
|
|
1527
1527
|
columnType: "SQLiteTimestamp";
|
|
1528
1528
|
data: Date;
|
|
@@ -1539,7 +1539,7 @@ declare const rateLimits: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1539
1539
|
}, {}, {}>;
|
|
1540
1540
|
count: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1541
1541
|
name: "count";
|
|
1542
|
-
tableName: "
|
|
1542
|
+
tableName: "theauth_rate_limits";
|
|
1543
1543
|
dataType: "number";
|
|
1544
1544
|
columnType: "SQLiteInteger";
|
|
1545
1545
|
data: number;
|
|
@@ -1558,12 +1558,12 @@ declare const rateLimits: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1558
1558
|
dialect: "sqlite";
|
|
1559
1559
|
}>;
|
|
1560
1560
|
declare const mcpServers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
1561
|
-
name: "
|
|
1561
|
+
name: "theauth_mcp_servers";
|
|
1562
1562
|
schema: undefined;
|
|
1563
1563
|
columns: {
|
|
1564
1564
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1565
1565
|
name: "id";
|
|
1566
|
-
tableName: "
|
|
1566
|
+
tableName: "theauth_mcp_servers";
|
|
1567
1567
|
dataType: "string";
|
|
1568
1568
|
columnType: "SQLiteText";
|
|
1569
1569
|
data: string;
|
|
@@ -1582,7 +1582,7 @@ declare const mcpServers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1582
1582
|
}>;
|
|
1583
1583
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1584
1584
|
name: "name";
|
|
1585
|
-
tableName: "
|
|
1585
|
+
tableName: "theauth_mcp_servers";
|
|
1586
1586
|
dataType: "string";
|
|
1587
1587
|
columnType: "SQLiteText";
|
|
1588
1588
|
data: string;
|
|
@@ -1601,7 +1601,7 @@ declare const mcpServers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1601
1601
|
}>;
|
|
1602
1602
|
endpoint: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1603
1603
|
name: "endpoint";
|
|
1604
|
-
tableName: "
|
|
1604
|
+
tableName: "theauth_mcp_servers";
|
|
1605
1605
|
dataType: "string";
|
|
1606
1606
|
columnType: "SQLiteText";
|
|
1607
1607
|
data: string;
|
|
@@ -1620,7 +1620,7 @@ declare const mcpServers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1620
1620
|
}>;
|
|
1621
1621
|
tools: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1622
1622
|
name: "tools";
|
|
1623
|
-
tableName: "
|
|
1623
|
+
tableName: "theauth_mcp_servers";
|
|
1624
1624
|
dataType: "json";
|
|
1625
1625
|
columnType: "SQLiteTextJson";
|
|
1626
1626
|
data: string[];
|
|
@@ -1639,7 +1639,7 @@ declare const mcpServers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1639
1639
|
}>;
|
|
1640
1640
|
authRequired: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1641
1641
|
name: "auth_required";
|
|
1642
|
-
tableName: "
|
|
1642
|
+
tableName: "theauth_mcp_servers";
|
|
1643
1643
|
dataType: "boolean";
|
|
1644
1644
|
columnType: "SQLiteBoolean";
|
|
1645
1645
|
data: boolean;
|
|
@@ -1656,7 +1656,7 @@ declare const mcpServers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1656
1656
|
}, {}, {}>;
|
|
1657
1657
|
rateLimitRpm: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1658
1658
|
name: "rate_limit_rpm";
|
|
1659
|
-
tableName: "
|
|
1659
|
+
tableName: "theauth_mcp_servers";
|
|
1660
1660
|
dataType: "number";
|
|
1661
1661
|
columnType: "SQLiteInteger";
|
|
1662
1662
|
data: number;
|
|
@@ -1673,7 +1673,7 @@ declare const mcpServers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1673
1673
|
}, {}, {}>;
|
|
1674
1674
|
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1675
1675
|
name: "status";
|
|
1676
|
-
tableName: "
|
|
1676
|
+
tableName: "theauth_mcp_servers";
|
|
1677
1677
|
dataType: "string";
|
|
1678
1678
|
columnType: "SQLiteText";
|
|
1679
1679
|
data: "active" | "inactive";
|
|
@@ -1692,7 +1692,7 @@ declare const mcpServers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1692
1692
|
}>;
|
|
1693
1693
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1694
1694
|
name: "created_at";
|
|
1695
|
-
tableName: "
|
|
1695
|
+
tableName: "theauth_mcp_servers";
|
|
1696
1696
|
dataType: "date";
|
|
1697
1697
|
columnType: "SQLiteTimestamp";
|
|
1698
1698
|
data: Date;
|
|
@@ -1709,7 +1709,7 @@ declare const mcpServers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1709
1709
|
}, {}, {}>;
|
|
1710
1710
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1711
1711
|
name: "updated_at";
|
|
1712
|
-
tableName: "
|
|
1712
|
+
tableName: "theauth_mcp_servers";
|
|
1713
1713
|
dataType: "date";
|
|
1714
1714
|
columnType: "SQLiteTimestamp";
|
|
1715
1715
|
data: Date;
|
|
@@ -1728,12 +1728,12 @@ declare const mcpServers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1728
1728
|
dialect: "sqlite";
|
|
1729
1729
|
}>;
|
|
1730
1730
|
declare const sessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
1731
|
-
name: "
|
|
1731
|
+
name: "theauth_sessions";
|
|
1732
1732
|
schema: undefined;
|
|
1733
1733
|
columns: {
|
|
1734
1734
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1735
1735
|
name: "id";
|
|
1736
|
-
tableName: "
|
|
1736
|
+
tableName: "theauth_sessions";
|
|
1737
1737
|
dataType: "string";
|
|
1738
1738
|
columnType: "SQLiteText";
|
|
1739
1739
|
data: string;
|
|
@@ -1752,7 +1752,7 @@ declare const sessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1752
1752
|
}>;
|
|
1753
1753
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1754
1754
|
name: "user_id";
|
|
1755
|
-
tableName: "
|
|
1755
|
+
tableName: "theauth_sessions";
|
|
1756
1756
|
dataType: "string";
|
|
1757
1757
|
columnType: "SQLiteText";
|
|
1758
1758
|
data: string;
|
|
@@ -1771,7 +1771,7 @@ declare const sessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1771
1771
|
}>;
|
|
1772
1772
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1773
1773
|
name: "expires_at";
|
|
1774
|
-
tableName: "
|
|
1774
|
+
tableName: "theauth_sessions";
|
|
1775
1775
|
dataType: "date";
|
|
1776
1776
|
columnType: "SQLiteTimestamp";
|
|
1777
1777
|
data: Date;
|
|
@@ -1788,7 +1788,7 @@ declare const sessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1788
1788
|
}, {}, {}>;
|
|
1789
1789
|
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1790
1790
|
name: "metadata";
|
|
1791
|
-
tableName: "
|
|
1791
|
+
tableName: "theauth_sessions";
|
|
1792
1792
|
dataType: "json";
|
|
1793
1793
|
columnType: "SQLiteTextJson";
|
|
1794
1794
|
data: Record<string, unknown>;
|
|
@@ -1807,7 +1807,7 @@ declare const sessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1807
1807
|
}>;
|
|
1808
1808
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1809
1809
|
name: "created_at";
|
|
1810
|
-
tableName: "
|
|
1810
|
+
tableName: "theauth_sessions";
|
|
1811
1811
|
dataType: "date";
|
|
1812
1812
|
columnType: "SQLiteTimestamp";
|
|
1813
1813
|
data: Date;
|
|
@@ -1826,12 +1826,12 @@ declare const sessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1826
1826
|
dialect: "sqlite";
|
|
1827
1827
|
}>;
|
|
1828
1828
|
declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
1829
|
-
name: "
|
|
1829
|
+
name: "theauth_oauth_clients";
|
|
1830
1830
|
schema: undefined;
|
|
1831
1831
|
columns: {
|
|
1832
1832
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1833
1833
|
name: "id";
|
|
1834
|
-
tableName: "
|
|
1834
|
+
tableName: "theauth_oauth_clients";
|
|
1835
1835
|
dataType: "string";
|
|
1836
1836
|
columnType: "SQLiteText";
|
|
1837
1837
|
data: string;
|
|
@@ -1850,7 +1850,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1850
1850
|
}>;
|
|
1851
1851
|
clientId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1852
1852
|
name: "client_id";
|
|
1853
|
-
tableName: "
|
|
1853
|
+
tableName: "theauth_oauth_clients";
|
|
1854
1854
|
dataType: "string";
|
|
1855
1855
|
columnType: "SQLiteText";
|
|
1856
1856
|
data: string;
|
|
@@ -1869,7 +1869,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1869
1869
|
}>;
|
|
1870
1870
|
clientSecret: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1871
1871
|
name: "client_secret";
|
|
1872
|
-
tableName: "
|
|
1872
|
+
tableName: "theauth_oauth_clients";
|
|
1873
1873
|
dataType: "string";
|
|
1874
1874
|
columnType: "SQLiteText";
|
|
1875
1875
|
data: string;
|
|
@@ -1888,7 +1888,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1888
1888
|
}>;
|
|
1889
1889
|
clientName: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1890
1890
|
name: "client_name";
|
|
1891
|
-
tableName: "
|
|
1891
|
+
tableName: "theauth_oauth_clients";
|
|
1892
1892
|
dataType: "string";
|
|
1893
1893
|
columnType: "SQLiteText";
|
|
1894
1894
|
data: string;
|
|
@@ -1907,7 +1907,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1907
1907
|
}>;
|
|
1908
1908
|
clientUri: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1909
1909
|
name: "client_uri";
|
|
1910
|
-
tableName: "
|
|
1910
|
+
tableName: "theauth_oauth_clients";
|
|
1911
1911
|
dataType: "string";
|
|
1912
1912
|
columnType: "SQLiteText";
|
|
1913
1913
|
data: string;
|
|
@@ -1926,7 +1926,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1926
1926
|
}>;
|
|
1927
1927
|
redirectUris: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1928
1928
|
name: "redirect_uris";
|
|
1929
|
-
tableName: "
|
|
1929
|
+
tableName: "theauth_oauth_clients";
|
|
1930
1930
|
dataType: "json";
|
|
1931
1931
|
columnType: "SQLiteTextJson";
|
|
1932
1932
|
data: string[];
|
|
@@ -1945,7 +1945,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1945
1945
|
}>;
|
|
1946
1946
|
grantTypes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1947
1947
|
name: "grant_types";
|
|
1948
|
-
tableName: "
|
|
1948
|
+
tableName: "theauth_oauth_clients";
|
|
1949
1949
|
dataType: "json";
|
|
1950
1950
|
columnType: "SQLiteTextJson";
|
|
1951
1951
|
data: string[];
|
|
@@ -1964,7 +1964,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1964
1964
|
}>;
|
|
1965
1965
|
responseTypes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1966
1966
|
name: "response_types";
|
|
1967
|
-
tableName: "
|
|
1967
|
+
tableName: "theauth_oauth_clients";
|
|
1968
1968
|
dataType: "json";
|
|
1969
1969
|
columnType: "SQLiteTextJson";
|
|
1970
1970
|
data: string[];
|
|
@@ -1983,7 +1983,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1983
1983
|
}>;
|
|
1984
1984
|
tokenEndpointAuthMethod: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1985
1985
|
name: "token_endpoint_auth_method";
|
|
1986
|
-
tableName: "
|
|
1986
|
+
tableName: "theauth_oauth_clients";
|
|
1987
1987
|
dataType: "string";
|
|
1988
1988
|
columnType: "SQLiteText";
|
|
1989
1989
|
data: string;
|
|
@@ -2002,7 +2002,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2002
2002
|
}>;
|
|
2003
2003
|
type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2004
2004
|
name: "type";
|
|
2005
|
-
tableName: "
|
|
2005
|
+
tableName: "theauth_oauth_clients";
|
|
2006
2006
|
dataType: "string";
|
|
2007
2007
|
columnType: "SQLiteText";
|
|
2008
2008
|
data: "public" | "confidential";
|
|
@@ -2021,7 +2021,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2021
2021
|
}>;
|
|
2022
2022
|
disabled: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2023
2023
|
name: "disabled";
|
|
2024
|
-
tableName: "
|
|
2024
|
+
tableName: "theauth_oauth_clients";
|
|
2025
2025
|
dataType: "boolean";
|
|
2026
2026
|
columnType: "SQLiteBoolean";
|
|
2027
2027
|
data: boolean;
|
|
@@ -2038,7 +2038,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2038
2038
|
}, {}, {}>;
|
|
2039
2039
|
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2040
2040
|
name: "metadata";
|
|
2041
|
-
tableName: "
|
|
2041
|
+
tableName: "theauth_oauth_clients";
|
|
2042
2042
|
dataType: "json";
|
|
2043
2043
|
columnType: "SQLiteTextJson";
|
|
2044
2044
|
data: Record<string, unknown>;
|
|
@@ -2057,7 +2057,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2057
2057
|
}>;
|
|
2058
2058
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2059
2059
|
name: "created_at";
|
|
2060
|
-
tableName: "
|
|
2060
|
+
tableName: "theauth_oauth_clients";
|
|
2061
2061
|
dataType: "date";
|
|
2062
2062
|
columnType: "SQLiteTimestamp";
|
|
2063
2063
|
data: Date;
|
|
@@ -2074,7 +2074,7 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2074
2074
|
}, {}, {}>;
|
|
2075
2075
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2076
2076
|
name: "updated_at";
|
|
2077
|
-
tableName: "
|
|
2077
|
+
tableName: "theauth_oauth_clients";
|
|
2078
2078
|
dataType: "date";
|
|
2079
2079
|
columnType: "SQLiteTimestamp";
|
|
2080
2080
|
data: Date;
|
|
@@ -2093,12 +2093,12 @@ declare const oauthClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2093
2093
|
dialect: "sqlite";
|
|
2094
2094
|
}>;
|
|
2095
2095
|
declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2096
|
-
name: "
|
|
2096
|
+
name: "theauth_oauth_access_tokens";
|
|
2097
2097
|
schema: undefined;
|
|
2098
2098
|
columns: {
|
|
2099
2099
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2100
2100
|
name: "id";
|
|
2101
|
-
tableName: "
|
|
2101
|
+
tableName: "theauth_oauth_access_tokens";
|
|
2102
2102
|
dataType: "string";
|
|
2103
2103
|
columnType: "SQLiteText";
|
|
2104
2104
|
data: string;
|
|
@@ -2117,7 +2117,7 @@ declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2117
2117
|
}>;
|
|
2118
2118
|
accessToken: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2119
2119
|
name: "access_token";
|
|
2120
|
-
tableName: "
|
|
2120
|
+
tableName: "theauth_oauth_access_tokens";
|
|
2121
2121
|
dataType: "string";
|
|
2122
2122
|
columnType: "SQLiteText";
|
|
2123
2123
|
data: string;
|
|
@@ -2136,7 +2136,7 @@ declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2136
2136
|
}>;
|
|
2137
2137
|
refreshToken: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2138
2138
|
name: "refresh_token";
|
|
2139
|
-
tableName: "
|
|
2139
|
+
tableName: "theauth_oauth_access_tokens";
|
|
2140
2140
|
dataType: "string";
|
|
2141
2141
|
columnType: "SQLiteText";
|
|
2142
2142
|
data: string;
|
|
@@ -2155,7 +2155,7 @@ declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2155
2155
|
}>;
|
|
2156
2156
|
clientId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2157
2157
|
name: "client_id";
|
|
2158
|
-
tableName: "
|
|
2158
|
+
tableName: "theauth_oauth_access_tokens";
|
|
2159
2159
|
dataType: "string";
|
|
2160
2160
|
columnType: "SQLiteText";
|
|
2161
2161
|
data: string;
|
|
@@ -2174,7 +2174,7 @@ declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2174
2174
|
}>;
|
|
2175
2175
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2176
2176
|
name: "user_id";
|
|
2177
|
-
tableName: "
|
|
2177
|
+
tableName: "theauth_oauth_access_tokens";
|
|
2178
2178
|
dataType: "string";
|
|
2179
2179
|
columnType: "SQLiteText";
|
|
2180
2180
|
data: string;
|
|
@@ -2193,7 +2193,7 @@ declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2193
2193
|
}>;
|
|
2194
2194
|
scopes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2195
2195
|
name: "scopes";
|
|
2196
|
-
tableName: "
|
|
2196
|
+
tableName: "theauth_oauth_access_tokens";
|
|
2197
2197
|
dataType: "string";
|
|
2198
2198
|
columnType: "SQLiteText";
|
|
2199
2199
|
data: string;
|
|
@@ -2212,7 +2212,7 @@ declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2212
2212
|
}>;
|
|
2213
2213
|
resource: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2214
2214
|
name: "resource";
|
|
2215
|
-
tableName: "
|
|
2215
|
+
tableName: "theauth_oauth_access_tokens";
|
|
2216
2216
|
dataType: "string";
|
|
2217
2217
|
columnType: "SQLiteText";
|
|
2218
2218
|
data: string;
|
|
@@ -2231,7 +2231,7 @@ declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2231
2231
|
}>;
|
|
2232
2232
|
accessTokenExpiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2233
2233
|
name: "access_token_expires_at";
|
|
2234
|
-
tableName: "
|
|
2234
|
+
tableName: "theauth_oauth_access_tokens";
|
|
2235
2235
|
dataType: "date";
|
|
2236
2236
|
columnType: "SQLiteTimestamp";
|
|
2237
2237
|
data: Date;
|
|
@@ -2248,7 +2248,7 @@ declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2248
2248
|
}, {}, {}>;
|
|
2249
2249
|
refreshTokenExpiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2250
2250
|
name: "refresh_token_expires_at";
|
|
2251
|
-
tableName: "
|
|
2251
|
+
tableName: "theauth_oauth_access_tokens";
|
|
2252
2252
|
dataType: "date";
|
|
2253
2253
|
columnType: "SQLiteTimestamp";
|
|
2254
2254
|
data: Date;
|
|
@@ -2265,7 +2265,7 @@ declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2265
2265
|
}, {}, {}>;
|
|
2266
2266
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2267
2267
|
name: "created_at";
|
|
2268
|
-
tableName: "
|
|
2268
|
+
tableName: "theauth_oauth_access_tokens";
|
|
2269
2269
|
dataType: "date";
|
|
2270
2270
|
columnType: "SQLiteTimestamp";
|
|
2271
2271
|
data: Date;
|
|
@@ -2284,12 +2284,12 @@ declare const oauthAccessTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2284
2284
|
dialect: "sqlite";
|
|
2285
2285
|
}>;
|
|
2286
2286
|
declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2287
|
-
name: "
|
|
2287
|
+
name: "theauth_oauth_authorization_codes";
|
|
2288
2288
|
schema: undefined;
|
|
2289
2289
|
columns: {
|
|
2290
2290
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2291
2291
|
name: "id";
|
|
2292
|
-
tableName: "
|
|
2292
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2293
2293
|
dataType: "string";
|
|
2294
2294
|
columnType: "SQLiteText";
|
|
2295
2295
|
data: string;
|
|
@@ -2308,7 +2308,7 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2308
2308
|
}>;
|
|
2309
2309
|
code: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2310
2310
|
name: "code";
|
|
2311
|
-
tableName: "
|
|
2311
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2312
2312
|
dataType: "string";
|
|
2313
2313
|
columnType: "SQLiteText";
|
|
2314
2314
|
data: string;
|
|
@@ -2327,7 +2327,7 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2327
2327
|
}>;
|
|
2328
2328
|
clientId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2329
2329
|
name: "client_id";
|
|
2330
|
-
tableName: "
|
|
2330
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2331
2331
|
dataType: "string";
|
|
2332
2332
|
columnType: "SQLiteText";
|
|
2333
2333
|
data: string;
|
|
@@ -2346,7 +2346,7 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2346
2346
|
}>;
|
|
2347
2347
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2348
2348
|
name: "user_id";
|
|
2349
|
-
tableName: "
|
|
2349
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2350
2350
|
dataType: "string";
|
|
2351
2351
|
columnType: "SQLiteText";
|
|
2352
2352
|
data: string;
|
|
@@ -2365,7 +2365,7 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2365
2365
|
}>;
|
|
2366
2366
|
redirectUri: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2367
2367
|
name: "redirect_uri";
|
|
2368
|
-
tableName: "
|
|
2368
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2369
2369
|
dataType: "string";
|
|
2370
2370
|
columnType: "SQLiteText";
|
|
2371
2371
|
data: string;
|
|
@@ -2384,7 +2384,7 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2384
2384
|
}>;
|
|
2385
2385
|
scopes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2386
2386
|
name: "scopes";
|
|
2387
|
-
tableName: "
|
|
2387
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2388
2388
|
dataType: "string";
|
|
2389
2389
|
columnType: "SQLiteText";
|
|
2390
2390
|
data: string;
|
|
@@ -2403,7 +2403,7 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2403
2403
|
}>;
|
|
2404
2404
|
codeChallenge: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2405
2405
|
name: "code_challenge";
|
|
2406
|
-
tableName: "
|
|
2406
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2407
2407
|
dataType: "string";
|
|
2408
2408
|
columnType: "SQLiteText";
|
|
2409
2409
|
data: string;
|
|
@@ -2422,7 +2422,7 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2422
2422
|
}>;
|
|
2423
2423
|
codeChallengeMethod: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2424
2424
|
name: "code_challenge_method";
|
|
2425
|
-
tableName: "
|
|
2425
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2426
2426
|
dataType: "string";
|
|
2427
2427
|
columnType: "SQLiteText";
|
|
2428
2428
|
data: string;
|
|
@@ -2441,7 +2441,7 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2441
2441
|
}>;
|
|
2442
2442
|
resource: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2443
2443
|
name: "resource";
|
|
2444
|
-
tableName: "
|
|
2444
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2445
2445
|
dataType: "string";
|
|
2446
2446
|
columnType: "SQLiteText";
|
|
2447
2447
|
data: string;
|
|
@@ -2460,7 +2460,7 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2460
2460
|
}>;
|
|
2461
2461
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2462
2462
|
name: "expires_at";
|
|
2463
|
-
tableName: "
|
|
2463
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2464
2464
|
dataType: "date";
|
|
2465
2465
|
columnType: "SQLiteTimestamp";
|
|
2466
2466
|
data: Date;
|
|
@@ -2477,7 +2477,7 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2477
2477
|
}, {}, {}>;
|
|
2478
2478
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2479
2479
|
name: "created_at";
|
|
2480
|
-
tableName: "
|
|
2480
|
+
tableName: "theauth_oauth_authorization_codes";
|
|
2481
2481
|
dataType: "date";
|
|
2482
2482
|
columnType: "SQLiteTimestamp";
|
|
2483
2483
|
data: Date;
|
|
@@ -2496,12 +2496,12 @@ declare const oauthAuthorizationCodes: drizzle_orm_sqlite_core.SQLiteTableWithCo
|
|
|
2496
2496
|
dialect: "sqlite";
|
|
2497
2497
|
}>;
|
|
2498
2498
|
declare const budgetPolicies: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2499
|
-
name: "
|
|
2499
|
+
name: "theauth_budget_policies";
|
|
2500
2500
|
schema: undefined;
|
|
2501
2501
|
columns: {
|
|
2502
2502
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2503
2503
|
name: "id";
|
|
2504
|
-
tableName: "
|
|
2504
|
+
tableName: "theauth_budget_policies";
|
|
2505
2505
|
dataType: "string";
|
|
2506
2506
|
columnType: "SQLiteText";
|
|
2507
2507
|
data: string;
|
|
@@ -2520,7 +2520,7 @@ declare const budgetPolicies: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2520
2520
|
}>;
|
|
2521
2521
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2522
2522
|
name: "agent_id";
|
|
2523
|
-
tableName: "
|
|
2523
|
+
tableName: "theauth_budget_policies";
|
|
2524
2524
|
dataType: "string";
|
|
2525
2525
|
columnType: "SQLiteText";
|
|
2526
2526
|
data: string;
|
|
@@ -2539,7 +2539,7 @@ declare const budgetPolicies: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2539
2539
|
}>;
|
|
2540
2540
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2541
2541
|
name: "user_id";
|
|
2542
|
-
tableName: "
|
|
2542
|
+
tableName: "theauth_budget_policies";
|
|
2543
2543
|
dataType: "string";
|
|
2544
2544
|
columnType: "SQLiteText";
|
|
2545
2545
|
data: string;
|
|
@@ -2558,7 +2558,7 @@ declare const budgetPolicies: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2558
2558
|
}>;
|
|
2559
2559
|
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2560
2560
|
name: "tenant_id";
|
|
2561
|
-
tableName: "
|
|
2561
|
+
tableName: "theauth_budget_policies";
|
|
2562
2562
|
dataType: "string";
|
|
2563
2563
|
columnType: "SQLiteText";
|
|
2564
2564
|
data: string;
|
|
@@ -2577,7 +2577,7 @@ declare const budgetPolicies: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2577
2577
|
}>;
|
|
2578
2578
|
limits: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2579
2579
|
name: "limits";
|
|
2580
|
-
tableName: "
|
|
2580
|
+
tableName: "theauth_budget_policies";
|
|
2581
2581
|
dataType: "json";
|
|
2582
2582
|
columnType: "SQLiteTextJson";
|
|
2583
2583
|
data: BudgetLimitsRow;
|
|
@@ -2596,7 +2596,7 @@ declare const budgetPolicies: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2596
2596
|
}>;
|
|
2597
2597
|
currentUsage: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2598
2598
|
name: "current_usage";
|
|
2599
|
-
tableName: "
|
|
2599
|
+
tableName: "theauth_budget_policies";
|
|
2600
2600
|
dataType: "json";
|
|
2601
2601
|
columnType: "SQLiteTextJson";
|
|
2602
2602
|
data: BudgetUsageRow;
|
|
@@ -2615,7 +2615,7 @@ declare const budgetPolicies: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2615
2615
|
}>;
|
|
2616
2616
|
action: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2617
2617
|
name: "action";
|
|
2618
|
-
tableName: "
|
|
2618
|
+
tableName: "theauth_budget_policies";
|
|
2619
2619
|
dataType: "string";
|
|
2620
2620
|
columnType: "SQLiteText";
|
|
2621
2621
|
data: "warn" | "throttle" | "block" | "revoke";
|
|
@@ -2634,7 +2634,7 @@ declare const budgetPolicies: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2634
2634
|
}>;
|
|
2635
2635
|
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2636
2636
|
name: "status";
|
|
2637
|
-
tableName: "
|
|
2637
|
+
tableName: "theauth_budget_policies";
|
|
2638
2638
|
dataType: "string";
|
|
2639
2639
|
columnType: "SQLiteText";
|
|
2640
2640
|
data: "active" | "disabled" | "triggered";
|
|
@@ -2653,7 +2653,7 @@ declare const budgetPolicies: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2653
2653
|
}>;
|
|
2654
2654
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2655
2655
|
name: "created_at";
|
|
2656
|
-
tableName: "
|
|
2656
|
+
tableName: "theauth_budget_policies";
|
|
2657
2657
|
dataType: "date";
|
|
2658
2658
|
columnType: "SQLiteTimestamp";
|
|
2659
2659
|
data: Date;
|
|
@@ -2685,12 +2685,12 @@ interface BudgetUsageRow {
|
|
|
2685
2685
|
lastUpdated: string;
|
|
2686
2686
|
}
|
|
2687
2687
|
declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2688
|
-
name: "
|
|
2688
|
+
name: "theauth_agent_cards";
|
|
2689
2689
|
schema: undefined;
|
|
2690
2690
|
columns: {
|
|
2691
2691
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2692
2692
|
name: "id";
|
|
2693
|
-
tableName: "
|
|
2693
|
+
tableName: "theauth_agent_cards";
|
|
2694
2694
|
dataType: "string";
|
|
2695
2695
|
columnType: "SQLiteText";
|
|
2696
2696
|
data: string;
|
|
@@ -2709,7 +2709,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2709
2709
|
}>;
|
|
2710
2710
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2711
2711
|
name: "agent_id";
|
|
2712
|
-
tableName: "
|
|
2712
|
+
tableName: "theauth_agent_cards";
|
|
2713
2713
|
dataType: "string";
|
|
2714
2714
|
columnType: "SQLiteText";
|
|
2715
2715
|
data: string;
|
|
@@ -2728,7 +2728,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2728
2728
|
}>;
|
|
2729
2729
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2730
2730
|
name: "name";
|
|
2731
|
-
tableName: "
|
|
2731
|
+
tableName: "theauth_agent_cards";
|
|
2732
2732
|
dataType: "string";
|
|
2733
2733
|
columnType: "SQLiteText";
|
|
2734
2734
|
data: string;
|
|
@@ -2747,7 +2747,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2747
2747
|
}>;
|
|
2748
2748
|
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2749
2749
|
name: "description";
|
|
2750
|
-
tableName: "
|
|
2750
|
+
tableName: "theauth_agent_cards";
|
|
2751
2751
|
dataType: "string";
|
|
2752
2752
|
columnType: "SQLiteText";
|
|
2753
2753
|
data: string;
|
|
@@ -2766,7 +2766,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2766
2766
|
}>;
|
|
2767
2767
|
version: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2768
2768
|
name: "version";
|
|
2769
|
-
tableName: "
|
|
2769
|
+
tableName: "theauth_agent_cards";
|
|
2770
2770
|
dataType: "string";
|
|
2771
2771
|
columnType: "SQLiteText";
|
|
2772
2772
|
data: string;
|
|
@@ -2785,7 +2785,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2785
2785
|
}>;
|
|
2786
2786
|
protocols: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2787
2787
|
name: "protocols";
|
|
2788
|
-
tableName: "
|
|
2788
|
+
tableName: "theauth_agent_cards";
|
|
2789
2789
|
dataType: "json";
|
|
2790
2790
|
columnType: "SQLiteTextJson";
|
|
2791
2791
|
data: string[];
|
|
@@ -2804,7 +2804,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2804
2804
|
}>;
|
|
2805
2805
|
capabilities: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2806
2806
|
name: "capabilities";
|
|
2807
|
-
tableName: "
|
|
2807
|
+
tableName: "theauth_agent_cards";
|
|
2808
2808
|
dataType: "json";
|
|
2809
2809
|
columnType: "SQLiteTextJson";
|
|
2810
2810
|
data: unknown[];
|
|
@@ -2823,7 +2823,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2823
2823
|
}>;
|
|
2824
2824
|
authRequirements: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2825
2825
|
name: "auth_requirements";
|
|
2826
|
-
tableName: "
|
|
2826
|
+
tableName: "theauth_agent_cards";
|
|
2827
2827
|
dataType: "json";
|
|
2828
2828
|
columnType: "SQLiteTextJson";
|
|
2829
2829
|
data: Record<string, unknown>;
|
|
@@ -2842,7 +2842,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2842
2842
|
}>;
|
|
2843
2843
|
endpoint: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2844
2844
|
name: "endpoint";
|
|
2845
|
-
tableName: "
|
|
2845
|
+
tableName: "theauth_agent_cards";
|
|
2846
2846
|
dataType: "string";
|
|
2847
2847
|
columnType: "SQLiteText";
|
|
2848
2848
|
data: string;
|
|
@@ -2861,7 +2861,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2861
2861
|
}>;
|
|
2862
2862
|
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2863
2863
|
name: "metadata";
|
|
2864
|
-
tableName: "
|
|
2864
|
+
tableName: "theauth_agent_cards";
|
|
2865
2865
|
dataType: "json";
|
|
2866
2866
|
columnType: "SQLiteTextJson";
|
|
2867
2867
|
data: Record<string, unknown>;
|
|
@@ -2880,7 +2880,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2880
2880
|
}>;
|
|
2881
2881
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2882
2882
|
name: "created_at";
|
|
2883
|
-
tableName: "
|
|
2883
|
+
tableName: "theauth_agent_cards";
|
|
2884
2884
|
dataType: "date";
|
|
2885
2885
|
columnType: "SQLiteTimestamp";
|
|
2886
2886
|
data: Date;
|
|
@@ -2897,7 +2897,7 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2897
2897
|
}, {}, {}>;
|
|
2898
2898
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2899
2899
|
name: "updated_at";
|
|
2900
|
-
tableName: "
|
|
2900
|
+
tableName: "theauth_agent_cards";
|
|
2901
2901
|
dataType: "date";
|
|
2902
2902
|
columnType: "SQLiteTimestamp";
|
|
2903
2903
|
data: Date;
|
|
@@ -2916,12 +2916,12 @@ declare const agentCards: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2916
2916
|
dialect: "sqlite";
|
|
2917
2917
|
}>;
|
|
2918
2918
|
declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2919
|
-
name: "
|
|
2919
|
+
name: "theauth_approval_requests";
|
|
2920
2920
|
schema: undefined;
|
|
2921
2921
|
columns: {
|
|
2922
2922
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2923
2923
|
name: "id";
|
|
2924
|
-
tableName: "
|
|
2924
|
+
tableName: "theauth_approval_requests";
|
|
2925
2925
|
dataType: "string";
|
|
2926
2926
|
columnType: "SQLiteText";
|
|
2927
2927
|
data: string;
|
|
@@ -2940,7 +2940,7 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2940
2940
|
}>;
|
|
2941
2941
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2942
2942
|
name: "agent_id";
|
|
2943
|
-
tableName: "
|
|
2943
|
+
tableName: "theauth_approval_requests";
|
|
2944
2944
|
dataType: "string";
|
|
2945
2945
|
columnType: "SQLiteText";
|
|
2946
2946
|
data: string;
|
|
@@ -2959,7 +2959,7 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2959
2959
|
}>;
|
|
2960
2960
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2961
2961
|
name: "user_id";
|
|
2962
|
-
tableName: "
|
|
2962
|
+
tableName: "theauth_approval_requests";
|
|
2963
2963
|
dataType: "string";
|
|
2964
2964
|
columnType: "SQLiteText";
|
|
2965
2965
|
data: string;
|
|
@@ -2978,7 +2978,7 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2978
2978
|
}>;
|
|
2979
2979
|
action: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2980
2980
|
name: "action";
|
|
2981
|
-
tableName: "
|
|
2981
|
+
tableName: "theauth_approval_requests";
|
|
2982
2982
|
dataType: "string";
|
|
2983
2983
|
columnType: "SQLiteText";
|
|
2984
2984
|
data: string;
|
|
@@ -2997,7 +2997,7 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2997
2997
|
}>;
|
|
2998
2998
|
resource: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2999
2999
|
name: "resource";
|
|
3000
|
-
tableName: "
|
|
3000
|
+
tableName: "theauth_approval_requests";
|
|
3001
3001
|
dataType: "string";
|
|
3002
3002
|
columnType: "SQLiteText";
|
|
3003
3003
|
data: string;
|
|
@@ -3016,7 +3016,7 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3016
3016
|
}>;
|
|
3017
3017
|
arguments: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3018
3018
|
name: "arguments";
|
|
3019
|
-
tableName: "
|
|
3019
|
+
tableName: "theauth_approval_requests";
|
|
3020
3020
|
dataType: "json";
|
|
3021
3021
|
columnType: "SQLiteTextJson";
|
|
3022
3022
|
data: Record<string, unknown>;
|
|
@@ -3035,7 +3035,7 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3035
3035
|
}>;
|
|
3036
3036
|
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3037
3037
|
name: "status";
|
|
3038
|
-
tableName: "
|
|
3038
|
+
tableName: "theauth_approval_requests";
|
|
3039
3039
|
dataType: "string";
|
|
3040
3040
|
columnType: "SQLiteText";
|
|
3041
3041
|
data: "expired" | "denied" | "pending" | "approved";
|
|
@@ -3054,7 +3054,7 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3054
3054
|
}>;
|
|
3055
3055
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3056
3056
|
name: "expires_at";
|
|
3057
|
-
tableName: "
|
|
3057
|
+
tableName: "theauth_approval_requests";
|
|
3058
3058
|
dataType: "date";
|
|
3059
3059
|
columnType: "SQLiteTimestamp";
|
|
3060
3060
|
data: Date;
|
|
@@ -3071,7 +3071,7 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3071
3071
|
}, {}, {}>;
|
|
3072
3072
|
respondedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3073
3073
|
name: "responded_at";
|
|
3074
|
-
tableName: "
|
|
3074
|
+
tableName: "theauth_approval_requests";
|
|
3075
3075
|
dataType: "date";
|
|
3076
3076
|
columnType: "SQLiteTimestamp";
|
|
3077
3077
|
data: Date;
|
|
@@ -3088,7 +3088,7 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3088
3088
|
}, {}, {}>;
|
|
3089
3089
|
respondedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3090
3090
|
name: "responded_by";
|
|
3091
|
-
tableName: "
|
|
3091
|
+
tableName: "theauth_approval_requests";
|
|
3092
3092
|
dataType: "string";
|
|
3093
3093
|
columnType: "SQLiteText";
|
|
3094
3094
|
data: string;
|
|
@@ -3107,7 +3107,7 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3107
3107
|
}>;
|
|
3108
3108
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3109
3109
|
name: "created_at";
|
|
3110
|
-
tableName: "
|
|
3110
|
+
tableName: "theauth_approval_requests";
|
|
3111
3111
|
dataType: "date";
|
|
3112
3112
|
columnType: "SQLiteTimestamp";
|
|
3113
3113
|
data: Date;
|
|
@@ -3126,12 +3126,12 @@ declare const approvalRequests: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3126
3126
|
dialect: "sqlite";
|
|
3127
3127
|
}>;
|
|
3128
3128
|
declare const trustScores: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
3129
|
-
name: "
|
|
3129
|
+
name: "theauth_trust_scores";
|
|
3130
3130
|
schema: undefined;
|
|
3131
3131
|
columns: {
|
|
3132
3132
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3133
3133
|
name: "agent_id";
|
|
3134
|
-
tableName: "
|
|
3134
|
+
tableName: "theauth_trust_scores";
|
|
3135
3135
|
dataType: "string";
|
|
3136
3136
|
columnType: "SQLiteText";
|
|
3137
3137
|
data: string;
|
|
@@ -3150,7 +3150,7 @@ declare const trustScores: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3150
3150
|
}>;
|
|
3151
3151
|
score: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3152
3152
|
name: "score";
|
|
3153
|
-
tableName: "
|
|
3153
|
+
tableName: "theauth_trust_scores";
|
|
3154
3154
|
dataType: "number";
|
|
3155
3155
|
columnType: "SQLiteInteger";
|
|
3156
3156
|
data: number;
|
|
@@ -3167,7 +3167,7 @@ declare const trustScores: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3167
3167
|
}, {}, {}>;
|
|
3168
3168
|
level: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3169
3169
|
name: "level";
|
|
3170
|
-
tableName: "
|
|
3170
|
+
tableName: "theauth_trust_scores";
|
|
3171
3171
|
dataType: "string";
|
|
3172
3172
|
columnType: "SQLiteText";
|
|
3173
3173
|
data: "untrusted" | "limited" | "standard" | "trusted" | "elevated";
|
|
@@ -3186,7 +3186,7 @@ declare const trustScores: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3186
3186
|
}>;
|
|
3187
3187
|
factors: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3188
3188
|
name: "factors";
|
|
3189
|
-
tableName: "
|
|
3189
|
+
tableName: "theauth_trust_scores";
|
|
3190
3190
|
dataType: "json";
|
|
3191
3191
|
columnType: "SQLiteTextJson";
|
|
3192
3192
|
data: Record<string, unknown>;
|
|
@@ -3205,7 +3205,7 @@ declare const trustScores: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3205
3205
|
}>;
|
|
3206
3206
|
computedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3207
3207
|
name: "computed_at";
|
|
3208
|
-
tableName: "
|
|
3208
|
+
tableName: "theauth_trust_scores";
|
|
3209
3209
|
dataType: "date";
|
|
3210
3210
|
columnType: "SQLiteTimestamp";
|
|
3211
3211
|
data: Date;
|
|
@@ -3224,12 +3224,12 @@ declare const trustScores: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3224
3224
|
dialect: "sqlite";
|
|
3225
3225
|
}>;
|
|
3226
3226
|
declare const magicLinks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
3227
|
-
name: "
|
|
3227
|
+
name: "theauth_magic_links";
|
|
3228
3228
|
schema: undefined;
|
|
3229
3229
|
columns: {
|
|
3230
3230
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3231
3231
|
name: "id";
|
|
3232
|
-
tableName: "
|
|
3232
|
+
tableName: "theauth_magic_links";
|
|
3233
3233
|
dataType: "string";
|
|
3234
3234
|
columnType: "SQLiteText";
|
|
3235
3235
|
data: string;
|
|
@@ -3248,7 +3248,7 @@ declare const magicLinks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3248
3248
|
}>;
|
|
3249
3249
|
email: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3250
3250
|
name: "email";
|
|
3251
|
-
tableName: "
|
|
3251
|
+
tableName: "theauth_magic_links";
|
|
3252
3252
|
dataType: "string";
|
|
3253
3253
|
columnType: "SQLiteText";
|
|
3254
3254
|
data: string;
|
|
@@ -3267,7 +3267,7 @@ declare const magicLinks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3267
3267
|
}>;
|
|
3268
3268
|
token: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3269
3269
|
name: "token";
|
|
3270
|
-
tableName: "
|
|
3270
|
+
tableName: "theauth_magic_links";
|
|
3271
3271
|
dataType: "string";
|
|
3272
3272
|
columnType: "SQLiteText";
|
|
3273
3273
|
data: string;
|
|
@@ -3286,7 +3286,7 @@ declare const magicLinks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3286
3286
|
}>;
|
|
3287
3287
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3288
3288
|
name: "expires_at";
|
|
3289
|
-
tableName: "
|
|
3289
|
+
tableName: "theauth_magic_links";
|
|
3290
3290
|
dataType: "date";
|
|
3291
3291
|
columnType: "SQLiteTimestamp";
|
|
3292
3292
|
data: Date;
|
|
@@ -3303,7 +3303,7 @@ declare const magicLinks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3303
3303
|
}, {}, {}>;
|
|
3304
3304
|
used: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3305
3305
|
name: "used";
|
|
3306
|
-
tableName: "
|
|
3306
|
+
tableName: "theauth_magic_links";
|
|
3307
3307
|
dataType: "boolean";
|
|
3308
3308
|
columnType: "SQLiteBoolean";
|
|
3309
3309
|
data: boolean;
|
|
@@ -3320,7 +3320,7 @@ declare const magicLinks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3320
3320
|
}, {}, {}>;
|
|
3321
3321
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3322
3322
|
name: "created_at";
|
|
3323
|
-
tableName: "
|
|
3323
|
+
tableName: "theauth_magic_links";
|
|
3324
3324
|
dataType: "date";
|
|
3325
3325
|
columnType: "SQLiteTimestamp";
|
|
3326
3326
|
data: Date;
|
|
@@ -3339,12 +3339,12 @@ declare const magicLinks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3339
3339
|
dialect: "sqlite";
|
|
3340
3340
|
}>;
|
|
3341
3341
|
declare const emailOtps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
3342
|
-
name: "
|
|
3342
|
+
name: "theauth_email_otps";
|
|
3343
3343
|
schema: undefined;
|
|
3344
3344
|
columns: {
|
|
3345
3345
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3346
3346
|
name: "id";
|
|
3347
|
-
tableName: "
|
|
3347
|
+
tableName: "theauth_email_otps";
|
|
3348
3348
|
dataType: "string";
|
|
3349
3349
|
columnType: "SQLiteText";
|
|
3350
3350
|
data: string;
|
|
@@ -3363,7 +3363,7 @@ declare const emailOtps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3363
3363
|
}>;
|
|
3364
3364
|
email: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3365
3365
|
name: "email";
|
|
3366
|
-
tableName: "
|
|
3366
|
+
tableName: "theauth_email_otps";
|
|
3367
3367
|
dataType: "string";
|
|
3368
3368
|
columnType: "SQLiteText";
|
|
3369
3369
|
data: string;
|
|
@@ -3382,7 +3382,7 @@ declare const emailOtps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3382
3382
|
}>;
|
|
3383
3383
|
codeHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3384
3384
|
name: "code_hash";
|
|
3385
|
-
tableName: "
|
|
3385
|
+
tableName: "theauth_email_otps";
|
|
3386
3386
|
dataType: "string";
|
|
3387
3387
|
columnType: "SQLiteText";
|
|
3388
3388
|
data: string;
|
|
@@ -3401,7 +3401,7 @@ declare const emailOtps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3401
3401
|
}>;
|
|
3402
3402
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3403
3403
|
name: "expires_at";
|
|
3404
|
-
tableName: "
|
|
3404
|
+
tableName: "theauth_email_otps";
|
|
3405
3405
|
dataType: "date";
|
|
3406
3406
|
columnType: "SQLiteTimestamp";
|
|
3407
3407
|
data: Date;
|
|
@@ -3418,7 +3418,7 @@ declare const emailOtps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3418
3418
|
}, {}, {}>;
|
|
3419
3419
|
attempts: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3420
3420
|
name: "attempts";
|
|
3421
|
-
tableName: "
|
|
3421
|
+
tableName: "theauth_email_otps";
|
|
3422
3422
|
dataType: "number";
|
|
3423
3423
|
columnType: "SQLiteInteger";
|
|
3424
3424
|
data: number;
|
|
@@ -3435,7 +3435,7 @@ declare const emailOtps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3435
3435
|
}, {}, {}>;
|
|
3436
3436
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3437
3437
|
name: "created_at";
|
|
3438
|
-
tableName: "
|
|
3438
|
+
tableName: "theauth_email_otps";
|
|
3439
3439
|
dataType: "date";
|
|
3440
3440
|
columnType: "SQLiteTimestamp";
|
|
3441
3441
|
data: Date;
|
|
@@ -3454,12 +3454,12 @@ declare const emailOtps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3454
3454
|
dialect: "sqlite";
|
|
3455
3455
|
}>;
|
|
3456
3456
|
declare const totpRecords: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
3457
|
-
name: "
|
|
3457
|
+
name: "theauth_totp";
|
|
3458
3458
|
schema: undefined;
|
|
3459
3459
|
columns: {
|
|
3460
3460
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3461
3461
|
name: "user_id";
|
|
3462
|
-
tableName: "
|
|
3462
|
+
tableName: "theauth_totp";
|
|
3463
3463
|
dataType: "string";
|
|
3464
3464
|
columnType: "SQLiteText";
|
|
3465
3465
|
data: string;
|
|
@@ -3478,7 +3478,7 @@ declare const totpRecords: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3478
3478
|
}>;
|
|
3479
3479
|
secret: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3480
3480
|
name: "secret";
|
|
3481
|
-
tableName: "
|
|
3481
|
+
tableName: "theauth_totp";
|
|
3482
3482
|
dataType: "string";
|
|
3483
3483
|
columnType: "SQLiteText";
|
|
3484
3484
|
data: string;
|
|
@@ -3497,7 +3497,7 @@ declare const totpRecords: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3497
3497
|
}>;
|
|
3498
3498
|
enabled: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3499
3499
|
name: "enabled";
|
|
3500
|
-
tableName: "
|
|
3500
|
+
tableName: "theauth_totp";
|
|
3501
3501
|
dataType: "boolean";
|
|
3502
3502
|
columnType: "SQLiteBoolean";
|
|
3503
3503
|
data: boolean;
|
|
@@ -3514,7 +3514,7 @@ declare const totpRecords: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3514
3514
|
}, {}, {}>;
|
|
3515
3515
|
backupCodes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3516
3516
|
name: "backup_codes";
|
|
3517
|
-
tableName: "
|
|
3517
|
+
tableName: "theauth_totp";
|
|
3518
3518
|
dataType: "json";
|
|
3519
3519
|
columnType: "SQLiteTextJson";
|
|
3520
3520
|
data: TotpBackupCode[];
|
|
@@ -3533,7 +3533,7 @@ declare const totpRecords: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3533
3533
|
}>;
|
|
3534
3534
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3535
3535
|
name: "created_at";
|
|
3536
|
-
tableName: "
|
|
3536
|
+
tableName: "theauth_totp";
|
|
3537
3537
|
dataType: "date";
|
|
3538
3538
|
columnType: "SQLiteTimestamp";
|
|
3539
3539
|
data: Date;
|
|
@@ -3550,7 +3550,7 @@ declare const totpRecords: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3550
3550
|
}, {}, {}>;
|
|
3551
3551
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3552
3552
|
name: "updated_at";
|
|
3553
|
-
tableName: "
|
|
3553
|
+
tableName: "theauth_totp";
|
|
3554
3554
|
dataType: "date";
|
|
3555
3555
|
columnType: "SQLiteTimestamp";
|
|
3556
3556
|
data: Date;
|
|
@@ -3573,12 +3573,12 @@ interface TotpBackupCode {
|
|
|
3573
3573
|
used: boolean;
|
|
3574
3574
|
}
|
|
3575
3575
|
declare const organizations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
3576
|
-
name: "
|
|
3576
|
+
name: "theauth_organizations";
|
|
3577
3577
|
schema: undefined;
|
|
3578
3578
|
columns: {
|
|
3579
3579
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3580
3580
|
name: "id";
|
|
3581
|
-
tableName: "
|
|
3581
|
+
tableName: "theauth_organizations";
|
|
3582
3582
|
dataType: "string";
|
|
3583
3583
|
columnType: "SQLiteText";
|
|
3584
3584
|
data: string;
|
|
@@ -3597,7 +3597,7 @@ declare const organizations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3597
3597
|
}>;
|
|
3598
3598
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3599
3599
|
name: "name";
|
|
3600
|
-
tableName: "
|
|
3600
|
+
tableName: "theauth_organizations";
|
|
3601
3601
|
dataType: "string";
|
|
3602
3602
|
columnType: "SQLiteText";
|
|
3603
3603
|
data: string;
|
|
@@ -3616,7 +3616,7 @@ declare const organizations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3616
3616
|
}>;
|
|
3617
3617
|
slug: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3618
3618
|
name: "slug";
|
|
3619
|
-
tableName: "
|
|
3619
|
+
tableName: "theauth_organizations";
|
|
3620
3620
|
dataType: "string";
|
|
3621
3621
|
columnType: "SQLiteText";
|
|
3622
3622
|
data: string;
|
|
@@ -3635,7 +3635,7 @@ declare const organizations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3635
3635
|
}>;
|
|
3636
3636
|
ownerId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3637
3637
|
name: "owner_id";
|
|
3638
|
-
tableName: "
|
|
3638
|
+
tableName: "theauth_organizations";
|
|
3639
3639
|
dataType: "string";
|
|
3640
3640
|
columnType: "SQLiteText";
|
|
3641
3641
|
data: string;
|
|
@@ -3654,7 +3654,7 @@ declare const organizations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3654
3654
|
}>;
|
|
3655
3655
|
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3656
3656
|
name: "metadata";
|
|
3657
|
-
tableName: "
|
|
3657
|
+
tableName: "theauth_organizations";
|
|
3658
3658
|
dataType: "json";
|
|
3659
3659
|
columnType: "SQLiteTextJson";
|
|
3660
3660
|
data: Record<string, unknown>;
|
|
@@ -3673,7 +3673,7 @@ declare const organizations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3673
3673
|
}>;
|
|
3674
3674
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3675
3675
|
name: "created_at";
|
|
3676
|
-
tableName: "
|
|
3676
|
+
tableName: "theauth_organizations";
|
|
3677
3677
|
dataType: "date";
|
|
3678
3678
|
columnType: "SQLiteTimestamp";
|
|
3679
3679
|
data: Date;
|
|
@@ -3690,7 +3690,7 @@ declare const organizations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3690
3690
|
}, {}, {}>;
|
|
3691
3691
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3692
3692
|
name: "updated_at";
|
|
3693
|
-
tableName: "
|
|
3693
|
+
tableName: "theauth_organizations";
|
|
3694
3694
|
dataType: "date";
|
|
3695
3695
|
columnType: "SQLiteTimestamp";
|
|
3696
3696
|
data: Date;
|
|
@@ -3709,12 +3709,12 @@ declare const organizations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3709
3709
|
dialect: "sqlite";
|
|
3710
3710
|
}>;
|
|
3711
3711
|
declare const orgMembers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
3712
|
-
name: "
|
|
3712
|
+
name: "theauth_org_members";
|
|
3713
3713
|
schema: undefined;
|
|
3714
3714
|
columns: {
|
|
3715
3715
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3716
3716
|
name: "id";
|
|
3717
|
-
tableName: "
|
|
3717
|
+
tableName: "theauth_org_members";
|
|
3718
3718
|
dataType: "string";
|
|
3719
3719
|
columnType: "SQLiteText";
|
|
3720
3720
|
data: string;
|
|
@@ -3733,7 +3733,7 @@ declare const orgMembers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3733
3733
|
}>;
|
|
3734
3734
|
orgId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3735
3735
|
name: "org_id";
|
|
3736
|
-
tableName: "
|
|
3736
|
+
tableName: "theauth_org_members";
|
|
3737
3737
|
dataType: "string";
|
|
3738
3738
|
columnType: "SQLiteText";
|
|
3739
3739
|
data: string;
|
|
@@ -3752,7 +3752,7 @@ declare const orgMembers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3752
3752
|
}>;
|
|
3753
3753
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3754
3754
|
name: "user_id";
|
|
3755
|
-
tableName: "
|
|
3755
|
+
tableName: "theauth_org_members";
|
|
3756
3756
|
dataType: "string";
|
|
3757
3757
|
columnType: "SQLiteText";
|
|
3758
3758
|
data: string;
|
|
@@ -3771,7 +3771,7 @@ declare const orgMembers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3771
3771
|
}>;
|
|
3772
3772
|
role: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3773
3773
|
name: "role";
|
|
3774
|
-
tableName: "
|
|
3774
|
+
tableName: "theauth_org_members";
|
|
3775
3775
|
dataType: "string";
|
|
3776
3776
|
columnType: "SQLiteText";
|
|
3777
3777
|
data: string;
|
|
@@ -3790,7 +3790,7 @@ declare const orgMembers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3790
3790
|
}>;
|
|
3791
3791
|
joinedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3792
3792
|
name: "joined_at";
|
|
3793
|
-
tableName: "
|
|
3793
|
+
tableName: "theauth_org_members";
|
|
3794
3794
|
dataType: "date";
|
|
3795
3795
|
columnType: "SQLiteTimestamp";
|
|
3796
3796
|
data: Date;
|
|
@@ -3809,12 +3809,12 @@ declare const orgMembers: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3809
3809
|
dialect: "sqlite";
|
|
3810
3810
|
}>;
|
|
3811
3811
|
declare const orgInvitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
3812
|
-
name: "
|
|
3812
|
+
name: "theauth_org_invitations";
|
|
3813
3813
|
schema: undefined;
|
|
3814
3814
|
columns: {
|
|
3815
3815
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3816
3816
|
name: "id";
|
|
3817
|
-
tableName: "
|
|
3817
|
+
tableName: "theauth_org_invitations";
|
|
3818
3818
|
dataType: "string";
|
|
3819
3819
|
columnType: "SQLiteText";
|
|
3820
3820
|
data: string;
|
|
@@ -3833,7 +3833,7 @@ declare const orgInvitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3833
3833
|
}>;
|
|
3834
3834
|
orgId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3835
3835
|
name: "org_id";
|
|
3836
|
-
tableName: "
|
|
3836
|
+
tableName: "theauth_org_invitations";
|
|
3837
3837
|
dataType: "string";
|
|
3838
3838
|
columnType: "SQLiteText";
|
|
3839
3839
|
data: string;
|
|
@@ -3852,7 +3852,7 @@ declare const orgInvitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3852
3852
|
}>;
|
|
3853
3853
|
email: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3854
3854
|
name: "email";
|
|
3855
|
-
tableName: "
|
|
3855
|
+
tableName: "theauth_org_invitations";
|
|
3856
3856
|
dataType: "string";
|
|
3857
3857
|
columnType: "SQLiteText";
|
|
3858
3858
|
data: string;
|
|
@@ -3871,7 +3871,7 @@ declare const orgInvitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3871
3871
|
}>;
|
|
3872
3872
|
role: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3873
3873
|
name: "role";
|
|
3874
|
-
tableName: "
|
|
3874
|
+
tableName: "theauth_org_invitations";
|
|
3875
3875
|
dataType: "string";
|
|
3876
3876
|
columnType: "SQLiteText";
|
|
3877
3877
|
data: string;
|
|
@@ -3890,7 +3890,7 @@ declare const orgInvitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3890
3890
|
}>;
|
|
3891
3891
|
invitedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3892
3892
|
name: "invited_by";
|
|
3893
|
-
tableName: "
|
|
3893
|
+
tableName: "theauth_org_invitations";
|
|
3894
3894
|
dataType: "string";
|
|
3895
3895
|
columnType: "SQLiteText";
|
|
3896
3896
|
data: string;
|
|
@@ -3909,7 +3909,7 @@ declare const orgInvitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3909
3909
|
}>;
|
|
3910
3910
|
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3911
3911
|
name: "status";
|
|
3912
|
-
tableName: "
|
|
3912
|
+
tableName: "theauth_org_invitations";
|
|
3913
3913
|
dataType: "string";
|
|
3914
3914
|
columnType: "SQLiteText";
|
|
3915
3915
|
data: "expired" | "pending" | "accepted";
|
|
@@ -3928,7 +3928,7 @@ declare const orgInvitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3928
3928
|
}>;
|
|
3929
3929
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3930
3930
|
name: "expires_at";
|
|
3931
|
-
tableName: "
|
|
3931
|
+
tableName: "theauth_org_invitations";
|
|
3932
3932
|
dataType: "date";
|
|
3933
3933
|
columnType: "SQLiteTimestamp";
|
|
3934
3934
|
data: Date;
|
|
@@ -3945,7 +3945,7 @@ declare const orgInvitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3945
3945
|
}, {}, {}>;
|
|
3946
3946
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3947
3947
|
name: "created_at";
|
|
3948
|
-
tableName: "
|
|
3948
|
+
tableName: "theauth_org_invitations";
|
|
3949
3949
|
dataType: "date";
|
|
3950
3950
|
columnType: "SQLiteTimestamp";
|
|
3951
3951
|
data: Date;
|
|
@@ -3964,12 +3964,12 @@ declare const orgInvitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3964
3964
|
dialect: "sqlite";
|
|
3965
3965
|
}>;
|
|
3966
3966
|
declare const orgRoles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
3967
|
-
name: "
|
|
3967
|
+
name: "theauth_org_roles";
|
|
3968
3968
|
schema: undefined;
|
|
3969
3969
|
columns: {
|
|
3970
3970
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3971
3971
|
name: "id";
|
|
3972
|
-
tableName: "
|
|
3972
|
+
tableName: "theauth_org_roles";
|
|
3973
3973
|
dataType: "string";
|
|
3974
3974
|
columnType: "SQLiteText";
|
|
3975
3975
|
data: string;
|
|
@@ -3988,7 +3988,7 @@ declare const orgRoles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3988
3988
|
}>;
|
|
3989
3989
|
orgId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3990
3990
|
name: "org_id";
|
|
3991
|
-
tableName: "
|
|
3991
|
+
tableName: "theauth_org_roles";
|
|
3992
3992
|
dataType: "string";
|
|
3993
3993
|
columnType: "SQLiteText";
|
|
3994
3994
|
data: string;
|
|
@@ -4007,7 +4007,7 @@ declare const orgRoles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4007
4007
|
}>;
|
|
4008
4008
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4009
4009
|
name: "name";
|
|
4010
|
-
tableName: "
|
|
4010
|
+
tableName: "theauth_org_roles";
|
|
4011
4011
|
dataType: "string";
|
|
4012
4012
|
columnType: "SQLiteText";
|
|
4013
4013
|
data: string;
|
|
@@ -4026,7 +4026,7 @@ declare const orgRoles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4026
4026
|
}>;
|
|
4027
4027
|
permissions: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4028
4028
|
name: "permissions";
|
|
4029
|
-
tableName: "
|
|
4029
|
+
tableName: "theauth_org_roles";
|
|
4030
4030
|
dataType: "json";
|
|
4031
4031
|
columnType: "SQLiteTextJson";
|
|
4032
4032
|
data: string[];
|
|
@@ -4047,12 +4047,12 @@ declare const orgRoles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4047
4047
|
dialect: "sqlite";
|
|
4048
4048
|
}>;
|
|
4049
4049
|
declare const passkeyCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
4050
|
-
name: "
|
|
4050
|
+
name: "theauth_passkey_credentials";
|
|
4051
4051
|
schema: undefined;
|
|
4052
4052
|
columns: {
|
|
4053
4053
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4054
4054
|
name: "id";
|
|
4055
|
-
tableName: "
|
|
4055
|
+
tableName: "theauth_passkey_credentials";
|
|
4056
4056
|
dataType: "string";
|
|
4057
4057
|
columnType: "SQLiteText";
|
|
4058
4058
|
data: string;
|
|
@@ -4071,7 +4071,7 @@ declare const passkeyCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4071
4071
|
}>;
|
|
4072
4072
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4073
4073
|
name: "user_id";
|
|
4074
|
-
tableName: "
|
|
4074
|
+
tableName: "theauth_passkey_credentials";
|
|
4075
4075
|
dataType: "string";
|
|
4076
4076
|
columnType: "SQLiteText";
|
|
4077
4077
|
data: string;
|
|
@@ -4090,7 +4090,7 @@ declare const passkeyCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4090
4090
|
}>;
|
|
4091
4091
|
credentialId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4092
4092
|
name: "credential_id";
|
|
4093
|
-
tableName: "
|
|
4093
|
+
tableName: "theauth_passkey_credentials";
|
|
4094
4094
|
dataType: "string";
|
|
4095
4095
|
columnType: "SQLiteText";
|
|
4096
4096
|
data: string;
|
|
@@ -4109,7 +4109,7 @@ declare const passkeyCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4109
4109
|
}>;
|
|
4110
4110
|
publicKey: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4111
4111
|
name: "public_key";
|
|
4112
|
-
tableName: "
|
|
4112
|
+
tableName: "theauth_passkey_credentials";
|
|
4113
4113
|
dataType: "string";
|
|
4114
4114
|
columnType: "SQLiteText";
|
|
4115
4115
|
data: string;
|
|
@@ -4128,7 +4128,7 @@ declare const passkeyCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4128
4128
|
}>;
|
|
4129
4129
|
counter: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4130
4130
|
name: "counter";
|
|
4131
|
-
tableName: "
|
|
4131
|
+
tableName: "theauth_passkey_credentials";
|
|
4132
4132
|
dataType: "number";
|
|
4133
4133
|
columnType: "SQLiteInteger";
|
|
4134
4134
|
data: number;
|
|
@@ -4145,7 +4145,7 @@ declare const passkeyCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4145
4145
|
}, {}, {}>;
|
|
4146
4146
|
deviceName: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4147
4147
|
name: "device_name";
|
|
4148
|
-
tableName: "
|
|
4148
|
+
tableName: "theauth_passkey_credentials";
|
|
4149
4149
|
dataType: "string";
|
|
4150
4150
|
columnType: "SQLiteText";
|
|
4151
4151
|
data: string;
|
|
@@ -4164,7 +4164,7 @@ declare const passkeyCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4164
4164
|
}>;
|
|
4165
4165
|
transports: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4166
4166
|
name: "transports";
|
|
4167
|
-
tableName: "
|
|
4167
|
+
tableName: "theauth_passkey_credentials";
|
|
4168
4168
|
dataType: "string";
|
|
4169
4169
|
columnType: "SQLiteText";
|
|
4170
4170
|
data: string;
|
|
@@ -4183,7 +4183,7 @@ declare const passkeyCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4183
4183
|
}>;
|
|
4184
4184
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4185
4185
|
name: "created_at";
|
|
4186
|
-
tableName: "
|
|
4186
|
+
tableName: "theauth_passkey_credentials";
|
|
4187
4187
|
dataType: "date";
|
|
4188
4188
|
columnType: "SQLiteTimestamp";
|
|
4189
4189
|
data: Date;
|
|
@@ -4200,7 +4200,7 @@ declare const passkeyCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4200
4200
|
}, {}, {}>;
|
|
4201
4201
|
lastUsedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4202
4202
|
name: "last_used_at";
|
|
4203
|
-
tableName: "
|
|
4203
|
+
tableName: "theauth_passkey_credentials";
|
|
4204
4204
|
dataType: "date";
|
|
4205
4205
|
columnType: "SQLiteTimestamp";
|
|
4206
4206
|
data: Date;
|
|
@@ -4219,12 +4219,12 @@ declare const passkeyCredentials: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4219
4219
|
dialect: "sqlite";
|
|
4220
4220
|
}>;
|
|
4221
4221
|
declare const ssoConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
4222
|
-
name: "
|
|
4222
|
+
name: "theauth_sso_connections";
|
|
4223
4223
|
schema: undefined;
|
|
4224
4224
|
columns: {
|
|
4225
4225
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4226
4226
|
name: "id";
|
|
4227
|
-
tableName: "
|
|
4227
|
+
tableName: "theauth_sso_connections";
|
|
4228
4228
|
dataType: "string";
|
|
4229
4229
|
columnType: "SQLiteText";
|
|
4230
4230
|
data: string;
|
|
@@ -4243,7 +4243,7 @@ declare const ssoConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4243
4243
|
}>;
|
|
4244
4244
|
orgId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4245
4245
|
name: "org_id";
|
|
4246
|
-
tableName: "
|
|
4246
|
+
tableName: "theauth_sso_connections";
|
|
4247
4247
|
dataType: "string";
|
|
4248
4248
|
columnType: "SQLiteText";
|
|
4249
4249
|
data: string;
|
|
@@ -4262,7 +4262,7 @@ declare const ssoConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4262
4262
|
}>;
|
|
4263
4263
|
providerId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4264
4264
|
name: "provider_id";
|
|
4265
|
-
tableName: "
|
|
4265
|
+
tableName: "theauth_sso_connections";
|
|
4266
4266
|
dataType: "string";
|
|
4267
4267
|
columnType: "SQLiteText";
|
|
4268
4268
|
data: string;
|
|
@@ -4281,7 +4281,7 @@ declare const ssoConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4281
4281
|
}>;
|
|
4282
4282
|
type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4283
4283
|
name: "type";
|
|
4284
|
-
tableName: "
|
|
4284
|
+
tableName: "theauth_sso_connections";
|
|
4285
4285
|
dataType: "string";
|
|
4286
4286
|
columnType: "SQLiteText";
|
|
4287
4287
|
data: "saml" | "oidc";
|
|
@@ -4300,7 +4300,7 @@ declare const ssoConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4300
4300
|
}>;
|
|
4301
4301
|
domain: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4302
4302
|
name: "domain";
|
|
4303
|
-
tableName: "
|
|
4303
|
+
tableName: "theauth_sso_connections";
|
|
4304
4304
|
dataType: "string";
|
|
4305
4305
|
columnType: "SQLiteText";
|
|
4306
4306
|
data: string;
|
|
@@ -4319,7 +4319,7 @@ declare const ssoConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4319
4319
|
}>;
|
|
4320
4320
|
enabled: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4321
4321
|
name: "enabled";
|
|
4322
|
-
tableName: "
|
|
4322
|
+
tableName: "theauth_sso_connections";
|
|
4323
4323
|
dataType: "number";
|
|
4324
4324
|
columnType: "SQLiteInteger";
|
|
4325
4325
|
data: number;
|
|
@@ -4336,7 +4336,7 @@ declare const ssoConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4336
4336
|
}, {}, {}>;
|
|
4337
4337
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4338
4338
|
name: "created_at";
|
|
4339
|
-
tableName: "
|
|
4339
|
+
tableName: "theauth_sso_connections";
|
|
4340
4340
|
dataType: "date";
|
|
4341
4341
|
columnType: "SQLiteTimestamp";
|
|
4342
4342
|
data: Date;
|
|
@@ -4355,12 +4355,12 @@ declare const ssoConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4355
4355
|
dialect: "sqlite";
|
|
4356
4356
|
}>;
|
|
4357
4357
|
declare const apiKeys: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
4358
|
-
name: "
|
|
4358
|
+
name: "theauth_api_keys";
|
|
4359
4359
|
schema: undefined;
|
|
4360
4360
|
columns: {
|
|
4361
4361
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4362
4362
|
name: "id";
|
|
4363
|
-
tableName: "
|
|
4363
|
+
tableName: "theauth_api_keys";
|
|
4364
4364
|
dataType: "string";
|
|
4365
4365
|
columnType: "SQLiteText";
|
|
4366
4366
|
data: string;
|
|
@@ -4379,7 +4379,7 @@ declare const apiKeys: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4379
4379
|
}>;
|
|
4380
4380
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4381
4381
|
name: "user_id";
|
|
4382
|
-
tableName: "
|
|
4382
|
+
tableName: "theauth_api_keys";
|
|
4383
4383
|
dataType: "string";
|
|
4384
4384
|
columnType: "SQLiteText";
|
|
4385
4385
|
data: string;
|
|
@@ -4398,7 +4398,7 @@ declare const apiKeys: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4398
4398
|
}>;
|
|
4399
4399
|
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4400
4400
|
name: "name";
|
|
4401
|
-
tableName: "
|
|
4401
|
+
tableName: "theauth_api_keys";
|
|
4402
4402
|
dataType: "string";
|
|
4403
4403
|
columnType: "SQLiteText";
|
|
4404
4404
|
data: string;
|
|
@@ -4417,7 +4417,7 @@ declare const apiKeys: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4417
4417
|
}>;
|
|
4418
4418
|
keyHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4419
4419
|
name: "key_hash";
|
|
4420
|
-
tableName: "
|
|
4420
|
+
tableName: "theauth_api_keys";
|
|
4421
4421
|
dataType: "string";
|
|
4422
4422
|
columnType: "SQLiteText";
|
|
4423
4423
|
data: string;
|
|
@@ -4436,7 +4436,7 @@ declare const apiKeys: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4436
4436
|
}>;
|
|
4437
4437
|
keyPrefix: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4438
4438
|
name: "key_prefix";
|
|
4439
|
-
tableName: "
|
|
4439
|
+
tableName: "theauth_api_keys";
|
|
4440
4440
|
dataType: "string";
|
|
4441
4441
|
columnType: "SQLiteText";
|
|
4442
4442
|
data: string;
|
|
@@ -4455,7 +4455,7 @@ declare const apiKeys: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4455
4455
|
}>;
|
|
4456
4456
|
permissions: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4457
4457
|
name: "permissions";
|
|
4458
|
-
tableName: "
|
|
4458
|
+
tableName: "theauth_api_keys";
|
|
4459
4459
|
dataType: "json";
|
|
4460
4460
|
columnType: "SQLiteTextJson";
|
|
4461
4461
|
data: string[];
|
|
@@ -4474,7 +4474,7 @@ declare const apiKeys: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4474
4474
|
}>;
|
|
4475
4475
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4476
4476
|
name: "expires_at";
|
|
4477
|
-
tableName: "
|
|
4477
|
+
tableName: "theauth_api_keys";
|
|
4478
4478
|
dataType: "date";
|
|
4479
4479
|
columnType: "SQLiteTimestamp";
|
|
4480
4480
|
data: Date;
|
|
@@ -4491,7 +4491,7 @@ declare const apiKeys: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4491
4491
|
}, {}, {}>;
|
|
4492
4492
|
lastUsedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4493
4493
|
name: "last_used_at";
|
|
4494
|
-
tableName: "
|
|
4494
|
+
tableName: "theauth_api_keys";
|
|
4495
4495
|
dataType: "date";
|
|
4496
4496
|
columnType: "SQLiteTimestamp";
|
|
4497
4497
|
data: Date;
|
|
@@ -4508,7 +4508,7 @@ declare const apiKeys: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4508
4508
|
}, {}, {}>;
|
|
4509
4509
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4510
4510
|
name: "created_at";
|
|
4511
|
-
tableName: "
|
|
4511
|
+
tableName: "theauth_api_keys";
|
|
4512
4512
|
dataType: "date";
|
|
4513
4513
|
columnType: "SQLiteTimestamp";
|
|
4514
4514
|
data: Date;
|
|
@@ -4527,12 +4527,12 @@ declare const apiKeys: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4527
4527
|
dialect: "sqlite";
|
|
4528
4528
|
}>;
|
|
4529
4529
|
declare const passkeyChallenges: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
4530
|
-
name: "
|
|
4530
|
+
name: "theauth_passkey_challenges";
|
|
4531
4531
|
schema: undefined;
|
|
4532
4532
|
columns: {
|
|
4533
4533
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4534
4534
|
name: "id";
|
|
4535
|
-
tableName: "
|
|
4535
|
+
tableName: "theauth_passkey_challenges";
|
|
4536
4536
|
dataType: "string";
|
|
4537
4537
|
columnType: "SQLiteText";
|
|
4538
4538
|
data: string;
|
|
@@ -4551,7 +4551,7 @@ declare const passkeyChallenges: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
4551
4551
|
}>;
|
|
4552
4552
|
challenge: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4553
4553
|
name: "challenge";
|
|
4554
|
-
tableName: "
|
|
4554
|
+
tableName: "theauth_passkey_challenges";
|
|
4555
4555
|
dataType: "string";
|
|
4556
4556
|
columnType: "SQLiteText";
|
|
4557
4557
|
data: string;
|
|
@@ -4570,7 +4570,7 @@ declare const passkeyChallenges: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
4570
4570
|
}>;
|
|
4571
4571
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4572
4572
|
name: "user_id";
|
|
4573
|
-
tableName: "
|
|
4573
|
+
tableName: "theauth_passkey_challenges";
|
|
4574
4574
|
dataType: "string";
|
|
4575
4575
|
columnType: "SQLiteText";
|
|
4576
4576
|
data: string;
|
|
@@ -4589,7 +4589,7 @@ declare const passkeyChallenges: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
4589
4589
|
}>;
|
|
4590
4590
|
type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4591
4591
|
name: "type";
|
|
4592
|
-
tableName: "
|
|
4592
|
+
tableName: "theauth_passkey_challenges";
|
|
4593
4593
|
dataType: "string";
|
|
4594
4594
|
columnType: "SQLiteText";
|
|
4595
4595
|
data: "registration" | "authentication";
|
|
@@ -4608,7 +4608,7 @@ declare const passkeyChallenges: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
4608
4608
|
}>;
|
|
4609
4609
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4610
4610
|
name: "expires_at";
|
|
4611
|
-
tableName: "
|
|
4611
|
+
tableName: "theauth_passkey_challenges";
|
|
4612
4612
|
dataType: "date";
|
|
4613
4613
|
columnType: "SQLiteTimestamp";
|
|
4614
4614
|
data: Date;
|
|
@@ -4625,7 +4625,7 @@ declare const passkeyChallenges: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
4625
4625
|
}, {}, {}>;
|
|
4626
4626
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4627
4627
|
name: "created_at";
|
|
4628
|
-
tableName: "
|
|
4628
|
+
tableName: "theauth_passkey_challenges";
|
|
4629
4629
|
dataType: "date";
|
|
4630
4630
|
columnType: "SQLiteTimestamp";
|
|
4631
4631
|
data: Date;
|
|
@@ -4644,12 +4644,12 @@ declare const passkeyChallenges: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
4644
4644
|
dialect: "sqlite";
|
|
4645
4645
|
}>;
|
|
4646
4646
|
declare const usernameAccounts: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
4647
|
-
name: "
|
|
4647
|
+
name: "theauth_username_accounts";
|
|
4648
4648
|
schema: undefined;
|
|
4649
4649
|
columns: {
|
|
4650
4650
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4651
4651
|
name: "id";
|
|
4652
|
-
tableName: "
|
|
4652
|
+
tableName: "theauth_username_accounts";
|
|
4653
4653
|
dataType: "string";
|
|
4654
4654
|
columnType: "SQLiteText";
|
|
4655
4655
|
data: string;
|
|
@@ -4668,7 +4668,7 @@ declare const usernameAccounts: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4668
4668
|
}>;
|
|
4669
4669
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4670
4670
|
name: "user_id";
|
|
4671
|
-
tableName: "
|
|
4671
|
+
tableName: "theauth_username_accounts";
|
|
4672
4672
|
dataType: "string";
|
|
4673
4673
|
columnType: "SQLiteText";
|
|
4674
4674
|
data: string;
|
|
@@ -4687,7 +4687,7 @@ declare const usernameAccounts: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4687
4687
|
}>;
|
|
4688
4688
|
username: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4689
4689
|
name: "username";
|
|
4690
|
-
tableName: "
|
|
4690
|
+
tableName: "theauth_username_accounts";
|
|
4691
4691
|
dataType: "string";
|
|
4692
4692
|
columnType: "SQLiteText";
|
|
4693
4693
|
data: string;
|
|
@@ -4706,7 +4706,7 @@ declare const usernameAccounts: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4706
4706
|
}>;
|
|
4707
4707
|
passwordHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4708
4708
|
name: "password_hash";
|
|
4709
|
-
tableName: "
|
|
4709
|
+
tableName: "theauth_username_accounts";
|
|
4710
4710
|
dataType: "string";
|
|
4711
4711
|
columnType: "SQLiteText";
|
|
4712
4712
|
data: string;
|
|
@@ -4725,7 +4725,7 @@ declare const usernameAccounts: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4725
4725
|
}>;
|
|
4726
4726
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4727
4727
|
name: "created_at";
|
|
4728
|
-
tableName: "
|
|
4728
|
+
tableName: "theauth_username_accounts";
|
|
4729
4729
|
dataType: "date";
|
|
4730
4730
|
columnType: "SQLiteTimestamp";
|
|
4731
4731
|
data: Date;
|
|
@@ -4742,7 +4742,7 @@ declare const usernameAccounts: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4742
4742
|
}, {}, {}>;
|
|
4743
4743
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4744
4744
|
name: "updated_at";
|
|
4745
|
-
tableName: "
|
|
4745
|
+
tableName: "theauth_username_accounts";
|
|
4746
4746
|
dataType: "date";
|
|
4747
4747
|
columnType: "SQLiteTimestamp";
|
|
4748
4748
|
data: Date;
|
|
@@ -4761,12 +4761,12 @@ declare const usernameAccounts: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4761
4761
|
dialect: "sqlite";
|
|
4762
4762
|
}>;
|
|
4763
4763
|
declare const phoneVerifications: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
4764
|
-
name: "
|
|
4764
|
+
name: "theauth_phone_verifications";
|
|
4765
4765
|
schema: undefined;
|
|
4766
4766
|
columns: {
|
|
4767
4767
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4768
4768
|
name: "id";
|
|
4769
|
-
tableName: "
|
|
4769
|
+
tableName: "theauth_phone_verifications";
|
|
4770
4770
|
dataType: "string";
|
|
4771
4771
|
columnType: "SQLiteText";
|
|
4772
4772
|
data: string;
|
|
@@ -4785,7 +4785,7 @@ declare const phoneVerifications: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4785
4785
|
}>;
|
|
4786
4786
|
phoneNumber: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4787
4787
|
name: "phone_number";
|
|
4788
|
-
tableName: "
|
|
4788
|
+
tableName: "theauth_phone_verifications";
|
|
4789
4789
|
dataType: "string";
|
|
4790
4790
|
columnType: "SQLiteText";
|
|
4791
4791
|
data: string;
|
|
@@ -4804,7 +4804,7 @@ declare const phoneVerifications: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4804
4804
|
}>;
|
|
4805
4805
|
codeHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4806
4806
|
name: "code_hash";
|
|
4807
|
-
tableName: "
|
|
4807
|
+
tableName: "theauth_phone_verifications";
|
|
4808
4808
|
dataType: "string";
|
|
4809
4809
|
columnType: "SQLiteText";
|
|
4810
4810
|
data: string;
|
|
@@ -4823,7 +4823,7 @@ declare const phoneVerifications: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4823
4823
|
}>;
|
|
4824
4824
|
attempts: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4825
4825
|
name: "attempts";
|
|
4826
|
-
tableName: "
|
|
4826
|
+
tableName: "theauth_phone_verifications";
|
|
4827
4827
|
dataType: "number";
|
|
4828
4828
|
columnType: "SQLiteInteger";
|
|
4829
4829
|
data: number;
|
|
@@ -4840,7 +4840,7 @@ declare const phoneVerifications: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4840
4840
|
}, {}, {}>;
|
|
4841
4841
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4842
4842
|
name: "expires_at";
|
|
4843
|
-
tableName: "
|
|
4843
|
+
tableName: "theauth_phone_verifications";
|
|
4844
4844
|
dataType: "date";
|
|
4845
4845
|
columnType: "SQLiteTimestamp";
|
|
4846
4846
|
data: Date;
|
|
@@ -4857,7 +4857,7 @@ declare const phoneVerifications: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4857
4857
|
}, {}, {}>;
|
|
4858
4858
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4859
4859
|
name: "created_at";
|
|
4860
|
-
tableName: "
|
|
4860
|
+
tableName: "theauth_phone_verifications";
|
|
4861
4861
|
dataType: "date";
|
|
4862
4862
|
columnType: "SQLiteTimestamp";
|
|
4863
4863
|
data: Date;
|
|
@@ -4876,12 +4876,12 @@ declare const phoneVerifications: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
4876
4876
|
dialect: "sqlite";
|
|
4877
4877
|
}>;
|
|
4878
4878
|
declare const trustedDevices: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
4879
|
-
name: "
|
|
4879
|
+
name: "theauth_trusted_devices";
|
|
4880
4880
|
schema: undefined;
|
|
4881
4881
|
columns: {
|
|
4882
4882
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4883
4883
|
name: "id";
|
|
4884
|
-
tableName: "
|
|
4884
|
+
tableName: "theauth_trusted_devices";
|
|
4885
4885
|
dataType: "string";
|
|
4886
4886
|
columnType: "SQLiteText";
|
|
4887
4887
|
data: string;
|
|
@@ -4900,7 +4900,7 @@ declare const trustedDevices: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4900
4900
|
}>;
|
|
4901
4901
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4902
4902
|
name: "user_id";
|
|
4903
|
-
tableName: "
|
|
4903
|
+
tableName: "theauth_trusted_devices";
|
|
4904
4904
|
dataType: "string";
|
|
4905
4905
|
columnType: "SQLiteText";
|
|
4906
4906
|
data: string;
|
|
@@ -4919,7 +4919,7 @@ declare const trustedDevices: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4919
4919
|
}>;
|
|
4920
4920
|
fingerprint: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4921
4921
|
name: "fingerprint";
|
|
4922
|
-
tableName: "
|
|
4922
|
+
tableName: "theauth_trusted_devices";
|
|
4923
4923
|
dataType: "string";
|
|
4924
4924
|
columnType: "SQLiteText";
|
|
4925
4925
|
data: string;
|
|
@@ -4938,7 +4938,7 @@ declare const trustedDevices: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4938
4938
|
}>;
|
|
4939
4939
|
label: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4940
4940
|
name: "label";
|
|
4941
|
-
tableName: "
|
|
4941
|
+
tableName: "theauth_trusted_devices";
|
|
4942
4942
|
dataType: "string";
|
|
4943
4943
|
columnType: "SQLiteText";
|
|
4944
4944
|
data: string;
|
|
@@ -4957,7 +4957,7 @@ declare const trustedDevices: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4957
4957
|
}>;
|
|
4958
4958
|
trustedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4959
4959
|
name: "trusted_at";
|
|
4960
|
-
tableName: "
|
|
4960
|
+
tableName: "theauth_trusted_devices";
|
|
4961
4961
|
dataType: "date";
|
|
4962
4962
|
columnType: "SQLiteTimestamp";
|
|
4963
4963
|
data: Date;
|
|
@@ -4974,7 +4974,7 @@ declare const trustedDevices: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4974
4974
|
}, {}, {}>;
|
|
4975
4975
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4976
4976
|
name: "expires_at";
|
|
4977
|
-
tableName: "
|
|
4977
|
+
tableName: "theauth_trusted_devices";
|
|
4978
4978
|
dataType: "date";
|
|
4979
4979
|
columnType: "SQLiteTimestamp";
|
|
4980
4980
|
data: Date;
|
|
@@ -4993,12 +4993,12 @@ declare const trustedDevices: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4993
4993
|
dialect: "sqlite";
|
|
4994
4994
|
}>;
|
|
4995
4995
|
declare const oneTimeTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
4996
|
-
name: "
|
|
4996
|
+
name: "theauth_one_time_tokens";
|
|
4997
4997
|
schema: undefined;
|
|
4998
4998
|
columns: {
|
|
4999
4999
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5000
5000
|
name: "id";
|
|
5001
|
-
tableName: "
|
|
5001
|
+
tableName: "theauth_one_time_tokens";
|
|
5002
5002
|
dataType: "string";
|
|
5003
5003
|
columnType: "SQLiteText";
|
|
5004
5004
|
data: string;
|
|
@@ -5017,7 +5017,7 @@ declare const oneTimeTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5017
5017
|
}>;
|
|
5018
5018
|
tokenHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5019
5019
|
name: "token_hash";
|
|
5020
|
-
tableName: "
|
|
5020
|
+
tableName: "theauth_one_time_tokens";
|
|
5021
5021
|
dataType: "string";
|
|
5022
5022
|
columnType: "SQLiteText";
|
|
5023
5023
|
data: string;
|
|
@@ -5036,7 +5036,7 @@ declare const oneTimeTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5036
5036
|
}>;
|
|
5037
5037
|
purpose: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5038
5038
|
name: "purpose";
|
|
5039
|
-
tableName: "
|
|
5039
|
+
tableName: "theauth_one_time_tokens";
|
|
5040
5040
|
dataType: "string";
|
|
5041
5041
|
columnType: "SQLiteText";
|
|
5042
5042
|
data: "custom" | "email-verify" | "password-reset" | "invitation";
|
|
@@ -5055,7 +5055,7 @@ declare const oneTimeTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5055
5055
|
}>;
|
|
5056
5056
|
identifier: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5057
5057
|
name: "identifier";
|
|
5058
|
-
tableName: "
|
|
5058
|
+
tableName: "theauth_one_time_tokens";
|
|
5059
5059
|
dataType: "string";
|
|
5060
5060
|
columnType: "SQLiteText";
|
|
5061
5061
|
data: string;
|
|
@@ -5074,7 +5074,7 @@ declare const oneTimeTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5074
5074
|
}>;
|
|
5075
5075
|
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5076
5076
|
name: "metadata";
|
|
5077
|
-
tableName: "
|
|
5077
|
+
tableName: "theauth_one_time_tokens";
|
|
5078
5078
|
dataType: "json";
|
|
5079
5079
|
columnType: "SQLiteTextJson";
|
|
5080
5080
|
data: Record<string, unknown>;
|
|
@@ -5093,7 +5093,7 @@ declare const oneTimeTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5093
5093
|
}>;
|
|
5094
5094
|
used: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5095
5095
|
name: "used";
|
|
5096
|
-
tableName: "
|
|
5096
|
+
tableName: "theauth_one_time_tokens";
|
|
5097
5097
|
dataType: "boolean";
|
|
5098
5098
|
columnType: "SQLiteBoolean";
|
|
5099
5099
|
data: boolean;
|
|
@@ -5110,7 +5110,7 @@ declare const oneTimeTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5110
5110
|
}, {}, {}>;
|
|
5111
5111
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5112
5112
|
name: "expires_at";
|
|
5113
|
-
tableName: "
|
|
5113
|
+
tableName: "theauth_one_time_tokens";
|
|
5114
5114
|
dataType: "date";
|
|
5115
5115
|
columnType: "SQLiteTimestamp";
|
|
5116
5116
|
data: Date;
|
|
@@ -5127,7 +5127,7 @@ declare const oneTimeTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5127
5127
|
}, {}, {}>;
|
|
5128
5128
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5129
5129
|
name: "created_at";
|
|
5130
|
-
tableName: "
|
|
5130
|
+
tableName: "theauth_one_time_tokens";
|
|
5131
5131
|
dataType: "date";
|
|
5132
5132
|
columnType: "SQLiteTimestamp";
|
|
5133
5133
|
data: Date;
|
|
@@ -5146,12 +5146,12 @@ declare const oneTimeTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5146
5146
|
dialect: "sqlite";
|
|
5147
5147
|
}>;
|
|
5148
5148
|
declare const loginHistory: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
5149
|
-
name: "
|
|
5149
|
+
name: "theauth_login_history";
|
|
5150
5150
|
schema: undefined;
|
|
5151
5151
|
columns: {
|
|
5152
5152
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5153
5153
|
name: "id";
|
|
5154
|
-
tableName: "
|
|
5154
|
+
tableName: "theauth_login_history";
|
|
5155
5155
|
dataType: "string";
|
|
5156
5156
|
columnType: "SQLiteText";
|
|
5157
5157
|
data: string;
|
|
@@ -5170,7 +5170,7 @@ declare const loginHistory: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5170
5170
|
}>;
|
|
5171
5171
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5172
5172
|
name: "user_id";
|
|
5173
|
-
tableName: "
|
|
5173
|
+
tableName: "theauth_login_history";
|
|
5174
5174
|
dataType: "string";
|
|
5175
5175
|
columnType: "SQLiteText";
|
|
5176
5176
|
data: string;
|
|
@@ -5189,7 +5189,7 @@ declare const loginHistory: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5189
5189
|
}>;
|
|
5190
5190
|
method: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5191
5191
|
name: "method";
|
|
5192
|
-
tableName: "
|
|
5192
|
+
tableName: "theauth_login_history";
|
|
5193
5193
|
dataType: "string";
|
|
5194
5194
|
columnType: "SQLiteText";
|
|
5195
5195
|
data: string;
|
|
@@ -5208,7 +5208,7 @@ declare const loginHistory: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5208
5208
|
}>;
|
|
5209
5209
|
ip: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5210
5210
|
name: "ip";
|
|
5211
|
-
tableName: "
|
|
5211
|
+
tableName: "theauth_login_history";
|
|
5212
5212
|
dataType: "string";
|
|
5213
5213
|
columnType: "SQLiteText";
|
|
5214
5214
|
data: string;
|
|
@@ -5227,7 +5227,7 @@ declare const loginHistory: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5227
5227
|
}>;
|
|
5228
5228
|
userAgent: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5229
5229
|
name: "user_agent";
|
|
5230
|
-
tableName: "
|
|
5230
|
+
tableName: "theauth_login_history";
|
|
5231
5231
|
dataType: "string";
|
|
5232
5232
|
columnType: "SQLiteText";
|
|
5233
5233
|
data: string;
|
|
@@ -5246,7 +5246,7 @@ declare const loginHistory: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5246
5246
|
}>;
|
|
5247
5247
|
timestamp: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5248
5248
|
name: "timestamp";
|
|
5249
|
-
tableName: "
|
|
5249
|
+
tableName: "theauth_login_history";
|
|
5250
5250
|
dataType: "date";
|
|
5251
5251
|
columnType: "SQLiteTimestamp";
|
|
5252
5252
|
data: Date;
|
|
@@ -5265,12 +5265,12 @@ declare const loginHistory: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5265
5265
|
dialect: "sqlite";
|
|
5266
5266
|
}>;
|
|
5267
5267
|
declare const agentDids: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
5268
|
-
name: "
|
|
5268
|
+
name: "theauth_agent_dids";
|
|
5269
5269
|
schema: undefined;
|
|
5270
5270
|
columns: {
|
|
5271
5271
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5272
5272
|
name: "agent_id";
|
|
5273
|
-
tableName: "
|
|
5273
|
+
tableName: "theauth_agent_dids";
|
|
5274
5274
|
dataType: "string";
|
|
5275
5275
|
columnType: "SQLiteText";
|
|
5276
5276
|
data: string;
|
|
@@ -5289,7 +5289,7 @@ declare const agentDids: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5289
5289
|
}>;
|
|
5290
5290
|
did: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5291
5291
|
name: "did";
|
|
5292
|
-
tableName: "
|
|
5292
|
+
tableName: "theauth_agent_dids";
|
|
5293
5293
|
dataType: "string";
|
|
5294
5294
|
columnType: "SQLiteText";
|
|
5295
5295
|
data: string;
|
|
@@ -5308,7 +5308,7 @@ declare const agentDids: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5308
5308
|
}>;
|
|
5309
5309
|
method: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5310
5310
|
name: "method";
|
|
5311
|
-
tableName: "
|
|
5311
|
+
tableName: "theauth_agent_dids";
|
|
5312
5312
|
dataType: "string";
|
|
5313
5313
|
columnType: "SQLiteText";
|
|
5314
5314
|
data: "key" | "web";
|
|
@@ -5327,7 +5327,7 @@ declare const agentDids: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5327
5327
|
}>;
|
|
5328
5328
|
publicKeyJwk: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5329
5329
|
name: "public_key_jwk";
|
|
5330
|
-
tableName: "
|
|
5330
|
+
tableName: "theauth_agent_dids";
|
|
5331
5331
|
dataType: "string";
|
|
5332
5332
|
columnType: "SQLiteText";
|
|
5333
5333
|
data: string;
|
|
@@ -5346,7 +5346,7 @@ declare const agentDids: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5346
5346
|
}>;
|
|
5347
5347
|
didDocument: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5348
5348
|
name: "did_document";
|
|
5349
|
-
tableName: "
|
|
5349
|
+
tableName: "theauth_agent_dids";
|
|
5350
5350
|
dataType: "string";
|
|
5351
5351
|
columnType: "SQLiteText";
|
|
5352
5352
|
data: string;
|
|
@@ -5365,7 +5365,7 @@ declare const agentDids: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5365
5365
|
}>;
|
|
5366
5366
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5367
5367
|
name: "created_at";
|
|
5368
|
-
tableName: "
|
|
5368
|
+
tableName: "theauth_agent_dids";
|
|
5369
5369
|
dataType: "date";
|
|
5370
5370
|
columnType: "SQLiteTimestamp";
|
|
5371
5371
|
data: Date;
|
|
@@ -5384,12 +5384,12 @@ declare const agentDids: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5384
5384
|
dialect: "sqlite";
|
|
5385
5385
|
}>;
|
|
5386
5386
|
declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
5387
|
-
name: "
|
|
5387
|
+
name: "theauth_oidc_clients";
|
|
5388
5388
|
schema: undefined;
|
|
5389
5389
|
columns: {
|
|
5390
5390
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5391
5391
|
name: "id";
|
|
5392
|
-
tableName: "
|
|
5392
|
+
tableName: "theauth_oidc_clients";
|
|
5393
5393
|
dataType: "string";
|
|
5394
5394
|
columnType: "SQLiteText";
|
|
5395
5395
|
data: string;
|
|
@@ -5408,7 +5408,7 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5408
5408
|
}>;
|
|
5409
5409
|
clientId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5410
5410
|
name: "client_id";
|
|
5411
|
-
tableName: "
|
|
5411
|
+
tableName: "theauth_oidc_clients";
|
|
5412
5412
|
dataType: "string";
|
|
5413
5413
|
columnType: "SQLiteText";
|
|
5414
5414
|
data: string;
|
|
@@ -5427,7 +5427,7 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5427
5427
|
}>;
|
|
5428
5428
|
clientSecretHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5429
5429
|
name: "client_secret_hash";
|
|
5430
|
-
tableName: "
|
|
5430
|
+
tableName: "theauth_oidc_clients";
|
|
5431
5431
|
dataType: "string";
|
|
5432
5432
|
columnType: "SQLiteText";
|
|
5433
5433
|
data: string;
|
|
@@ -5446,7 +5446,7 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5446
5446
|
}>;
|
|
5447
5447
|
clientName: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5448
5448
|
name: "client_name";
|
|
5449
|
-
tableName: "
|
|
5449
|
+
tableName: "theauth_oidc_clients";
|
|
5450
5450
|
dataType: "string";
|
|
5451
5451
|
columnType: "SQLiteText";
|
|
5452
5452
|
data: string;
|
|
@@ -5465,7 +5465,7 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5465
5465
|
}>;
|
|
5466
5466
|
redirectUris: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5467
5467
|
name: "redirect_uris";
|
|
5468
|
-
tableName: "
|
|
5468
|
+
tableName: "theauth_oidc_clients";
|
|
5469
5469
|
dataType: "json";
|
|
5470
5470
|
columnType: "SQLiteTextJson";
|
|
5471
5471
|
data: string[];
|
|
@@ -5484,7 +5484,7 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5484
5484
|
}>;
|
|
5485
5485
|
grantTypes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5486
5486
|
name: "grant_types";
|
|
5487
|
-
tableName: "
|
|
5487
|
+
tableName: "theauth_oidc_clients";
|
|
5488
5488
|
dataType: "json";
|
|
5489
5489
|
columnType: "SQLiteTextJson";
|
|
5490
5490
|
data: string[];
|
|
@@ -5503,7 +5503,7 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5503
5503
|
}>;
|
|
5504
5504
|
responseTypes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5505
5505
|
name: "response_types";
|
|
5506
|
-
tableName: "
|
|
5506
|
+
tableName: "theauth_oidc_clients";
|
|
5507
5507
|
dataType: "json";
|
|
5508
5508
|
columnType: "SQLiteTextJson";
|
|
5509
5509
|
data: string[];
|
|
@@ -5522,7 +5522,7 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5522
5522
|
}>;
|
|
5523
5523
|
scopes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5524
5524
|
name: "scopes";
|
|
5525
|
-
tableName: "
|
|
5525
|
+
tableName: "theauth_oidc_clients";
|
|
5526
5526
|
dataType: "json";
|
|
5527
5527
|
columnType: "SQLiteTextJson";
|
|
5528
5528
|
data: string[];
|
|
@@ -5541,7 +5541,7 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5541
5541
|
}>;
|
|
5542
5542
|
tokenEndpointAuthMethod: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5543
5543
|
name: "token_endpoint_auth_method";
|
|
5544
|
-
tableName: "
|
|
5544
|
+
tableName: "theauth_oidc_clients";
|
|
5545
5545
|
dataType: "string";
|
|
5546
5546
|
columnType: "SQLiteText";
|
|
5547
5547
|
data: string;
|
|
@@ -5560,7 +5560,7 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5560
5560
|
}>;
|
|
5561
5561
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5562
5562
|
name: "created_at";
|
|
5563
|
-
tableName: "
|
|
5563
|
+
tableName: "theauth_oidc_clients";
|
|
5564
5564
|
dataType: "date";
|
|
5565
5565
|
columnType: "SQLiteTimestamp";
|
|
5566
5566
|
data: Date;
|
|
@@ -5577,7 +5577,7 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5577
5577
|
}, {}, {}>;
|
|
5578
5578
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5579
5579
|
name: "updated_at";
|
|
5580
|
-
tableName: "
|
|
5580
|
+
tableName: "theauth_oidc_clients";
|
|
5581
5581
|
dataType: "date";
|
|
5582
5582
|
columnType: "SQLiteTimestamp";
|
|
5583
5583
|
data: Date;
|
|
@@ -5596,12 +5596,12 @@ declare const oidcClients: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5596
5596
|
dialect: "sqlite";
|
|
5597
5597
|
}>;
|
|
5598
5598
|
declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
5599
|
-
name: "
|
|
5599
|
+
name: "theauth_oidc_auth_codes";
|
|
5600
5600
|
schema: undefined;
|
|
5601
5601
|
columns: {
|
|
5602
5602
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5603
5603
|
name: "id";
|
|
5604
|
-
tableName: "
|
|
5604
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5605
5605
|
dataType: "string";
|
|
5606
5606
|
columnType: "SQLiteText";
|
|
5607
5607
|
data: string;
|
|
@@ -5620,7 +5620,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5620
5620
|
}>;
|
|
5621
5621
|
codeHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5622
5622
|
name: "code_hash";
|
|
5623
|
-
tableName: "
|
|
5623
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5624
5624
|
dataType: "string";
|
|
5625
5625
|
columnType: "SQLiteText";
|
|
5626
5626
|
data: string;
|
|
@@ -5639,7 +5639,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5639
5639
|
}>;
|
|
5640
5640
|
clientId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5641
5641
|
name: "client_id";
|
|
5642
|
-
tableName: "
|
|
5642
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5643
5643
|
dataType: "string";
|
|
5644
5644
|
columnType: "SQLiteText";
|
|
5645
5645
|
data: string;
|
|
@@ -5658,7 +5658,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5658
5658
|
}>;
|
|
5659
5659
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5660
5660
|
name: "user_id";
|
|
5661
|
-
tableName: "
|
|
5661
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5662
5662
|
dataType: "string";
|
|
5663
5663
|
columnType: "SQLiteText";
|
|
5664
5664
|
data: string;
|
|
@@ -5677,7 +5677,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5677
5677
|
}>;
|
|
5678
5678
|
redirectUri: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5679
5679
|
name: "redirect_uri";
|
|
5680
|
-
tableName: "
|
|
5680
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5681
5681
|
dataType: "string";
|
|
5682
5682
|
columnType: "SQLiteText";
|
|
5683
5683
|
data: string;
|
|
@@ -5696,7 +5696,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5696
5696
|
}>;
|
|
5697
5697
|
scopes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5698
5698
|
name: "scopes";
|
|
5699
|
-
tableName: "
|
|
5699
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5700
5700
|
dataType: "string";
|
|
5701
5701
|
columnType: "SQLiteText";
|
|
5702
5702
|
data: string;
|
|
@@ -5715,7 +5715,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5715
5715
|
}>;
|
|
5716
5716
|
nonce: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5717
5717
|
name: "nonce";
|
|
5718
|
-
tableName: "
|
|
5718
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5719
5719
|
dataType: "string";
|
|
5720
5720
|
columnType: "SQLiteText";
|
|
5721
5721
|
data: string;
|
|
@@ -5734,7 +5734,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5734
5734
|
}>;
|
|
5735
5735
|
codeChallenge: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5736
5736
|
name: "code_challenge";
|
|
5737
|
-
tableName: "
|
|
5737
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5738
5738
|
dataType: "string";
|
|
5739
5739
|
columnType: "SQLiteText";
|
|
5740
5740
|
data: string;
|
|
@@ -5753,7 +5753,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5753
5753
|
}>;
|
|
5754
5754
|
codeChallengeMethod: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5755
5755
|
name: "code_challenge_method";
|
|
5756
|
-
tableName: "
|
|
5756
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5757
5757
|
dataType: "string";
|
|
5758
5758
|
columnType: "SQLiteText";
|
|
5759
5759
|
data: string;
|
|
@@ -5772,7 +5772,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5772
5772
|
}>;
|
|
5773
5773
|
used: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5774
5774
|
name: "used";
|
|
5775
|
-
tableName: "
|
|
5775
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5776
5776
|
dataType: "boolean";
|
|
5777
5777
|
columnType: "SQLiteBoolean";
|
|
5778
5778
|
data: boolean;
|
|
@@ -5789,7 +5789,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5789
5789
|
}, {}, {}>;
|
|
5790
5790
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5791
5791
|
name: "expires_at";
|
|
5792
|
-
tableName: "
|
|
5792
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5793
5793
|
dataType: "date";
|
|
5794
5794
|
columnType: "SQLiteTimestamp";
|
|
5795
5795
|
data: Date;
|
|
@@ -5806,7 +5806,7 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5806
5806
|
}, {}, {}>;
|
|
5807
5807
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5808
5808
|
name: "created_at";
|
|
5809
|
-
tableName: "
|
|
5809
|
+
tableName: "theauth_oidc_auth_codes";
|
|
5810
5810
|
dataType: "date";
|
|
5811
5811
|
columnType: "SQLiteTimestamp";
|
|
5812
5812
|
data: Date;
|
|
@@ -5825,12 +5825,12 @@ declare const oidcAuthCodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5825
5825
|
dialect: "sqlite";
|
|
5826
5826
|
}>;
|
|
5827
5827
|
declare const oidcRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
5828
|
-
name: "
|
|
5828
|
+
name: "theauth_oidc_refresh_tokens";
|
|
5829
5829
|
schema: undefined;
|
|
5830
5830
|
columns: {
|
|
5831
5831
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5832
5832
|
name: "id";
|
|
5833
|
-
tableName: "
|
|
5833
|
+
tableName: "theauth_oidc_refresh_tokens";
|
|
5834
5834
|
dataType: "string";
|
|
5835
5835
|
columnType: "SQLiteText";
|
|
5836
5836
|
data: string;
|
|
@@ -5849,7 +5849,7 @@ declare const oidcRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
5849
5849
|
}>;
|
|
5850
5850
|
tokenHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5851
5851
|
name: "token_hash";
|
|
5852
|
-
tableName: "
|
|
5852
|
+
tableName: "theauth_oidc_refresh_tokens";
|
|
5853
5853
|
dataType: "string";
|
|
5854
5854
|
columnType: "SQLiteText";
|
|
5855
5855
|
data: string;
|
|
@@ -5868,7 +5868,7 @@ declare const oidcRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
5868
5868
|
}>;
|
|
5869
5869
|
clientId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5870
5870
|
name: "client_id";
|
|
5871
|
-
tableName: "
|
|
5871
|
+
tableName: "theauth_oidc_refresh_tokens";
|
|
5872
5872
|
dataType: "string";
|
|
5873
5873
|
columnType: "SQLiteText";
|
|
5874
5874
|
data: string;
|
|
@@ -5887,7 +5887,7 @@ declare const oidcRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
5887
5887
|
}>;
|
|
5888
5888
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5889
5889
|
name: "user_id";
|
|
5890
|
-
tableName: "
|
|
5890
|
+
tableName: "theauth_oidc_refresh_tokens";
|
|
5891
5891
|
dataType: "string";
|
|
5892
5892
|
columnType: "SQLiteText";
|
|
5893
5893
|
data: string;
|
|
@@ -5906,7 +5906,7 @@ declare const oidcRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
5906
5906
|
}>;
|
|
5907
5907
|
scopes: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5908
5908
|
name: "scopes";
|
|
5909
|
-
tableName: "
|
|
5909
|
+
tableName: "theauth_oidc_refresh_tokens";
|
|
5910
5910
|
dataType: "string";
|
|
5911
5911
|
columnType: "SQLiteText";
|
|
5912
5912
|
data: string;
|
|
@@ -5925,7 +5925,7 @@ declare const oidcRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
5925
5925
|
}>;
|
|
5926
5926
|
revoked: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5927
5927
|
name: "revoked";
|
|
5928
|
-
tableName: "
|
|
5928
|
+
tableName: "theauth_oidc_refresh_tokens";
|
|
5929
5929
|
dataType: "boolean";
|
|
5930
5930
|
columnType: "SQLiteBoolean";
|
|
5931
5931
|
data: boolean;
|
|
@@ -5942,7 +5942,7 @@ declare const oidcRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
5942
5942
|
}, {}, {}>;
|
|
5943
5943
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5944
5944
|
name: "expires_at";
|
|
5945
|
-
tableName: "
|
|
5945
|
+
tableName: "theauth_oidc_refresh_tokens";
|
|
5946
5946
|
dataType: "date";
|
|
5947
5947
|
columnType: "SQLiteTimestamp";
|
|
5948
5948
|
data: Date;
|
|
@@ -5959,7 +5959,7 @@ declare const oidcRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
5959
5959
|
}, {}, {}>;
|
|
5960
5960
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5961
5961
|
name: "created_at";
|
|
5962
|
-
tableName: "
|
|
5962
|
+
tableName: "theauth_oidc_refresh_tokens";
|
|
5963
5963
|
dataType: "date";
|
|
5964
5964
|
columnType: "SQLiteTimestamp";
|
|
5965
5965
|
data: Date;
|
|
@@ -5978,12 +5978,12 @@ declare const oidcRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
5978
5978
|
dialect: "sqlite";
|
|
5979
5979
|
}>;
|
|
5980
5980
|
declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
5981
|
-
name: "
|
|
5981
|
+
name: "theauth_cost_events";
|
|
5982
5982
|
schema: undefined;
|
|
5983
5983
|
columns: {
|
|
5984
5984
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5985
5985
|
name: "id";
|
|
5986
|
-
tableName: "
|
|
5986
|
+
tableName: "theauth_cost_events";
|
|
5987
5987
|
dataType: "string";
|
|
5988
5988
|
columnType: "SQLiteText";
|
|
5989
5989
|
data: string;
|
|
@@ -6002,7 +6002,7 @@ declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6002
6002
|
}>;
|
|
6003
6003
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6004
6004
|
name: "agent_id";
|
|
6005
|
-
tableName: "
|
|
6005
|
+
tableName: "theauth_cost_events";
|
|
6006
6006
|
dataType: "string";
|
|
6007
6007
|
columnType: "SQLiteText";
|
|
6008
6008
|
data: string;
|
|
@@ -6021,7 +6021,7 @@ declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6021
6021
|
}>;
|
|
6022
6022
|
tool: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6023
6023
|
name: "tool";
|
|
6024
|
-
tableName: "
|
|
6024
|
+
tableName: "theauth_cost_events";
|
|
6025
6025
|
dataType: "string";
|
|
6026
6026
|
columnType: "SQLiteText";
|
|
6027
6027
|
data: string;
|
|
@@ -6040,7 +6040,7 @@ declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6040
6040
|
}>;
|
|
6041
6041
|
inputTokens: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6042
6042
|
name: "input_tokens";
|
|
6043
|
-
tableName: "
|
|
6043
|
+
tableName: "theauth_cost_events";
|
|
6044
6044
|
dataType: "number";
|
|
6045
6045
|
columnType: "SQLiteInteger";
|
|
6046
6046
|
data: number;
|
|
@@ -6057,7 +6057,7 @@ declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6057
6057
|
}, {}, {}>;
|
|
6058
6058
|
outputTokens: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6059
6059
|
name: "output_tokens";
|
|
6060
|
-
tableName: "
|
|
6060
|
+
tableName: "theauth_cost_events";
|
|
6061
6061
|
dataType: "number";
|
|
6062
6062
|
columnType: "SQLiteInteger";
|
|
6063
6063
|
data: number;
|
|
@@ -6074,7 +6074,7 @@ declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6074
6074
|
}, {}, {}>;
|
|
6075
6075
|
costMicros: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6076
6076
|
name: "cost_micros";
|
|
6077
|
-
tableName: "
|
|
6077
|
+
tableName: "theauth_cost_events";
|
|
6078
6078
|
dataType: "number";
|
|
6079
6079
|
columnType: "SQLiteInteger";
|
|
6080
6080
|
data: number;
|
|
@@ -6091,7 +6091,7 @@ declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6091
6091
|
}, {}, {}>;
|
|
6092
6092
|
currency: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6093
6093
|
name: "currency";
|
|
6094
|
-
tableName: "
|
|
6094
|
+
tableName: "theauth_cost_events";
|
|
6095
6095
|
dataType: "string";
|
|
6096
6096
|
columnType: "SQLiteText";
|
|
6097
6097
|
data: string;
|
|
@@ -6110,7 +6110,7 @@ declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6110
6110
|
}>;
|
|
6111
6111
|
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6112
6112
|
name: "metadata";
|
|
6113
|
-
tableName: "
|
|
6113
|
+
tableName: "theauth_cost_events";
|
|
6114
6114
|
dataType: "json";
|
|
6115
6115
|
columnType: "SQLiteTextJson";
|
|
6116
6116
|
data: Record<string, unknown>;
|
|
@@ -6129,7 +6129,7 @@ declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6129
6129
|
}>;
|
|
6130
6130
|
delegationChainId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6131
6131
|
name: "delegation_chain_id";
|
|
6132
|
-
tableName: "
|
|
6132
|
+
tableName: "theauth_cost_events";
|
|
6133
6133
|
dataType: "string";
|
|
6134
6134
|
columnType: "SQLiteText";
|
|
6135
6135
|
data: string;
|
|
@@ -6148,7 +6148,7 @@ declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6148
6148
|
}>;
|
|
6149
6149
|
recordedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6150
6150
|
name: "recorded_at";
|
|
6151
|
-
tableName: "
|
|
6151
|
+
tableName: "theauth_cost_events";
|
|
6152
6152
|
dataType: "date";
|
|
6153
6153
|
columnType: "SQLiteTimestamp";
|
|
6154
6154
|
data: Date;
|
|
@@ -6167,12 +6167,12 @@ declare const costEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6167
6167
|
dialect: "sqlite";
|
|
6168
6168
|
}>;
|
|
6169
6169
|
declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
6170
|
-
name: "
|
|
6170
|
+
name: "theauth_ephemeral_sessions";
|
|
6171
6171
|
schema: undefined;
|
|
6172
6172
|
columns: {
|
|
6173
6173
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6174
6174
|
name: "id";
|
|
6175
|
-
tableName: "
|
|
6175
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6176
6176
|
dataType: "string";
|
|
6177
6177
|
columnType: "SQLiteText";
|
|
6178
6178
|
data: string;
|
|
@@ -6191,7 +6191,7 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6191
6191
|
}>;
|
|
6192
6192
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6193
6193
|
name: "agent_id";
|
|
6194
|
-
tableName: "
|
|
6194
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6195
6195
|
dataType: "string";
|
|
6196
6196
|
columnType: "SQLiteText";
|
|
6197
6197
|
data: string;
|
|
@@ -6210,7 +6210,7 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6210
6210
|
}>;
|
|
6211
6211
|
ownerId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6212
6212
|
name: "owner_id";
|
|
6213
|
-
tableName: "
|
|
6213
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6214
6214
|
dataType: "string";
|
|
6215
6215
|
columnType: "SQLiteText";
|
|
6216
6216
|
data: string;
|
|
@@ -6229,7 +6229,7 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6229
6229
|
}>;
|
|
6230
6230
|
tokenHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6231
6231
|
name: "token_hash";
|
|
6232
|
-
tableName: "
|
|
6232
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6233
6233
|
dataType: "string";
|
|
6234
6234
|
columnType: "SQLiteText";
|
|
6235
6235
|
data: string;
|
|
@@ -6248,7 +6248,7 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6248
6248
|
}>;
|
|
6249
6249
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6250
6250
|
name: "expires_at";
|
|
6251
|
-
tableName: "
|
|
6251
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6252
6252
|
dataType: "date";
|
|
6253
6253
|
columnType: "SQLiteTimestamp";
|
|
6254
6254
|
data: Date;
|
|
@@ -6265,7 +6265,7 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6265
6265
|
}, {}, {}>;
|
|
6266
6266
|
maxActions: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6267
6267
|
name: "max_actions";
|
|
6268
|
-
tableName: "
|
|
6268
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6269
6269
|
dataType: "number";
|
|
6270
6270
|
columnType: "SQLiteInteger";
|
|
6271
6271
|
data: number;
|
|
@@ -6282,7 +6282,7 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6282
6282
|
}, {}, {}>;
|
|
6283
6283
|
actionsUsed: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6284
6284
|
name: "actions_used";
|
|
6285
|
-
tableName: "
|
|
6285
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6286
6286
|
dataType: "number";
|
|
6287
6287
|
columnType: "SQLiteInteger";
|
|
6288
6288
|
data: number;
|
|
@@ -6299,7 +6299,7 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6299
6299
|
}, {}, {}>;
|
|
6300
6300
|
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6301
6301
|
name: "status";
|
|
6302
|
-
tableName: "
|
|
6302
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6303
6303
|
dataType: "string";
|
|
6304
6304
|
columnType: "SQLiteText";
|
|
6305
6305
|
data: "active" | "revoked" | "expired" | "exhausted";
|
|
@@ -6318,7 +6318,7 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6318
6318
|
}>;
|
|
6319
6319
|
auditGroupId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6320
6320
|
name: "audit_group_id";
|
|
6321
|
-
tableName: "
|
|
6321
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6322
6322
|
dataType: "string";
|
|
6323
6323
|
columnType: "SQLiteText";
|
|
6324
6324
|
data: string;
|
|
@@ -6337,7 +6337,7 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6337
6337
|
}>;
|
|
6338
6338
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6339
6339
|
name: "created_at";
|
|
6340
|
-
tableName: "
|
|
6340
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6341
6341
|
dataType: "date";
|
|
6342
6342
|
columnType: "SQLiteTimestamp";
|
|
6343
6343
|
data: Date;
|
|
@@ -6354,7 +6354,7 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6354
6354
|
}, {}, {}>;
|
|
6355
6355
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6356
6356
|
name: "updated_at";
|
|
6357
|
-
tableName: "
|
|
6357
|
+
tableName: "theauth_ephemeral_sessions";
|
|
6358
6358
|
dataType: "date";
|
|
6359
6359
|
columnType: "SQLiteTimestamp";
|
|
6360
6360
|
data: Date;
|
|
@@ -6373,12 +6373,12 @@ declare const ephemeralSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
6373
6373
|
dialect: "sqlite";
|
|
6374
6374
|
}>;
|
|
6375
6375
|
declare const streamEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
6376
|
-
name: "
|
|
6376
|
+
name: "theauth_stream_events";
|
|
6377
6377
|
schema: undefined;
|
|
6378
6378
|
columns: {
|
|
6379
6379
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6380
6380
|
name: "id";
|
|
6381
|
-
tableName: "
|
|
6381
|
+
tableName: "theauth_stream_events";
|
|
6382
6382
|
dataType: "string";
|
|
6383
6383
|
columnType: "SQLiteText";
|
|
6384
6384
|
data: string;
|
|
@@ -6397,7 +6397,7 @@ declare const streamEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6397
6397
|
}>;
|
|
6398
6398
|
type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6399
6399
|
name: "type";
|
|
6400
|
-
tableName: "
|
|
6400
|
+
tableName: "theauth_stream_events";
|
|
6401
6401
|
dataType: "string";
|
|
6402
6402
|
columnType: "SQLiteText";
|
|
6403
6403
|
data: string;
|
|
@@ -6416,7 +6416,7 @@ declare const streamEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6416
6416
|
}>;
|
|
6417
6417
|
timestamp: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6418
6418
|
name: "timestamp";
|
|
6419
|
-
tableName: "
|
|
6419
|
+
tableName: "theauth_stream_events";
|
|
6420
6420
|
dataType: "date";
|
|
6421
6421
|
columnType: "SQLiteTimestamp";
|
|
6422
6422
|
data: Date;
|
|
@@ -6433,7 +6433,7 @@ declare const streamEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6433
6433
|
}, {}, {}>;
|
|
6434
6434
|
data: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6435
6435
|
name: "data";
|
|
6436
|
-
tableName: "
|
|
6436
|
+
tableName: "theauth_stream_events";
|
|
6437
6437
|
dataType: "json";
|
|
6438
6438
|
columnType: "SQLiteTextJson";
|
|
6439
6439
|
data: Record<string, unknown>;
|
|
@@ -6452,7 +6452,7 @@ declare const streamEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6452
6452
|
}>;
|
|
6453
6453
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6454
6454
|
name: "agent_id";
|
|
6455
|
-
tableName: "
|
|
6455
|
+
tableName: "theauth_stream_events";
|
|
6456
6456
|
dataType: "string";
|
|
6457
6457
|
columnType: "SQLiteText";
|
|
6458
6458
|
data: string;
|
|
@@ -6471,7 +6471,7 @@ declare const streamEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6471
6471
|
}>;
|
|
6472
6472
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6473
6473
|
name: "user_id";
|
|
6474
|
-
tableName: "
|
|
6474
|
+
tableName: "theauth_stream_events";
|
|
6475
6475
|
dataType: "string";
|
|
6476
6476
|
columnType: "SQLiteText";
|
|
6477
6477
|
data: string;
|
|
@@ -6492,12 +6492,12 @@ declare const streamEvents: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6492
6492
|
dialect: "sqlite";
|
|
6493
6493
|
}>;
|
|
6494
6494
|
declare const jwtRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
6495
|
-
name: "
|
|
6495
|
+
name: "theauth_jwt_refresh_tokens";
|
|
6496
6496
|
schema: undefined;
|
|
6497
6497
|
columns: {
|
|
6498
6498
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6499
6499
|
name: "id";
|
|
6500
|
-
tableName: "
|
|
6500
|
+
tableName: "theauth_jwt_refresh_tokens";
|
|
6501
6501
|
dataType: "string";
|
|
6502
6502
|
columnType: "SQLiteText";
|
|
6503
6503
|
data: string;
|
|
@@ -6516,7 +6516,7 @@ declare const jwtRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6516
6516
|
}>;
|
|
6517
6517
|
tokenHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6518
6518
|
name: "token_hash";
|
|
6519
|
-
tableName: "
|
|
6519
|
+
tableName: "theauth_jwt_refresh_tokens";
|
|
6520
6520
|
dataType: "string";
|
|
6521
6521
|
columnType: "SQLiteText";
|
|
6522
6522
|
data: string;
|
|
@@ -6535,7 +6535,7 @@ declare const jwtRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6535
6535
|
}>;
|
|
6536
6536
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6537
6537
|
name: "user_id";
|
|
6538
|
-
tableName: "
|
|
6538
|
+
tableName: "theauth_jwt_refresh_tokens";
|
|
6539
6539
|
dataType: "string";
|
|
6540
6540
|
columnType: "SQLiteText";
|
|
6541
6541
|
data: string;
|
|
@@ -6554,7 +6554,7 @@ declare const jwtRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6554
6554
|
}>;
|
|
6555
6555
|
used: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6556
6556
|
name: "used";
|
|
6557
|
-
tableName: "
|
|
6557
|
+
tableName: "theauth_jwt_refresh_tokens";
|
|
6558
6558
|
dataType: "boolean";
|
|
6559
6559
|
columnType: "SQLiteBoolean";
|
|
6560
6560
|
data: boolean;
|
|
@@ -6571,7 +6571,7 @@ declare const jwtRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6571
6571
|
}, {}, {}>;
|
|
6572
6572
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6573
6573
|
name: "expires_at";
|
|
6574
|
-
tableName: "
|
|
6574
|
+
tableName: "theauth_jwt_refresh_tokens";
|
|
6575
6575
|
dataType: "date";
|
|
6576
6576
|
columnType: "SQLiteTimestamp";
|
|
6577
6577
|
data: Date;
|
|
@@ -6588,7 +6588,7 @@ declare const jwtRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6588
6588
|
}, {}, {}>;
|
|
6589
6589
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6590
6590
|
name: "created_at";
|
|
6591
|
-
tableName: "
|
|
6591
|
+
tableName: "theauth_jwt_refresh_tokens";
|
|
6592
6592
|
dataType: "date";
|
|
6593
6593
|
columnType: "SQLiteTimestamp";
|
|
6594
6594
|
data: Date;
|
|
@@ -6607,12 +6607,12 @@ declare const jwtRefreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6607
6607
|
dialect: "sqlite";
|
|
6608
6608
|
}>;
|
|
6609
6609
|
declare const rebacResources: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
6610
|
-
name: "
|
|
6610
|
+
name: "theauth_rebac_resources";
|
|
6611
6611
|
schema: undefined;
|
|
6612
6612
|
columns: {
|
|
6613
6613
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6614
6614
|
name: "id";
|
|
6615
|
-
tableName: "
|
|
6615
|
+
tableName: "theauth_rebac_resources";
|
|
6616
6616
|
dataType: "string";
|
|
6617
6617
|
columnType: "SQLiteText";
|
|
6618
6618
|
data: string;
|
|
@@ -6631,7 +6631,7 @@ declare const rebacResources: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6631
6631
|
}>;
|
|
6632
6632
|
type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6633
6633
|
name: "type";
|
|
6634
|
-
tableName: "
|
|
6634
|
+
tableName: "theauth_rebac_resources";
|
|
6635
6635
|
dataType: "string";
|
|
6636
6636
|
columnType: "SQLiteText";
|
|
6637
6637
|
data: string;
|
|
@@ -6650,7 +6650,7 @@ declare const rebacResources: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6650
6650
|
}>;
|
|
6651
6651
|
parentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6652
6652
|
name: "parent_id";
|
|
6653
|
-
tableName: "
|
|
6653
|
+
tableName: "theauth_rebac_resources";
|
|
6654
6654
|
dataType: "string";
|
|
6655
6655
|
columnType: "SQLiteText";
|
|
6656
6656
|
data: string;
|
|
@@ -6669,7 +6669,7 @@ declare const rebacResources: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6669
6669
|
}>;
|
|
6670
6670
|
parentType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6671
6671
|
name: "parent_type";
|
|
6672
|
-
tableName: "
|
|
6672
|
+
tableName: "theauth_rebac_resources";
|
|
6673
6673
|
dataType: "string";
|
|
6674
6674
|
columnType: "SQLiteText";
|
|
6675
6675
|
data: string;
|
|
@@ -6688,7 +6688,7 @@ declare const rebacResources: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6688
6688
|
}>;
|
|
6689
6689
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6690
6690
|
name: "created_at";
|
|
6691
|
-
tableName: "
|
|
6691
|
+
tableName: "theauth_rebac_resources";
|
|
6692
6692
|
dataType: "date";
|
|
6693
6693
|
columnType: "SQLiteTimestamp";
|
|
6694
6694
|
data: Date;
|
|
@@ -6707,12 +6707,12 @@ declare const rebacResources: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
6707
6707
|
dialect: "sqlite";
|
|
6708
6708
|
}>;
|
|
6709
6709
|
declare const rebacRelationships: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
6710
|
-
name: "
|
|
6710
|
+
name: "theauth_rebac_relationships";
|
|
6711
6711
|
schema: undefined;
|
|
6712
6712
|
columns: {
|
|
6713
6713
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6714
6714
|
name: "id";
|
|
6715
|
-
tableName: "
|
|
6715
|
+
tableName: "theauth_rebac_relationships";
|
|
6716
6716
|
dataType: "string";
|
|
6717
6717
|
columnType: "SQLiteText";
|
|
6718
6718
|
data: string;
|
|
@@ -6731,7 +6731,7 @@ declare const rebacRelationships: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
6731
6731
|
}>;
|
|
6732
6732
|
subjectType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6733
6733
|
name: "subject_type";
|
|
6734
|
-
tableName: "
|
|
6734
|
+
tableName: "theauth_rebac_relationships";
|
|
6735
6735
|
dataType: "string";
|
|
6736
6736
|
columnType: "SQLiteText";
|
|
6737
6737
|
data: string;
|
|
@@ -6750,7 +6750,7 @@ declare const rebacRelationships: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
6750
6750
|
}>;
|
|
6751
6751
|
subjectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6752
6752
|
name: "subject_id";
|
|
6753
|
-
tableName: "
|
|
6753
|
+
tableName: "theauth_rebac_relationships";
|
|
6754
6754
|
dataType: "string";
|
|
6755
6755
|
columnType: "SQLiteText";
|
|
6756
6756
|
data: string;
|
|
@@ -6769,7 +6769,7 @@ declare const rebacRelationships: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
6769
6769
|
}>;
|
|
6770
6770
|
relation: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6771
6771
|
name: "relation";
|
|
6772
|
-
tableName: "
|
|
6772
|
+
tableName: "theauth_rebac_relationships";
|
|
6773
6773
|
dataType: "string";
|
|
6774
6774
|
columnType: "SQLiteText";
|
|
6775
6775
|
data: string;
|
|
@@ -6788,7 +6788,7 @@ declare const rebacRelationships: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
6788
6788
|
}>;
|
|
6789
6789
|
objectType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6790
6790
|
name: "object_type";
|
|
6791
|
-
tableName: "
|
|
6791
|
+
tableName: "theauth_rebac_relationships";
|
|
6792
6792
|
dataType: "string";
|
|
6793
6793
|
columnType: "SQLiteText";
|
|
6794
6794
|
data: string;
|
|
@@ -6807,7 +6807,7 @@ declare const rebacRelationships: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
6807
6807
|
}>;
|
|
6808
6808
|
objectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6809
6809
|
name: "object_id";
|
|
6810
|
-
tableName: "
|
|
6810
|
+
tableName: "theauth_rebac_relationships";
|
|
6811
6811
|
dataType: "string";
|
|
6812
6812
|
columnType: "SQLiteText";
|
|
6813
6813
|
data: string;
|
|
@@ -6826,7 +6826,7 @@ declare const rebacRelationships: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
6826
6826
|
}>;
|
|
6827
6827
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6828
6828
|
name: "created_at";
|
|
6829
|
-
tableName: "
|
|
6829
|
+
tableName: "theauth_rebac_relationships";
|
|
6830
6830
|
dataType: "date";
|
|
6831
6831
|
columnType: "SQLiteTimestamp";
|
|
6832
6832
|
data: Date;
|
|
@@ -6845,12 +6845,12 @@ declare const rebacRelationships: drizzle_orm_sqlite_core.SQLiteTableWithColumns
|
|
|
6845
6845
|
dialect: "sqlite";
|
|
6846
6846
|
}>;
|
|
6847
6847
|
declare const federationInstances: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
6848
|
-
name: "
|
|
6848
|
+
name: "theauth_federation_instances";
|
|
6849
6849
|
schema: undefined;
|
|
6850
6850
|
columns: {
|
|
6851
6851
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6852
6852
|
name: "id";
|
|
6853
|
-
tableName: "
|
|
6853
|
+
tableName: "theauth_federation_instances";
|
|
6854
6854
|
dataType: "string";
|
|
6855
6855
|
columnType: "SQLiteText";
|
|
6856
6856
|
data: string;
|
|
@@ -6869,7 +6869,7 @@ declare const federationInstances: drizzle_orm_sqlite_core.SQLiteTableWithColumn
|
|
|
6869
6869
|
}>;
|
|
6870
6870
|
instanceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6871
6871
|
name: "instance_id";
|
|
6872
|
-
tableName: "
|
|
6872
|
+
tableName: "theauth_federation_instances";
|
|
6873
6873
|
dataType: "string";
|
|
6874
6874
|
columnType: "SQLiteText";
|
|
6875
6875
|
data: string;
|
|
@@ -6888,7 +6888,7 @@ declare const federationInstances: drizzle_orm_sqlite_core.SQLiteTableWithColumn
|
|
|
6888
6888
|
}>;
|
|
6889
6889
|
instanceUrl: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6890
6890
|
name: "instance_url";
|
|
6891
|
-
tableName: "
|
|
6891
|
+
tableName: "theauth_federation_instances";
|
|
6892
6892
|
dataType: "string";
|
|
6893
6893
|
columnType: "SQLiteText";
|
|
6894
6894
|
data: string;
|
|
@@ -6907,7 +6907,7 @@ declare const federationInstances: drizzle_orm_sqlite_core.SQLiteTableWithColumn
|
|
|
6907
6907
|
}>;
|
|
6908
6908
|
publicKeyJwk: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6909
6909
|
name: "public_key_jwk";
|
|
6910
|
-
tableName: "
|
|
6910
|
+
tableName: "theauth_federation_instances";
|
|
6911
6911
|
dataType: "string";
|
|
6912
6912
|
columnType: "SQLiteText";
|
|
6913
6913
|
data: string;
|
|
@@ -6926,7 +6926,7 @@ declare const federationInstances: drizzle_orm_sqlite_core.SQLiteTableWithColumn
|
|
|
6926
6926
|
}>;
|
|
6927
6927
|
trustLevel: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6928
6928
|
name: "trust_level";
|
|
6929
|
-
tableName: "
|
|
6929
|
+
tableName: "theauth_federation_instances";
|
|
6930
6930
|
dataType: "string";
|
|
6931
6931
|
columnType: "SQLiteText";
|
|
6932
6932
|
data: "limited" | "full" | "verify-only";
|
|
@@ -6945,7 +6945,7 @@ declare const federationInstances: drizzle_orm_sqlite_core.SQLiteTableWithColumn
|
|
|
6945
6945
|
}>;
|
|
6946
6946
|
discoveredAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6947
6947
|
name: "discovered_at";
|
|
6948
|
-
tableName: "
|
|
6948
|
+
tableName: "theauth_federation_instances";
|
|
6949
6949
|
dataType: "date";
|
|
6950
6950
|
columnType: "SQLiteTimestamp";
|
|
6951
6951
|
data: Date;
|
|
@@ -6962,7 +6962,7 @@ declare const federationInstances: drizzle_orm_sqlite_core.SQLiteTableWithColumn
|
|
|
6962
6962
|
}, {}, {}>;
|
|
6963
6963
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6964
6964
|
name: "created_at";
|
|
6965
|
-
tableName: "
|
|
6965
|
+
tableName: "theauth_federation_instances";
|
|
6966
6966
|
dataType: "date";
|
|
6967
6967
|
columnType: "SQLiteTimestamp";
|
|
6968
6968
|
data: Date;
|
|
@@ -6979,7 +6979,7 @@ declare const federationInstances: drizzle_orm_sqlite_core.SQLiteTableWithColumn
|
|
|
6979
6979
|
}, {}, {}>;
|
|
6980
6980
|
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6981
6981
|
name: "updated_at";
|
|
6982
|
-
tableName: "
|
|
6982
|
+
tableName: "theauth_federation_instances";
|
|
6983
6983
|
dataType: "date";
|
|
6984
6984
|
columnType: "SQLiteTimestamp";
|
|
6985
6985
|
data: Date;
|
|
@@ -6998,12 +6998,12 @@ declare const federationInstances: drizzle_orm_sqlite_core.SQLiteTableWithColumn
|
|
|
6998
6998
|
dialect: "sqlite";
|
|
6999
6999
|
}>;
|
|
7000
7000
|
declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
7001
|
-
name: "
|
|
7001
|
+
name: "theauth_federation_tokens";
|
|
7002
7002
|
schema: undefined;
|
|
7003
7003
|
columns: {
|
|
7004
7004
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7005
7005
|
name: "id";
|
|
7006
|
-
tableName: "
|
|
7006
|
+
tableName: "theauth_federation_tokens";
|
|
7007
7007
|
dataType: "string";
|
|
7008
7008
|
columnType: "SQLiteText";
|
|
7009
7009
|
data: string;
|
|
@@ -7022,7 +7022,7 @@ declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7022
7022
|
}>;
|
|
7023
7023
|
tokenJti: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7024
7024
|
name: "token_jti";
|
|
7025
|
-
tableName: "
|
|
7025
|
+
tableName: "theauth_federation_tokens";
|
|
7026
7026
|
dataType: "string";
|
|
7027
7027
|
columnType: "SQLiteText";
|
|
7028
7028
|
data: string;
|
|
@@ -7041,7 +7041,7 @@ declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7041
7041
|
}>;
|
|
7042
7042
|
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7043
7043
|
name: "agent_id";
|
|
7044
|
-
tableName: "
|
|
7044
|
+
tableName: "theauth_federation_tokens";
|
|
7045
7045
|
dataType: "string";
|
|
7046
7046
|
columnType: "SQLiteText";
|
|
7047
7047
|
data: string;
|
|
@@ -7060,7 +7060,7 @@ declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7060
7060
|
}>;
|
|
7061
7061
|
sourceInstanceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7062
7062
|
name: "source_instance_id";
|
|
7063
|
-
tableName: "
|
|
7063
|
+
tableName: "theauth_federation_tokens";
|
|
7064
7064
|
dataType: "string";
|
|
7065
7065
|
columnType: "SQLiteText";
|
|
7066
7066
|
data: string;
|
|
@@ -7079,7 +7079,7 @@ declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7079
7079
|
}>;
|
|
7080
7080
|
targetInstanceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7081
7081
|
name: "target_instance_id";
|
|
7082
|
-
tableName: "
|
|
7082
|
+
tableName: "theauth_federation_tokens";
|
|
7083
7083
|
dataType: "string";
|
|
7084
7084
|
columnType: "SQLiteText";
|
|
7085
7085
|
data: string;
|
|
@@ -7098,7 +7098,7 @@ declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7098
7098
|
}>;
|
|
7099
7099
|
direction: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7100
7100
|
name: "direction";
|
|
7101
|
-
tableName: "
|
|
7101
|
+
tableName: "theauth_federation_tokens";
|
|
7102
7102
|
dataType: "string";
|
|
7103
7103
|
columnType: "SQLiteText";
|
|
7104
7104
|
data: "issued" | "received";
|
|
@@ -7117,7 +7117,7 @@ declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7117
7117
|
}>;
|
|
7118
7118
|
permissions: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7119
7119
|
name: "permissions";
|
|
7120
|
-
tableName: "
|
|
7120
|
+
tableName: "theauth_federation_tokens";
|
|
7121
7121
|
dataType: "json";
|
|
7122
7122
|
columnType: "SQLiteTextJson";
|
|
7123
7123
|
data: string[];
|
|
@@ -7136,7 +7136,7 @@ declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7136
7136
|
}>;
|
|
7137
7137
|
trustScore: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7138
7138
|
name: "trust_score";
|
|
7139
|
-
tableName: "
|
|
7139
|
+
tableName: "theauth_federation_tokens";
|
|
7140
7140
|
dataType: "number";
|
|
7141
7141
|
columnType: "SQLiteInteger";
|
|
7142
7142
|
data: number;
|
|
@@ -7153,7 +7153,7 @@ declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7153
7153
|
}, {}, {}>;
|
|
7154
7154
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7155
7155
|
name: "expires_at";
|
|
7156
|
-
tableName: "
|
|
7156
|
+
tableName: "theauth_federation_tokens";
|
|
7157
7157
|
dataType: "date";
|
|
7158
7158
|
columnType: "SQLiteTimestamp";
|
|
7159
7159
|
data: Date;
|
|
@@ -7170,7 +7170,7 @@ declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7170
7170
|
}, {}, {}>;
|
|
7171
7171
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7172
7172
|
name: "created_at";
|
|
7173
|
-
tableName: "
|
|
7173
|
+
tableName: "theauth_federation_tokens";
|
|
7174
7174
|
dataType: "date";
|
|
7175
7175
|
columnType: "SQLiteTimestamp";
|
|
7176
7176
|
data: Date;
|
|
@@ -7189,12 +7189,12 @@ declare const federationTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7189
7189
|
dialect: "sqlite";
|
|
7190
7190
|
}>;
|
|
7191
7191
|
declare const refreshTokenFamilies: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
7192
|
-
name: "
|
|
7192
|
+
name: "theauth_refresh_token_families";
|
|
7193
7193
|
schema: undefined;
|
|
7194
7194
|
columns: {
|
|
7195
7195
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7196
7196
|
name: "id";
|
|
7197
|
-
tableName: "
|
|
7197
|
+
tableName: "theauth_refresh_token_families";
|
|
7198
7198
|
dataType: "string";
|
|
7199
7199
|
columnType: "SQLiteText";
|
|
7200
7200
|
data: string;
|
|
@@ -7213,7 +7213,7 @@ declare const refreshTokenFamilies: drizzle_orm_sqlite_core.SQLiteTableWithColum
|
|
|
7213
7213
|
}>;
|
|
7214
7214
|
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7215
7215
|
name: "user_id";
|
|
7216
|
-
tableName: "
|
|
7216
|
+
tableName: "theauth_refresh_token_families";
|
|
7217
7217
|
dataType: "string";
|
|
7218
7218
|
columnType: "SQLiteText";
|
|
7219
7219
|
data: string;
|
|
@@ -7232,7 +7232,7 @@ declare const refreshTokenFamilies: drizzle_orm_sqlite_core.SQLiteTableWithColum
|
|
|
7232
7232
|
}>;
|
|
7233
7233
|
absoluteExpiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7234
7234
|
name: "absolute_expires_at";
|
|
7235
|
-
tableName: "
|
|
7235
|
+
tableName: "theauth_refresh_token_families";
|
|
7236
7236
|
dataType: "date";
|
|
7237
7237
|
columnType: "SQLiteTimestamp";
|
|
7238
7238
|
data: Date;
|
|
@@ -7249,7 +7249,7 @@ declare const refreshTokenFamilies: drizzle_orm_sqlite_core.SQLiteTableWithColum
|
|
|
7249
7249
|
}, {}, {}>;
|
|
7250
7250
|
revoked: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7251
7251
|
name: "revoked";
|
|
7252
|
-
tableName: "
|
|
7252
|
+
tableName: "theauth_refresh_token_families";
|
|
7253
7253
|
dataType: "number";
|
|
7254
7254
|
columnType: "SQLiteInteger";
|
|
7255
7255
|
data: number;
|
|
@@ -7266,7 +7266,7 @@ declare const refreshTokenFamilies: drizzle_orm_sqlite_core.SQLiteTableWithColum
|
|
|
7266
7266
|
}, {}, {}>;
|
|
7267
7267
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7268
7268
|
name: "created_at";
|
|
7269
|
-
tableName: "
|
|
7269
|
+
tableName: "theauth_refresh_token_families";
|
|
7270
7270
|
dataType: "date";
|
|
7271
7271
|
columnType: "SQLiteTimestamp";
|
|
7272
7272
|
data: Date;
|
|
@@ -7285,12 +7285,12 @@ declare const refreshTokenFamilies: drizzle_orm_sqlite_core.SQLiteTableWithColum
|
|
|
7285
7285
|
dialect: "sqlite";
|
|
7286
7286
|
}>;
|
|
7287
7287
|
declare const refreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
7288
|
-
name: "
|
|
7288
|
+
name: "theauth_refresh_tokens";
|
|
7289
7289
|
schema: undefined;
|
|
7290
7290
|
columns: {
|
|
7291
7291
|
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7292
7292
|
name: "id";
|
|
7293
|
-
tableName: "
|
|
7293
|
+
tableName: "theauth_refresh_tokens";
|
|
7294
7294
|
dataType: "string";
|
|
7295
7295
|
columnType: "SQLiteText";
|
|
7296
7296
|
data: string;
|
|
@@ -7309,7 +7309,7 @@ declare const refreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7309
7309
|
}>;
|
|
7310
7310
|
familyId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7311
7311
|
name: "family_id";
|
|
7312
|
-
tableName: "
|
|
7312
|
+
tableName: "theauth_refresh_tokens";
|
|
7313
7313
|
dataType: "string";
|
|
7314
7314
|
columnType: "SQLiteText";
|
|
7315
7315
|
data: string;
|
|
@@ -7328,7 +7328,7 @@ declare const refreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7328
7328
|
}>;
|
|
7329
7329
|
tokenHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7330
7330
|
name: "token_hash";
|
|
7331
|
-
tableName: "
|
|
7331
|
+
tableName: "theauth_refresh_tokens";
|
|
7332
7332
|
dataType: "string";
|
|
7333
7333
|
columnType: "SQLiteText";
|
|
7334
7334
|
data: string;
|
|
@@ -7347,7 +7347,7 @@ declare const refreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7347
7347
|
}>;
|
|
7348
7348
|
used: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7349
7349
|
name: "used";
|
|
7350
|
-
tableName: "
|
|
7350
|
+
tableName: "theauth_refresh_tokens";
|
|
7351
7351
|
dataType: "number";
|
|
7352
7352
|
columnType: "SQLiteInteger";
|
|
7353
7353
|
data: number;
|
|
@@ -7364,7 +7364,7 @@ declare const refreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7364
7364
|
}, {}, {}>;
|
|
7365
7365
|
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7366
7366
|
name: "expires_at";
|
|
7367
|
-
tableName: "
|
|
7367
|
+
tableName: "theauth_refresh_tokens";
|
|
7368
7368
|
dataType: "date";
|
|
7369
7369
|
columnType: "SQLiteTimestamp";
|
|
7370
7370
|
data: Date;
|
|
@@ -7381,7 +7381,7 @@ declare const refreshTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
7381
7381
|
}, {}, {}>;
|
|
7382
7382
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
7383
7383
|
name: "created_at";
|
|
7384
|
-
tableName: "
|
|
7384
|
+
tableName: "theauth_refresh_tokens";
|
|
7385
7385
|
dataType: "date";
|
|
7386
7386
|
columnType: "SQLiteTimestamp";
|
|
7387
7387
|
data: Date;
|
|
@@ -7587,7 +7587,7 @@ type ApprovalModule = ReturnType<typeof createApprovalModule>;
|
|
|
7587
7587
|
/**
|
|
7588
7588
|
* Session management for TheAuth.
|
|
7589
7589
|
*
|
|
7590
|
-
* Provides signed JWT session tokens backed by a `
|
|
7590
|
+
* Provides signed JWT session tokens backed by a `theauth_sessions` database
|
|
7591
7591
|
* table. Each token carries the session ID as its `sub` claim; the full
|
|
7592
7592
|
* session record (including metadata and expiry) lives in the database so
|
|
7593
7593
|
* it can be revoked server-side at any time.
|
|
@@ -7597,12 +7597,12 @@ type ApprovalModule = ReturnType<typeof createApprovalModule>;
|
|
|
7597
7597
|
*
|
|
7598
7598
|
* @example
|
|
7599
7599
|
* ```typescript
|
|
7600
|
-
* const
|
|
7601
|
-
* const sessions =
|
|
7600
|
+
* const theauth = await createTheAuth({ ... });
|
|
7601
|
+
* const sessions = theauth.auth.session;
|
|
7602
7602
|
*
|
|
7603
7603
|
* // On login
|
|
7604
7604
|
* const { token } = await sessions.create(user.id, { role: 'admin' });
|
|
7605
|
-
* setCookie('
|
|
7605
|
+
* setCookie('theauth_session', token, { httpOnly: true, sameSite: 'lax' });
|
|
7606
7606
|
*
|
|
7607
7607
|
* // On each request
|
|
7608
7608
|
* const session = await sessions.validate(token);
|
|
@@ -7623,7 +7623,7 @@ interface SessionConfig {
|
|
|
7623
7623
|
maxAge?: number;
|
|
7624
7624
|
/**
|
|
7625
7625
|
* Name of the cookie used to transport the session token.
|
|
7626
|
-
* Defaults to `
|
|
7626
|
+
* Defaults to `theauth_session`.
|
|
7627
7627
|
*/
|
|
7628
7628
|
cookieName?: string;
|
|
7629
7629
|
}
|
|
@@ -7638,7 +7638,7 @@ interface SessionManager {
|
|
|
7638
7638
|
/**
|
|
7639
7639
|
* Create a new session for the given user.
|
|
7640
7640
|
*
|
|
7641
|
-
* Persists the session to `
|
|
7641
|
+
* Persists the session to `theauth_sessions` and returns both the
|
|
7642
7642
|
* session record and a signed JWT that the client should store (e.g. in a
|
|
7643
7643
|
* `Set-Cookie` header).
|
|
7644
7644
|
*/
|
|
@@ -7670,7 +7670,7 @@ interface SessionManager {
|
|
|
7670
7670
|
list(userId: string): Promise<Session[]>;
|
|
7671
7671
|
}
|
|
7672
7672
|
/**
|
|
7673
|
-
* Create a `SessionManager` backed by the `
|
|
7673
|
+
* Create a `SessionManager` backed by the `theauth_sessions` database table.
|
|
7674
7674
|
*
|
|
7675
7675
|
* @param config Session configuration (secret, maxAge, cookieName).
|
|
7676
7676
|
* @param db The Drizzle database instance from `createDatabase()`.
|
|
@@ -7685,13 +7685,13 @@ declare function createSessionManager(config: SessionConfig, db: Database): Sess
|
|
|
7685
7685
|
*
|
|
7686
7686
|
* @example
|
|
7687
7687
|
* ```typescript
|
|
7688
|
-
* const
|
|
7689
|
-
* database: { provider: 'sqlite', url: '
|
|
7688
|
+
* const theauth = await createTheAuth({
|
|
7689
|
+
* database: { provider: 'sqlite', url: 'theauth.db' },
|
|
7690
7690
|
* admin: { adminUserIds: ['user_abc123'], allowImpersonation: true },
|
|
7691
7691
|
* });
|
|
7692
7692
|
*
|
|
7693
|
-
* await
|
|
7694
|
-
* const { session } = await
|
|
7693
|
+
* await theauth.admin.banUser('user_xyz', 'Violating terms');
|
|
7694
|
+
* const { session } = await theauth.admin.impersonate('user_abc123', 'user_xyz');
|
|
7695
7695
|
* ```
|
|
7696
7696
|
*/
|
|
7697
7697
|
|
|
@@ -7758,12 +7758,12 @@ declare function createAdminModule(config: AdminConfig, db: Database, sessionMan
|
|
|
7758
7758
|
*
|
|
7759
7759
|
* @example
|
|
7760
7760
|
* ```typescript
|
|
7761
|
-
* const
|
|
7762
|
-
* database: { provider: 'sqlite', url: '
|
|
7761
|
+
* const theauth = await createTheAuth({
|
|
7762
|
+
* database: { provider: 'sqlite', url: 'theauth.db' },
|
|
7763
7763
|
* apiKeys: { prefix: 'kos_', defaultExpiryDays: 90 },
|
|
7764
7764
|
* });
|
|
7765
7765
|
*
|
|
7766
|
-
* const { key, apiKey } = await
|
|
7766
|
+
* const { key, apiKey } = await theauth.apiKeys.create({
|
|
7767
7767
|
* userId: 'user_abc',
|
|
7768
7768
|
* name: 'CI token',
|
|
7769
7769
|
* permissions: ['agents:read'],
|
|
@@ -7828,8 +7828,8 @@ declare function createApiKeyManagerModule(config: ApiKeyManagerConfig, db: Data
|
|
|
7828
7828
|
*
|
|
7829
7829
|
* @example
|
|
7830
7830
|
* ```typescript
|
|
7831
|
-
* const
|
|
7832
|
-
* database: { provider: 'sqlite', url: '
|
|
7831
|
+
* const theauth = await createTheAuth({
|
|
7832
|
+
* database: { provider: 'sqlite', url: 'theauth.db' },
|
|
7833
7833
|
* captcha: {
|
|
7834
7834
|
* provider: 'turnstile',
|
|
7835
7835
|
* secretKey: process.env.TURNSTILE_SECRET,
|
|
@@ -7838,7 +7838,7 @@ declare function createApiKeyManagerModule(config: ApiKeyManagerConfig, db: Data
|
|
|
7838
7838
|
*
|
|
7839
7839
|
* // In a route handler
|
|
7840
7840
|
* const captchaToken = request.headers.get('X-Captcha-Token') ?? '';
|
|
7841
|
-
* const result = await
|
|
7841
|
+
* const result = await theauth.captcha?.verify(captchaToken);
|
|
7842
7842
|
* if (!result?.success) return new Response('Captcha failed', { status: 403 });
|
|
7843
7843
|
* ```
|
|
7844
7844
|
*/
|
|
@@ -7886,8 +7886,8 @@ declare function createCaptchaModule(config: CaptchaConfig): CaptchaModule;
|
|
|
7886
7886
|
*
|
|
7887
7887
|
* @example
|
|
7888
7888
|
* ```typescript
|
|
7889
|
-
* const
|
|
7890
|
-
* database: { provider: 'sqlite', url: '
|
|
7889
|
+
* const theauth = await createTheAuth({
|
|
7890
|
+
* database: { provider: 'sqlite', url: 'theauth.db' },
|
|
7891
7891
|
* auth: { session: { secret: process.env.SESSION_SECRET } },
|
|
7892
7892
|
* emailOtp: {
|
|
7893
7893
|
* sendOtp: async (email, code) => {
|
|
@@ -8059,10 +8059,10 @@ declare function createOneTimeTokenModule(config: OneTimeTokenConfig, db: Databa
|
|
|
8059
8059
|
* });
|
|
8060
8060
|
*
|
|
8061
8061
|
* // Send verification email
|
|
8062
|
-
* await
|
|
8062
|
+
* await theauth.emailVerification.sendVerification(userId, 'alice@example.com');
|
|
8063
8063
|
*
|
|
8064
8064
|
* // Verify the token from the link
|
|
8065
|
-
* const result = await
|
|
8065
|
+
* const result = await theauth.emailVerification.verify(token);
|
|
8066
8066
|
* if (result.success) console.log('Verified:', result.data.userId);
|
|
8067
8067
|
* ```
|
|
8068
8068
|
*/
|
|
@@ -8142,8 +8142,8 @@ declare function createEmailVerificationModule(config: EmailVerificationConfig,
|
|
|
8142
8142
|
*
|
|
8143
8143
|
* @example
|
|
8144
8144
|
* ```typescript
|
|
8145
|
-
* const
|
|
8146
|
-
* database: { provider: 'sqlite', url: '
|
|
8145
|
+
* const theauth = await createTheAuth({
|
|
8146
|
+
* database: { provider: 'sqlite', url: 'theauth.db' },
|
|
8147
8147
|
* auth: { session: { secret: process.env.SESSION_SECRET } },
|
|
8148
8148
|
* magicLink: {
|
|
8149
8149
|
* appUrl: 'https://app.example.com',
|
|
@@ -8154,7 +8154,7 @@ declare function createEmailVerificationModule(config: EmailVerificationConfig,
|
|
|
8154
8154
|
* });
|
|
8155
8155
|
*
|
|
8156
8156
|
* // In your route handler
|
|
8157
|
-
* const response = await
|
|
8157
|
+
* const response = await theauth.magicLink.handleRequest(request);
|
|
8158
8158
|
* if (response) return response;
|
|
8159
8159
|
* ```
|
|
8160
8160
|
*/
|
|
@@ -8205,8 +8205,8 @@ declare function createMagicLinkModule(config: MagicLinkConfig, db: Database, se
|
|
|
8205
8205
|
* Organizations + RBAC module for TheAuth.
|
|
8206
8206
|
*
|
|
8207
8207
|
* Provides organization CRUD, membership management, invitation flows,
|
|
8208
|
-
* and role-based permission checking. Uses the
|
|
8209
|
-
*
|
|
8208
|
+
* and role-based permission checking. Uses the theauth_organizations,
|
|
8209
|
+
* theauth_org_members, theauth_org_invitations, and theauth_org_roles tables.
|
|
8210
8210
|
*/
|
|
8211
8211
|
|
|
8212
8212
|
interface OrgConfig {
|
|
@@ -8443,10 +8443,10 @@ declare function createPasskeyModule(config: PasskeyConfig, db: Database): Passk
|
|
|
8443
8443
|
* });
|
|
8444
8444
|
*
|
|
8445
8445
|
* // Forgot password (always succeeds — no email enumeration)
|
|
8446
|
-
* await
|
|
8446
|
+
* await theauth.passwordReset.requestReset('alice@example.com');
|
|
8447
8447
|
*
|
|
8448
8448
|
* // Reset password (from the link in the email)
|
|
8449
|
-
* const result = await
|
|
8449
|
+
* const result = await theauth.passwordReset.resetPassword(token, 'new-password-123');
|
|
8450
8450
|
* ```
|
|
8451
8451
|
*/
|
|
8452
8452
|
|
|
@@ -8532,8 +8532,8 @@ declare function createPasswordResetModule(config: PasswordResetConfig, db: Data
|
|
|
8532
8532
|
*
|
|
8533
8533
|
* @example
|
|
8534
8534
|
* ```typescript
|
|
8535
|
-
* const
|
|
8536
|
-
* database: { provider: 'sqlite', url: '
|
|
8535
|
+
* const theauth = await createTheAuth({
|
|
8536
|
+
* database: { provider: 'sqlite', url: 'theauth.db' },
|
|
8537
8537
|
* auth: { session: { secret: process.env.SESSION_SECRET } },
|
|
8538
8538
|
* phone: {
|
|
8539
8539
|
* sendSms: async (phone, code) => {
|
|
@@ -8605,15 +8605,15 @@ declare function createPhoneAuthModule(config: PhoneAuthConfig, db: Database, se
|
|
|
8605
8605
|
*
|
|
8606
8606
|
* @example
|
|
8607
8607
|
* ```typescript
|
|
8608
|
-
* const
|
|
8609
|
-
* database: { provider: 'sqlite', url: '
|
|
8608
|
+
* const theauth = await createTheAuth({
|
|
8609
|
+
* database: { provider: 'sqlite', url: 'theauth.db' },
|
|
8610
8610
|
* sso: {
|
|
8611
8611
|
* saml: [{ id: 'okta', name: 'Okta', entryPoint: '...', issuer: '...', cert: '...', callbackUrl: '...' }],
|
|
8612
8612
|
* },
|
|
8613
8613
|
* });
|
|
8614
8614
|
*
|
|
8615
8615
|
* // Get SAML auth URL (redirect user to this)
|
|
8616
|
-
* const url = await
|
|
8616
|
+
* const url = await theauth.sso.getSamlAuthUrl(connectionId);
|
|
8617
8617
|
* ```
|
|
8618
8618
|
*/
|
|
8619
8619
|
|
|
@@ -8838,7 +8838,7 @@ interface AuthAdapter {
|
|
|
8838
8838
|
getUser?(userId: string): Promise<ResolvedUser | null>;
|
|
8839
8839
|
/**
|
|
8840
8840
|
* Persist / update user data from the auth provider into the TheAuth
|
|
8841
|
-
* `
|
|
8841
|
+
* `theauth_users` table.
|
|
8842
8842
|
*
|
|
8843
8843
|
* Called after a successful `resolveUser` when user data should be kept in
|
|
8844
8844
|
* sync with an external provider.
|
|
@@ -8855,15 +8855,15 @@ interface AuthAdapter {
|
|
|
8855
8855
|
*
|
|
8856
8856
|
* @example
|
|
8857
8857
|
* ```typescript
|
|
8858
|
-
* const
|
|
8859
|
-
* database: { provider: 'sqlite', url: '
|
|
8858
|
+
* const theauth = await createTheAuth({
|
|
8859
|
+
* database: { provider: 'sqlite', url: 'theauth.db' },
|
|
8860
8860
|
* auth: { session: { secret: process.env.SESSION_SECRET } },
|
|
8861
8861
|
* username: {
|
|
8862
8862
|
* password: { minLength: 8 },
|
|
8863
8863
|
* },
|
|
8864
8864
|
* });
|
|
8865
8865
|
*
|
|
8866
|
-
* const response = await
|
|
8866
|
+
* const response = await theauth.username?.handleRequest(request);
|
|
8867
8867
|
* if (response) return response;
|
|
8868
8868
|
* ```
|
|
8869
8869
|
*/
|
|
@@ -8928,7 +8928,7 @@ declare function createUsernameAuthModule(config: UsernameAuthConfig, db: Databa
|
|
|
8928
8928
|
*
|
|
8929
8929
|
* Fires signed HTTP POST requests to configured endpoints when auth events
|
|
8930
8930
|
* occur. Payloads are signed with HMAC-SHA256 and sent with
|
|
8931
|
-
* `X-
|
|
8931
|
+
* `X-TheAuth-Event`, `X-TheAuth-Signature`, and `X-TheAuth-Timestamp` headers.
|
|
8932
8932
|
*
|
|
8933
8933
|
* Delivery is fire-and-forget with exponential backoff retries (1s, 2s, 4s).
|
|
8934
8934
|
* Failed deliveries after all retries are silently dropped so they never block
|
|
@@ -8936,17 +8936,17 @@ declare function createUsernameAuthModule(config: UsernameAuthConfig, db: Databa
|
|
|
8936
8936
|
*
|
|
8937
8937
|
* @example
|
|
8938
8938
|
* ```typescript
|
|
8939
|
-
* const
|
|
8940
|
-
* database: { provider: 'sqlite', url: '
|
|
8939
|
+
* const theauth = await createTheAuth({
|
|
8940
|
+
* database: { provider: 'sqlite', url: 'theauth.db' },
|
|
8941
8941
|
* webhooks: [{
|
|
8942
|
-
* url: 'https://my-service.example.com/webhooks/
|
|
8942
|
+
* url: 'https://my-service.example.com/webhooks/theauth',
|
|
8943
8943
|
* secret: process.env.WEBHOOK_SECRET,
|
|
8944
8944
|
* events: ['user.created', 'session.created'],
|
|
8945
8945
|
* }],
|
|
8946
8946
|
* });
|
|
8947
8947
|
*
|
|
8948
8948
|
* // Emit from anywhere in your app
|
|
8949
|
-
*
|
|
8949
|
+
* theauth.webhooks?.emit('user.created', { userId: user.id });
|
|
8950
8950
|
* ```
|
|
8951
8951
|
*/
|
|
8952
8952
|
type WebhookEvent = "user.created" | "user.deleted" | "user.updated" | "session.created" | "session.revoked" | "agent.created" | "agent.revoked" | "agent.rotated" | "auth.sign-in" | "auth.sign-up" | "auth.password-reset" | "auth.email-verified";
|
|
@@ -9077,8 +9077,6 @@ interface TheAuthHooks {
|
|
|
9077
9077
|
}
|
|
9078
9078
|
/** @deprecated Use `TheAuthHooks` instead. Will be removed in a future major version. */
|
|
9079
9079
|
type AuthHooks = TheAuthHooks;
|
|
9080
|
-
/** @deprecated Use `TheAuthHooks` instead. Will be removed in a future major version. */
|
|
9081
|
-
type KavachHooks = TheAuthHooks;
|
|
9082
9080
|
type ViolationType = "permission_denied" | "rate_limited" | "ip_blocked" | "time_restricted" | "approval_required";
|
|
9083
9081
|
/**
|
|
9084
9082
|
* Map an authorization denial reason string to a violation type.
|
|
@@ -9107,7 +9105,10 @@ interface PluginEndpoint {
|
|
|
9107
9105
|
handler: (request: Request, context: EndpointContext) => Promise<Response>;
|
|
9108
9106
|
/** Optional metadata */
|
|
9109
9107
|
metadata?: {
|
|
9110
|
-
/**
|
|
9108
|
+
/**
|
|
9109
|
+
* Rate limit for this endpoint. `window` is in seconds (not milliseconds),
|
|
9110
|
+
* `max` is the number of requests allowed per window per client IP.
|
|
9111
|
+
*/
|
|
9111
9112
|
rateLimit?: {
|
|
9112
9113
|
window: number;
|
|
9113
9114
|
max: number;
|
|
@@ -9152,8 +9153,6 @@ interface PluginInitResult {
|
|
|
9152
9153
|
}
|
|
9153
9154
|
/** @deprecated Use `TheAuthPlugin` instead. Will be removed in a future major version. */
|
|
9154
9155
|
type AuthPlugin = TheAuthPlugin;
|
|
9155
|
-
/** @deprecated Use `TheAuthPlugin` instead. Will be removed in a future major version. */
|
|
9156
|
-
type KavachPlugin = TheAuthPlugin;
|
|
9157
9156
|
|
|
9158
9157
|
type PolicyEffect = "permit" | "deny" | "indeterminate";
|
|
9159
9158
|
interface PolicyDecisionSubject {
|
|
@@ -9295,12 +9294,12 @@ interface TheAuthConfig {
|
|
|
9295
9294
|
* incoming request.
|
|
9296
9295
|
*
|
|
9297
9296
|
* `session` enables TheAuth-managed session tokens backed by the
|
|
9298
|
-
* `
|
|
9299
|
-
* `
|
|
9297
|
+
* `theauth_sessions` database table. When provided, the returned
|
|
9298
|
+
* `theauth.auth.session` manager is available for creating, validating,
|
|
9300
9299
|
* and revoking sessions.
|
|
9301
9300
|
*
|
|
9302
9301
|
* When omitted entirely the instance operates in *manual user management*
|
|
9303
|
-
* mode – `
|
|
9302
|
+
* mode – `theauth.auth.resolveUser()` always returns `null`.
|
|
9304
9303
|
*/
|
|
9305
9304
|
auth?: {
|
|
9306
9305
|
adapter?: AuthAdapter;
|
|
@@ -9324,7 +9323,7 @@ interface TheAuthConfig {
|
|
|
9324
9323
|
/**
|
|
9325
9324
|
* Magic link (passwordless email) authentication.
|
|
9326
9325
|
*
|
|
9327
|
-
* When provided, `
|
|
9326
|
+
* When provided, `theauth.magicLink` is available with `sendLink`,
|
|
9328
9327
|
* `verify`, and `handleRequest`. Requires `auth.session` to be configured
|
|
9329
9328
|
* so that sessions can be issued on successful verification.
|
|
9330
9329
|
*/
|
|
@@ -9332,7 +9331,7 @@ interface TheAuthConfig {
|
|
|
9332
9331
|
/**
|
|
9333
9332
|
* Email OTP (one-time password) authentication.
|
|
9334
9333
|
*
|
|
9335
|
-
* When provided, `
|
|
9334
|
+
* When provided, `theauth.emailOtp` is available with `sendCode`,
|
|
9336
9335
|
* `verifyCode`, and `handleRequest`. Requires `auth.session` to be
|
|
9337
9336
|
* configured so that sessions can be issued on successful verification.
|
|
9338
9337
|
*/
|
|
@@ -9340,7 +9339,7 @@ interface TheAuthConfig {
|
|
|
9340
9339
|
/**
|
|
9341
9340
|
* Email verification flow.
|
|
9342
9341
|
*
|
|
9343
|
-
* When provided, `
|
|
9342
|
+
* When provided, `theauth.emailVerification` is available with
|
|
9344
9343
|
* `sendVerification`, `verify`, `isVerified`, and `handleRequest`.
|
|
9345
9344
|
* The caller provides a `sendVerificationEmail` callback to deliver the
|
|
9346
9345
|
* link.
|
|
@@ -9349,7 +9348,7 @@ interface TheAuthConfig {
|
|
|
9349
9348
|
/**
|
|
9350
9349
|
* TOTP two-factor authentication.
|
|
9351
9350
|
*
|
|
9352
|
-
* When provided, `
|
|
9351
|
+
* When provided, `theauth.totp` is available with `setup`, `enable`,
|
|
9353
9352
|
* `disable`, `verify`, `isEnabled`, `regenerateBackupCodes`, and
|
|
9354
9353
|
* `handleRequest`. Users call `setup` to get a secret + backup codes,
|
|
9355
9354
|
* then `enable` after scanning their authenticator app.
|
|
@@ -9358,7 +9357,7 @@ interface TheAuthConfig {
|
|
|
9358
9357
|
/**
|
|
9359
9358
|
* Passkey / WebAuthn authentication.
|
|
9360
9359
|
*
|
|
9361
|
-
* When provided, `
|
|
9360
|
+
* When provided, `theauth.passkey` is available for registering and
|
|
9362
9361
|
* authenticating with platform authenticators (Face ID, Touch ID,
|
|
9363
9362
|
* Windows Hello) and roaming authenticators (hardware security keys).
|
|
9364
9363
|
*/
|
|
@@ -9366,35 +9365,35 @@ interface TheAuthConfig {
|
|
|
9366
9365
|
/**
|
|
9367
9366
|
* Organizations + RBAC.
|
|
9368
9367
|
*
|
|
9369
|
-
* When provided, `
|
|
9368
|
+
* When provided, `theauth.org` is available with org CRUD, membership
|
|
9370
9369
|
* management, invitation flows, and role-based permission checking.
|
|
9371
9370
|
*/
|
|
9372
9371
|
org?: OrgConfig;
|
|
9373
9372
|
/**
|
|
9374
9373
|
* SSO (SAML 2.0 + OIDC) enterprise authentication.
|
|
9375
9374
|
*
|
|
9376
|
-
* When provided, `
|
|
9375
|
+
* When provided, `theauth.sso` is available for creating org-level SSO
|
|
9377
9376
|
* connections, generating auth URLs, and processing callbacks.
|
|
9378
9377
|
*/
|
|
9379
9378
|
sso?: SsoConfig;
|
|
9380
9379
|
/**
|
|
9381
9380
|
* Admin module.
|
|
9382
9381
|
*
|
|
9383
|
-
* When provided, `
|
|
9382
|
+
* When provided, `theauth.admin` is available for listing users, banning,
|
|
9384
9383
|
* impersonation, and deletion.
|
|
9385
9384
|
*/
|
|
9386
9385
|
admin?: AdminConfig;
|
|
9387
9386
|
/**
|
|
9388
9387
|
* API key management.
|
|
9389
9388
|
*
|
|
9390
|
-
* When provided, `
|
|
9389
|
+
* When provided, `theauth.apiKeys` is available for creating and validating
|
|
9391
9390
|
* static API keys with permission scopes.
|
|
9392
9391
|
*/
|
|
9393
9392
|
apiKeys?: ApiKeyManagerConfig;
|
|
9394
9393
|
/**
|
|
9395
9394
|
* Username + password authentication.
|
|
9396
9395
|
*
|
|
9397
|
-
* When provided, `
|
|
9396
|
+
* When provided, `theauth.username` is available with `signUp`, `signIn`,
|
|
9398
9397
|
* `changePassword`, `changeUsername`, and `handleRequest`. Requires
|
|
9399
9398
|
* `auth.session` to be configured so that sessions can be issued.
|
|
9400
9399
|
*/
|
|
@@ -9402,7 +9401,7 @@ interface TheAuthConfig {
|
|
|
9402
9401
|
/**
|
|
9403
9402
|
* Password reset (forgot password) flow.
|
|
9404
9403
|
*
|
|
9405
|
-
* When provided, `
|
|
9404
|
+
* When provided, `theauth.passwordReset` is available with `requestReset`,
|
|
9406
9405
|
* `resetPassword`, and `handleRequest`. Requires `username` and
|
|
9407
9406
|
* `auth.session` to be configured. The caller provides a `sendResetEmail`
|
|
9408
9407
|
* callback to deliver the reset link.
|
|
@@ -9411,14 +9410,14 @@ interface TheAuthConfig {
|
|
|
9411
9410
|
/**
|
|
9412
9411
|
* Phone number (SMS OTP) authentication.
|
|
9413
9412
|
*
|
|
9414
|
-
* When provided, `
|
|
9413
|
+
* When provided, `theauth.phone` is available with `sendCode`, `verifyCode`,
|
|
9415
9414
|
* and `handleRequest`. Requires `auth.session` to be configured.
|
|
9416
9415
|
*/
|
|
9417
9416
|
phone?: PhoneAuthConfig;
|
|
9418
9417
|
/**
|
|
9419
9418
|
* Captcha integration (reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile).
|
|
9420
9419
|
*
|
|
9421
|
-
* When provided, `
|
|
9420
|
+
* When provided, `theauth.captcha` is available with `verify` and
|
|
9422
9421
|
* `middleware`.
|
|
9423
9422
|
*/
|
|
9424
9423
|
captcha?: CaptchaConfig;
|
|
@@ -9441,7 +9440,7 @@ interface TheAuthConfig {
|
|
|
9441
9440
|
/**
|
|
9442
9441
|
* Redirect chain configuration.
|
|
9443
9442
|
*
|
|
9444
|
-
* When provided, `
|
|
9443
|
+
* When provided, `theauth.redirects` is available for capturing the user's
|
|
9445
9444
|
* original destination before auth flows and restoring it afterwards,
|
|
9446
9445
|
* with support for intermediate steps (onboarding, email verification, etc.).
|
|
9447
9446
|
*/
|
|
@@ -9468,8 +9467,6 @@ interface TheAuthConfig {
|
|
|
9468
9467
|
}
|
|
9469
9468
|
/** @deprecated Use `TheAuthConfig` instead. Will be removed in a future major version. */
|
|
9470
9469
|
type AuthConfig = TheAuthConfig;
|
|
9471
|
-
/** @deprecated Use `TheAuthConfig` instead. Will be removed in a future major version. */
|
|
9472
|
-
type KavachConfig = TheAuthConfig;
|
|
9473
9470
|
/**
|
|
9474
9471
|
* The main TheAuth instance returned by createTheAuth()
|
|
9475
9472
|
*/
|
|
@@ -9487,8 +9484,6 @@ interface TheAuthInstance {
|
|
|
9487
9484
|
}
|
|
9488
9485
|
/** @deprecated Use `TheAuthInstance` instead. Will be removed in a future major version. */
|
|
9489
9486
|
type AuthInstance = TheAuthInstance;
|
|
9490
|
-
/** @deprecated Use `TheAuthInstance` instead. Will be removed in a future major version. */
|
|
9491
|
-
type KavachInstance = TheAuthInstance;
|
|
9492
9487
|
interface AgentModule {
|
|
9493
9488
|
create: (input: CreateAgentInput) => Promise<AgentIdentity>;
|
|
9494
9489
|
get: (agentId: string) => Promise<AgentIdentity | null>;
|
|
@@ -9649,4 +9644,4 @@ interface TokenValidationResult {
|
|
|
9649
9644
|
}
|
|
9650
9645
|
type McpMiddleware = (request: Request) => Promise<Response | undefined>;
|
|
9651
9646
|
|
|
9652
|
-
export { type
|
|
9647
|
+
export { type AdminUser as $, type AgentIdentity as A, type AdminModule as B, type CreateAgentInput as C, type Database as D, type EndpointContext as E, type ApiKeyManagerModule as F, type UsernameAuthModule as G, type PasswordResetModule as H, type EmailVerificationModule as I, type OneTimeTokenModule as J, type SessionFreshnessModule as K, type PhoneAuthModule as L, type McpServerInput as M, type CaptchaModule as N, type OrgModule as O, type Permission as P, type EvaluateInput as Q, type RequestContext as R, type SignedPayload as S, type TheAuthConfig as T, type UpdateAgentInput as U, type VerificationResult as V, type WebhookModule as W, type PolicyDecision as X, type InvalidateScope as Y, type PolicyCacheStats as Z, type AdminConfig as _, type DatabaseConfig as a, createDatabaseSync as a$, type AgentConfig as a0, type ApiKey as a1, type ApiKeyManagerConfig as a2, type ApprovalConfig as a3, type ApprovalModule as a4, type AuthAdapter as a5, type AuthConfig as a6, type AuthHooks as a7, type AuthInstance as a8, type AuthPlugin as a9, type ServiceEndpoint as aA, type SessionFreshnessConfig as aB, type SsoAuditEvent as aC, type SsoConfig as aD, type SsoConnection as aE, SsoError as aF, type TheAuthHooks as aG, type TheAuthInstance as aH, type TokenValidationResult as aI, type TotpConfig as aJ, type TotpSetup as aK, type UsernameAuthConfig as aL, type ValidateTokenResult as aM, type VerificationMethod as aN, agentCards as aO, agentDids as aP, agents as aQ, apiKeys as aR, approvalRequests as aS, auditLogs as aT, budgetPolicies as aU, classifyViolation as aV, createAdminModule as aW, createApiKeyManagerModule as aX, createApprovalModule as aY, createCaptchaModule as aZ, createDatabase as a_, type CaptchaConfig as aa, type CaptchaVerifyResult as ab, type CreateTokenInput as ac, type D1DatabaseBinding as ad, type EmailOtpConfig as ae, type EmailVerificationConfig as af, type MagicLinkConfig as ag, type McpMiddleware as ah, type OidcProvider as ai, type OneTimeTokenConfig as aj, type OneTimeTokenPurpose as ak, type OrgConfig as al, type OrgInvitation as am, type OrgMember as an, type OrgRole as ao, type Organization as ap, type PasskeyConfig as aq, type PasskeyCredential as ar, type PasswordResetConfig as as, type PermissionConstraints as at, type PhoneAuthConfig as au, type PluginContext as av, type PluginInitResult as aw, type RevokeTokensResult as ax, SSO_ERROR as ay, type SamlProvider as az, type DelegateInput as b, createEmailOtpModule as b0, createEmailVerificationModule as b1, createMagicLinkModule as b2, createOneTimeTokenModule as b3, createOrgModule as b4, createPasskeyModule as b5, createPasswordResetModule as b6, createPhoneAuthModule as b7, createSessionFreshnessModule as b8, createSessionManager as b9, createWebhookModule as bA, createSsoModule as ba, createTotpModule as bb, createUsernameAuthModule as bc, delegationChains as bd, emailOtps as be, magicLinks as bf, mcpServers as bg, oauthAccessTokens as bh, oauthAuthorizationCodes as bi, oauthClients as bj, orgInvitations as bk, orgMembers as bl, orgRoles as bm, organizations as bn, passkeyChallenges as bo, passkeyCredentials as bp, permissions as bq, rateLimits as br, sessions as bs, ssoConnections as bt, tenants as bu, totpRecords as bv, trustScores as bw, users as bx, type WebhookConfig as by, type WebhookEvent as bz, type DelegationChain as c, type DidDocument as d, type DidKeyPair as e, type DidWebConfig as f, type AgentDid as g, type PluginEndpoint as h, type TheAuthPlugin as i, type SessionManager as j, type SessionConfig as k, type Session as l, type AgentFilter as m, type AuthorizeRequest as n, type AuthorizeResult as o, type AuditFilter as p, type AuditEntry as q, type AuditExportOptions as r, type McpServer as s, type ResolvedUser as t, type ApprovalRequest as u, type MagicLinkModule as v, type EmailOtpModule as w, type TotpModule as x, type PasskeyModule as y, type SsoModule as z };
|