@yielded/auth-persistence-drizzle 0.1.0-beta.16 → 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/Mysql2.d.mts CHANGED
@@ -91,11 +91,11 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
91
91
  readonly resources: readonly string[];
92
92
  readonly retention: "access-and-refresh" | "access-only";
93
93
  readonly maximumAccessLifetimeMillis: number;
94
- readonly maximumRefreshLifetimeMillis?: number | undefined;
94
+ readonly maximumRefreshLifetimeMillis?: number;
95
95
  readonly refreshAheadMillis: number;
96
96
  readonly refresh: "confidential" | "rotating" | "unsupported";
97
97
  readonly revocation: "cohort" | "unsupported";
98
- } | undefined;
98
+ };
99
99
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
100
100
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
101
101
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -157,11 +157,11 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
157
157
  readonly resources: readonly string[];
158
158
  readonly retention: "access-and-refresh" | "access-only";
159
159
  readonly maximumAccessLifetimeMillis: number;
160
- readonly maximumRefreshLifetimeMillis?: number | undefined;
160
+ readonly maximumRefreshLifetimeMillis?: number;
161
161
  readonly refreshAheadMillis: number;
162
162
  readonly refresh: "confidential" | "rotating" | "unsupported";
163
163
  readonly revocation: "cohort" | "unsupported";
164
- } | undefined;
164
+ };
165
165
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
166
166
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
167
167
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -201,12 +201,10 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
201
201
  readonly nowMillis: number;
202
202
  }, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
203
203
  readonly _tag: "Rejected";
204
- } | {
205
- readonly _tag: "Cancelled";
206
204
  } | {
207
205
  readonly _tag: "Ambiguous";
208
206
  } | {
209
- readonly _tag: "Conflict";
207
+ readonly _tag: "Cancelled";
210
208
  } | {
211
209
  readonly _tag: "Linked";
212
210
  readonly credential: {
@@ -228,6 +226,8 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
228
226
  };
229
227
  };
230
228
  readonly changed: boolean;
229
+ } | {
230
+ readonly _tag: "Conflict";
231
231
  }, A>) => import("effect/Effect").Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
232
232
  readonly inspectUnlink: (input: {
233
233
  readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
@@ -574,10 +574,12 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
574
574
  readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
575
575
  }, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
576
576
  readonly _tag: "Rejected";
577
+ } | {
578
+ readonly _tag: "Ambiguous";
577
579
  } | {
578
580
  readonly _tag: "Cancelled";
579
581
  } | {
580
- readonly _tag: "Ambiguous";
582
+ readonly _tag: "Conflict";
581
583
  } | {
582
584
  readonly _tag: "Connected";
583
585
  readonly grant: {
@@ -609,7 +611,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
609
611
  readonly resources: readonly string[];
610
612
  readonly retention: "access-and-refresh" | "access-only";
611
613
  readonly maximumAccessLifetimeMillis: number;
612
- readonly maximumRefreshLifetimeMillis?: number | undefined;
614
+ readonly maximumRefreshLifetimeMillis?: number;
613
615
  readonly refreshAheadMillis: number;
614
616
  readonly refresh: "confidential" | "rotating" | "unsupported";
615
617
  readonly revocation: "cohort" | "unsupported";
@@ -622,22 +624,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
622
624
  readonly metadata: {
623
625
  readonly scopes: readonly string[];
624
626
  readonly resources: readonly string[];
625
- readonly accessExpiresAtMillis?: number | undefined;
626
- readonly refreshExpiresAtMillis?: number | undefined;
627
+ readonly accessExpiresAtMillis?: number;
628
+ readonly refreshExpiresAtMillis?: number;
627
629
  readonly useUntilMillis: number;
628
- readonly refreshUseUntilMillis?: number | undefined;
630
+ readonly refreshUseUntilMillis?: number;
629
631
  readonly obtainedAtMillis: number;
630
632
  readonly profile?: {
631
- readonly displayName?: string | undefined;
632
- readonly handle?: string | undefined;
633
- readonly avatarUrl?: string | undefined;
634
- readonly profileUrl?: string | undefined;
635
- readonly email?: string | undefined;
636
- readonly emailVerified?: boolean | undefined;
633
+ readonly displayName?: string;
634
+ readonly handle?: string;
635
+ readonly avatarUrl?: string;
636
+ readonly profileUrl?: string;
637
+ readonly email?: string;
638
+ readonly emailVerified?: boolean;
637
639
  readonly providerData?: {
638
640
  readonly [x: string]: import("effect/Schema").Json;
639
- } | undefined;
640
- } | undefined;
641
+ };
642
+ };
641
643
  };
642
644
  };
643
645
  readonly sealed: {
@@ -647,8 +649,6 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
647
649
  readonly ciphertext: import("effect/Redacted").Redacted<string>;
648
650
  };
649
651
  };
650
- } | {
651
- readonly _tag: "Conflict";
652
652
  } | {
653
653
  readonly _tag: "Busy";
654
654
  }, A>) => import("effect/Effect").Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
@@ -690,11 +690,11 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
690
690
  readonly resources: readonly string[];
691
691
  readonly retention: "access-and-refresh" | "access-only";
692
692
  readonly maximumAccessLifetimeMillis: number;
693
- readonly maximumRefreshLifetimeMillis?: number | undefined;
693
+ readonly maximumRefreshLifetimeMillis?: number;
694
694
  readonly refreshAheadMillis: number;
695
695
  readonly refresh: "confidential" | "rotating" | "unsupported";
696
696
  readonly revocation: "cohort" | "unsupported";
697
- } | undefined;
697
+ };
698
698
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
699
699
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
700
700
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -721,7 +721,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
721
721
  readonly resources: readonly string[];
722
722
  readonly retention: "access-and-refresh" | "access-only";
723
723
  readonly maximumAccessLifetimeMillis: number;
724
- readonly maximumRefreshLifetimeMillis?: number | undefined;
724
+ readonly maximumRefreshLifetimeMillis?: number;
725
725
  readonly refreshAheadMillis: number;
726
726
  readonly refresh: "confidential" | "rotating" | "unsupported";
727
727
  readonly revocation: "cohort" | "unsupported";
@@ -755,13 +755,13 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
755
755
  readonly resources: readonly string[];
756
756
  readonly retention: "access-and-refresh" | "access-only";
757
757
  readonly maximumAccessLifetimeMillis: number;
758
- readonly maximumRefreshLifetimeMillis?: number | undefined;
758
+ readonly maximumRefreshLifetimeMillis?: number;
759
759
  readonly refreshAheadMillis: number;
760
760
  readonly refresh: "confidential" | "rotating" | "unsupported";
761
761
  readonly revocation: "cohort" | "unsupported";
762
762
  };
763
763
  };
764
- } | undefined;
764
+ };
765
765
  readonly maximumEvidenceAgeMillis: number;
766
766
  };
767
767
  readonly sealed: {
@@ -803,11 +803,11 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
803
803
  readonly resources: readonly string[];
804
804
  readonly retention: "access-and-refresh" | "access-only";
805
805
  readonly maximumAccessLifetimeMillis: number;
806
- readonly maximumRefreshLifetimeMillis?: number | undefined;
806
+ readonly maximumRefreshLifetimeMillis?: number;
807
807
  readonly refreshAheadMillis: number;
808
808
  readonly refresh: "confidential" | "rotating" | "unsupported";
809
809
  readonly revocation: "cohort" | "unsupported";
810
- } | undefined;
810
+ };
811
811
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
812
812
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
813
813
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -834,7 +834,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
834
834
  readonly resources: readonly string[];
835
835
  readonly retention: "access-and-refresh" | "access-only";
836
836
  readonly maximumAccessLifetimeMillis: number;
837
- readonly maximumRefreshLifetimeMillis?: number | undefined;
837
+ readonly maximumRefreshLifetimeMillis?: number;
838
838
  readonly refreshAheadMillis: number;
839
839
  readonly refresh: "confidential" | "rotating" | "unsupported";
840
840
  readonly revocation: "cohort" | "unsupported";
@@ -868,13 +868,13 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
868
868
  readonly resources: readonly string[];
869
869
  readonly retention: "access-and-refresh" | "access-only";
870
870
  readonly maximumAccessLifetimeMillis: number;
871
- readonly maximumRefreshLifetimeMillis?: number | undefined;
871
+ readonly maximumRefreshLifetimeMillis?: number;
872
872
  readonly refreshAheadMillis: number;
873
873
  readonly refresh: "confidential" | "rotating" | "unsupported";
874
874
  readonly revocation: "cohort" | "unsupported";
875
875
  };
876
876
  };
877
- } | undefined;
877
+ };
878
878
  readonly maximumEvidenceAgeMillis: number;
879
879
  };
880
880
  readonly sealed: {
@@ -921,11 +921,11 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
921
921
  readonly resources: readonly string[];
922
922
  readonly retention: "access-and-refresh" | "access-only";
923
923
  readonly maximumAccessLifetimeMillis: number;
924
- readonly maximumRefreshLifetimeMillis?: number | undefined;
924
+ readonly maximumRefreshLifetimeMillis?: number;
925
925
  readonly refreshAheadMillis: number;
926
926
  readonly refresh: "confidential" | "rotating" | "unsupported";
927
927
  readonly revocation: "cohort" | "unsupported";
928
- } | undefined;
928
+ };
929
929
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
930
930
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
931
931
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -952,7 +952,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
952
952
  readonly resources: readonly string[];
953
953
  readonly retention: "access-and-refresh" | "access-only";
954
954
  readonly maximumAccessLifetimeMillis: number;
955
- readonly maximumRefreshLifetimeMillis?: number | undefined;
955
+ readonly maximumRefreshLifetimeMillis?: number;
956
956
  readonly refreshAheadMillis: number;
957
957
  readonly refresh: "confidential" | "rotating" | "unsupported";
958
958
  readonly revocation: "cohort" | "unsupported";
@@ -986,13 +986,13 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
986
986
  readonly resources: readonly string[];
987
987
  readonly retention: "access-and-refresh" | "access-only";
988
988
  readonly maximumAccessLifetimeMillis: number;
989
- readonly maximumRefreshLifetimeMillis?: number | undefined;
989
+ readonly maximumRefreshLifetimeMillis?: number;
990
990
  readonly refreshAheadMillis: number;
991
991
  readonly refresh: "confidential" | "rotating" | "unsupported";
992
992
  readonly revocation: "cohort" | "unsupported";
993
993
  };
994
994
  };
995
- } | undefined;
995
+ };
996
996
  readonly maximumEvidenceAgeMillis: number;
997
997
  };
998
998
  readonly sealed: {
@@ -1034,10 +1034,12 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1034
1034
  readonly nowMillis: number;
1035
1035
  }, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
1036
1036
  readonly _tag: "Rejected";
1037
+ } | {
1038
+ readonly _tag: "Ambiguous";
1037
1039
  } | {
1038
1040
  readonly _tag: "Cancelled";
1039
1041
  } | {
1040
- readonly _tag: "Ambiguous";
1042
+ readonly _tag: "Conflict";
1041
1043
  } | {
1042
1044
  readonly _tag: "Connected";
1043
1045
  readonly grant: {
@@ -1069,7 +1071,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1069
1071
  readonly resources: readonly string[];
1070
1072
  readonly retention: "access-and-refresh" | "access-only";
1071
1073
  readonly maximumAccessLifetimeMillis: number;
1072
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1074
+ readonly maximumRefreshLifetimeMillis?: number;
1073
1075
  readonly refreshAheadMillis: number;
1074
1076
  readonly refresh: "confidential" | "rotating" | "unsupported";
1075
1077
  readonly revocation: "cohort" | "unsupported";
@@ -1082,22 +1084,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1082
1084
  readonly metadata: {
1083
1085
  readonly scopes: readonly string[];
1084
1086
  readonly resources: readonly string[];
1085
- readonly accessExpiresAtMillis?: number | undefined;
1086
- readonly refreshExpiresAtMillis?: number | undefined;
1087
+ readonly accessExpiresAtMillis?: number;
1088
+ readonly refreshExpiresAtMillis?: number;
1087
1089
  readonly useUntilMillis: number;
1088
- readonly refreshUseUntilMillis?: number | undefined;
1090
+ readonly refreshUseUntilMillis?: number;
1089
1091
  readonly obtainedAtMillis: number;
1090
1092
  readonly profile?: {
1091
- readonly displayName?: string | undefined;
1092
- readonly handle?: string | undefined;
1093
- readonly avatarUrl?: string | undefined;
1094
- readonly profileUrl?: string | undefined;
1095
- readonly email?: string | undefined;
1096
- readonly emailVerified?: boolean | undefined;
1093
+ readonly displayName?: string;
1094
+ readonly handle?: string;
1095
+ readonly avatarUrl?: string;
1096
+ readonly profileUrl?: string;
1097
+ readonly email?: string;
1098
+ readonly emailVerified?: boolean;
1097
1099
  readonly providerData?: {
1098
1100
  readonly [x: string]: import("effect/Schema").Json;
1099
- } | undefined;
1100
- } | undefined;
1101
+ };
1102
+ };
1101
1103
  };
1102
1104
  };
1103
1105
  readonly sealed: {
@@ -1107,8 +1109,6 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1107
1109
  readonly ciphertext: import("effect/Redacted").Redacted<string>;
1108
1110
  };
1109
1111
  };
1110
- } | {
1111
- readonly _tag: "Conflict";
1112
1112
  } | {
1113
1113
  readonly _tag: "Busy";
1114
1114
  }, A>) => import("effect/Effect").Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
@@ -1124,22 +1124,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1124
1124
  readonly profileKey: string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">;
1125
1125
  readonly status: "Active" | "Disconnected" | "ReauthorizationRequired" | "Refreshing";
1126
1126
  readonly scopes: readonly string[];
1127
- readonly accessExpiresAtMillis?: number | undefined;
1127
+ readonly accessExpiresAtMillis?: number;
1128
1128
  readonly useUntilMillis: number;
1129
1129
  readonly profile?: {
1130
- readonly displayName?: string | undefined;
1131
- readonly handle?: string | undefined;
1132
- readonly avatarUrl?: string | undefined;
1133
- readonly profileUrl?: string | undefined;
1134
- readonly email?: string | undefined;
1135
- readonly emailVerified?: boolean | undefined;
1130
+ readonly displayName?: string;
1131
+ readonly handle?: string;
1132
+ readonly avatarUrl?: string;
1133
+ readonly profileUrl?: string;
1134
+ readonly email?: string;
1135
+ readonly emailVerified?: boolean;
1136
1136
  readonly providerData?: {
1137
1137
  readonly [x: string]: import("effect/Schema").Json;
1138
- } | undefined;
1139
- } | undefined;
1138
+ };
1139
+ };
1140
1140
  readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
1141
1141
  }[];
1142
- readonly cursor?: string | undefined;
1142
+ readonly cursor?: string;
1143
1143
  }, import("@yielded/auth/OAuth").OAuthUnavailable>;
1144
1144
  readonly inspectDisconnect: (input: {
1145
1145
  readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
@@ -1182,7 +1182,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1182
1182
  readonly resources: readonly string[];
1183
1183
  readonly retention: "access-and-refresh" | "access-only";
1184
1184
  readonly maximumAccessLifetimeMillis: number;
1185
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1185
+ readonly maximumRefreshLifetimeMillis?: number;
1186
1186
  readonly refreshAheadMillis: number;
1187
1187
  readonly refresh: "confidential" | "rotating" | "unsupported";
1188
1188
  readonly revocation: "cohort" | "unsupported";
@@ -1195,22 +1195,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1195
1195
  readonly metadata: {
1196
1196
  readonly scopes: readonly string[];
1197
1197
  readonly resources: readonly string[];
1198
- readonly accessExpiresAtMillis?: number | undefined;
1199
- readonly refreshExpiresAtMillis?: number | undefined;
1198
+ readonly accessExpiresAtMillis?: number;
1199
+ readonly refreshExpiresAtMillis?: number;
1200
1200
  readonly useUntilMillis: number;
1201
- readonly refreshUseUntilMillis?: number | undefined;
1201
+ readonly refreshUseUntilMillis?: number;
1202
1202
  readonly obtainedAtMillis: number;
1203
1203
  readonly profile?: {
1204
- readonly displayName?: string | undefined;
1205
- readonly handle?: string | undefined;
1206
- readonly avatarUrl?: string | undefined;
1207
- readonly profileUrl?: string | undefined;
1208
- readonly email?: string | undefined;
1209
- readonly emailVerified?: boolean | undefined;
1204
+ readonly displayName?: string;
1205
+ readonly handle?: string;
1206
+ readonly avatarUrl?: string;
1207
+ readonly profileUrl?: string;
1208
+ readonly email?: string;
1209
+ readonly emailVerified?: boolean;
1210
1210
  readonly providerData?: {
1211
1211
  readonly [x: string]: import("effect/Schema").Json;
1212
- } | undefined;
1213
- } | undefined;
1212
+ };
1213
+ };
1214
1214
  };
1215
1215
  };
1216
1216
  readonly sealed?: {
@@ -1218,7 +1218,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1218
1218
  readonly keyId: string;
1219
1219
  readonly nonce: string;
1220
1220
  readonly ciphertext: import("effect/Redacted").Redacted<string>;
1221
- } | undefined;
1221
+ };
1222
1222
  };
1223
1223
  readonly revision: {
1224
1224
  readonly subjectId: string & import("effect/Brand").Brand<"effect-auth/SubjectId">;
@@ -1295,7 +1295,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1295
1295
  readonly resources: readonly string[];
1296
1296
  readonly retention: "access-and-refresh" | "access-only";
1297
1297
  readonly maximumAccessLifetimeMillis: number;
1298
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1298
+ readonly maximumRefreshLifetimeMillis?: number;
1299
1299
  readonly refreshAheadMillis: number;
1300
1300
  readonly refresh: "confidential" | "rotating" | "unsupported";
1301
1301
  readonly revocation: "cohort" | "unsupported";
@@ -1308,22 +1308,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1308
1308
  readonly metadata: {
1309
1309
  readonly scopes: readonly string[];
1310
1310
  readonly resources: readonly string[];
1311
- readonly accessExpiresAtMillis?: number | undefined;
1312
- readonly refreshExpiresAtMillis?: number | undefined;
1311
+ readonly accessExpiresAtMillis?: number;
1312
+ readonly refreshExpiresAtMillis?: number;
1313
1313
  readonly useUntilMillis: number;
1314
- readonly refreshUseUntilMillis?: number | undefined;
1314
+ readonly refreshUseUntilMillis?: number;
1315
1315
  readonly obtainedAtMillis: number;
1316
1316
  readonly profile?: {
1317
- readonly displayName?: string | undefined;
1318
- readonly handle?: string | undefined;
1319
- readonly avatarUrl?: string | undefined;
1320
- readonly profileUrl?: string | undefined;
1321
- readonly email?: string | undefined;
1322
- readonly emailVerified?: boolean | undefined;
1317
+ readonly displayName?: string;
1318
+ readonly handle?: string;
1319
+ readonly avatarUrl?: string;
1320
+ readonly profileUrl?: string;
1321
+ readonly email?: string;
1322
+ readonly emailVerified?: boolean;
1323
1323
  readonly providerData?: {
1324
1324
  readonly [x: string]: import("effect/Schema").Json;
1325
- } | undefined;
1326
- } | undefined;
1325
+ };
1326
+ };
1327
1327
  };
1328
1328
  };
1329
1329
  readonly sealed: {
@@ -1380,7 +1380,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1380
1380
  readonly resources: readonly string[];
1381
1381
  readonly retention: "access-and-refresh" | "access-only";
1382
1382
  readonly maximumAccessLifetimeMillis: number;
1383
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1383
+ readonly maximumRefreshLifetimeMillis?: number;
1384
1384
  readonly refreshAheadMillis: number;
1385
1385
  readonly refresh: "confidential" | "rotating" | "unsupported";
1386
1386
  readonly revocation: "cohort" | "unsupported";
@@ -1393,22 +1393,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1393
1393
  readonly metadata: {
1394
1394
  readonly scopes: readonly string[];
1395
1395
  readonly resources: readonly string[];
1396
- readonly accessExpiresAtMillis?: number | undefined;
1397
- readonly refreshExpiresAtMillis?: number | undefined;
1396
+ readonly accessExpiresAtMillis?: number;
1397
+ readonly refreshExpiresAtMillis?: number;
1398
1398
  readonly useUntilMillis: number;
1399
- readonly refreshUseUntilMillis?: number | undefined;
1399
+ readonly refreshUseUntilMillis?: number;
1400
1400
  readonly obtainedAtMillis: number;
1401
1401
  readonly profile?: {
1402
- readonly displayName?: string | undefined;
1403
- readonly handle?: string | undefined;
1404
- readonly avatarUrl?: string | undefined;
1405
- readonly profileUrl?: string | undefined;
1406
- readonly email?: string | undefined;
1407
- readonly emailVerified?: boolean | undefined;
1402
+ readonly displayName?: string;
1403
+ readonly handle?: string;
1404
+ readonly avatarUrl?: string;
1405
+ readonly profileUrl?: string;
1406
+ readonly email?: string;
1407
+ readonly emailVerified?: boolean;
1408
1408
  readonly providerData?: {
1409
1409
  readonly [x: string]: import("effect/Schema").Json;
1410
- } | undefined;
1411
- } | undefined;
1410
+ };
1411
+ };
1412
1412
  };
1413
1413
  };
1414
1414
  readonly sealed: {
@@ -1464,7 +1464,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1464
1464
  readonly resources: readonly string[];
1465
1465
  readonly retention: "access-and-refresh" | "access-only";
1466
1466
  readonly maximumAccessLifetimeMillis: number;
1467
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1467
+ readonly maximumRefreshLifetimeMillis?: number;
1468
1468
  readonly refreshAheadMillis: number;
1469
1469
  readonly refresh: "confidential" | "rotating" | "unsupported";
1470
1470
  readonly revocation: "cohort" | "unsupported";
@@ -1477,22 +1477,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1477
1477
  readonly metadata: {
1478
1478
  readonly scopes: readonly string[];
1479
1479
  readonly resources: readonly string[];
1480
- readonly accessExpiresAtMillis?: number | undefined;
1481
- readonly refreshExpiresAtMillis?: number | undefined;
1480
+ readonly accessExpiresAtMillis?: number;
1481
+ readonly refreshExpiresAtMillis?: number;
1482
1482
  readonly useUntilMillis: number;
1483
- readonly refreshUseUntilMillis?: number | undefined;
1483
+ readonly refreshUseUntilMillis?: number;
1484
1484
  readonly obtainedAtMillis: number;
1485
1485
  readonly profile?: {
1486
- readonly displayName?: string | undefined;
1487
- readonly handle?: string | undefined;
1488
- readonly avatarUrl?: string | undefined;
1489
- readonly profileUrl?: string | undefined;
1490
- readonly email?: string | undefined;
1491
- readonly emailVerified?: boolean | undefined;
1486
+ readonly displayName?: string;
1487
+ readonly handle?: string;
1488
+ readonly avatarUrl?: string;
1489
+ readonly profileUrl?: string;
1490
+ readonly email?: string;
1491
+ readonly emailVerified?: boolean;
1492
1492
  readonly providerData?: {
1493
1493
  readonly [x: string]: import("effect/Schema").Json;
1494
- } | undefined;
1495
- } | undefined;
1494
+ };
1495
+ };
1496
1496
  };
1497
1497
  };
1498
1498
  readonly sealed: {
@@ -1583,7 +1583,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1583
1583
  readonly resources: readonly string[];
1584
1584
  readonly retention: "access-and-refresh" | "access-only";
1585
1585
  readonly maximumAccessLifetimeMillis: number;
1586
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1586
+ readonly maximumRefreshLifetimeMillis?: number;
1587
1587
  readonly refreshAheadMillis: number;
1588
1588
  readonly refresh: "confidential" | "rotating" | "unsupported";
1589
1589
  readonly revocation: "cohort" | "unsupported";
@@ -1596,22 +1596,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1596
1596
  readonly metadata: {
1597
1597
  readonly scopes: readonly string[];
1598
1598
  readonly resources: readonly string[];
1599
- readonly accessExpiresAtMillis?: number | undefined;
1600
- readonly refreshExpiresAtMillis?: number | undefined;
1599
+ readonly accessExpiresAtMillis?: number;
1600
+ readonly refreshExpiresAtMillis?: number;
1601
1601
  readonly useUntilMillis: number;
1602
- readonly refreshUseUntilMillis?: number | undefined;
1602
+ readonly refreshUseUntilMillis?: number;
1603
1603
  readonly obtainedAtMillis: number;
1604
1604
  readonly profile?: {
1605
- readonly displayName?: string | undefined;
1606
- readonly handle?: string | undefined;
1607
- readonly avatarUrl?: string | undefined;
1608
- readonly profileUrl?: string | undefined;
1609
- readonly email?: string | undefined;
1610
- readonly emailVerified?: boolean | undefined;
1605
+ readonly displayName?: string;
1606
+ readonly handle?: string;
1607
+ readonly avatarUrl?: string;
1608
+ readonly profileUrl?: string;
1609
+ readonly email?: string;
1610
+ readonly emailVerified?: boolean;
1611
1611
  readonly providerData?: {
1612
1612
  readonly [x: string]: import("effect/Schema").Json;
1613
- } | undefined;
1614
- } | undefined;
1613
+ };
1614
+ };
1615
1615
  };
1616
1616
  };
1617
1617
  };