@yielded/auth-persistence-drizzle 0.1.0-beta.17 → 0.1.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/D1.d.mts +114 -114
- package/dist/Libsql.d.mts +122 -122
- package/dist/Mysql2.d.mts +122 -122
- package/dist/Pglite.d.mts +122 -122
- package/dist/Postgres.d.mts +120 -120
- package/dist/SqliteBun.d.mts +124 -124
- package/dist/SqliteDo.d.mts +125 -125
- package/dist/SqliteNode.d.mts +116 -116
- package/dist/SqliteWasm.d.mts +125 -125
- package/dist/drizzle/d1-oauth.d.mts +6 -6
- package/dist/drizzle/d1-password-prepared.mjs +3 -3
- package/dist/drizzle/d1-password-prepared.mjs.map +1 -1
- package/dist/drizzle/d1-passwords.mjs +1 -1
- package/dist/drizzle/d1-passwords.mjs.map +1 -1
- package/dist/drizzle/d1-sessions.mjs +4 -3
- package/dist/drizzle/d1-sessions.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-state.d.mts +252 -252
- package/dist/drizzle/oauth-connected-target.d.mts +98 -98
- package/dist/drizzle/password-prepared-sql.mjs +1 -1
- package/dist/drizzle/password-prepared-sql.mjs.map +1 -1
- package/package.json +1 -1
- package/src/drizzle/d1-password-prepared.ts +11 -5
- package/src/drizzle/d1-passwords.ts +1 -1
- package/src/drizzle/d1-sessions.ts +8 -2
- package/src/drizzle/password-prepared-sql.ts +1 -1
package/dist/SqliteNode.d.mts
CHANGED
|
@@ -86,12 +86,12 @@ export declare const coordinateEmailAddress: {
|
|
|
86
86
|
export declare const coordinatePasswordPersistence: {
|
|
87
87
|
<Database extends EffectSQLiteNodeDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnySQLiteTable, I extends AnySQLiteTable, C extends AnySQLiteTable, AC extends AnySQLiteTable, A extends AnySQLiteTable, RS extends AnySQLiteTable, CE extends AnySQLiteTable, M extends AnySQLiteTable, NativeId, PM extends ProofPersistenceMapping<any, any, any, any, any, any, any, any, any, any, any, any> | undefined, Out, E, R, DatabaseError, DatabaseRequirements>(acquire: Effect.Effect<Database, DatabaseError, DatabaseRequirements>, options: {
|
|
88
88
|
readonly mapping: import("@yielded/auth-persistence/Adapter").PasswordPersistenceMapping<DrizzleTableModel<S>, DrizzleTableModel<I>, DrizzleTableModel<C>, DrizzleTableModel<AC>, DrizzleTableModel<A>, DrizzleTableModel<RS>, DrizzleTableModel<CE>, DrizzleTableModel<M>, NativeId, import("drizzle-orm").SQL<unknown>>;
|
|
89
|
-
readonly proofMapping?: PM
|
|
89
|
+
readonly proofMapping?: PM;
|
|
90
90
|
readonly transaction?: never;
|
|
91
91
|
}, body: Effect.Effect<Out, E, R>): Effect.Effect<Out, DatabaseError | E | import("@yielded/auth/Hooks").HookConfigurationError | import("@yielded/auth/Password").PasswordUnavailable | import("effect/sql/SqlError").SqlError, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/Password").PasswordPersistence>>;
|
|
92
92
|
<Database extends EffectSQLiteNodeDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnySQLiteTable, I extends AnySQLiteTable, C extends AnySQLiteTable, AC extends AnySQLiteTable, A extends AnySQLiteTable, RS extends AnySQLiteTable, CE extends AnySQLiteTable, M extends AnySQLiteTable, NativeId, PM extends ProofPersistenceMapping<any, any, any, any, any, any, any, any, any, any, any, any> | undefined, Out, E, R, DatabaseError, DatabaseRequirements, TxId, TxShape>(acquire: Effect.Effect<Database, DatabaseError, DatabaseRequirements>, options: {
|
|
93
93
|
readonly mapping: import("@yielded/auth-persistence/Adapter").PasswordPersistenceMapping<DrizzleTableModel<S>, DrizzleTableModel<I>, DrizzleTableModel<C>, DrizzleTableModel<AC>, DrizzleTableModel<A>, DrizzleTableModel<RS>, DrizzleTableModel<CE>, DrizzleTableModel<M>, NativeId, import("drizzle-orm").SQL<unknown>>;
|
|
94
|
-
readonly proofMapping?: PM
|
|
94
|
+
readonly proofMapping?: PM;
|
|
95
95
|
readonly transaction: SuppliedService<TxId, NoInfer<Parameters<Parameters<Database["transaction"]>[0]>[0]>, TxShape>;
|
|
96
96
|
}, body: Effect.Effect<Out, E, R>): Effect.Effect<Out, DatabaseError | E | import("@yielded/auth/Hooks").HookConfigurationError | import("@yielded/auth/Password").PasswordUnavailable | import("effect/sql/SqlError").SqlError, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/Password").PasswordPersistence>>;
|
|
97
97
|
}, coordinatePasswordRegistration: {
|
|
@@ -372,11 +372,11 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
372
372
|
readonly resources: readonly string[];
|
|
373
373
|
readonly retention: "access-and-refresh" | "access-only";
|
|
374
374
|
readonly maximumAccessLifetimeMillis: number;
|
|
375
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
375
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
376
376
|
readonly refreshAheadMillis: number;
|
|
377
377
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
378
378
|
readonly revocation: "cohort" | "unsupported";
|
|
379
|
-
}
|
|
379
|
+
};
|
|
380
380
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
381
381
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
382
382
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -438,11 +438,11 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
438
438
|
readonly resources: readonly string[];
|
|
439
439
|
readonly retention: "access-and-refresh" | "access-only";
|
|
440
440
|
readonly maximumAccessLifetimeMillis: number;
|
|
441
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
441
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
442
442
|
readonly refreshAheadMillis: number;
|
|
443
443
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
444
444
|
readonly revocation: "cohort" | "unsupported";
|
|
445
|
-
}
|
|
445
|
+
};
|
|
446
446
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
447
447
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
448
448
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -890,7 +890,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
890
890
|
readonly resources: readonly string[];
|
|
891
891
|
readonly retention: "access-and-refresh" | "access-only";
|
|
892
892
|
readonly maximumAccessLifetimeMillis: number;
|
|
893
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
893
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
894
894
|
readonly refreshAheadMillis: number;
|
|
895
895
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
896
896
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -903,22 +903,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
903
903
|
readonly metadata: {
|
|
904
904
|
readonly scopes: readonly string[];
|
|
905
905
|
readonly resources: readonly string[];
|
|
906
|
-
readonly accessExpiresAtMillis?: number
|
|
907
|
-
readonly refreshExpiresAtMillis?: number
|
|
906
|
+
readonly accessExpiresAtMillis?: number;
|
|
907
|
+
readonly refreshExpiresAtMillis?: number;
|
|
908
908
|
readonly useUntilMillis: number;
|
|
909
|
-
readonly refreshUseUntilMillis?: number
|
|
909
|
+
readonly refreshUseUntilMillis?: number;
|
|
910
910
|
readonly obtainedAtMillis: number;
|
|
911
911
|
readonly profile?: {
|
|
912
|
-
readonly displayName?: string
|
|
913
|
-
readonly handle?: string
|
|
914
|
-
readonly avatarUrl?: string
|
|
915
|
-
readonly profileUrl?: string
|
|
916
|
-
readonly email?: string
|
|
917
|
-
readonly emailVerified?: boolean
|
|
912
|
+
readonly displayName?: string;
|
|
913
|
+
readonly handle?: string;
|
|
914
|
+
readonly avatarUrl?: string;
|
|
915
|
+
readonly profileUrl?: string;
|
|
916
|
+
readonly email?: string;
|
|
917
|
+
readonly emailVerified?: boolean;
|
|
918
918
|
readonly providerData?: {
|
|
919
919
|
readonly [x: string]: import("effect/Schema").Json;
|
|
920
|
-
}
|
|
921
|
-
}
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
922
|
};
|
|
923
923
|
};
|
|
924
924
|
readonly sealed: {
|
|
@@ -971,11 +971,11 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
971
971
|
readonly resources: readonly string[];
|
|
972
972
|
readonly retention: "access-and-refresh" | "access-only";
|
|
973
973
|
readonly maximumAccessLifetimeMillis: number;
|
|
974
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
974
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
975
975
|
readonly refreshAheadMillis: number;
|
|
976
976
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
977
977
|
readonly revocation: "cohort" | "unsupported";
|
|
978
|
-
}
|
|
978
|
+
};
|
|
979
979
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
980
980
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
981
981
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -1002,7 +1002,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1002
1002
|
readonly resources: readonly string[];
|
|
1003
1003
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1004
1004
|
readonly maximumAccessLifetimeMillis: number;
|
|
1005
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1005
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1006
1006
|
readonly refreshAheadMillis: number;
|
|
1007
1007
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1008
1008
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1036,13 +1036,13 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1036
1036
|
readonly resources: readonly string[];
|
|
1037
1037
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1038
1038
|
readonly maximumAccessLifetimeMillis: number;
|
|
1039
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1039
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1040
1040
|
readonly refreshAheadMillis: number;
|
|
1041
1041
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1042
1042
|
readonly revocation: "cohort" | "unsupported";
|
|
1043
1043
|
};
|
|
1044
1044
|
};
|
|
1045
|
-
}
|
|
1045
|
+
};
|
|
1046
1046
|
readonly maximumEvidenceAgeMillis: number;
|
|
1047
1047
|
};
|
|
1048
1048
|
readonly sealed: {
|
|
@@ -1084,11 +1084,11 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1084
1084
|
readonly resources: readonly string[];
|
|
1085
1085
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1086
1086
|
readonly maximumAccessLifetimeMillis: number;
|
|
1087
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1087
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1088
1088
|
readonly refreshAheadMillis: number;
|
|
1089
1089
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1090
1090
|
readonly revocation: "cohort" | "unsupported";
|
|
1091
|
-
}
|
|
1091
|
+
};
|
|
1092
1092
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
1093
1093
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
1094
1094
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -1115,7 +1115,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1115
1115
|
readonly resources: readonly string[];
|
|
1116
1116
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1117
1117
|
readonly maximumAccessLifetimeMillis: number;
|
|
1118
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1118
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1119
1119
|
readonly refreshAheadMillis: number;
|
|
1120
1120
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1121
1121
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1149,13 +1149,13 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1149
1149
|
readonly resources: readonly string[];
|
|
1150
1150
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1151
1151
|
readonly maximumAccessLifetimeMillis: number;
|
|
1152
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1152
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1153
1153
|
readonly refreshAheadMillis: number;
|
|
1154
1154
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1155
1155
|
readonly revocation: "cohort" | "unsupported";
|
|
1156
1156
|
};
|
|
1157
1157
|
};
|
|
1158
|
-
}
|
|
1158
|
+
};
|
|
1159
1159
|
readonly maximumEvidenceAgeMillis: number;
|
|
1160
1160
|
};
|
|
1161
1161
|
readonly sealed: {
|
|
@@ -1202,11 +1202,11 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1202
1202
|
readonly resources: readonly string[];
|
|
1203
1203
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1204
1204
|
readonly maximumAccessLifetimeMillis: number;
|
|
1205
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1205
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1206
1206
|
readonly refreshAheadMillis: number;
|
|
1207
1207
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1208
1208
|
readonly revocation: "cohort" | "unsupported";
|
|
1209
|
-
}
|
|
1209
|
+
};
|
|
1210
1210
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
1211
1211
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
1212
1212
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -1233,7 +1233,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1233
1233
|
readonly resources: readonly string[];
|
|
1234
1234
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1235
1235
|
readonly maximumAccessLifetimeMillis: number;
|
|
1236
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1236
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1237
1237
|
readonly refreshAheadMillis: number;
|
|
1238
1238
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1239
1239
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1267,13 +1267,13 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1267
1267
|
readonly resources: readonly string[];
|
|
1268
1268
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1269
1269
|
readonly maximumAccessLifetimeMillis: number;
|
|
1270
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1270
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1271
1271
|
readonly refreshAheadMillis: number;
|
|
1272
1272
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1273
1273
|
readonly revocation: "cohort" | "unsupported";
|
|
1274
1274
|
};
|
|
1275
1275
|
};
|
|
1276
|
-
}
|
|
1276
|
+
};
|
|
1277
1277
|
readonly maximumEvidenceAgeMillis: number;
|
|
1278
1278
|
};
|
|
1279
1279
|
readonly sealed: {
|
|
@@ -1350,7 +1350,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1350
1350
|
readonly resources: readonly string[];
|
|
1351
1351
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1352
1352
|
readonly maximumAccessLifetimeMillis: number;
|
|
1353
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1353
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1354
1354
|
readonly refreshAheadMillis: number;
|
|
1355
1355
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1356
1356
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1363,22 +1363,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1363
1363
|
readonly metadata: {
|
|
1364
1364
|
readonly scopes: readonly string[];
|
|
1365
1365
|
readonly resources: readonly string[];
|
|
1366
|
-
readonly accessExpiresAtMillis?: number
|
|
1367
|
-
readonly refreshExpiresAtMillis?: number
|
|
1366
|
+
readonly accessExpiresAtMillis?: number;
|
|
1367
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1368
1368
|
readonly useUntilMillis: number;
|
|
1369
|
-
readonly refreshUseUntilMillis?: number
|
|
1369
|
+
readonly refreshUseUntilMillis?: number;
|
|
1370
1370
|
readonly obtainedAtMillis: number;
|
|
1371
1371
|
readonly profile?: {
|
|
1372
|
-
readonly displayName?: string
|
|
1373
|
-
readonly handle?: string
|
|
1374
|
-
readonly avatarUrl?: string
|
|
1375
|
-
readonly profileUrl?: string
|
|
1376
|
-
readonly email?: string
|
|
1377
|
-
readonly emailVerified?: boolean
|
|
1372
|
+
readonly displayName?: string;
|
|
1373
|
+
readonly handle?: string;
|
|
1374
|
+
readonly avatarUrl?: string;
|
|
1375
|
+
readonly profileUrl?: string;
|
|
1376
|
+
readonly email?: string;
|
|
1377
|
+
readonly emailVerified?: boolean;
|
|
1378
1378
|
readonly providerData?: {
|
|
1379
1379
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
1382
|
};
|
|
1383
1383
|
};
|
|
1384
1384
|
readonly sealed: {
|
|
@@ -1405,22 +1405,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1405
1405
|
readonly profileKey: string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">;
|
|
1406
1406
|
readonly status: "Active" | "Disconnected" | "ReauthorizationRequired" | "Refreshing";
|
|
1407
1407
|
readonly scopes: readonly string[];
|
|
1408
|
-
readonly accessExpiresAtMillis?: number
|
|
1408
|
+
readonly accessExpiresAtMillis?: number;
|
|
1409
1409
|
readonly useUntilMillis: number;
|
|
1410
1410
|
readonly profile?: {
|
|
1411
|
-
readonly displayName?: string
|
|
1412
|
-
readonly handle?: string
|
|
1413
|
-
readonly avatarUrl?: string
|
|
1414
|
-
readonly profileUrl?: string
|
|
1415
|
-
readonly email?: string
|
|
1416
|
-
readonly emailVerified?: boolean
|
|
1411
|
+
readonly displayName?: string;
|
|
1412
|
+
readonly handle?: string;
|
|
1413
|
+
readonly avatarUrl?: string;
|
|
1414
|
+
readonly profileUrl?: string;
|
|
1415
|
+
readonly email?: string;
|
|
1416
|
+
readonly emailVerified?: boolean;
|
|
1417
1417
|
readonly providerData?: {
|
|
1418
1418
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1419
|
+
};
|
|
1420
|
+
};
|
|
1421
1421
|
readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
|
|
1422
1422
|
}[];
|
|
1423
|
-
readonly cursor?: string
|
|
1423
|
+
readonly cursor?: string;
|
|
1424
1424
|
}, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
1425
1425
|
readonly inspectDisconnect: (input: {
|
|
1426
1426
|
readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
|
|
@@ -1463,7 +1463,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1463
1463
|
readonly resources: readonly string[];
|
|
1464
1464
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1465
1465
|
readonly maximumAccessLifetimeMillis: number;
|
|
1466
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1466
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1467
1467
|
readonly refreshAheadMillis: number;
|
|
1468
1468
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1469
1469
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1476,22 +1476,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1476
1476
|
readonly metadata: {
|
|
1477
1477
|
readonly scopes: readonly string[];
|
|
1478
1478
|
readonly resources: readonly string[];
|
|
1479
|
-
readonly accessExpiresAtMillis?: number
|
|
1480
|
-
readonly refreshExpiresAtMillis?: number
|
|
1479
|
+
readonly accessExpiresAtMillis?: number;
|
|
1480
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1481
1481
|
readonly useUntilMillis: number;
|
|
1482
|
-
readonly refreshUseUntilMillis?: number
|
|
1482
|
+
readonly refreshUseUntilMillis?: number;
|
|
1483
1483
|
readonly obtainedAtMillis: number;
|
|
1484
1484
|
readonly profile?: {
|
|
1485
|
-
readonly displayName?: string
|
|
1486
|
-
readonly handle?: string
|
|
1487
|
-
readonly avatarUrl?: string
|
|
1488
|
-
readonly profileUrl?: string
|
|
1489
|
-
readonly email?: string
|
|
1490
|
-
readonly emailVerified?: boolean
|
|
1485
|
+
readonly displayName?: string;
|
|
1486
|
+
readonly handle?: string;
|
|
1487
|
+
readonly avatarUrl?: string;
|
|
1488
|
+
readonly profileUrl?: string;
|
|
1489
|
+
readonly email?: string;
|
|
1490
|
+
readonly emailVerified?: boolean;
|
|
1491
1491
|
readonly providerData?: {
|
|
1492
1492
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
1495
|
};
|
|
1496
1496
|
};
|
|
1497
1497
|
readonly sealed?: {
|
|
@@ -1499,7 +1499,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1499
1499
|
readonly keyId: string;
|
|
1500
1500
|
readonly nonce: string;
|
|
1501
1501
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
1502
|
-
}
|
|
1502
|
+
};
|
|
1503
1503
|
};
|
|
1504
1504
|
readonly revision: {
|
|
1505
1505
|
readonly subjectId: string & import("effect/Brand").Brand<"effect-auth/SubjectId">;
|
|
@@ -1576,7 +1576,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1576
1576
|
readonly resources: readonly string[];
|
|
1577
1577
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1578
1578
|
readonly maximumAccessLifetimeMillis: number;
|
|
1579
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1579
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1580
1580
|
readonly refreshAheadMillis: number;
|
|
1581
1581
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1582
1582
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1589,22 +1589,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1589
1589
|
readonly metadata: {
|
|
1590
1590
|
readonly scopes: readonly string[];
|
|
1591
1591
|
readonly resources: readonly string[];
|
|
1592
|
-
readonly accessExpiresAtMillis?: number
|
|
1593
|
-
readonly refreshExpiresAtMillis?: number
|
|
1592
|
+
readonly accessExpiresAtMillis?: number;
|
|
1593
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1594
1594
|
readonly useUntilMillis: number;
|
|
1595
|
-
readonly refreshUseUntilMillis?: number
|
|
1595
|
+
readonly refreshUseUntilMillis?: number;
|
|
1596
1596
|
readonly obtainedAtMillis: number;
|
|
1597
1597
|
readonly profile?: {
|
|
1598
|
-
readonly displayName?: string
|
|
1599
|
-
readonly handle?: string
|
|
1600
|
-
readonly avatarUrl?: string
|
|
1601
|
-
readonly profileUrl?: string
|
|
1602
|
-
readonly email?: string
|
|
1603
|
-
readonly emailVerified?: boolean
|
|
1598
|
+
readonly displayName?: string;
|
|
1599
|
+
readonly handle?: string;
|
|
1600
|
+
readonly avatarUrl?: string;
|
|
1601
|
+
readonly profileUrl?: string;
|
|
1602
|
+
readonly email?: string;
|
|
1603
|
+
readonly emailVerified?: boolean;
|
|
1604
1604
|
readonly providerData?: {
|
|
1605
1605
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
1608
|
};
|
|
1609
1609
|
};
|
|
1610
1610
|
readonly sealed: {
|
|
@@ -1661,7 +1661,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1661
1661
|
readonly resources: readonly string[];
|
|
1662
1662
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1663
1663
|
readonly maximumAccessLifetimeMillis: number;
|
|
1664
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1664
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1665
1665
|
readonly refreshAheadMillis: number;
|
|
1666
1666
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1667
1667
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1674,22 +1674,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1674
1674
|
readonly metadata: {
|
|
1675
1675
|
readonly scopes: readonly string[];
|
|
1676
1676
|
readonly resources: readonly string[];
|
|
1677
|
-
readonly accessExpiresAtMillis?: number
|
|
1678
|
-
readonly refreshExpiresAtMillis?: number
|
|
1677
|
+
readonly accessExpiresAtMillis?: number;
|
|
1678
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1679
1679
|
readonly useUntilMillis: number;
|
|
1680
|
-
readonly refreshUseUntilMillis?: number
|
|
1680
|
+
readonly refreshUseUntilMillis?: number;
|
|
1681
1681
|
readonly obtainedAtMillis: number;
|
|
1682
1682
|
readonly profile?: {
|
|
1683
|
-
readonly displayName?: string
|
|
1684
|
-
readonly handle?: string
|
|
1685
|
-
readonly avatarUrl?: string
|
|
1686
|
-
readonly profileUrl?: string
|
|
1687
|
-
readonly email?: string
|
|
1688
|
-
readonly emailVerified?: boolean
|
|
1683
|
+
readonly displayName?: string;
|
|
1684
|
+
readonly handle?: string;
|
|
1685
|
+
readonly avatarUrl?: string;
|
|
1686
|
+
readonly profileUrl?: string;
|
|
1687
|
+
readonly email?: string;
|
|
1688
|
+
readonly emailVerified?: boolean;
|
|
1689
1689
|
readonly providerData?: {
|
|
1690
1690
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1691
|
+
};
|
|
1692
|
+
};
|
|
1693
1693
|
};
|
|
1694
1694
|
};
|
|
1695
1695
|
readonly sealed: {
|
|
@@ -1745,7 +1745,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1745
1745
|
readonly resources: readonly string[];
|
|
1746
1746
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1747
1747
|
readonly maximumAccessLifetimeMillis: number;
|
|
1748
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1748
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1749
1749
|
readonly refreshAheadMillis: number;
|
|
1750
1750
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1751
1751
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1758,22 +1758,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1758
1758
|
readonly metadata: {
|
|
1759
1759
|
readonly scopes: readonly string[];
|
|
1760
1760
|
readonly resources: readonly string[];
|
|
1761
|
-
readonly accessExpiresAtMillis?: number
|
|
1762
|
-
readonly refreshExpiresAtMillis?: number
|
|
1761
|
+
readonly accessExpiresAtMillis?: number;
|
|
1762
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1763
1763
|
readonly useUntilMillis: number;
|
|
1764
|
-
readonly refreshUseUntilMillis?: number
|
|
1764
|
+
readonly refreshUseUntilMillis?: number;
|
|
1765
1765
|
readonly obtainedAtMillis: number;
|
|
1766
1766
|
readonly profile?: {
|
|
1767
|
-
readonly displayName?: string
|
|
1768
|
-
readonly handle?: string
|
|
1769
|
-
readonly avatarUrl?: string
|
|
1770
|
-
readonly profileUrl?: string
|
|
1771
|
-
readonly email?: string
|
|
1772
|
-
readonly emailVerified?: boolean
|
|
1767
|
+
readonly displayName?: string;
|
|
1768
|
+
readonly handle?: string;
|
|
1769
|
+
readonly avatarUrl?: string;
|
|
1770
|
+
readonly profileUrl?: string;
|
|
1771
|
+
readonly email?: string;
|
|
1772
|
+
readonly emailVerified?: boolean;
|
|
1773
1773
|
readonly providerData?: {
|
|
1774
1774
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1775
|
-
}
|
|
1776
|
-
}
|
|
1775
|
+
};
|
|
1776
|
+
};
|
|
1777
1777
|
};
|
|
1778
1778
|
};
|
|
1779
1779
|
readonly sealed: {
|
|
@@ -1864,7 +1864,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1864
1864
|
readonly resources: readonly string[];
|
|
1865
1865
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1866
1866
|
readonly maximumAccessLifetimeMillis: number;
|
|
1867
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1867
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1868
1868
|
readonly refreshAheadMillis: number;
|
|
1869
1869
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1870
1870
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1877,22 +1877,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1877
1877
|
readonly metadata: {
|
|
1878
1878
|
readonly scopes: readonly string[];
|
|
1879
1879
|
readonly resources: readonly string[];
|
|
1880
|
-
readonly accessExpiresAtMillis?: number
|
|
1881
|
-
readonly refreshExpiresAtMillis?: number
|
|
1880
|
+
readonly accessExpiresAtMillis?: number;
|
|
1881
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1882
1882
|
readonly useUntilMillis: number;
|
|
1883
|
-
readonly refreshUseUntilMillis?: number
|
|
1883
|
+
readonly refreshUseUntilMillis?: number;
|
|
1884
1884
|
readonly obtainedAtMillis: number;
|
|
1885
1885
|
readonly profile?: {
|
|
1886
|
-
readonly displayName?: string
|
|
1887
|
-
readonly handle?: string
|
|
1888
|
-
readonly avatarUrl?: string
|
|
1889
|
-
readonly profileUrl?: string
|
|
1890
|
-
readonly email?: string
|
|
1891
|
-
readonly emailVerified?: boolean
|
|
1886
|
+
readonly displayName?: string;
|
|
1887
|
+
readonly handle?: string;
|
|
1888
|
+
readonly avatarUrl?: string;
|
|
1889
|
+
readonly profileUrl?: string;
|
|
1890
|
+
readonly email?: string;
|
|
1891
|
+
readonly emailVerified?: boolean;
|
|
1892
1892
|
readonly providerData?: {
|
|
1893
1893
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1894
|
-
}
|
|
1895
|
-
}
|
|
1894
|
+
};
|
|
1895
|
+
};
|
|
1896
1896
|
};
|
|
1897
1897
|
};
|
|
1898
1898
|
};
|