@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.
@@ -39,11 +39,11 @@ export declare const contextStorage: {
39
39
  readonly resources: readonly string[];
40
40
  readonly retention: "access-and-refresh" | "access-only";
41
41
  readonly maximumAccessLifetimeMillis: number;
42
- readonly maximumRefreshLifetimeMillis?: number | undefined;
42
+ readonly maximumRefreshLifetimeMillis?: number;
43
43
  readonly refreshAheadMillis: number;
44
44
  readonly refresh: "confidential" | "rotating" | "unsupported";
45
45
  readonly revocation: "cohort" | "unsupported";
46
- } | undefined;
46
+ };
47
47
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
48
48
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
49
49
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -70,7 +70,7 @@ export declare const contextStorage: {
70
70
  readonly resources: readonly string[];
71
71
  readonly retention: "access-and-refresh" | "access-only";
72
72
  readonly maximumAccessLifetimeMillis: number;
73
- readonly maximumRefreshLifetimeMillis?: number | undefined;
73
+ readonly maximumRefreshLifetimeMillis?: number;
74
74
  readonly refreshAheadMillis: number;
75
75
  readonly refresh: "confidential" | "rotating" | "unsupported";
76
76
  readonly revocation: "cohort" | "unsupported";
@@ -104,13 +104,13 @@ export declare const contextStorage: {
104
104
  readonly resources: readonly string[];
105
105
  readonly retention: "access-and-refresh" | "access-only";
106
106
  readonly maximumAccessLifetimeMillis: number;
107
- readonly maximumRefreshLifetimeMillis?: number | undefined;
107
+ readonly maximumRefreshLifetimeMillis?: number;
108
108
  readonly refreshAheadMillis: number;
109
109
  readonly refresh: "confidential" | "rotating" | "unsupported";
110
110
  readonly revocation: "cohort" | "unsupported";
111
111
  };
112
112
  };
113
- } | undefined;
113
+ };
114
114
  readonly maximumEvidenceAgeMillis: number;
115
115
  }) => string;
116
116
  decode: (value: string) => {
@@ -135,11 +135,11 @@ export declare const contextStorage: {
135
135
  readonly resources: readonly string[];
136
136
  readonly retention: "access-and-refresh" | "access-only";
137
137
  readonly maximumAccessLifetimeMillis: number;
138
- readonly maximumRefreshLifetimeMillis?: number | undefined;
138
+ readonly maximumRefreshLifetimeMillis?: number;
139
139
  readonly refreshAheadMillis: number;
140
140
  readonly refresh: "confidential" | "rotating" | "unsupported";
141
141
  readonly revocation: "cohort" | "unsupported";
142
- } | undefined;
142
+ };
143
143
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
144
144
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
145
145
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -166,7 +166,7 @@ export declare const contextStorage: {
166
166
  readonly resources: readonly string[];
167
167
  readonly retention: "access-and-refresh" | "access-only";
168
168
  readonly maximumAccessLifetimeMillis: number;
169
- readonly maximumRefreshLifetimeMillis?: number | undefined;
169
+ readonly maximumRefreshLifetimeMillis?: number;
170
170
  readonly refreshAheadMillis: number;
171
171
  readonly refresh: "confidential" | "rotating" | "unsupported";
172
172
  readonly revocation: "cohort" | "unsupported";
@@ -200,13 +200,13 @@ export declare const contextStorage: {
200
200
  readonly resources: readonly string[];
201
201
  readonly retention: "access-and-refresh" | "access-only";
202
202
  readonly maximumAccessLifetimeMillis: number;
203
- readonly maximumRefreshLifetimeMillis?: number | undefined;
203
+ readonly maximumRefreshLifetimeMillis?: number;
204
204
  readonly refreshAheadMillis: number;
205
205
  readonly refresh: "confidential" | "rotating" | "unsupported";
206
206
  readonly revocation: "cohort" | "unsupported";
207
207
  };
208
208
  };
209
- } | undefined;
209
+ };
210
210
  readonly maximumEvidenceAgeMillis: number;
211
211
  };
212
212
  };
@@ -234,11 +234,11 @@ export declare const flowStorage: {
234
234
  readonly resources: readonly string[];
235
235
  readonly retention: "access-and-refresh" | "access-only";
236
236
  readonly maximumAccessLifetimeMillis: number;
237
- readonly maximumRefreshLifetimeMillis?: number | undefined;
237
+ readonly maximumRefreshLifetimeMillis?: number;
238
238
  readonly refreshAheadMillis: number;
239
239
  readonly refresh: "confidential" | "rotating" | "unsupported";
240
240
  readonly revocation: "cohort" | "unsupported";
241
- } | undefined;
241
+ };
242
242
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
243
243
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
244
244
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -265,7 +265,7 @@ export declare const flowStorage: {
265
265
  readonly resources: readonly string[];
266
266
  readonly retention: "access-and-refresh" | "access-only";
267
267
  readonly maximumAccessLifetimeMillis: number;
268
- readonly maximumRefreshLifetimeMillis?: number | undefined;
268
+ readonly maximumRefreshLifetimeMillis?: number;
269
269
  readonly refreshAheadMillis: number;
270
270
  readonly refresh: "confidential" | "rotating" | "unsupported";
271
271
  readonly revocation: "cohort" | "unsupported";
@@ -299,13 +299,13 @@ export declare const flowStorage: {
299
299
  readonly resources: readonly string[];
300
300
  readonly retention: "access-and-refresh" | "access-only";
301
301
  readonly maximumAccessLifetimeMillis: number;
302
- readonly maximumRefreshLifetimeMillis?: number | undefined;
302
+ readonly maximumRefreshLifetimeMillis?: number;
303
303
  readonly refreshAheadMillis: number;
304
304
  readonly refresh: "confidential" | "rotating" | "unsupported";
305
305
  readonly revocation: "cohort" | "unsupported";
306
306
  };
307
307
  };
308
- } | undefined;
308
+ };
309
309
  readonly maximumEvidenceAgeMillis: number;
310
310
  };
311
311
  readonly sealed: {
@@ -339,11 +339,11 @@ export declare const flowStorage: {
339
339
  readonly resources: readonly string[];
340
340
  readonly retention: "access-and-refresh" | "access-only";
341
341
  readonly maximumAccessLifetimeMillis: number;
342
- readonly maximumRefreshLifetimeMillis?: number | undefined;
342
+ readonly maximumRefreshLifetimeMillis?: number;
343
343
  readonly refreshAheadMillis: number;
344
344
  readonly refresh: "confidential" | "rotating" | "unsupported";
345
345
  readonly revocation: "cohort" | "unsupported";
346
- } | undefined;
346
+ };
347
347
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
348
348
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
349
349
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -370,7 +370,7 @@ export declare const flowStorage: {
370
370
  readonly resources: readonly string[];
371
371
  readonly retention: "access-and-refresh" | "access-only";
372
372
  readonly maximumAccessLifetimeMillis: number;
373
- readonly maximumRefreshLifetimeMillis?: number | undefined;
373
+ readonly maximumRefreshLifetimeMillis?: number;
374
374
  readonly refreshAheadMillis: number;
375
375
  readonly refresh: "confidential" | "rotating" | "unsupported";
376
376
  readonly revocation: "cohort" | "unsupported";
@@ -404,13 +404,13 @@ export declare const flowStorage: {
404
404
  readonly resources: readonly string[];
405
405
  readonly retention: "access-and-refresh" | "access-only";
406
406
  readonly maximumAccessLifetimeMillis: number;
407
- readonly maximumRefreshLifetimeMillis?: number | undefined;
407
+ readonly maximumRefreshLifetimeMillis?: number;
408
408
  readonly refreshAheadMillis: number;
409
409
  readonly refresh: "confidential" | "rotating" | "unsupported";
410
410
  readonly revocation: "cohort" | "unsupported";
411
411
  };
412
412
  };
413
- } | undefined;
413
+ };
414
414
  readonly maximumEvidenceAgeMillis: number;
415
415
  };
416
416
  readonly sealed: {
@@ -447,11 +447,11 @@ export declare const claimStorage: {
447
447
  readonly resources: readonly string[];
448
448
  readonly retention: "access-and-refresh" | "access-only";
449
449
  readonly maximumAccessLifetimeMillis: number;
450
- readonly maximumRefreshLifetimeMillis?: number | undefined;
450
+ readonly maximumRefreshLifetimeMillis?: number;
451
451
  readonly refreshAheadMillis: number;
452
452
  readonly refresh: "confidential" | "rotating" | "unsupported";
453
453
  readonly revocation: "cohort" | "unsupported";
454
- } | undefined;
454
+ };
455
455
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
456
456
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
457
457
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -478,7 +478,7 @@ export declare const claimStorage: {
478
478
  readonly resources: readonly string[];
479
479
  readonly retention: "access-and-refresh" | "access-only";
480
480
  readonly maximumAccessLifetimeMillis: number;
481
- readonly maximumRefreshLifetimeMillis?: number | undefined;
481
+ readonly maximumRefreshLifetimeMillis?: number;
482
482
  readonly refreshAheadMillis: number;
483
483
  readonly refresh: "confidential" | "rotating" | "unsupported";
484
484
  readonly revocation: "cohort" | "unsupported";
@@ -512,13 +512,13 @@ export declare const claimStorage: {
512
512
  readonly resources: readonly string[];
513
513
  readonly retention: "access-and-refresh" | "access-only";
514
514
  readonly maximumAccessLifetimeMillis: number;
515
- readonly maximumRefreshLifetimeMillis?: number | undefined;
515
+ readonly maximumRefreshLifetimeMillis?: number;
516
516
  readonly refreshAheadMillis: number;
517
517
  readonly refresh: "confidential" | "rotating" | "unsupported";
518
518
  readonly revocation: "cohort" | "unsupported";
519
519
  };
520
520
  };
521
- } | undefined;
521
+ };
522
522
  readonly maximumEvidenceAgeMillis: number;
523
523
  };
524
524
  readonly sealed: {
@@ -558,11 +558,11 @@ export declare const claimStorage: {
558
558
  readonly resources: readonly string[];
559
559
  readonly retention: "access-and-refresh" | "access-only";
560
560
  readonly maximumAccessLifetimeMillis: number;
561
- readonly maximumRefreshLifetimeMillis?: number | undefined;
561
+ readonly maximumRefreshLifetimeMillis?: number;
562
562
  readonly refreshAheadMillis: number;
563
563
  readonly refresh: "confidential" | "rotating" | "unsupported";
564
564
  readonly revocation: "cohort" | "unsupported";
565
- } | undefined;
565
+ };
566
566
  readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
567
567
  readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
568
568
  readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
@@ -589,7 +589,7 @@ export declare const claimStorage: {
589
589
  readonly resources: readonly string[];
590
590
  readonly retention: "access-and-refresh" | "access-only";
591
591
  readonly maximumAccessLifetimeMillis: number;
592
- readonly maximumRefreshLifetimeMillis?: number | undefined;
592
+ readonly maximumRefreshLifetimeMillis?: number;
593
593
  readonly refreshAheadMillis: number;
594
594
  readonly refresh: "confidential" | "rotating" | "unsupported";
595
595
  readonly revocation: "cohort" | "unsupported";
@@ -623,13 +623,13 @@ export declare const claimStorage: {
623
623
  readonly resources: readonly string[];
624
624
  readonly retention: "access-and-refresh" | "access-only";
625
625
  readonly maximumAccessLifetimeMillis: number;
626
- readonly maximumRefreshLifetimeMillis?: number | undefined;
626
+ readonly maximumRefreshLifetimeMillis?: number;
627
627
  readonly refreshAheadMillis: number;
628
628
  readonly refresh: "confidential" | "rotating" | "unsupported";
629
629
  readonly revocation: "cohort" | "unsupported";
630
630
  };
631
631
  };
632
- } | undefined;
632
+ };
633
633
  readonly maximumEvidenceAgeMillis: number;
634
634
  };
635
635
  readonly sealed: {
@@ -675,7 +675,7 @@ export declare const tokenContextStorage: {
675
675
  readonly resources: readonly string[];
676
676
  readonly retention: "access-and-refresh" | "access-only";
677
677
  readonly maximumAccessLifetimeMillis: number;
678
- readonly maximumRefreshLifetimeMillis?: number | undefined;
678
+ readonly maximumRefreshLifetimeMillis?: number;
679
679
  readonly refreshAheadMillis: number;
680
680
  readonly refresh: "confidential" | "rotating" | "unsupported";
681
681
  readonly revocation: "cohort" | "unsupported";
@@ -688,22 +688,22 @@ export declare const tokenContextStorage: {
688
688
  readonly metadata: {
689
689
  readonly scopes: readonly string[];
690
690
  readonly resources: readonly string[];
691
- readonly accessExpiresAtMillis?: number | undefined;
692
- readonly refreshExpiresAtMillis?: number | undefined;
691
+ readonly accessExpiresAtMillis?: number;
692
+ readonly refreshExpiresAtMillis?: number;
693
693
  readonly useUntilMillis: number;
694
- readonly refreshUseUntilMillis?: number | undefined;
694
+ readonly refreshUseUntilMillis?: number;
695
695
  readonly obtainedAtMillis: number;
696
696
  readonly profile?: {
697
- readonly displayName?: string | undefined;
698
- readonly handle?: string | undefined;
699
- readonly avatarUrl?: string | undefined;
700
- readonly profileUrl?: string | undefined;
701
- readonly email?: string | undefined;
702
- readonly emailVerified?: boolean | undefined;
697
+ readonly displayName?: string;
698
+ readonly handle?: string;
699
+ readonly avatarUrl?: string;
700
+ readonly profileUrl?: string;
701
+ readonly email?: string;
702
+ readonly emailVerified?: boolean;
703
703
  readonly providerData?: {
704
704
  readonly [x: string]: Schema.Json;
705
- } | undefined;
706
- } | undefined;
705
+ };
706
+ };
707
707
  };
708
708
  }) => string;
709
709
  decode: (value: string) => {
@@ -734,7 +734,7 @@ export declare const tokenContextStorage: {
734
734
  readonly resources: readonly string[];
735
735
  readonly retention: "access-and-refresh" | "access-only";
736
736
  readonly maximumAccessLifetimeMillis: number;
737
- readonly maximumRefreshLifetimeMillis?: number | undefined;
737
+ readonly maximumRefreshLifetimeMillis?: number;
738
738
  readonly refreshAheadMillis: number;
739
739
  readonly refresh: "confidential" | "rotating" | "unsupported";
740
740
  readonly revocation: "cohort" | "unsupported";
@@ -747,22 +747,22 @@ export declare const tokenContextStorage: {
747
747
  readonly metadata: {
748
748
  readonly scopes: readonly string[];
749
749
  readonly resources: readonly string[];
750
- readonly accessExpiresAtMillis?: number | undefined;
751
- readonly refreshExpiresAtMillis?: number | undefined;
750
+ readonly accessExpiresAtMillis?: number;
751
+ readonly refreshExpiresAtMillis?: number;
752
752
  readonly useUntilMillis: number;
753
- readonly refreshUseUntilMillis?: number | undefined;
753
+ readonly refreshUseUntilMillis?: number;
754
754
  readonly obtainedAtMillis: number;
755
755
  readonly profile?: {
756
- readonly displayName?: string | undefined;
757
- readonly handle?: string | undefined;
758
- readonly avatarUrl?: string | undefined;
759
- readonly profileUrl?: string | undefined;
760
- readonly email?: string | undefined;
761
- readonly emailVerified?: boolean | undefined;
756
+ readonly displayName?: string;
757
+ readonly handle?: string;
758
+ readonly avatarUrl?: string;
759
+ readonly profileUrl?: string;
760
+ readonly email?: string;
761
+ readonly emailVerified?: boolean;
762
762
  readonly providerData?: {
763
763
  readonly [x: string]: Schema.Json;
764
- } | undefined;
765
- } | undefined;
764
+ };
765
+ };
766
766
  };
767
767
  };
768
768
  };
@@ -810,7 +810,7 @@ export declare const grantStorage: {
810
810
  readonly resources: readonly string[];
811
811
  readonly retention: "access-and-refresh" | "access-only";
812
812
  readonly maximumAccessLifetimeMillis: number;
813
- readonly maximumRefreshLifetimeMillis?: number | undefined;
813
+ readonly maximumRefreshLifetimeMillis?: number;
814
814
  readonly refreshAheadMillis: number;
815
815
  readonly refresh: "confidential" | "rotating" | "unsupported";
816
816
  readonly revocation: "cohort" | "unsupported";
@@ -823,22 +823,22 @@ export declare const grantStorage: {
823
823
  readonly metadata: {
824
824
  readonly scopes: readonly string[];
825
825
  readonly resources: readonly string[];
826
- readonly accessExpiresAtMillis?: number | undefined;
827
- readonly refreshExpiresAtMillis?: number | undefined;
826
+ readonly accessExpiresAtMillis?: number;
827
+ readonly refreshExpiresAtMillis?: number;
828
828
  readonly useUntilMillis: number;
829
- readonly refreshUseUntilMillis?: number | undefined;
829
+ readonly refreshUseUntilMillis?: number;
830
830
  readonly obtainedAtMillis: number;
831
831
  readonly profile?: {
832
- readonly displayName?: string | undefined;
833
- readonly handle?: string | undefined;
834
- readonly avatarUrl?: string | undefined;
835
- readonly profileUrl?: string | undefined;
836
- readonly email?: string | undefined;
837
- readonly emailVerified?: boolean | undefined;
832
+ readonly displayName?: string;
833
+ readonly handle?: string;
834
+ readonly avatarUrl?: string;
835
+ readonly profileUrl?: string;
836
+ readonly email?: string;
837
+ readonly emailVerified?: boolean;
838
838
  readonly providerData?: {
839
839
  readonly [x: string]: Schema.Json;
840
- } | undefined;
841
- } | undefined;
840
+ };
841
+ };
842
842
  };
843
843
  };
844
844
  readonly sealed: {
@@ -877,7 +877,7 @@ export declare const grantStorage: {
877
877
  readonly resources: readonly string[];
878
878
  readonly retention: "access-and-refresh" | "access-only";
879
879
  readonly maximumAccessLifetimeMillis: number;
880
- readonly maximumRefreshLifetimeMillis?: number | undefined;
880
+ readonly maximumRefreshLifetimeMillis?: number;
881
881
  readonly refreshAheadMillis: number;
882
882
  readonly refresh: "confidential" | "rotating" | "unsupported";
883
883
  readonly revocation: "cohort" | "unsupported";
@@ -890,22 +890,22 @@ export declare const grantStorage: {
890
890
  readonly metadata: {
891
891
  readonly scopes: readonly string[];
892
892
  readonly resources: readonly string[];
893
- readonly accessExpiresAtMillis?: number | undefined;
894
- readonly refreshExpiresAtMillis?: number | undefined;
893
+ readonly accessExpiresAtMillis?: number;
894
+ readonly refreshExpiresAtMillis?: number;
895
895
  readonly useUntilMillis: number;
896
- readonly refreshUseUntilMillis?: number | undefined;
896
+ readonly refreshUseUntilMillis?: number;
897
897
  readonly obtainedAtMillis: number;
898
898
  readonly profile?: {
899
- readonly displayName?: string | undefined;
900
- readonly handle?: string | undefined;
901
- readonly avatarUrl?: string | undefined;
902
- readonly profileUrl?: string | undefined;
903
- readonly email?: string | undefined;
904
- readonly emailVerified?: boolean | undefined;
899
+ readonly displayName?: string;
900
+ readonly handle?: string;
901
+ readonly avatarUrl?: string;
902
+ readonly profileUrl?: string;
903
+ readonly email?: string;
904
+ readonly emailVerified?: boolean;
905
905
  readonly providerData?: {
906
906
  readonly [x: string]: Schema.Json;
907
- } | undefined;
908
- } | undefined;
907
+ };
908
+ };
909
909
  };
910
910
  };
911
911
  readonly sealed: {
@@ -947,7 +947,7 @@ export declare const admissionStorage: {
947
947
  readonly resources: readonly string[];
948
948
  readonly retention: "access-and-refresh" | "access-only";
949
949
  readonly maximumAccessLifetimeMillis: number;
950
- readonly maximumRefreshLifetimeMillis?: number | undefined;
950
+ readonly maximumRefreshLifetimeMillis?: number;
951
951
  readonly refreshAheadMillis: number;
952
952
  readonly refresh: "confidential" | "rotating" | "unsupported";
953
953
  readonly revocation: "cohort" | "unsupported";
@@ -960,22 +960,22 @@ export declare const admissionStorage: {
960
960
  readonly metadata: {
961
961
  readonly scopes: readonly string[];
962
962
  readonly resources: readonly string[];
963
- readonly accessExpiresAtMillis?: number | undefined;
964
- readonly refreshExpiresAtMillis?: number | undefined;
963
+ readonly accessExpiresAtMillis?: number;
964
+ readonly refreshExpiresAtMillis?: number;
965
965
  readonly useUntilMillis: number;
966
- readonly refreshUseUntilMillis?: number | undefined;
966
+ readonly refreshUseUntilMillis?: number;
967
967
  readonly obtainedAtMillis: number;
968
968
  readonly profile?: {
969
- readonly displayName?: string | undefined;
970
- readonly handle?: string | undefined;
971
- readonly avatarUrl?: string | undefined;
972
- readonly profileUrl?: string | undefined;
973
- readonly email?: string | undefined;
974
- readonly emailVerified?: boolean | undefined;
969
+ readonly displayName?: string;
970
+ readonly handle?: string;
971
+ readonly avatarUrl?: string;
972
+ readonly profileUrl?: string;
973
+ readonly email?: string;
974
+ readonly emailVerified?: boolean;
975
975
  readonly providerData?: {
976
976
  readonly [x: string]: Schema.Json;
977
- } | undefined;
978
- } | undefined;
977
+ };
978
+ };
979
979
  };
980
980
  };
981
981
  readonly sealed: {
@@ -998,8 +998,8 @@ export declare const admissionStorage: {
998
998
  readonly policyRevision: string & import("effect/Brand").Brand<"effect-auth/SecurityRevision">;
999
999
  readonly expiresAtMillis: number;
1000
1000
  readonly purpose: "metadata" | "use";
1001
- readonly grantId?: (string & import("effect/Brand").Brand<"effect-auth/OAuthGrantId">) | undefined;
1002
- readonly profileKey?: (string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">) | undefined;
1001
+ readonly grantId?: string & import("effect/Brand").Brand<"effect-auth/OAuthGrantId">;
1002
+ readonly profileKey?: string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">;
1003
1003
  };
1004
1004
  }) => string;
1005
1005
  decode: (value: string) => {
@@ -1032,7 +1032,7 @@ export declare const admissionStorage: {
1032
1032
  readonly resources: readonly string[];
1033
1033
  readonly retention: "access-and-refresh" | "access-only";
1034
1034
  readonly maximumAccessLifetimeMillis: number;
1035
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1035
+ readonly maximumRefreshLifetimeMillis?: number;
1036
1036
  readonly refreshAheadMillis: number;
1037
1037
  readonly refresh: "confidential" | "rotating" | "unsupported";
1038
1038
  readonly revocation: "cohort" | "unsupported";
@@ -1045,22 +1045,22 @@ export declare const admissionStorage: {
1045
1045
  readonly metadata: {
1046
1046
  readonly scopes: readonly string[];
1047
1047
  readonly resources: readonly string[];
1048
- readonly accessExpiresAtMillis?: number | undefined;
1049
- readonly refreshExpiresAtMillis?: number | undefined;
1048
+ readonly accessExpiresAtMillis?: number;
1049
+ readonly refreshExpiresAtMillis?: number;
1050
1050
  readonly useUntilMillis: number;
1051
- readonly refreshUseUntilMillis?: number | undefined;
1051
+ readonly refreshUseUntilMillis?: number;
1052
1052
  readonly obtainedAtMillis: number;
1053
1053
  readonly profile?: {
1054
- readonly displayName?: string | undefined;
1055
- readonly handle?: string | undefined;
1056
- readonly avatarUrl?: string | undefined;
1057
- readonly profileUrl?: string | undefined;
1058
- readonly email?: string | undefined;
1059
- readonly emailVerified?: boolean | undefined;
1054
+ readonly displayName?: string;
1055
+ readonly handle?: string;
1056
+ readonly avatarUrl?: string;
1057
+ readonly profileUrl?: string;
1058
+ readonly email?: string;
1059
+ readonly emailVerified?: boolean;
1060
1060
  readonly providerData?: {
1061
1061
  readonly [x: string]: Schema.Json;
1062
- } | undefined;
1063
- } | undefined;
1062
+ };
1063
+ };
1064
1064
  };
1065
1065
  };
1066
1066
  readonly sealed: {
@@ -1083,8 +1083,8 @@ export declare const admissionStorage: {
1083
1083
  readonly policyRevision: string & import("effect/Brand").Brand<"effect-auth/SecurityRevision">;
1084
1084
  readonly expiresAtMillis: number;
1085
1085
  readonly purpose: "metadata" | "use";
1086
- readonly grantId?: (string & import("effect/Brand").Brand<"effect-auth/OAuthGrantId">) | undefined;
1087
- readonly profileKey?: (string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">) | undefined;
1086
+ readonly grantId?: string & import("effect/Brand").Brand<"effect-auth/OAuthGrantId">;
1087
+ readonly profileKey?: string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">;
1088
1088
  };
1089
1089
  };
1090
1090
  };
@@ -1118,7 +1118,7 @@ export declare const commandStorage: {
1118
1118
  readonly resources: readonly string[];
1119
1119
  readonly retention: "access-and-refresh" | "access-only";
1120
1120
  readonly maximumAccessLifetimeMillis: number;
1121
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1121
+ readonly maximumRefreshLifetimeMillis?: number;
1122
1122
  readonly refreshAheadMillis: number;
1123
1123
  readonly refresh: "confidential" | "rotating" | "unsupported";
1124
1124
  readonly revocation: "cohort" | "unsupported";
@@ -1131,26 +1131,26 @@ export declare const commandStorage: {
1131
1131
  readonly metadata: {
1132
1132
  readonly scopes: readonly string[];
1133
1133
  readonly resources: readonly string[];
1134
- readonly accessExpiresAtMillis?: number | undefined;
1135
- readonly refreshExpiresAtMillis?: number | undefined;
1134
+ readonly accessExpiresAtMillis?: number;
1135
+ readonly refreshExpiresAtMillis?: number;
1136
1136
  readonly useUntilMillis: number;
1137
- readonly refreshUseUntilMillis?: number | undefined;
1137
+ readonly refreshUseUntilMillis?: number;
1138
1138
  readonly obtainedAtMillis: number;
1139
1139
  readonly profile?: {
1140
- readonly displayName?: string | undefined;
1141
- readonly handle?: string | undefined;
1142
- readonly avatarUrl?: string | undefined;
1143
- readonly profileUrl?: string | undefined;
1144
- readonly email?: string | undefined;
1145
- readonly emailVerified?: boolean | undefined;
1140
+ readonly displayName?: string;
1141
+ readonly handle?: string;
1142
+ readonly avatarUrl?: string;
1143
+ readonly profileUrl?: string;
1144
+ readonly email?: string;
1145
+ readonly emailVerified?: boolean;
1146
1146
  readonly providerData?: {
1147
1147
  readonly [x: string]: Schema.Json;
1148
- } | undefined;
1149
- } | undefined;
1148
+ };
1149
+ };
1150
1150
  };
1151
1151
  };
1152
1152
  readonly originalDigest: string;
1153
- readonly revocationJobId?: string | undefined;
1153
+ readonly revocationJobId?: string;
1154
1154
  }) => string;
1155
1155
  decode: (value: string) => {
1156
1156
  readonly context: {
@@ -1181,7 +1181,7 @@ export declare const commandStorage: {
1181
1181
  readonly resources: readonly string[];
1182
1182
  readonly retention: "access-and-refresh" | "access-only";
1183
1183
  readonly maximumAccessLifetimeMillis: number;
1184
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1184
+ readonly maximumRefreshLifetimeMillis?: number;
1185
1185
  readonly refreshAheadMillis: number;
1186
1186
  readonly refresh: "confidential" | "rotating" | "unsupported";
1187
1187
  readonly revocation: "cohort" | "unsupported";
@@ -1194,26 +1194,26 @@ export declare const commandStorage: {
1194
1194
  readonly metadata: {
1195
1195
  readonly scopes: readonly string[];
1196
1196
  readonly resources: readonly string[];
1197
- readonly accessExpiresAtMillis?: number | undefined;
1198
- readonly refreshExpiresAtMillis?: number | undefined;
1197
+ readonly accessExpiresAtMillis?: number;
1198
+ readonly refreshExpiresAtMillis?: number;
1199
1199
  readonly useUntilMillis: number;
1200
- readonly refreshUseUntilMillis?: number | undefined;
1200
+ readonly refreshUseUntilMillis?: number;
1201
1201
  readonly obtainedAtMillis: number;
1202
1202
  readonly profile?: {
1203
- readonly displayName?: string | undefined;
1204
- readonly handle?: string | undefined;
1205
- readonly avatarUrl?: string | undefined;
1206
- readonly profileUrl?: string | undefined;
1207
- readonly email?: string | undefined;
1208
- readonly emailVerified?: boolean | undefined;
1203
+ readonly displayName?: string;
1204
+ readonly handle?: string;
1205
+ readonly avatarUrl?: string;
1206
+ readonly profileUrl?: string;
1207
+ readonly email?: string;
1208
+ readonly emailVerified?: boolean;
1209
1209
  readonly providerData?: {
1210
1210
  readonly [x: string]: Schema.Json;
1211
- } | undefined;
1212
- } | undefined;
1211
+ };
1212
+ };
1213
1213
  };
1214
1214
  };
1215
1215
  readonly originalDigest: string;
1216
- readonly revocationJobId?: string | undefined;
1216
+ readonly revocationJobId?: string;
1217
1217
  };
1218
1218
  };
1219
1219
  export declare const disconnectStorage: {
@@ -1246,7 +1246,7 @@ export declare const disconnectStorage: {
1246
1246
  readonly resources: readonly string[];
1247
1247
  readonly retention: "access-and-refresh" | "access-only";
1248
1248
  readonly maximumAccessLifetimeMillis: number;
1249
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1249
+ readonly maximumRefreshLifetimeMillis?: number;
1250
1250
  readonly refreshAheadMillis: number;
1251
1251
  readonly refresh: "confidential" | "rotating" | "unsupported";
1252
1252
  readonly revocation: "cohort" | "unsupported";
@@ -1259,22 +1259,22 @@ export declare const disconnectStorage: {
1259
1259
  readonly metadata: {
1260
1260
  readonly scopes: readonly string[];
1261
1261
  readonly resources: readonly string[];
1262
- readonly accessExpiresAtMillis?: number | undefined;
1263
- readonly refreshExpiresAtMillis?: number | undefined;
1262
+ readonly accessExpiresAtMillis?: number;
1263
+ readonly refreshExpiresAtMillis?: number;
1264
1264
  readonly useUntilMillis: number;
1265
- readonly refreshUseUntilMillis?: number | undefined;
1265
+ readonly refreshUseUntilMillis?: number;
1266
1266
  readonly obtainedAtMillis: number;
1267
1267
  readonly profile?: {
1268
- readonly displayName?: string | undefined;
1269
- readonly handle?: string | undefined;
1270
- readonly avatarUrl?: string | undefined;
1271
- readonly profileUrl?: string | undefined;
1272
- readonly email?: string | undefined;
1273
- readonly emailVerified?: boolean | undefined;
1268
+ readonly displayName?: string;
1269
+ readonly handle?: string;
1270
+ readonly avatarUrl?: string;
1271
+ readonly profileUrl?: string;
1272
+ readonly email?: string;
1273
+ readonly emailVerified?: boolean;
1274
1274
  readonly providerData?: {
1275
1275
  readonly [x: string]: Schema.Json;
1276
- } | undefined;
1277
- } | undefined;
1276
+ };
1277
+ };
1278
1278
  };
1279
1279
  };
1280
1280
  readonly sealed?: {
@@ -1282,7 +1282,7 @@ export declare const disconnectStorage: {
1282
1282
  readonly keyId: string;
1283
1283
  readonly nonce: string;
1284
1284
  readonly ciphertext: import("effect/Redacted").Redacted<string>;
1285
- } | undefined;
1285
+ };
1286
1286
  }) => string;
1287
1287
  decode: (value: string) => {
1288
1288
  readonly context: {
@@ -1313,7 +1313,7 @@ export declare const disconnectStorage: {
1313
1313
  readonly resources: readonly string[];
1314
1314
  readonly retention: "access-and-refresh" | "access-only";
1315
1315
  readonly maximumAccessLifetimeMillis: number;
1316
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1316
+ readonly maximumRefreshLifetimeMillis?: number;
1317
1317
  readonly refreshAheadMillis: number;
1318
1318
  readonly refresh: "confidential" | "rotating" | "unsupported";
1319
1319
  readonly revocation: "cohort" | "unsupported";
@@ -1326,22 +1326,22 @@ export declare const disconnectStorage: {
1326
1326
  readonly metadata: {
1327
1327
  readonly scopes: readonly string[];
1328
1328
  readonly resources: readonly string[];
1329
- readonly accessExpiresAtMillis?: number | undefined;
1330
- readonly refreshExpiresAtMillis?: number | undefined;
1329
+ readonly accessExpiresAtMillis?: number;
1330
+ readonly refreshExpiresAtMillis?: number;
1331
1331
  readonly useUntilMillis: number;
1332
- readonly refreshUseUntilMillis?: number | undefined;
1332
+ readonly refreshUseUntilMillis?: number;
1333
1333
  readonly obtainedAtMillis: number;
1334
1334
  readonly profile?: {
1335
- readonly displayName?: string | undefined;
1336
- readonly handle?: string | undefined;
1337
- readonly avatarUrl?: string | undefined;
1338
- readonly profileUrl?: string | undefined;
1339
- readonly email?: string | undefined;
1340
- readonly emailVerified?: boolean | undefined;
1335
+ readonly displayName?: string;
1336
+ readonly handle?: string;
1337
+ readonly avatarUrl?: string;
1338
+ readonly profileUrl?: string;
1339
+ readonly email?: string;
1340
+ readonly emailVerified?: boolean;
1341
1341
  readonly providerData?: {
1342
1342
  readonly [x: string]: Schema.Json;
1343
- } | undefined;
1344
- } | undefined;
1343
+ };
1344
+ };
1345
1345
  };
1346
1346
  };
1347
1347
  readonly sealed?: {
@@ -1349,7 +1349,7 @@ export declare const disconnectStorage: {
1349
1349
  readonly keyId: string;
1350
1350
  readonly nonce: string;
1351
1351
  readonly ciphertext: import("effect/Redacted").Redacted<string>;
1352
- } | undefined;
1352
+ };
1353
1353
  };
1354
1354
  };
1355
1355
  export declare const refreshStorage: {
@@ -1383,7 +1383,7 @@ export declare const refreshStorage: {
1383
1383
  readonly resources: readonly string[];
1384
1384
  readonly retention: "access-and-refresh" | "access-only";
1385
1385
  readonly maximumAccessLifetimeMillis: number;
1386
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1386
+ readonly maximumRefreshLifetimeMillis?: number;
1387
1387
  readonly refreshAheadMillis: number;
1388
1388
  readonly refresh: "confidential" | "rotating" | "unsupported";
1389
1389
  readonly revocation: "cohort" | "unsupported";
@@ -1396,22 +1396,22 @@ export declare const refreshStorage: {
1396
1396
  readonly metadata: {
1397
1397
  readonly scopes: readonly string[];
1398
1398
  readonly resources: readonly string[];
1399
- readonly accessExpiresAtMillis?: number | undefined;
1400
- readonly refreshExpiresAtMillis?: number | undefined;
1399
+ readonly accessExpiresAtMillis?: number;
1400
+ readonly refreshExpiresAtMillis?: number;
1401
1401
  readonly useUntilMillis: number;
1402
- readonly refreshUseUntilMillis?: number | undefined;
1402
+ readonly refreshUseUntilMillis?: number;
1403
1403
  readonly obtainedAtMillis: number;
1404
1404
  readonly profile?: {
1405
- readonly displayName?: string | undefined;
1406
- readonly handle?: string | undefined;
1407
- readonly avatarUrl?: string | undefined;
1408
- readonly profileUrl?: string | undefined;
1409
- readonly email?: string | undefined;
1410
- readonly emailVerified?: boolean | undefined;
1405
+ readonly displayName?: string;
1406
+ readonly handle?: string;
1407
+ readonly avatarUrl?: string;
1408
+ readonly profileUrl?: string;
1409
+ readonly email?: string;
1410
+ readonly emailVerified?: boolean;
1411
1411
  readonly providerData?: {
1412
1412
  readonly [x: string]: Schema.Json;
1413
- } | undefined;
1414
- } | undefined;
1413
+ };
1414
+ };
1415
1415
  };
1416
1416
  };
1417
1417
  readonly sealed: {
@@ -1457,7 +1457,7 @@ export declare const refreshStorage: {
1457
1457
  readonly resources: readonly string[];
1458
1458
  readonly retention: "access-and-refresh" | "access-only";
1459
1459
  readonly maximumAccessLifetimeMillis: number;
1460
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1460
+ readonly maximumRefreshLifetimeMillis?: number;
1461
1461
  readonly refreshAheadMillis: number;
1462
1462
  readonly refresh: "confidential" | "rotating" | "unsupported";
1463
1463
  readonly revocation: "cohort" | "unsupported";
@@ -1470,22 +1470,22 @@ export declare const refreshStorage: {
1470
1470
  readonly metadata: {
1471
1471
  readonly scopes: readonly string[];
1472
1472
  readonly resources: readonly string[];
1473
- readonly accessExpiresAtMillis?: number | undefined;
1474
- readonly refreshExpiresAtMillis?: number | undefined;
1473
+ readonly accessExpiresAtMillis?: number;
1474
+ readonly refreshExpiresAtMillis?: number;
1475
1475
  readonly useUntilMillis: number;
1476
- readonly refreshUseUntilMillis?: number | undefined;
1476
+ readonly refreshUseUntilMillis?: number;
1477
1477
  readonly obtainedAtMillis: number;
1478
1478
  readonly profile?: {
1479
- readonly displayName?: string | undefined;
1480
- readonly handle?: string | undefined;
1481
- readonly avatarUrl?: string | undefined;
1482
- readonly profileUrl?: string | undefined;
1483
- readonly email?: string | undefined;
1484
- readonly emailVerified?: boolean | undefined;
1479
+ readonly displayName?: string;
1480
+ readonly handle?: string;
1481
+ readonly avatarUrl?: string;
1482
+ readonly profileUrl?: string;
1483
+ readonly email?: string;
1484
+ readonly emailVerified?: boolean;
1485
1485
  readonly providerData?: {
1486
1486
  readonly [x: string]: Schema.Json;
1487
- } | undefined;
1488
- } | undefined;
1487
+ };
1488
+ };
1489
1489
  };
1490
1490
  };
1491
1491
  readonly sealed: {
@@ -1535,7 +1535,7 @@ export declare const jobStorage: {
1535
1535
  readonly resources: readonly string[];
1536
1536
  readonly retention: "access-and-refresh" | "access-only";
1537
1537
  readonly maximumAccessLifetimeMillis: number;
1538
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1538
+ readonly maximumRefreshLifetimeMillis?: number;
1539
1539
  readonly refreshAheadMillis: number;
1540
1540
  readonly refresh: "confidential" | "rotating" | "unsupported";
1541
1541
  readonly revocation: "cohort" | "unsupported";
@@ -1548,22 +1548,22 @@ export declare const jobStorage: {
1548
1548
  readonly metadata: {
1549
1549
  readonly scopes: readonly string[];
1550
1550
  readonly resources: readonly string[];
1551
- readonly accessExpiresAtMillis?: number | undefined;
1552
- readonly refreshExpiresAtMillis?: number | undefined;
1551
+ readonly accessExpiresAtMillis?: number;
1552
+ readonly refreshExpiresAtMillis?: number;
1553
1553
  readonly useUntilMillis: number;
1554
- readonly refreshUseUntilMillis?: number | undefined;
1554
+ readonly refreshUseUntilMillis?: number;
1555
1555
  readonly obtainedAtMillis: number;
1556
1556
  readonly profile?: {
1557
- readonly displayName?: string | undefined;
1558
- readonly handle?: string | undefined;
1559
- readonly avatarUrl?: string | undefined;
1560
- readonly profileUrl?: string | undefined;
1561
- readonly email?: string | undefined;
1562
- readonly emailVerified?: boolean | undefined;
1557
+ readonly displayName?: string;
1558
+ readonly handle?: string;
1559
+ readonly avatarUrl?: string;
1560
+ readonly profileUrl?: string;
1561
+ readonly email?: string;
1562
+ readonly emailVerified?: boolean;
1563
1563
  readonly providerData?: {
1564
1564
  readonly [x: string]: Schema.Json;
1565
- } | undefined;
1566
- } | undefined;
1565
+ };
1566
+ };
1567
1567
  };
1568
1568
  };
1569
1569
  };
@@ -1606,7 +1606,7 @@ export declare const jobStorage: {
1606
1606
  readonly resources: readonly string[];
1607
1607
  readonly retention: "access-and-refresh" | "access-only";
1608
1608
  readonly maximumAccessLifetimeMillis: number;
1609
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1609
+ readonly maximumRefreshLifetimeMillis?: number;
1610
1610
  readonly refreshAheadMillis: number;
1611
1611
  readonly refresh: "confidential" | "rotating" | "unsupported";
1612
1612
  readonly revocation: "cohort" | "unsupported";
@@ -1619,22 +1619,22 @@ export declare const jobStorage: {
1619
1619
  readonly metadata: {
1620
1620
  readonly scopes: readonly string[];
1621
1621
  readonly resources: readonly string[];
1622
- readonly accessExpiresAtMillis?: number | undefined;
1623
- readonly refreshExpiresAtMillis?: number | undefined;
1622
+ readonly accessExpiresAtMillis?: number;
1623
+ readonly refreshExpiresAtMillis?: number;
1624
1624
  readonly useUntilMillis: number;
1625
- readonly refreshUseUntilMillis?: number | undefined;
1625
+ readonly refreshUseUntilMillis?: number;
1626
1626
  readonly obtainedAtMillis: number;
1627
1627
  readonly profile?: {
1628
- readonly displayName?: string | undefined;
1629
- readonly handle?: string | undefined;
1630
- readonly avatarUrl?: string | undefined;
1631
- readonly profileUrl?: string | undefined;
1632
- readonly email?: string | undefined;
1633
- readonly emailVerified?: boolean | undefined;
1628
+ readonly displayName?: string;
1629
+ readonly handle?: string;
1630
+ readonly avatarUrl?: string;
1631
+ readonly profileUrl?: string;
1632
+ readonly email?: string;
1633
+ readonly emailVerified?: boolean;
1634
1634
  readonly providerData?: {
1635
1635
  readonly [x: string]: Schema.Json;
1636
- } | undefined;
1637
- } | undefined;
1636
+ };
1637
+ };
1638
1638
  };
1639
1639
  };
1640
1640
  };
@@ -1654,19 +1654,19 @@ export declare const summaryStorage: {
1654
1654
  readonly profileKey: string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">;
1655
1655
  readonly status: "Active" | "Disconnected" | "ReauthorizationRequired" | "Refreshing";
1656
1656
  readonly scopes: readonly string[];
1657
- readonly accessExpiresAtMillis?: number | undefined;
1657
+ readonly accessExpiresAtMillis?: number;
1658
1658
  readonly useUntilMillis: number;
1659
1659
  readonly profile?: {
1660
- readonly displayName?: string | undefined;
1661
- readonly handle?: string | undefined;
1662
- readonly avatarUrl?: string | undefined;
1663
- readonly profileUrl?: string | undefined;
1664
- readonly email?: string | undefined;
1665
- readonly emailVerified?: boolean | undefined;
1660
+ readonly displayName?: string;
1661
+ readonly handle?: string;
1662
+ readonly avatarUrl?: string;
1663
+ readonly profileUrl?: string;
1664
+ readonly email?: string;
1665
+ readonly emailVerified?: boolean;
1666
1666
  readonly providerData?: {
1667
1667
  readonly [x: string]: Schema.Json;
1668
- } | undefined;
1669
- } | undefined;
1668
+ };
1669
+ };
1670
1670
  readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
1671
1671
  }) => string;
1672
1672
  decode: (value: string) => {
@@ -1676,19 +1676,19 @@ export declare const summaryStorage: {
1676
1676
  readonly profileKey: string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">;
1677
1677
  readonly status: "Active" | "Disconnected" | "ReauthorizationRequired" | "Refreshing";
1678
1678
  readonly scopes: readonly string[];
1679
- readonly accessExpiresAtMillis?: number | undefined;
1679
+ readonly accessExpiresAtMillis?: number;
1680
1680
  readonly useUntilMillis: number;
1681
1681
  readonly profile?: {
1682
- readonly displayName?: string | undefined;
1683
- readonly handle?: string | undefined;
1684
- readonly avatarUrl?: string | undefined;
1685
- readonly profileUrl?: string | undefined;
1686
- readonly email?: string | undefined;
1687
- readonly emailVerified?: boolean | undefined;
1682
+ readonly displayName?: string;
1683
+ readonly handle?: string;
1684
+ readonly avatarUrl?: string;
1685
+ readonly profileUrl?: string;
1686
+ readonly email?: string;
1687
+ readonly emailVerified?: boolean;
1688
1688
  readonly providerData?: {
1689
1689
  readonly [x: string]: Schema.Json;
1690
- } | undefined;
1691
- } | undefined;
1690
+ };
1691
+ };
1692
1692
  readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
1693
1693
  };
1694
1694
  };
@@ -1828,8 +1828,8 @@ export declare const useAuthority: (mapping: Mapping, authorization: {
1828
1828
  readonly policyRevision: string & import("effect/Brand").Brand<"effect-auth/SecurityRevision">;
1829
1829
  readonly expiresAtMillis: number;
1830
1830
  readonly purpose: "metadata" | "use";
1831
- readonly grantId?: (string & import("effect/Brand").Brand<"effect-auth/OAuthGrantId">) | undefined;
1832
- readonly profileKey?: (string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">) | undefined;
1831
+ readonly grantId?: string & import("effect/Brand").Brand<"effect-auth/OAuthGrantId">;
1832
+ readonly profileKey?: string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">;
1833
1833
  }, kind: "metadata" | "use", grant?: {
1834
1834
  readonly namespace: "effect-auth/oauth-connected-token-context/v1";
1835
1835
  readonly exchangeOrder: string;
@@ -1858,7 +1858,7 @@ export declare const useAuthority: (mapping: Mapping, authorization: {
1858
1858
  readonly resources: readonly string[];
1859
1859
  readonly retention: "access-and-refresh" | "access-only";
1860
1860
  readonly maximumAccessLifetimeMillis: number;
1861
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1861
+ readonly maximumRefreshLifetimeMillis?: number;
1862
1862
  readonly refreshAheadMillis: number;
1863
1863
  readonly refresh: "confidential" | "rotating" | "unsupported";
1864
1864
  readonly revocation: "cohort" | "unsupported";
@@ -1871,22 +1871,22 @@ export declare const useAuthority: (mapping: Mapping, authorization: {
1871
1871
  readonly metadata: {
1872
1872
  readonly scopes: readonly string[];
1873
1873
  readonly resources: readonly string[];
1874
- readonly accessExpiresAtMillis?: number | undefined;
1875
- readonly refreshExpiresAtMillis?: number | undefined;
1874
+ readonly accessExpiresAtMillis?: number;
1875
+ readonly refreshExpiresAtMillis?: number;
1876
1876
  readonly useUntilMillis: number;
1877
- readonly refreshUseUntilMillis?: number | undefined;
1877
+ readonly refreshUseUntilMillis?: number;
1878
1878
  readonly obtainedAtMillis: number;
1879
1879
  readonly profile?: {
1880
- readonly displayName?: string | undefined;
1881
- readonly handle?: string | undefined;
1882
- readonly avatarUrl?: string | undefined;
1883
- readonly profileUrl?: string | undefined;
1884
- readonly email?: string | undefined;
1885
- readonly emailVerified?: boolean | undefined;
1880
+ readonly displayName?: string;
1881
+ readonly handle?: string;
1882
+ readonly avatarUrl?: string;
1883
+ readonly profileUrl?: string;
1884
+ readonly email?: string;
1885
+ readonly emailVerified?: boolean;
1886
1886
  readonly providerData?: {
1887
1887
  readonly [x: string]: Schema.Json;
1888
- } | undefined;
1889
- } | undefined;
1888
+ };
1889
+ };
1890
1890
  };
1891
1891
  } | undefined) => Effect.Effect<{
1892
1892
  subject: import("@yielded/auth-persistence/Adapter").Observation;
@@ -1933,7 +1933,7 @@ export declare const scope: (mapping: Authority, config: {
1933
1933
  readonly resources: readonly string[];
1934
1934
  readonly retention: "access-and-refresh" | "access-only";
1935
1935
  readonly maximumAccessLifetimeMillis: number;
1936
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1936
+ readonly maximumRefreshLifetimeMillis?: number;
1937
1937
  readonly refreshAheadMillis: number;
1938
1938
  readonly refresh: "confidential" | "rotating" | "unsupported";
1939
1939
  readonly revocation: "cohort" | "unsupported";
@@ -1966,7 +1966,7 @@ export declare const client: (mapping: Authority, config: {
1966
1966
  readonly resources: readonly string[];
1967
1967
  readonly retention: "access-and-refresh" | "access-only";
1968
1968
  readonly maximumAccessLifetimeMillis: number;
1969
- readonly maximumRefreshLifetimeMillis?: number | undefined;
1969
+ readonly maximumRefreshLifetimeMillis?: number;
1970
1970
  readonly refreshAheadMillis: number;
1971
1971
  readonly refresh: "confidential" | "rotating" | "unsupported";
1972
1972
  readonly revocation: "cohort" | "unsupported";
@@ -2016,7 +2016,7 @@ export declare const readGrant: (mapping: Authority, moduleId: string, grantId:
2016
2016
  readonly resources: readonly string[];
2017
2017
  readonly retention: "access-and-refresh" | "access-only";
2018
2018
  readonly maximumAccessLifetimeMillis: number;
2019
- readonly maximumRefreshLifetimeMillis?: number | undefined;
2019
+ readonly maximumRefreshLifetimeMillis?: number;
2020
2020
  readonly refreshAheadMillis: number;
2021
2021
  readonly refresh: "confidential" | "rotating" | "unsupported";
2022
2022
  readonly revocation: "cohort" | "unsupported";
@@ -2029,22 +2029,22 @@ export declare const readGrant: (mapping: Authority, moduleId: string, grantId:
2029
2029
  readonly metadata: {
2030
2030
  readonly scopes: readonly string[];
2031
2031
  readonly resources: readonly string[];
2032
- readonly accessExpiresAtMillis?: number | undefined;
2033
- readonly refreshExpiresAtMillis?: number | undefined;
2032
+ readonly accessExpiresAtMillis?: number;
2033
+ readonly refreshExpiresAtMillis?: number;
2034
2034
  readonly useUntilMillis: number;
2035
- readonly refreshUseUntilMillis?: number | undefined;
2035
+ readonly refreshUseUntilMillis?: number;
2036
2036
  readonly obtainedAtMillis: number;
2037
2037
  readonly profile?: {
2038
- readonly displayName?: string | undefined;
2039
- readonly handle?: string | undefined;
2040
- readonly avatarUrl?: string | undefined;
2041
- readonly profileUrl?: string | undefined;
2042
- readonly email?: string | undefined;
2043
- readonly emailVerified?: boolean | undefined;
2038
+ readonly displayName?: string;
2039
+ readonly handle?: string;
2040
+ readonly avatarUrl?: string;
2041
+ readonly profileUrl?: string;
2042
+ readonly email?: string;
2043
+ readonly emailVerified?: boolean;
2044
2044
  readonly providerData?: {
2045
2045
  readonly [x: string]: Schema.Json;
2046
- } | undefined;
2047
- } | undefined;
2046
+ };
2047
+ };
2048
2048
  };
2049
2049
  };
2050
2050
  native: any;