@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/Libsql.d.mts CHANGED
@@ -90,12 +90,12 @@ export declare const coordinateEmailAddress: {
90
90
  export declare const coordinatePasswordPersistence: {
91
91
  <Database extends EffectLibsqlDatabase<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: {
92
92
  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>>;
93
- readonly proofMapping?: PM | undefined;
93
+ readonly proofMapping?: PM;
94
94
  readonly transaction?: never;
95
95
  }, body: Effect.Effect<Out, E, R>): Effect.Effect<Out, DatabaseError | E | import("@yielded/auth/Hooks").HookConfigurationError | PasswordUnavailable | import("effect/sql/SqlError").SqlError, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/Password").PasswordPersistence>>;
96
96
  <Database extends EffectLibsqlDatabase<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: {
97
97
  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>>;
98
- readonly proofMapping?: PM | undefined;
98
+ readonly proofMapping?: PM;
99
99
  readonly transaction: SuppliedService<TxId, NoInfer<Parameters<Parameters<Database["transaction"]>[0]>[0]>, TxShape>;
100
100
  }, body: Effect.Effect<Out, E, R>): Effect.Effect<Out, DatabaseError | E | import("@yielded/auth/Hooks").HookConfigurationError | PasswordUnavailable | import("effect/sql/SqlError").SqlError, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/Password").PasswordPersistence>>;
101
101
  }, coordinatePasswordRegistration: {
@@ -376,11 +376,11 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
376
376
  readonly resources: readonly string[];
377
377
  readonly retention: "access-and-refresh" | "access-only";
378
378
  readonly maximumAccessLifetimeMillis: number;
379
- readonly maximumRefreshLifetimeMillis?: number | undefined;
379
+ readonly maximumRefreshLifetimeMillis?: number;
380
380
  readonly refreshAheadMillis: number;
381
381
  readonly refresh: "confidential" | "rotating" | "unsupported";
382
382
  readonly revocation: "cohort" | "unsupported";
383
- } | undefined;
383
+ };
384
384
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
385
385
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
386
386
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -442,11 +442,11 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
442
442
  readonly resources: readonly string[];
443
443
  readonly retention: "access-and-refresh" | "access-only";
444
444
  readonly maximumAccessLifetimeMillis: number;
445
- readonly maximumRefreshLifetimeMillis?: number | undefined;
445
+ readonly maximumRefreshLifetimeMillis?: number;
446
446
  readonly refreshAheadMillis: number;
447
447
  readonly refresh: "confidential" | "rotating" | "unsupported";
448
448
  readonly revocation: "cohort" | "unsupported";
449
- } | undefined;
449
+ };
450
450
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
451
451
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
452
452
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -490,8 +490,6 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
490
490
  readonly _tag: "Cancelled";
491
491
  } | {
492
492
  readonly _tag: "Ambiguous";
493
- } | {
494
- readonly _tag: "Conflict";
495
493
  } | {
496
494
  readonly _tag: "Linked";
497
495
  readonly credential: {
@@ -513,6 +511,8 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
513
511
  };
514
512
  };
515
513
  readonly changed: boolean;
514
+ } | {
515
+ readonly _tag: "Conflict";
516
516
  }, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
517
517
  readonly inspectUnlink: (input: {
518
518
  readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
@@ -863,6 +863,8 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
863
863
  readonly _tag: "Cancelled";
864
864
  } | {
865
865
  readonly _tag: "Ambiguous";
866
+ } | {
867
+ readonly _tag: "Conflict";
866
868
  } | {
867
869
  readonly _tag: "Connected";
868
870
  readonly grant: {
@@ -894,7 +896,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
894
896
  readonly resources: readonly string[];
895
897
  readonly retention: "access-and-refresh" | "access-only";
896
898
  readonly maximumAccessLifetimeMillis: number;
897
- readonly maximumRefreshLifetimeMillis?: number | undefined;
899
+ readonly maximumRefreshLifetimeMillis?: number;
898
900
  readonly refreshAheadMillis: number;
899
901
  readonly refresh: "confidential" | "rotating" | "unsupported";
900
902
  readonly revocation: "cohort" | "unsupported";
@@ -907,22 +909,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
907
909
  readonly metadata: {
908
910
  readonly scopes: readonly string[];
909
911
  readonly resources: readonly string[];
910
- readonly accessExpiresAtMillis?: number | undefined;
911
- readonly refreshExpiresAtMillis?: number | undefined;
912
+ readonly accessExpiresAtMillis?: number;
913
+ readonly refreshExpiresAtMillis?: number;
912
914
  readonly useUntilMillis: number;
913
- readonly refreshUseUntilMillis?: number | undefined;
915
+ readonly refreshUseUntilMillis?: number;
914
916
  readonly obtainedAtMillis: number;
915
917
  readonly profile?: {
916
- readonly displayName?: string | undefined;
917
- readonly handle?: string | undefined;
918
- readonly avatarUrl?: string | undefined;
919
- readonly profileUrl?: string | undefined;
920
- readonly email?: string | undefined;
921
- readonly emailVerified?: boolean | undefined;
918
+ readonly displayName?: string;
919
+ readonly handle?: string;
920
+ readonly avatarUrl?: string;
921
+ readonly profileUrl?: string;
922
+ readonly email?: string;
923
+ readonly emailVerified?: boolean;
922
924
  readonly providerData?: {
923
925
  readonly [x: string]: import("effect/Schema").Json;
924
- } | undefined;
925
- } | undefined;
926
+ };
927
+ };
926
928
  };
927
929
  };
928
930
  readonly sealed: {
@@ -932,8 +934,6 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
932
934
  readonly ciphertext: import("effect/Redacted").Redacted<string>;
933
935
  };
934
936
  };
935
- } | {
936
- readonly _tag: "Conflict";
937
937
  } | {
938
938
  readonly _tag: "Busy";
939
939
  }, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
@@ -975,11 +975,11 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
975
975
  readonly resources: readonly string[];
976
976
  readonly retention: "access-and-refresh" | "access-only";
977
977
  readonly maximumAccessLifetimeMillis: number;
978
- readonly maximumRefreshLifetimeMillis?: number | undefined;
978
+ readonly maximumRefreshLifetimeMillis?: number;
979
979
  readonly refreshAheadMillis: number;
980
980
  readonly refresh: "confidential" | "rotating" | "unsupported";
981
981
  readonly revocation: "cohort" | "unsupported";
982
- } | undefined;
982
+ };
983
983
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
984
984
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
985
985
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -1006,7 +1006,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1006
1006
  readonly resources: readonly string[];
1007
1007
  readonly retention: "access-and-refresh" | "access-only";
1008
1008
  readonly maximumAccessLifetimeMillis: number;
1009
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1009
+ readonly maximumRefreshLifetimeMillis?: number;
1010
1010
  readonly refreshAheadMillis: number;
1011
1011
  readonly refresh: "confidential" | "rotating" | "unsupported";
1012
1012
  readonly revocation: "cohort" | "unsupported";
@@ -1040,13 +1040,13 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1040
1040
  readonly resources: readonly string[];
1041
1041
  readonly retention: "access-and-refresh" | "access-only";
1042
1042
  readonly maximumAccessLifetimeMillis: number;
1043
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1043
+ readonly maximumRefreshLifetimeMillis?: number;
1044
1044
  readonly refreshAheadMillis: number;
1045
1045
  readonly refresh: "confidential" | "rotating" | "unsupported";
1046
1046
  readonly revocation: "cohort" | "unsupported";
1047
1047
  };
1048
1048
  };
1049
- } | undefined;
1049
+ };
1050
1050
  readonly maximumEvidenceAgeMillis: number;
1051
1051
  };
1052
1052
  readonly sealed: {
@@ -1088,11 +1088,11 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1088
1088
  readonly resources: readonly string[];
1089
1089
  readonly retention: "access-and-refresh" | "access-only";
1090
1090
  readonly maximumAccessLifetimeMillis: number;
1091
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1091
+ readonly maximumRefreshLifetimeMillis?: number;
1092
1092
  readonly refreshAheadMillis: number;
1093
1093
  readonly refresh: "confidential" | "rotating" | "unsupported";
1094
1094
  readonly revocation: "cohort" | "unsupported";
1095
- } | undefined;
1095
+ };
1096
1096
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
1097
1097
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
1098
1098
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -1119,7 +1119,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1119
1119
  readonly resources: readonly string[];
1120
1120
  readonly retention: "access-and-refresh" | "access-only";
1121
1121
  readonly maximumAccessLifetimeMillis: number;
1122
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1122
+ readonly maximumRefreshLifetimeMillis?: number;
1123
1123
  readonly refreshAheadMillis: number;
1124
1124
  readonly refresh: "confidential" | "rotating" | "unsupported";
1125
1125
  readonly revocation: "cohort" | "unsupported";
@@ -1153,13 +1153,13 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1153
1153
  readonly resources: readonly string[];
1154
1154
  readonly retention: "access-and-refresh" | "access-only";
1155
1155
  readonly maximumAccessLifetimeMillis: number;
1156
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1156
+ readonly maximumRefreshLifetimeMillis?: number;
1157
1157
  readonly refreshAheadMillis: number;
1158
1158
  readonly refresh: "confidential" | "rotating" | "unsupported";
1159
1159
  readonly revocation: "cohort" | "unsupported";
1160
1160
  };
1161
1161
  };
1162
- } | undefined;
1162
+ };
1163
1163
  readonly maximumEvidenceAgeMillis: number;
1164
1164
  };
1165
1165
  readonly sealed: {
@@ -1206,11 +1206,11 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1206
1206
  readonly resources: readonly string[];
1207
1207
  readonly retention: "access-and-refresh" | "access-only";
1208
1208
  readonly maximumAccessLifetimeMillis: number;
1209
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1209
+ readonly maximumRefreshLifetimeMillis?: number;
1210
1210
  readonly refreshAheadMillis: number;
1211
1211
  readonly refresh: "confidential" | "rotating" | "unsupported";
1212
1212
  readonly revocation: "cohort" | "unsupported";
1213
- } | undefined;
1213
+ };
1214
1214
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
1215
1215
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
1216
1216
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -1237,7 +1237,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1237
1237
  readonly resources: readonly string[];
1238
1238
  readonly retention: "access-and-refresh" | "access-only";
1239
1239
  readonly maximumAccessLifetimeMillis: number;
1240
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1240
+ readonly maximumRefreshLifetimeMillis?: number;
1241
1241
  readonly refreshAheadMillis: number;
1242
1242
  readonly refresh: "confidential" | "rotating" | "unsupported";
1243
1243
  readonly revocation: "cohort" | "unsupported";
@@ -1271,13 +1271,13 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1271
1271
  readonly resources: readonly string[];
1272
1272
  readonly retention: "access-and-refresh" | "access-only";
1273
1273
  readonly maximumAccessLifetimeMillis: number;
1274
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1274
+ readonly maximumRefreshLifetimeMillis?: number;
1275
1275
  readonly refreshAheadMillis: number;
1276
1276
  readonly refresh: "confidential" | "rotating" | "unsupported";
1277
1277
  readonly revocation: "cohort" | "unsupported";
1278
1278
  };
1279
1279
  };
1280
- } | undefined;
1280
+ };
1281
1281
  readonly maximumEvidenceAgeMillis: number;
1282
1282
  };
1283
1283
  readonly sealed: {
@@ -1323,6 +1323,8 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1323
1323
  readonly _tag: "Cancelled";
1324
1324
  } | {
1325
1325
  readonly _tag: "Ambiguous";
1326
+ } | {
1327
+ readonly _tag: "Conflict";
1326
1328
  } | {
1327
1329
  readonly _tag: "Connected";
1328
1330
  readonly grant: {
@@ -1354,7 +1356,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1354
1356
  readonly resources: readonly string[];
1355
1357
  readonly retention: "access-and-refresh" | "access-only";
1356
1358
  readonly maximumAccessLifetimeMillis: number;
1357
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1359
+ readonly maximumRefreshLifetimeMillis?: number;
1358
1360
  readonly refreshAheadMillis: number;
1359
1361
  readonly refresh: "confidential" | "rotating" | "unsupported";
1360
1362
  readonly revocation: "cohort" | "unsupported";
@@ -1367,22 +1369,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1367
1369
  readonly metadata: {
1368
1370
  readonly scopes: readonly string[];
1369
1371
  readonly resources: readonly string[];
1370
- readonly accessExpiresAtMillis?: number | undefined;
1371
- readonly refreshExpiresAtMillis?: number | undefined;
1372
+ readonly accessExpiresAtMillis?: number;
1373
+ readonly refreshExpiresAtMillis?: number;
1372
1374
  readonly useUntilMillis: number;
1373
- readonly refreshUseUntilMillis?: number | undefined;
1375
+ readonly refreshUseUntilMillis?: number;
1374
1376
  readonly obtainedAtMillis: number;
1375
1377
  readonly profile?: {
1376
- readonly displayName?: string | undefined;
1377
- readonly handle?: string | undefined;
1378
- readonly avatarUrl?: string | undefined;
1379
- readonly profileUrl?: string | undefined;
1380
- readonly email?: string | undefined;
1381
- readonly emailVerified?: boolean | undefined;
1378
+ readonly displayName?: string;
1379
+ readonly handle?: string;
1380
+ readonly avatarUrl?: string;
1381
+ readonly profileUrl?: string;
1382
+ readonly email?: string;
1383
+ readonly emailVerified?: boolean;
1382
1384
  readonly providerData?: {
1383
1385
  readonly [x: string]: import("effect/Schema").Json;
1384
- } | undefined;
1385
- } | undefined;
1386
+ };
1387
+ };
1386
1388
  };
1387
1389
  };
1388
1390
  readonly sealed: {
@@ -1392,8 +1394,6 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1392
1394
  readonly ciphertext: import("effect/Redacted").Redacted<string>;
1393
1395
  };
1394
1396
  };
1395
- } | {
1396
- readonly _tag: "Conflict";
1397
1397
  } | {
1398
1398
  readonly _tag: "Busy";
1399
1399
  }, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
@@ -1409,22 +1409,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1409
1409
  readonly profileKey: string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">;
1410
1410
  readonly status: "Active" | "Disconnected" | "ReauthorizationRequired" | "Refreshing";
1411
1411
  readonly scopes: readonly string[];
1412
- readonly accessExpiresAtMillis?: number | undefined;
1412
+ readonly accessExpiresAtMillis?: number;
1413
1413
  readonly useUntilMillis: number;
1414
1414
  readonly profile?: {
1415
- readonly displayName?: string | undefined;
1416
- readonly handle?: string | undefined;
1417
- readonly avatarUrl?: string | undefined;
1418
- readonly profileUrl?: string | undefined;
1419
- readonly email?: string | undefined;
1420
- readonly emailVerified?: boolean | undefined;
1415
+ readonly displayName?: string;
1416
+ readonly handle?: string;
1417
+ readonly avatarUrl?: string;
1418
+ readonly profileUrl?: string;
1419
+ readonly email?: string;
1420
+ readonly emailVerified?: boolean;
1421
1421
  readonly providerData?: {
1422
1422
  readonly [x: string]: import("effect/Schema").Json;
1423
- } | undefined;
1424
- } | undefined;
1423
+ };
1424
+ };
1425
1425
  readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
1426
1426
  }[];
1427
- readonly cursor?: string | undefined;
1427
+ readonly cursor?: string;
1428
1428
  }, import("@yielded/auth/OAuth").OAuthUnavailable>;
1429
1429
  readonly inspectDisconnect: (input: {
1430
1430
  readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
@@ -1467,7 +1467,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1467
1467
  readonly resources: readonly string[];
1468
1468
  readonly retention: "access-and-refresh" | "access-only";
1469
1469
  readonly maximumAccessLifetimeMillis: number;
1470
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1470
+ readonly maximumRefreshLifetimeMillis?: number;
1471
1471
  readonly refreshAheadMillis: number;
1472
1472
  readonly refresh: "confidential" | "rotating" | "unsupported";
1473
1473
  readonly revocation: "cohort" | "unsupported";
@@ -1480,22 +1480,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1480
1480
  readonly metadata: {
1481
1481
  readonly scopes: readonly string[];
1482
1482
  readonly resources: readonly string[];
1483
- readonly accessExpiresAtMillis?: number | undefined;
1484
- readonly refreshExpiresAtMillis?: number | undefined;
1483
+ readonly accessExpiresAtMillis?: number;
1484
+ readonly refreshExpiresAtMillis?: number;
1485
1485
  readonly useUntilMillis: number;
1486
- readonly refreshUseUntilMillis?: number | undefined;
1486
+ readonly refreshUseUntilMillis?: number;
1487
1487
  readonly obtainedAtMillis: number;
1488
1488
  readonly profile?: {
1489
- readonly displayName?: string | undefined;
1490
- readonly handle?: string | undefined;
1491
- readonly avatarUrl?: string | undefined;
1492
- readonly profileUrl?: string | undefined;
1493
- readonly email?: string | undefined;
1494
- readonly emailVerified?: boolean | undefined;
1489
+ readonly displayName?: string;
1490
+ readonly handle?: string;
1491
+ readonly avatarUrl?: string;
1492
+ readonly profileUrl?: string;
1493
+ readonly email?: string;
1494
+ readonly emailVerified?: boolean;
1495
1495
  readonly providerData?: {
1496
1496
  readonly [x: string]: import("effect/Schema").Json;
1497
- } | undefined;
1498
- } | undefined;
1497
+ };
1498
+ };
1499
1499
  };
1500
1500
  };
1501
1501
  readonly sealed?: {
@@ -1503,7 +1503,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1503
1503
  readonly keyId: string;
1504
1504
  readonly nonce: string;
1505
1505
  readonly ciphertext: import("effect/Redacted").Redacted<string>;
1506
- } | undefined;
1506
+ };
1507
1507
  };
1508
1508
  readonly revision: {
1509
1509
  readonly subjectId: string & import("effect/Brand").Brand<"effect-auth/SubjectId">;
@@ -1580,7 +1580,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1580
1580
  readonly resources: readonly string[];
1581
1581
  readonly retention: "access-and-refresh" | "access-only";
1582
1582
  readonly maximumAccessLifetimeMillis: number;
1583
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1583
+ readonly maximumRefreshLifetimeMillis?: number;
1584
1584
  readonly refreshAheadMillis: number;
1585
1585
  readonly refresh: "confidential" | "rotating" | "unsupported";
1586
1586
  readonly revocation: "cohort" | "unsupported";
@@ -1593,22 +1593,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1593
1593
  readonly metadata: {
1594
1594
  readonly scopes: readonly string[];
1595
1595
  readonly resources: readonly string[];
1596
- readonly accessExpiresAtMillis?: number | undefined;
1597
- readonly refreshExpiresAtMillis?: number | undefined;
1596
+ readonly accessExpiresAtMillis?: number;
1597
+ readonly refreshExpiresAtMillis?: number;
1598
1598
  readonly useUntilMillis: number;
1599
- readonly refreshUseUntilMillis?: number | undefined;
1599
+ readonly refreshUseUntilMillis?: number;
1600
1600
  readonly obtainedAtMillis: number;
1601
1601
  readonly profile?: {
1602
- readonly displayName?: string | undefined;
1603
- readonly handle?: string | undefined;
1604
- readonly avatarUrl?: string | undefined;
1605
- readonly profileUrl?: string | undefined;
1606
- readonly email?: string | undefined;
1607
- readonly emailVerified?: boolean | undefined;
1602
+ readonly displayName?: string;
1603
+ readonly handle?: string;
1604
+ readonly avatarUrl?: string;
1605
+ readonly profileUrl?: string;
1606
+ readonly email?: string;
1607
+ readonly emailVerified?: boolean;
1608
1608
  readonly providerData?: {
1609
1609
  readonly [x: string]: import("effect/Schema").Json;
1610
- } | undefined;
1611
- } | undefined;
1610
+ };
1611
+ };
1612
1612
  };
1613
1613
  };
1614
1614
  readonly sealed: {
@@ -1665,7 +1665,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1665
1665
  readonly resources: readonly string[];
1666
1666
  readonly retention: "access-and-refresh" | "access-only";
1667
1667
  readonly maximumAccessLifetimeMillis: number;
1668
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1668
+ readonly maximumRefreshLifetimeMillis?: number;
1669
1669
  readonly refreshAheadMillis: number;
1670
1670
  readonly refresh: "confidential" | "rotating" | "unsupported";
1671
1671
  readonly revocation: "cohort" | "unsupported";
@@ -1678,22 +1678,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1678
1678
  readonly metadata: {
1679
1679
  readonly scopes: readonly string[];
1680
1680
  readonly resources: readonly string[];
1681
- readonly accessExpiresAtMillis?: number | undefined;
1682
- readonly refreshExpiresAtMillis?: number | undefined;
1681
+ readonly accessExpiresAtMillis?: number;
1682
+ readonly refreshExpiresAtMillis?: number;
1683
1683
  readonly useUntilMillis: number;
1684
- readonly refreshUseUntilMillis?: number | undefined;
1684
+ readonly refreshUseUntilMillis?: number;
1685
1685
  readonly obtainedAtMillis: number;
1686
1686
  readonly profile?: {
1687
- readonly displayName?: string | undefined;
1688
- readonly handle?: string | undefined;
1689
- readonly avatarUrl?: string | undefined;
1690
- readonly profileUrl?: string | undefined;
1691
- readonly email?: string | undefined;
1692
- readonly emailVerified?: boolean | undefined;
1687
+ readonly displayName?: string;
1688
+ readonly handle?: string;
1689
+ readonly avatarUrl?: string;
1690
+ readonly profileUrl?: string;
1691
+ readonly email?: string;
1692
+ readonly emailVerified?: boolean;
1693
1693
  readonly providerData?: {
1694
1694
  readonly [x: string]: import("effect/Schema").Json;
1695
- } | undefined;
1696
- } | undefined;
1695
+ };
1696
+ };
1697
1697
  };
1698
1698
  };
1699
1699
  readonly sealed: {
@@ -1749,7 +1749,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1749
1749
  readonly resources: readonly string[];
1750
1750
  readonly retention: "access-and-refresh" | "access-only";
1751
1751
  readonly maximumAccessLifetimeMillis: number;
1752
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1752
+ readonly maximumRefreshLifetimeMillis?: number;
1753
1753
  readonly refreshAheadMillis: number;
1754
1754
  readonly refresh: "confidential" | "rotating" | "unsupported";
1755
1755
  readonly revocation: "cohort" | "unsupported";
@@ -1762,22 +1762,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1762
1762
  readonly metadata: {
1763
1763
  readonly scopes: readonly string[];
1764
1764
  readonly resources: readonly string[];
1765
- readonly accessExpiresAtMillis?: number | undefined;
1766
- readonly refreshExpiresAtMillis?: number | undefined;
1765
+ readonly accessExpiresAtMillis?: number;
1766
+ readonly refreshExpiresAtMillis?: number;
1767
1767
  readonly useUntilMillis: number;
1768
- readonly refreshUseUntilMillis?: number | undefined;
1768
+ readonly refreshUseUntilMillis?: number;
1769
1769
  readonly obtainedAtMillis: number;
1770
1770
  readonly profile?: {
1771
- readonly displayName?: string | undefined;
1772
- readonly handle?: string | undefined;
1773
- readonly avatarUrl?: string | undefined;
1774
- readonly profileUrl?: string | undefined;
1775
- readonly email?: string | undefined;
1776
- readonly emailVerified?: boolean | undefined;
1771
+ readonly displayName?: string;
1772
+ readonly handle?: string;
1773
+ readonly avatarUrl?: string;
1774
+ readonly profileUrl?: string;
1775
+ readonly email?: string;
1776
+ readonly emailVerified?: boolean;
1777
1777
  readonly providerData?: {
1778
1778
  readonly [x: string]: import("effect/Schema").Json;
1779
- } | undefined;
1780
- } | undefined;
1779
+ };
1780
+ };
1781
1781
  };
1782
1782
  };
1783
1783
  readonly sealed: {
@@ -1868,7 +1868,7 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1868
1868
  readonly resources: readonly string[];
1869
1869
  readonly retention: "access-and-refresh" | "access-only";
1870
1870
  readonly maximumAccessLifetimeMillis: number;
1871
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1871
+ readonly maximumRefreshLifetimeMillis?: number;
1872
1872
  readonly refreshAheadMillis: number;
1873
1873
  readonly refresh: "confidential" | "rotating" | "unsupported";
1874
1874
  readonly revocation: "cohort" | "unsupported";
@@ -1881,22 +1881,22 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1881
1881
  readonly metadata: {
1882
1882
  readonly scopes: readonly string[];
1883
1883
  readonly resources: readonly string[];
1884
- readonly accessExpiresAtMillis?: number | undefined;
1885
- readonly refreshExpiresAtMillis?: number | undefined;
1884
+ readonly accessExpiresAtMillis?: number;
1885
+ readonly refreshExpiresAtMillis?: number;
1886
1886
  readonly useUntilMillis: number;
1887
- readonly refreshUseUntilMillis?: number | undefined;
1887
+ readonly refreshUseUntilMillis?: number;
1888
1888
  readonly obtainedAtMillis: number;
1889
1889
  readonly profile?: {
1890
- readonly displayName?: string | undefined;
1891
- readonly handle?: string | undefined;
1892
- readonly avatarUrl?: string | undefined;
1893
- readonly profileUrl?: string | undefined;
1894
- readonly email?: string | undefined;
1895
- readonly emailVerified?: boolean | undefined;
1890
+ readonly displayName?: string;
1891
+ readonly handle?: string;
1892
+ readonly avatarUrl?: string;
1893
+ readonly profileUrl?: string;
1894
+ readonly email?: string;
1895
+ readonly emailVerified?: boolean;
1896
1896
  readonly providerData?: {
1897
1897
  readonly [x: string]: import("effect/Schema").Json;
1898
- } | undefined;
1899
- } | undefined;
1898
+ };
1899
+ };
1900
1900
  };
1901
1901
  };
1902
1902
  };