@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/D1.d.mts +116 -116
- package/dist/Libsql.d.mts +125 -125
- package/dist/Mysql2.d.mts +123 -123
- package/dist/Pglite.d.mts +123 -123
- package/dist/Postgres.d.mts +123 -123
- package/dist/SqliteBun.d.mts +125 -125
- package/dist/SqliteDo.d.mts +125 -125
- package/dist/SqliteNode.d.mts +122 -122
- package/dist/SqliteWasm.d.mts +125 -125
- package/dist/drizzle/d1-oauth.d.mts +7 -7
- 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 +102 -102
- 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/D1.d.mts
CHANGED
|
@@ -78,10 +78,12 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
78
78
|
readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
|
|
79
79
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
80
80
|
readonly _tag: "Rejected";
|
|
81
|
+
} | {
|
|
82
|
+
readonly _tag: "Cancelled";
|
|
81
83
|
} | {
|
|
82
84
|
readonly _tag: "Ambiguous";
|
|
83
85
|
} | {
|
|
84
|
-
readonly _tag: "
|
|
86
|
+
readonly _tag: "Conflict";
|
|
85
87
|
} | {
|
|
86
88
|
readonly _tag: "Connected";
|
|
87
89
|
readonly grant: {
|
|
@@ -113,7 +115,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
113
115
|
readonly resources: readonly string[];
|
|
114
116
|
readonly retention: "access-and-refresh" | "access-only";
|
|
115
117
|
readonly maximumAccessLifetimeMillis: number;
|
|
116
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
118
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
117
119
|
readonly refreshAheadMillis: number;
|
|
118
120
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
119
121
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -126,22 +128,22 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
126
128
|
readonly metadata: {
|
|
127
129
|
readonly scopes: readonly string[];
|
|
128
130
|
readonly resources: readonly string[];
|
|
129
|
-
readonly accessExpiresAtMillis?: number
|
|
130
|
-
readonly refreshExpiresAtMillis?: number
|
|
131
|
+
readonly accessExpiresAtMillis?: number;
|
|
132
|
+
readonly refreshExpiresAtMillis?: number;
|
|
131
133
|
readonly useUntilMillis: number;
|
|
132
|
-
readonly refreshUseUntilMillis?: number
|
|
134
|
+
readonly refreshUseUntilMillis?: number;
|
|
133
135
|
readonly obtainedAtMillis: number;
|
|
134
136
|
readonly profile?: {
|
|
135
|
-
readonly displayName?: string
|
|
136
|
-
readonly handle?: string
|
|
137
|
-
readonly avatarUrl?: string
|
|
138
|
-
readonly profileUrl?: string
|
|
139
|
-
readonly email?: string
|
|
140
|
-
readonly emailVerified?: boolean
|
|
137
|
+
readonly displayName?: string;
|
|
138
|
+
readonly handle?: string;
|
|
139
|
+
readonly avatarUrl?: string;
|
|
140
|
+
readonly profileUrl?: string;
|
|
141
|
+
readonly email?: string;
|
|
142
|
+
readonly emailVerified?: boolean;
|
|
141
143
|
readonly providerData?: {
|
|
142
144
|
readonly [x: string]: import("effect/Schema").Json;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
+
};
|
|
146
|
+
};
|
|
145
147
|
};
|
|
146
148
|
};
|
|
147
149
|
readonly sealed: {
|
|
@@ -151,8 +153,6 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
151
153
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
152
154
|
};
|
|
153
155
|
};
|
|
154
|
-
} | {
|
|
155
|
-
readonly _tag: "Conflict";
|
|
156
156
|
} | {
|
|
157
157
|
readonly _tag: "Busy";
|
|
158
158
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
|
@@ -194,11 +194,11 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
194
194
|
readonly resources: readonly string[];
|
|
195
195
|
readonly retention: "access-and-refresh" | "access-only";
|
|
196
196
|
readonly maximumAccessLifetimeMillis: number;
|
|
197
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
197
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
198
198
|
readonly refreshAheadMillis: number;
|
|
199
199
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
200
200
|
readonly revocation: "cohort" | "unsupported";
|
|
201
|
-
}
|
|
201
|
+
};
|
|
202
202
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
203
203
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
204
204
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -225,7 +225,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
225
225
|
readonly resources: readonly string[];
|
|
226
226
|
readonly retention: "access-and-refresh" | "access-only";
|
|
227
227
|
readonly maximumAccessLifetimeMillis: number;
|
|
228
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
228
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
229
229
|
readonly refreshAheadMillis: number;
|
|
230
230
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
231
231
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -259,13 +259,13 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
259
259
|
readonly resources: readonly string[];
|
|
260
260
|
readonly retention: "access-and-refresh" | "access-only";
|
|
261
261
|
readonly maximumAccessLifetimeMillis: number;
|
|
262
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
262
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
263
263
|
readonly refreshAheadMillis: number;
|
|
264
264
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
265
265
|
readonly revocation: "cohort" | "unsupported";
|
|
266
266
|
};
|
|
267
267
|
};
|
|
268
|
-
}
|
|
268
|
+
};
|
|
269
269
|
readonly maximumEvidenceAgeMillis: number;
|
|
270
270
|
};
|
|
271
271
|
readonly sealed: {
|
|
@@ -307,11 +307,11 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
307
307
|
readonly resources: readonly string[];
|
|
308
308
|
readonly retention: "access-and-refresh" | "access-only";
|
|
309
309
|
readonly maximumAccessLifetimeMillis: number;
|
|
310
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
310
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
311
311
|
readonly refreshAheadMillis: number;
|
|
312
312
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
313
313
|
readonly revocation: "cohort" | "unsupported";
|
|
314
|
-
}
|
|
314
|
+
};
|
|
315
315
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
316
316
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
317
317
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -338,7 +338,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
338
338
|
readonly resources: readonly string[];
|
|
339
339
|
readonly retention: "access-and-refresh" | "access-only";
|
|
340
340
|
readonly maximumAccessLifetimeMillis: number;
|
|
341
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
341
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
342
342
|
readonly refreshAheadMillis: number;
|
|
343
343
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
344
344
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -372,13 +372,13 @@ export declare const makeOAuthConnectedServices: <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
|
};
|
|
381
|
-
}
|
|
381
|
+
};
|
|
382
382
|
readonly maximumEvidenceAgeMillis: number;
|
|
383
383
|
};
|
|
384
384
|
readonly sealed: {
|
|
@@ -425,11 +425,11 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
425
425
|
readonly resources: readonly string[];
|
|
426
426
|
readonly retention: "access-and-refresh" | "access-only";
|
|
427
427
|
readonly maximumAccessLifetimeMillis: number;
|
|
428
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
428
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
429
429
|
readonly refreshAheadMillis: number;
|
|
430
430
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
431
431
|
readonly revocation: "cohort" | "unsupported";
|
|
432
|
-
}
|
|
432
|
+
};
|
|
433
433
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
434
434
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
435
435
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -456,7 +456,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
456
456
|
readonly resources: readonly string[];
|
|
457
457
|
readonly retention: "access-and-refresh" | "access-only";
|
|
458
458
|
readonly maximumAccessLifetimeMillis: number;
|
|
459
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
459
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
460
460
|
readonly refreshAheadMillis: number;
|
|
461
461
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
462
462
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -490,13 +490,13 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
490
490
|
readonly resources: readonly string[];
|
|
491
491
|
readonly retention: "access-and-refresh" | "access-only";
|
|
492
492
|
readonly maximumAccessLifetimeMillis: number;
|
|
493
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
493
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
494
494
|
readonly refreshAheadMillis: number;
|
|
495
495
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
496
496
|
readonly revocation: "cohort" | "unsupported";
|
|
497
497
|
};
|
|
498
498
|
};
|
|
499
|
-
}
|
|
499
|
+
};
|
|
500
500
|
readonly maximumEvidenceAgeMillis: number;
|
|
501
501
|
};
|
|
502
502
|
readonly sealed: {
|
|
@@ -538,10 +538,12 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
538
538
|
readonly nowMillis: number;
|
|
539
539
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
540
540
|
readonly _tag: "Rejected";
|
|
541
|
+
} | {
|
|
542
|
+
readonly _tag: "Cancelled";
|
|
541
543
|
} | {
|
|
542
544
|
readonly _tag: "Ambiguous";
|
|
543
545
|
} | {
|
|
544
|
-
readonly _tag: "
|
|
546
|
+
readonly _tag: "Conflict";
|
|
545
547
|
} | {
|
|
546
548
|
readonly _tag: "Connected";
|
|
547
549
|
readonly grant: {
|
|
@@ -573,7 +575,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
573
575
|
readonly resources: readonly string[];
|
|
574
576
|
readonly retention: "access-and-refresh" | "access-only";
|
|
575
577
|
readonly maximumAccessLifetimeMillis: number;
|
|
576
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
578
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
577
579
|
readonly refreshAheadMillis: number;
|
|
578
580
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
579
581
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -586,22 +588,22 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
586
588
|
readonly metadata: {
|
|
587
589
|
readonly scopes: readonly string[];
|
|
588
590
|
readonly resources: readonly string[];
|
|
589
|
-
readonly accessExpiresAtMillis?: number
|
|
590
|
-
readonly refreshExpiresAtMillis?: number
|
|
591
|
+
readonly accessExpiresAtMillis?: number;
|
|
592
|
+
readonly refreshExpiresAtMillis?: number;
|
|
591
593
|
readonly useUntilMillis: number;
|
|
592
|
-
readonly refreshUseUntilMillis?: number
|
|
594
|
+
readonly refreshUseUntilMillis?: number;
|
|
593
595
|
readonly obtainedAtMillis: number;
|
|
594
596
|
readonly profile?: {
|
|
595
|
-
readonly displayName?: string
|
|
596
|
-
readonly handle?: string
|
|
597
|
-
readonly avatarUrl?: string
|
|
598
|
-
readonly profileUrl?: string
|
|
599
|
-
readonly email?: string
|
|
600
|
-
readonly emailVerified?: boolean
|
|
597
|
+
readonly displayName?: string;
|
|
598
|
+
readonly handle?: string;
|
|
599
|
+
readonly avatarUrl?: string;
|
|
600
|
+
readonly profileUrl?: string;
|
|
601
|
+
readonly email?: string;
|
|
602
|
+
readonly emailVerified?: boolean;
|
|
601
603
|
readonly providerData?: {
|
|
602
604
|
readonly [x: string]: import("effect/Schema").Json;
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
+
};
|
|
606
|
+
};
|
|
605
607
|
};
|
|
606
608
|
};
|
|
607
609
|
readonly sealed: {
|
|
@@ -611,8 +613,6 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
611
613
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
612
614
|
};
|
|
613
615
|
};
|
|
614
|
-
} | {
|
|
615
|
-
readonly _tag: "Conflict";
|
|
616
616
|
} | {
|
|
617
617
|
readonly _tag: "Busy";
|
|
618
618
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
|
@@ -628,22 +628,22 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
628
628
|
readonly profileKey: string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">;
|
|
629
629
|
readonly status: "Active" | "Disconnected" | "ReauthorizationRequired" | "Refreshing";
|
|
630
630
|
readonly scopes: readonly string[];
|
|
631
|
-
readonly accessExpiresAtMillis?: number
|
|
631
|
+
readonly accessExpiresAtMillis?: number;
|
|
632
632
|
readonly useUntilMillis: number;
|
|
633
633
|
readonly profile?: {
|
|
634
|
-
readonly displayName?: string
|
|
635
|
-
readonly handle?: string
|
|
636
|
-
readonly avatarUrl?: string
|
|
637
|
-
readonly profileUrl?: string
|
|
638
|
-
readonly email?: string
|
|
639
|
-
readonly emailVerified?: boolean
|
|
634
|
+
readonly displayName?: string;
|
|
635
|
+
readonly handle?: string;
|
|
636
|
+
readonly avatarUrl?: string;
|
|
637
|
+
readonly profileUrl?: string;
|
|
638
|
+
readonly email?: string;
|
|
639
|
+
readonly emailVerified?: boolean;
|
|
640
640
|
readonly providerData?: {
|
|
641
641
|
readonly [x: string]: import("effect/Schema").Json;
|
|
642
|
-
}
|
|
643
|
-
}
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
644
|
readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
|
|
645
645
|
}[];
|
|
646
|
-
readonly cursor?: string
|
|
646
|
+
readonly cursor?: string;
|
|
647
647
|
}, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
648
648
|
readonly inspectDisconnect: (input: {
|
|
649
649
|
readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
|
|
@@ -686,7 +686,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
686
686
|
readonly resources: readonly string[];
|
|
687
687
|
readonly retention: "access-and-refresh" | "access-only";
|
|
688
688
|
readonly maximumAccessLifetimeMillis: number;
|
|
689
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
689
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
690
690
|
readonly refreshAheadMillis: number;
|
|
691
691
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
692
692
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -699,22 +699,22 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
699
699
|
readonly metadata: {
|
|
700
700
|
readonly scopes: readonly string[];
|
|
701
701
|
readonly resources: readonly string[];
|
|
702
|
-
readonly accessExpiresAtMillis?: number
|
|
703
|
-
readonly refreshExpiresAtMillis?: number
|
|
702
|
+
readonly accessExpiresAtMillis?: number;
|
|
703
|
+
readonly refreshExpiresAtMillis?: number;
|
|
704
704
|
readonly useUntilMillis: number;
|
|
705
|
-
readonly refreshUseUntilMillis?: number
|
|
705
|
+
readonly refreshUseUntilMillis?: number;
|
|
706
706
|
readonly obtainedAtMillis: number;
|
|
707
707
|
readonly profile?: {
|
|
708
|
-
readonly displayName?: string
|
|
709
|
-
readonly handle?: string
|
|
710
|
-
readonly avatarUrl?: string
|
|
711
|
-
readonly profileUrl?: string
|
|
712
|
-
readonly email?: string
|
|
713
|
-
readonly emailVerified?: boolean
|
|
708
|
+
readonly displayName?: string;
|
|
709
|
+
readonly handle?: string;
|
|
710
|
+
readonly avatarUrl?: string;
|
|
711
|
+
readonly profileUrl?: string;
|
|
712
|
+
readonly email?: string;
|
|
713
|
+
readonly emailVerified?: boolean;
|
|
714
714
|
readonly providerData?: {
|
|
715
715
|
readonly [x: string]: import("effect/Schema").Json;
|
|
716
|
-
}
|
|
717
|
-
}
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
718
|
};
|
|
719
719
|
};
|
|
720
720
|
readonly sealed?: {
|
|
@@ -722,7 +722,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
722
722
|
readonly keyId: string;
|
|
723
723
|
readonly nonce: string;
|
|
724
724
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
725
|
-
}
|
|
725
|
+
};
|
|
726
726
|
};
|
|
727
727
|
readonly revision: {
|
|
728
728
|
readonly subjectId: string & import("effect/Brand").Brand<"effect-auth/SubjectId">;
|
|
@@ -799,7 +799,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
799
799
|
readonly resources: readonly string[];
|
|
800
800
|
readonly retention: "access-and-refresh" | "access-only";
|
|
801
801
|
readonly maximumAccessLifetimeMillis: number;
|
|
802
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
802
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
803
803
|
readonly refreshAheadMillis: number;
|
|
804
804
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
805
805
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -812,22 +812,22 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
812
812
|
readonly metadata: {
|
|
813
813
|
readonly scopes: readonly string[];
|
|
814
814
|
readonly resources: readonly string[];
|
|
815
|
-
readonly accessExpiresAtMillis?: number
|
|
816
|
-
readonly refreshExpiresAtMillis?: number
|
|
815
|
+
readonly accessExpiresAtMillis?: number;
|
|
816
|
+
readonly refreshExpiresAtMillis?: number;
|
|
817
817
|
readonly useUntilMillis: number;
|
|
818
|
-
readonly refreshUseUntilMillis?: number
|
|
818
|
+
readonly refreshUseUntilMillis?: number;
|
|
819
819
|
readonly obtainedAtMillis: number;
|
|
820
820
|
readonly profile?: {
|
|
821
|
-
readonly displayName?: string
|
|
822
|
-
readonly handle?: string
|
|
823
|
-
readonly avatarUrl?: string
|
|
824
|
-
readonly profileUrl?: string
|
|
825
|
-
readonly email?: string
|
|
826
|
-
readonly emailVerified?: boolean
|
|
821
|
+
readonly displayName?: string;
|
|
822
|
+
readonly handle?: string;
|
|
823
|
+
readonly avatarUrl?: string;
|
|
824
|
+
readonly profileUrl?: string;
|
|
825
|
+
readonly email?: string;
|
|
826
|
+
readonly emailVerified?: boolean;
|
|
827
827
|
readonly providerData?: {
|
|
828
828
|
readonly [x: string]: import("effect/Schema").Json;
|
|
829
|
-
}
|
|
830
|
-
}
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
831
|
};
|
|
832
832
|
};
|
|
833
833
|
readonly sealed: {
|
|
@@ -884,7 +884,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
884
884
|
readonly resources: readonly string[];
|
|
885
885
|
readonly retention: "access-and-refresh" | "access-only";
|
|
886
886
|
readonly maximumAccessLifetimeMillis: number;
|
|
887
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
887
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
888
888
|
readonly refreshAheadMillis: number;
|
|
889
889
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
890
890
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -897,22 +897,22 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
897
897
|
readonly metadata: {
|
|
898
898
|
readonly scopes: readonly string[];
|
|
899
899
|
readonly resources: readonly string[];
|
|
900
|
-
readonly accessExpiresAtMillis?: number
|
|
901
|
-
readonly refreshExpiresAtMillis?: number
|
|
900
|
+
readonly accessExpiresAtMillis?: number;
|
|
901
|
+
readonly refreshExpiresAtMillis?: number;
|
|
902
902
|
readonly useUntilMillis: number;
|
|
903
|
-
readonly refreshUseUntilMillis?: number
|
|
903
|
+
readonly refreshUseUntilMillis?: number;
|
|
904
904
|
readonly obtainedAtMillis: number;
|
|
905
905
|
readonly profile?: {
|
|
906
|
-
readonly displayName?: string
|
|
907
|
-
readonly handle?: string
|
|
908
|
-
readonly avatarUrl?: string
|
|
909
|
-
readonly profileUrl?: string
|
|
910
|
-
readonly email?: string
|
|
911
|
-
readonly emailVerified?: boolean
|
|
906
|
+
readonly displayName?: string;
|
|
907
|
+
readonly handle?: string;
|
|
908
|
+
readonly avatarUrl?: string;
|
|
909
|
+
readonly profileUrl?: string;
|
|
910
|
+
readonly email?: string;
|
|
911
|
+
readonly emailVerified?: boolean;
|
|
912
912
|
readonly providerData?: {
|
|
913
913
|
readonly [x: string]: import("effect/Schema").Json;
|
|
914
|
-
}
|
|
915
|
-
}
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
916
|
};
|
|
917
917
|
};
|
|
918
918
|
readonly sealed: {
|
|
@@ -968,7 +968,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
968
968
|
readonly resources: readonly string[];
|
|
969
969
|
readonly retention: "access-and-refresh" | "access-only";
|
|
970
970
|
readonly maximumAccessLifetimeMillis: number;
|
|
971
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
971
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
972
972
|
readonly refreshAheadMillis: number;
|
|
973
973
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
974
974
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -981,22 +981,22 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
981
981
|
readonly metadata: {
|
|
982
982
|
readonly scopes: readonly string[];
|
|
983
983
|
readonly resources: readonly string[];
|
|
984
|
-
readonly accessExpiresAtMillis?: number
|
|
985
|
-
readonly refreshExpiresAtMillis?: number
|
|
984
|
+
readonly accessExpiresAtMillis?: number;
|
|
985
|
+
readonly refreshExpiresAtMillis?: number;
|
|
986
986
|
readonly useUntilMillis: number;
|
|
987
|
-
readonly refreshUseUntilMillis?: number
|
|
987
|
+
readonly refreshUseUntilMillis?: number;
|
|
988
988
|
readonly obtainedAtMillis: number;
|
|
989
989
|
readonly profile?: {
|
|
990
|
-
readonly displayName?: string
|
|
991
|
-
readonly handle?: string
|
|
992
|
-
readonly avatarUrl?: string
|
|
993
|
-
readonly profileUrl?: string
|
|
994
|
-
readonly email?: string
|
|
995
|
-
readonly emailVerified?: boolean
|
|
990
|
+
readonly displayName?: string;
|
|
991
|
+
readonly handle?: string;
|
|
992
|
+
readonly avatarUrl?: string;
|
|
993
|
+
readonly profileUrl?: string;
|
|
994
|
+
readonly email?: string;
|
|
995
|
+
readonly emailVerified?: boolean;
|
|
996
996
|
readonly providerData?: {
|
|
997
997
|
readonly [x: string]: import("effect/Schema").Json;
|
|
998
|
-
}
|
|
999
|
-
}
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
1000
|
};
|
|
1001
1001
|
};
|
|
1002
1002
|
readonly sealed: {
|
|
@@ -1087,7 +1087,7 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
1087
1087
|
readonly resources: readonly string[];
|
|
1088
1088
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1089
1089
|
readonly maximumAccessLifetimeMillis: number;
|
|
1090
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1090
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1091
1091
|
readonly refreshAheadMillis: number;
|
|
1092
1092
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1093
1093
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1100,22 +1100,22 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
1100
1100
|
readonly metadata: {
|
|
1101
1101
|
readonly scopes: readonly string[];
|
|
1102
1102
|
readonly resources: readonly string[];
|
|
1103
|
-
readonly accessExpiresAtMillis?: number
|
|
1104
|
-
readonly refreshExpiresAtMillis?: number
|
|
1103
|
+
readonly accessExpiresAtMillis?: number;
|
|
1104
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1105
1105
|
readonly useUntilMillis: number;
|
|
1106
|
-
readonly refreshUseUntilMillis?: number
|
|
1106
|
+
readonly refreshUseUntilMillis?: number;
|
|
1107
1107
|
readonly obtainedAtMillis: number;
|
|
1108
1108
|
readonly profile?: {
|
|
1109
|
-
readonly displayName?: string
|
|
1110
|
-
readonly handle?: string
|
|
1111
|
-
readonly avatarUrl?: string
|
|
1112
|
-
readonly profileUrl?: string
|
|
1113
|
-
readonly email?: string
|
|
1114
|
-
readonly emailVerified?: boolean
|
|
1109
|
+
readonly displayName?: string;
|
|
1110
|
+
readonly handle?: string;
|
|
1111
|
+
readonly avatarUrl?: string;
|
|
1112
|
+
readonly profileUrl?: string;
|
|
1113
|
+
readonly email?: string;
|
|
1114
|
+
readonly emailVerified?: boolean;
|
|
1115
1115
|
readonly providerData?: {
|
|
1116
1116
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
1119
|
};
|
|
1120
1120
|
};
|
|
1121
1121
|
};
|