@yielded/auth 0.1.0-beta.3 → 0.1.0-beta.5

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.
Files changed (65) hide show
  1. package/dist/DrizzleD1.d.mts +51 -2
  2. package/dist/DrizzleLibsql.d.mts +53 -4
  3. package/dist/DrizzleMysql2.d.mts +53 -4
  4. package/dist/DrizzlePglite.d.mts +53 -4
  5. package/dist/DrizzlePostgres.d.mts +55 -6
  6. package/dist/DrizzleSqliteBun.d.mts +51 -2
  7. package/dist/DrizzleSqliteDo.d.mts +53 -4
  8. package/dist/DrizzleSqliteNode.d.mts +53 -4
  9. package/dist/DrizzleSqliteWasm.d.mts +55 -6
  10. package/dist/GitHub.d.mts +2 -1
  11. package/dist/GitHub.mjs +2 -1
  12. package/dist/OpenIdClient.d.mts +2 -1
  13. package/dist/OpenIdClient.mjs +2 -1
  14. package/dist/drizzle/oauth-connected-state.d.mts +1 -1
  15. package/dist/drizzle/oauth-registration.d.mts +1 -1
  16. package/dist/drizzle/oauth-registration.mjs +3 -2
  17. package/dist/drizzle/oauth-registration.mjs.map +1 -1
  18. package/dist/oauth/OAuthConnectedRevocations.d.mts +10 -0
  19. package/dist/oauth/OAuthRegistrationIntents.d.mts +9 -0
  20. package/dist/oauth/accountsModels.d.mts +5 -0
  21. package/dist/oauth/connected.d.mts +22 -0
  22. package/dist/oauth/connectedModels.d.mts +115 -0
  23. package/dist/oauth/definition.d.mts +111 -3
  24. package/dist/oauth/github/identity.mjs +11 -9
  25. package/dist/oauth/github/identity.mjs.map +1 -1
  26. package/dist/oauth/github/profile.d.mts +61 -0
  27. package/dist/oauth/github/profile.mjs +72 -0
  28. package/dist/oauth/github/profile.mjs.map +1 -0
  29. package/dist/oauth/github/protocol.mjs +2 -2
  30. package/dist/oauth/github/protocol.mjs.map +1 -1
  31. package/dist/oauth/openid-client/connected/protocol.mjs +3 -0
  32. package/dist/oauth/openid-client/connected/protocol.mjs.map +1 -1
  33. package/dist/oauth/openid-client/profile.d.mts +39 -0
  34. package/dist/oauth/openid-client/profile.mjs +58 -0
  35. package/dist/oauth/openid-client/profile.mjs.map +1 -0
  36. package/dist/oauth/openid-client/protocol.mjs +3 -0
  37. package/dist/oauth/openid-client/protocol.mjs.map +1 -1
  38. package/dist/oauth/registrationModels.d.mts +22 -0
  39. package/dist/oauth/registrationModels.mjs +4 -1
  40. package/dist/oauth/registrationModels.mjs.map +1 -1
  41. package/dist/oauth/registrationSecrets.mjs +1 -0
  42. package/dist/oauth/registrationSecrets.mjs.map +1 -1
  43. package/dist/oauth/signInModels.d.mts +18 -0
  44. package/dist/oauth/signInModels.mjs +11 -1
  45. package/dist/oauth/signInModels.mjs.map +1 -1
  46. package/dist/oauth/signInModule.d.mts +43 -4
  47. package/dist/oauth/signInModule.mjs +1 -1
  48. package/dist/oauth/signInModule.mjs.map +1 -1
  49. package/dist/oauth/signInSnapshot.mjs +1 -1
  50. package/dist/oauth/signInSnapshot.mjs.map +1 -1
  51. package/package.json +1 -1
  52. package/src/GitHub.ts +1 -0
  53. package/src/OpenIdClient.ts +2 -0
  54. package/src/drizzle/oauth-registration.ts +4 -0
  55. package/src/oauth/github/identity.ts +11 -7
  56. package/src/oauth/github/profile.ts +64 -0
  57. package/src/oauth/github/protocol.ts +3 -2
  58. package/src/oauth/openid-client/connected/protocol.ts +4 -0
  59. package/src/oauth/openid-client/profile.ts +68 -0
  60. package/src/oauth/openid-client/protocol.ts +4 -0
  61. package/src/oauth/registrationModels.ts +4 -0
  62. package/src/oauth/registrationSecrets.ts +1 -0
  63. package/src/oauth/signInModels.ts +18 -0
  64. package/src/oauth/signInModule.ts +4 -0
  65. package/src/oauth/signInSnapshot.ts +2 -1
@@ -337,12 +337,12 @@ declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
337
337
  readonly nowMillis: number;
338
338
  }, prepare: PrepareOAuthCommit<{
339
339
  readonly _tag: "Rejected";
340
+ } | {
341
+ readonly _tag: "Ambiguous";
340
342
  } | {
341
343
  readonly _tag: "Conflict";
342
344
  } | {
343
345
  readonly _tag: "Cancelled";
344
- } | {
345
- readonly _tag: "Ambiguous";
346
346
  } | {
347
347
  readonly _tag: "Connected";
348
348
  readonly grant: {
@@ -394,6 +394,13 @@ declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
394
394
  readonly profile?: {
395
395
  readonly displayName?: string | undefined;
396
396
  readonly handle?: string | undefined;
397
+ readonly avatarUrl?: string | undefined;
398
+ readonly profileUrl?: string | undefined;
399
+ readonly email?: string | undefined;
400
+ readonly emailVerified?: boolean | undefined;
401
+ readonly providerData?: {
402
+ readonly [x: string]: import("effect/Schema").Json;
403
+ } | undefined;
397
404
  } | undefined;
398
405
  };
399
406
  };
@@ -424,6 +431,13 @@ declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
424
431
  readonly profile?: {
425
432
  readonly displayName?: string | undefined;
426
433
  readonly handle?: string | undefined;
434
+ readonly avatarUrl?: string | undefined;
435
+ readonly profileUrl?: string | undefined;
436
+ readonly email?: string | undefined;
437
+ readonly emailVerified?: boolean | undefined;
438
+ readonly providerData?: {
439
+ readonly [x: string]: import("effect/Schema").Json;
440
+ } | undefined;
427
441
  } | undefined;
428
442
  readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
429
443
  }[];
@@ -490,6 +504,13 @@ declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
490
504
  readonly profile?: {
491
505
  readonly displayName?: string | undefined;
492
506
  readonly handle?: string | undefined;
507
+ readonly avatarUrl?: string | undefined;
508
+ readonly profileUrl?: string | undefined;
509
+ readonly email?: string | undefined;
510
+ readonly emailVerified?: boolean | undefined;
511
+ readonly providerData?: {
512
+ readonly [x: string]: import("effect/Schema").Json;
513
+ } | undefined;
493
514
  } | undefined;
494
515
  };
495
516
  };
@@ -595,6 +616,13 @@ declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
595
616
  readonly profile?: {
596
617
  readonly displayName?: string | undefined;
597
618
  readonly handle?: string | undefined;
619
+ readonly avatarUrl?: string | undefined;
620
+ readonly profileUrl?: string | undefined;
621
+ readonly email?: string | undefined;
622
+ readonly emailVerified?: boolean | undefined;
623
+ readonly providerData?: {
624
+ readonly [x: string]: import("effect/Schema").Json;
625
+ } | undefined;
598
626
  } | undefined;
599
627
  };
600
628
  };
@@ -672,6 +700,13 @@ declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
672
700
  readonly profile?: {
673
701
  readonly displayName?: string | undefined;
674
702
  readonly handle?: string | undefined;
703
+ readonly avatarUrl?: string | undefined;
704
+ readonly profileUrl?: string | undefined;
705
+ readonly email?: string | undefined;
706
+ readonly emailVerified?: boolean | undefined;
707
+ readonly providerData?: {
708
+ readonly [x: string]: import("effect/Schema").Json;
709
+ } | undefined;
675
710
  } | undefined;
676
711
  };
677
712
  };
@@ -747,6 +782,13 @@ declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
747
782
  readonly profile?: {
748
783
  readonly displayName?: string | undefined;
749
784
  readonly handle?: string | undefined;
785
+ readonly avatarUrl?: string | undefined;
786
+ readonly profileUrl?: string | undefined;
787
+ readonly email?: string | undefined;
788
+ readonly emailVerified?: boolean | undefined;
789
+ readonly providerData?: {
790
+ readonly [x: string]: import("effect/Schema").Json;
791
+ } | undefined;
750
792
  } | undefined;
751
793
  };
752
794
  };
@@ -860,6 +902,13 @@ declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
860
902
  readonly profile?: {
861
903
  readonly displayName?: string | undefined;
862
904
  readonly handle?: string | undefined;
905
+ readonly avatarUrl?: string | undefined;
906
+ readonly profileUrl?: string | undefined;
907
+ readonly email?: string | undefined;
908
+ readonly emailVerified?: boolean | undefined;
909
+ readonly providerData?: {
910
+ readonly [x: string]: import("effect/Schema").Json;
911
+ } | undefined;
863
912
  } | undefined;
864
913
  };
865
914
  };
@@ -704,6 +704,8 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
704
704
  readonly _tag: "Ambiguous";
705
705
  } | {
706
706
  readonly _tag: "Cancelled";
707
+ } | {
708
+ readonly _tag: "Conflict";
707
709
  } | {
708
710
  readonly _tag: "Linked";
709
711
  readonly credential: {
@@ -725,8 +727,6 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
725
727
  };
726
728
  };
727
729
  readonly changed: boolean;
728
- } | {
729
- readonly _tag: "Conflict";
730
730
  }, A>) => Effect.Effect<PreparedCommit<A>, OAuthUnavailable>;
731
731
  readonly inspectUnlink: (input: {
732
732
  readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
@@ -780,8 +780,6 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
780
780
  readonly retentionUntilMillis: number;
781
781
  }, prepare: PrepareOAuthCommit<{
782
782
  readonly _tag: "Rejected";
783
- } | {
784
- readonly _tag: "LastSignInMethod";
785
783
  } | {
786
784
  readonly _tag: "Conflict";
787
785
  } | {
@@ -797,6 +795,8 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
797
795
  };
798
796
  };
799
797
  readonly replayed: boolean;
798
+ } | {
799
+ readonly _tag: "LastSignInMethod";
800
800
  }, A>) => Effect.Effect<PreparedCommit<A>, OAuthUnavailable>;
801
801
  readonly cleanup: <A>(input: OAuthCleanupInput, prepare: PrepareOAuthCommit<{
802
802
  readonly terminalized: number;
@@ -1354,6 +1354,13 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1354
1354
  readonly profile?: {
1355
1355
  readonly displayName?: string | undefined;
1356
1356
  readonly handle?: string | undefined;
1357
+ readonly avatarUrl?: string | undefined;
1358
+ readonly profileUrl?: string | undefined;
1359
+ readonly email?: string | undefined;
1360
+ readonly emailVerified?: boolean | undefined;
1361
+ readonly providerData?: {
1362
+ readonly [x: string]: import("effect/Schema").Json;
1363
+ } | undefined;
1357
1364
  } | undefined;
1358
1365
  };
1359
1366
  };
@@ -1384,6 +1391,13 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1384
1391
  readonly profile?: {
1385
1392
  readonly displayName?: string | undefined;
1386
1393
  readonly handle?: string | undefined;
1394
+ readonly avatarUrl?: string | undefined;
1395
+ readonly profileUrl?: string | undefined;
1396
+ readonly email?: string | undefined;
1397
+ readonly emailVerified?: boolean | undefined;
1398
+ readonly providerData?: {
1399
+ readonly [x: string]: import("effect/Schema").Json;
1400
+ } | undefined;
1387
1401
  } | undefined;
1388
1402
  readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
1389
1403
  }[];
@@ -1450,6 +1464,13 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1450
1464
  readonly profile?: {
1451
1465
  readonly displayName?: string | undefined;
1452
1466
  readonly handle?: string | undefined;
1467
+ readonly avatarUrl?: string | undefined;
1468
+ readonly profileUrl?: string | undefined;
1469
+ readonly email?: string | undefined;
1470
+ readonly emailVerified?: boolean | undefined;
1471
+ readonly providerData?: {
1472
+ readonly [x: string]: import("effect/Schema").Json;
1473
+ } | undefined;
1453
1474
  } | undefined;
1454
1475
  };
1455
1476
  };
@@ -1555,6 +1576,13 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1555
1576
  readonly profile?: {
1556
1577
  readonly displayName?: string | undefined;
1557
1578
  readonly handle?: string | undefined;
1579
+ readonly avatarUrl?: string | undefined;
1580
+ readonly profileUrl?: string | undefined;
1581
+ readonly email?: string | undefined;
1582
+ readonly emailVerified?: boolean | undefined;
1583
+ readonly providerData?: {
1584
+ readonly [x: string]: import("effect/Schema").Json;
1585
+ } | undefined;
1558
1586
  } | undefined;
1559
1587
  };
1560
1588
  };
@@ -1632,6 +1660,13 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1632
1660
  readonly profile?: {
1633
1661
  readonly displayName?: string | undefined;
1634
1662
  readonly handle?: string | undefined;
1663
+ readonly avatarUrl?: string | undefined;
1664
+ readonly profileUrl?: string | undefined;
1665
+ readonly email?: string | undefined;
1666
+ readonly emailVerified?: boolean | undefined;
1667
+ readonly providerData?: {
1668
+ readonly [x: string]: import("effect/Schema").Json;
1669
+ } | undefined;
1635
1670
  } | undefined;
1636
1671
  };
1637
1672
  };
@@ -1707,6 +1742,13 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1707
1742
  readonly profile?: {
1708
1743
  readonly displayName?: string | undefined;
1709
1744
  readonly handle?: string | undefined;
1745
+ readonly avatarUrl?: string | undefined;
1746
+ readonly profileUrl?: string | undefined;
1747
+ readonly email?: string | undefined;
1748
+ readonly emailVerified?: boolean | undefined;
1749
+ readonly providerData?: {
1750
+ readonly [x: string]: import("effect/Schema").Json;
1751
+ } | undefined;
1710
1752
  } | undefined;
1711
1753
  };
1712
1754
  };
@@ -1818,6 +1860,13 @@ declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
1818
1860
  readonly profile?: {
1819
1861
  readonly displayName?: string | undefined;
1820
1862
  readonly handle?: string | undefined;
1863
+ readonly avatarUrl?: string | undefined;
1864
+ readonly profileUrl?: string | undefined;
1865
+ readonly email?: string | undefined;
1866
+ readonly emailVerified?: boolean | undefined;
1867
+ readonly providerData?: {
1868
+ readonly [x: string]: import("effect/Schema").Json;
1869
+ } | undefined;
1821
1870
  } | undefined;
1822
1871
  };
1823
1872
  };
@@ -221,12 +221,12 @@ declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
221
221
  readonly nowMillis: number;
222
222
  }, prepare: PrepareOAuthCommit<{
223
223
  readonly _tag: "Rejected";
224
- } | {
225
- readonly _tag: "Ambiguous";
226
224
  } | {
227
225
  readonly _tag: "Conflict";
228
226
  } | {
229
227
  readonly _tag: "Cancelled";
228
+ } | {
229
+ readonly _tag: "Ambiguous";
230
230
  } | {
231
231
  readonly _tag: "Linked";
232
232
  readonly credential: {
@@ -818,12 +818,12 @@ declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
818
818
  readonly nowMillis: number;
819
819
  }, prepare: PrepareOAuthCommit<{
820
820
  readonly _tag: "Rejected";
821
- } | {
822
- readonly _tag: "Ambiguous";
823
821
  } | {
824
822
  readonly _tag: "Conflict";
825
823
  } | {
826
824
  readonly _tag: "Cancelled";
825
+ } | {
826
+ readonly _tag: "Ambiguous";
827
827
  } | {
828
828
  readonly _tag: "Connected";
829
829
  readonly grant: {
@@ -875,6 +875,13 @@ declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
875
875
  readonly profile?: {
876
876
  readonly displayName?: string | undefined;
877
877
  readonly handle?: string | undefined;
878
+ readonly avatarUrl?: string | undefined;
879
+ readonly profileUrl?: string | undefined;
880
+ readonly email?: string | undefined;
881
+ readonly emailVerified?: boolean | undefined;
882
+ readonly providerData?: {
883
+ readonly [x: string]: import("effect/Schema").Json;
884
+ } | undefined;
878
885
  } | undefined;
879
886
  };
880
887
  };
@@ -905,6 +912,13 @@ declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
905
912
  readonly profile?: {
906
913
  readonly displayName?: string | undefined;
907
914
  readonly handle?: string | undefined;
915
+ readonly avatarUrl?: string | undefined;
916
+ readonly profileUrl?: string | undefined;
917
+ readonly email?: string | undefined;
918
+ readonly emailVerified?: boolean | undefined;
919
+ readonly providerData?: {
920
+ readonly [x: string]: import("effect/Schema").Json;
921
+ } | undefined;
908
922
  } | undefined;
909
923
  readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
910
924
  }[];
@@ -971,6 +985,13 @@ declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
971
985
  readonly profile?: {
972
986
  readonly displayName?: string | undefined;
973
987
  readonly handle?: string | undefined;
988
+ readonly avatarUrl?: string | undefined;
989
+ readonly profileUrl?: string | undefined;
990
+ readonly email?: string | undefined;
991
+ readonly emailVerified?: boolean | undefined;
992
+ readonly providerData?: {
993
+ readonly [x: string]: import("effect/Schema").Json;
994
+ } | undefined;
974
995
  } | undefined;
975
996
  };
976
997
  };
@@ -1076,6 +1097,13 @@ declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1076
1097
  readonly profile?: {
1077
1098
  readonly displayName?: string | undefined;
1078
1099
  readonly handle?: string | undefined;
1100
+ readonly avatarUrl?: string | undefined;
1101
+ readonly profileUrl?: string | undefined;
1102
+ readonly email?: string | undefined;
1103
+ readonly emailVerified?: boolean | undefined;
1104
+ readonly providerData?: {
1105
+ readonly [x: string]: import("effect/Schema").Json;
1106
+ } | undefined;
1079
1107
  } | undefined;
1080
1108
  };
1081
1109
  };
@@ -1153,6 +1181,13 @@ declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1153
1181
  readonly profile?: {
1154
1182
  readonly displayName?: string | undefined;
1155
1183
  readonly handle?: string | undefined;
1184
+ readonly avatarUrl?: string | undefined;
1185
+ readonly profileUrl?: string | undefined;
1186
+ readonly email?: string | undefined;
1187
+ readonly emailVerified?: boolean | undefined;
1188
+ readonly providerData?: {
1189
+ readonly [x: string]: import("effect/Schema").Json;
1190
+ } | undefined;
1156
1191
  } | undefined;
1157
1192
  };
1158
1193
  };
@@ -1228,6 +1263,13 @@ declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1228
1263
  readonly profile?: {
1229
1264
  readonly displayName?: string | undefined;
1230
1265
  readonly handle?: string | undefined;
1266
+ readonly avatarUrl?: string | undefined;
1267
+ readonly profileUrl?: string | undefined;
1268
+ readonly email?: string | undefined;
1269
+ readonly emailVerified?: boolean | undefined;
1270
+ readonly providerData?: {
1271
+ readonly [x: string]: import("effect/Schema").Json;
1272
+ } | undefined;
1231
1273
  } | undefined;
1232
1274
  };
1233
1275
  };
@@ -1339,6 +1381,13 @@ declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
1339
1381
  readonly profile?: {
1340
1382
  readonly displayName?: string | undefined;
1341
1383
  readonly handle?: string | undefined;
1384
+ readonly avatarUrl?: string | undefined;
1385
+ readonly profileUrl?: string | undefined;
1386
+ readonly email?: string | undefined;
1387
+ readonly emailVerified?: boolean | undefined;
1388
+ readonly providerData?: {
1389
+ readonly [x: string]: import("effect/Schema").Json;
1390
+ } | undefined;
1342
1391
  } | undefined;
1343
1392
  };
1344
1393
  };
@@ -220,12 +220,12 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
220
220
  readonly nowMillis: number;
221
221
  }, prepare: PrepareOAuthCommit<{
222
222
  readonly _tag: "Rejected";
223
- } | {
224
- readonly _tag: "Ambiguous";
225
223
  } | {
226
224
  readonly _tag: "Conflict";
227
225
  } | {
228
226
  readonly _tag: "Cancelled";
227
+ } | {
228
+ readonly _tag: "Ambiguous";
229
229
  } | {
230
230
  readonly _tag: "Linked";
231
231
  readonly credential: {
@@ -817,12 +817,12 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
817
817
  readonly nowMillis: number;
818
818
  }, prepare: PrepareOAuthCommit<{
819
819
  readonly _tag: "Rejected";
820
- } | {
821
- readonly _tag: "Ambiguous";
822
820
  } | {
823
821
  readonly _tag: "Conflict";
824
822
  } | {
825
823
  readonly _tag: "Cancelled";
824
+ } | {
825
+ readonly _tag: "Ambiguous";
826
826
  } | {
827
827
  readonly _tag: "Connected";
828
828
  readonly grant: {
@@ -874,6 +874,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
874
874
  readonly profile?: {
875
875
  readonly displayName?: string | undefined;
876
876
  readonly handle?: string | undefined;
877
+ readonly avatarUrl?: string | undefined;
878
+ readonly profileUrl?: string | undefined;
879
+ readonly email?: string | undefined;
880
+ readonly emailVerified?: boolean | undefined;
881
+ readonly providerData?: {
882
+ readonly [x: string]: import("effect/Schema").Json;
883
+ } | undefined;
877
884
  } | undefined;
878
885
  };
879
886
  };
@@ -904,6 +911,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
904
911
  readonly profile?: {
905
912
  readonly displayName?: string | undefined;
906
913
  readonly handle?: string | undefined;
914
+ readonly avatarUrl?: string | undefined;
915
+ readonly profileUrl?: string | undefined;
916
+ readonly email?: string | undefined;
917
+ readonly emailVerified?: boolean | undefined;
918
+ readonly providerData?: {
919
+ readonly [x: string]: import("effect/Schema").Json;
920
+ } | undefined;
907
921
  } | undefined;
908
922
  readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
909
923
  }[];
@@ -970,6 +984,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
970
984
  readonly profile?: {
971
985
  readonly displayName?: string | undefined;
972
986
  readonly handle?: string | undefined;
987
+ readonly avatarUrl?: string | undefined;
988
+ readonly profileUrl?: string | undefined;
989
+ readonly email?: string | undefined;
990
+ readonly emailVerified?: boolean | undefined;
991
+ readonly providerData?: {
992
+ readonly [x: string]: import("effect/Schema").Json;
993
+ } | undefined;
973
994
  } | undefined;
974
995
  };
975
996
  };
@@ -1075,6 +1096,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
1075
1096
  readonly profile?: {
1076
1097
  readonly displayName?: string | undefined;
1077
1098
  readonly handle?: string | undefined;
1099
+ readonly avatarUrl?: string | undefined;
1100
+ readonly profileUrl?: string | undefined;
1101
+ readonly email?: string | undefined;
1102
+ readonly emailVerified?: boolean | undefined;
1103
+ readonly providerData?: {
1104
+ readonly [x: string]: import("effect/Schema").Json;
1105
+ } | undefined;
1078
1106
  } | undefined;
1079
1107
  };
1080
1108
  };
@@ -1152,6 +1180,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
1152
1180
  readonly profile?: {
1153
1181
  readonly displayName?: string | undefined;
1154
1182
  readonly handle?: string | undefined;
1183
+ readonly avatarUrl?: string | undefined;
1184
+ readonly profileUrl?: string | undefined;
1185
+ readonly email?: string | undefined;
1186
+ readonly emailVerified?: boolean | undefined;
1187
+ readonly providerData?: {
1188
+ readonly [x: string]: import("effect/Schema").Json;
1189
+ } | undefined;
1155
1190
  } | undefined;
1156
1191
  };
1157
1192
  };
@@ -1227,6 +1262,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
1227
1262
  readonly profile?: {
1228
1263
  readonly displayName?: string | undefined;
1229
1264
  readonly handle?: string | undefined;
1265
+ readonly avatarUrl?: string | undefined;
1266
+ readonly profileUrl?: string | undefined;
1267
+ readonly email?: string | undefined;
1268
+ readonly emailVerified?: boolean | undefined;
1269
+ readonly providerData?: {
1270
+ readonly [x: string]: import("effect/Schema").Json;
1271
+ } | undefined;
1230
1272
  } | undefined;
1231
1273
  };
1232
1274
  };
@@ -1338,6 +1380,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
1338
1380
  readonly profile?: {
1339
1381
  readonly displayName?: string | undefined;
1340
1382
  readonly handle?: string | undefined;
1383
+ readonly avatarUrl?: string | undefined;
1384
+ readonly profileUrl?: string | undefined;
1385
+ readonly email?: string | undefined;
1386
+ readonly emailVerified?: boolean | undefined;
1387
+ readonly providerData?: {
1388
+ readonly [x: string]: import("effect/Schema").Json;
1389
+ } | undefined;
1341
1390
  } | undefined;
1342
1391
  };
1343
1392
  };
@@ -220,12 +220,12 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
220
220
  readonly nowMillis: number;
221
221
  }, prepare: PrepareOAuthCommit<{
222
222
  readonly _tag: "Rejected";
223
+ } | {
224
+ readonly _tag: "Ambiguous";
223
225
  } | {
224
226
  readonly _tag: "Conflict";
225
227
  } | {
226
228
  readonly _tag: "Cancelled";
227
- } | {
228
- readonly _tag: "Ambiguous";
229
229
  } | {
230
230
  readonly _tag: "Linked";
231
231
  readonly credential: {
@@ -302,6 +302,8 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
302
302
  readonly _tag: "Rejected";
303
303
  } | {
304
304
  readonly _tag: "Conflict";
305
+ } | {
306
+ readonly _tag: "LastSignInMethod";
305
307
  } | {
306
308
  readonly _tag: "Unlinked";
307
309
  readonly result: {
@@ -315,8 +317,6 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
315
317
  };
316
318
  };
317
319
  readonly replayed: boolean;
318
- } | {
319
- readonly _tag: "LastSignInMethod";
320
320
  }, A>) => import("effect/Effect").Effect<PreparedCommit<A>, OAuthUnavailable>;
321
321
  readonly cleanup: <A>(input: OAuthCleanupInput, prepare: PrepareOAuthCommit<{
322
322
  readonly terminalized: number;
@@ -817,12 +817,12 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
817
817
  readonly nowMillis: number;
818
818
  }, prepare: PrepareOAuthCommit<{
819
819
  readonly _tag: "Rejected";
820
+ } | {
821
+ readonly _tag: "Ambiguous";
820
822
  } | {
821
823
  readonly _tag: "Conflict";
822
824
  } | {
823
825
  readonly _tag: "Cancelled";
824
- } | {
825
- readonly _tag: "Ambiguous";
826
826
  } | {
827
827
  readonly _tag: "Connected";
828
828
  readonly grant: {
@@ -874,6 +874,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
874
874
  readonly profile?: {
875
875
  readonly displayName?: string | undefined;
876
876
  readonly handle?: string | undefined;
877
+ readonly avatarUrl?: string | undefined;
878
+ readonly profileUrl?: string | undefined;
879
+ readonly email?: string | undefined;
880
+ readonly emailVerified?: boolean | undefined;
881
+ readonly providerData?: {
882
+ readonly [x: string]: import("effect/Schema").Json;
883
+ } | undefined;
877
884
  } | undefined;
878
885
  };
879
886
  };
@@ -904,6 +911,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
904
911
  readonly profile?: {
905
912
  readonly displayName?: string | undefined;
906
913
  readonly handle?: string | undefined;
914
+ readonly avatarUrl?: string | undefined;
915
+ readonly profileUrl?: string | undefined;
916
+ readonly email?: string | undefined;
917
+ readonly emailVerified?: boolean | undefined;
918
+ readonly providerData?: {
919
+ readonly [x: string]: import("effect/Schema").Json;
920
+ } | undefined;
907
921
  } | undefined;
908
922
  readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
909
923
  }[];
@@ -970,6 +984,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
970
984
  readonly profile?: {
971
985
  readonly displayName?: string | undefined;
972
986
  readonly handle?: string | undefined;
987
+ readonly avatarUrl?: string | undefined;
988
+ readonly profileUrl?: string | undefined;
989
+ readonly email?: string | undefined;
990
+ readonly emailVerified?: boolean | undefined;
991
+ readonly providerData?: {
992
+ readonly [x: string]: import("effect/Schema").Json;
993
+ } | undefined;
973
994
  } | undefined;
974
995
  };
975
996
  };
@@ -1075,6 +1096,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
1075
1096
  readonly profile?: {
1076
1097
  readonly displayName?: string | undefined;
1077
1098
  readonly handle?: string | undefined;
1099
+ readonly avatarUrl?: string | undefined;
1100
+ readonly profileUrl?: string | undefined;
1101
+ readonly email?: string | undefined;
1102
+ readonly emailVerified?: boolean | undefined;
1103
+ readonly providerData?: {
1104
+ readonly [x: string]: import("effect/Schema").Json;
1105
+ } | undefined;
1078
1106
  } | undefined;
1079
1107
  };
1080
1108
  };
@@ -1152,6 +1180,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
1152
1180
  readonly profile?: {
1153
1181
  readonly displayName?: string | undefined;
1154
1182
  readonly handle?: string | undefined;
1183
+ readonly avatarUrl?: string | undefined;
1184
+ readonly profileUrl?: string | undefined;
1185
+ readonly email?: string | undefined;
1186
+ readonly emailVerified?: boolean | undefined;
1187
+ readonly providerData?: {
1188
+ readonly [x: string]: import("effect/Schema").Json;
1189
+ } | undefined;
1155
1190
  } | undefined;
1156
1191
  };
1157
1192
  };
@@ -1227,6 +1262,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
1227
1262
  readonly profile?: {
1228
1263
  readonly displayName?: string | undefined;
1229
1264
  readonly handle?: string | undefined;
1265
+ readonly avatarUrl?: string | undefined;
1266
+ readonly profileUrl?: string | undefined;
1267
+ readonly email?: string | undefined;
1268
+ readonly emailVerified?: boolean | undefined;
1269
+ readonly providerData?: {
1270
+ readonly [x: string]: import("effect/Schema").Json;
1271
+ } | undefined;
1230
1272
  } | undefined;
1231
1273
  };
1232
1274
  };
@@ -1338,6 +1380,13 @@ declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
1338
1380
  readonly profile?: {
1339
1381
  readonly displayName?: string | undefined;
1340
1382
  readonly handle?: string | undefined;
1383
+ readonly avatarUrl?: string | undefined;
1384
+ readonly profileUrl?: string | undefined;
1385
+ readonly email?: string | undefined;
1386
+ readonly emailVerified?: boolean | undefined;
1387
+ readonly providerData?: {
1388
+ readonly [x: string]: import("effect/Schema").Json;
1389
+ } | undefined;
1341
1390
  } | undefined;
1342
1391
  };
1343
1392
  };