includio-cms 0.5.3 → 0.5.7

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 (109) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/ROADMAP.md +33 -0
  3. package/dist/admin/api/rest/handler.d.ts +7 -0
  4. package/dist/admin/api/rest/handler.js +116 -0
  5. package/dist/admin/api/rest/middleware/apiKey.d.ts +6 -0
  6. package/dist/admin/api/rest/middleware/apiKey.js +45 -0
  7. package/dist/admin/api/rest/routes/collections.d.ts +5 -0
  8. package/dist/admin/api/rest/routes/collections.js +104 -0
  9. package/dist/admin/api/rest/routes/entries.d.ts +2 -0
  10. package/dist/admin/api/rest/routes/entries.js +37 -0
  11. package/dist/admin/api/rest/routes/languages.d.ts +1 -0
  12. package/dist/admin/api/rest/routes/languages.js +5 -0
  13. package/dist/admin/api/rest/routes/schema.d.ts +2 -0
  14. package/dist/admin/api/rest/routes/schema.js +78 -0
  15. package/dist/admin/api/rest/routes/singletons.d.ts +3 -0
  16. package/dist/admin/api/rest/routes/singletons.js +60 -0
  17. package/dist/admin/auth-client.d.ts +48 -48
  18. package/dist/admin/client/admin/admin-after-login-layout.svelte +5 -3
  19. package/dist/admin/client/admin/admin-layout.svelte +0 -2
  20. package/dist/admin/client/collection/bulk-actions-bar.svelte +3 -1
  21. package/dist/admin/client/collection/bulk-actions-bar.svelte.d.ts +1 -1
  22. package/dist/admin/client/collection/collection-entries.svelte +334 -166
  23. package/dist/admin/client/collection/collection-page.svelte +6 -3
  24. package/dist/admin/client/collection/data-table.svelte +127 -18
  25. package/dist/admin/client/collection/data-table.svelte.d.ts +2 -0
  26. package/dist/admin/client/collection/row-actions.svelte +3 -1
  27. package/dist/admin/client/collection/row-actions.svelte.d.ts +1 -1
  28. package/dist/admin/client/entry/entry-page.svelte +5 -4
  29. package/dist/admin/client/form/form-config-wrapper.svelte +5 -3
  30. package/dist/admin/client/form/form-page.svelte +5 -5
  31. package/dist/admin/client/form/form-submission/form-submission-page.svelte +30 -32
  32. package/dist/admin/components/accessibility/accessibility-overview.svelte +7 -5
  33. package/dist/admin/components/accessibility/accessibility-overview.svelte.d.ts +2 -17
  34. package/dist/admin/components/dashboard/a11y-gauge.svelte +7 -4
  35. package/dist/admin/components/dashboard/a11y-gauge.svelte.d.ts +2 -17
  36. package/dist/admin/components/dashboard/accessibility-hub.svelte +7 -4
  37. package/dist/admin/components/dashboard/accessibility-hub.svelte.d.ts +2 -17
  38. package/dist/admin/components/dashboard/form-submissions-widget.svelte +8 -3
  39. package/dist/admin/components/dashboard/form-submissions-widget.svelte.d.ts +2 -17
  40. package/dist/admin/components/dashboard/recent-activity.svelte +8 -3
  41. package/dist/admin/components/dashboard/recent-activity.svelte.d.ts +2 -17
  42. package/dist/admin/components/dashboard/recent-entries.svelte +8 -3
  43. package/dist/admin/components/dashboard/recent-entries.svelte.d.ts +2 -17
  44. package/dist/admin/components/fields/image-field.svelte +21 -20
  45. package/dist/admin/components/fields/media-field.svelte +45 -44
  46. package/dist/admin/components/fields/relation-field.svelte +428 -149
  47. package/dist/admin/components/fields/relation-picker-dialog.svelte +112 -0
  48. package/dist/admin/components/fields/relation-picker-dialog.svelte.d.ts +22 -0
  49. package/dist/admin/components/fields/seo-field.svelte +66 -10
  50. package/dist/admin/components/icons/icon-map.d.ts +4 -0
  51. package/dist/admin/components/icons/icon-map.js +143 -0
  52. package/dist/admin/components/layout/header-actions.svelte +0 -10
  53. package/dist/admin/components/layout/nav-collections.svelte +55 -57
  54. package/dist/admin/components/layout/nav-collections.svelte.d.ts +2 -17
  55. package/dist/admin/components/layout/nav-forms.svelte +49 -49
  56. package/dist/admin/components/layout/nav-forms.svelte.d.ts +2 -17
  57. package/dist/admin/components/layout/nav-search.svelte +15 -22
  58. package/dist/admin/components/layout/nav-singletons.svelte +35 -38
  59. package/dist/admin/components/layout/nav-singletons.svelte.d.ts +2 -17
  60. package/dist/admin/components/media/file/file-preview.svelte +92 -91
  61. package/dist/admin/components/media/file-preview.svelte +17 -18
  62. package/dist/admin/components/media/media-library.svelte +39 -41
  63. package/dist/admin/components/media/media-selector.svelte +8 -8
  64. package/dist/admin/components/tiptap/InlineBlockNodeView.svelte +6 -8
  65. package/dist/admin/components/tiptap/content-editor.svelte +2 -2
  66. package/dist/admin/components/tiptap/editor-toolbar.svelte +1 -1
  67. package/dist/admin/components/tiptap/inline-block-node.d.ts +1 -0
  68. package/dist/admin/components/tiptap/inline-block-node.js +12 -1
  69. package/dist/admin/components/tiptap/tiptap-editor.svelte +1 -1
  70. package/dist/admin/remote/entry.remote.d.ts +20 -1
  71. package/dist/admin/remote/entry.remote.js +24 -3
  72. package/dist/admin/remote/invite.d.ts +2 -2
  73. package/dist/cli/scaffold/admin.js +8 -0
  74. package/dist/cms/runtime/remote.d.ts +8 -0
  75. package/dist/cms/runtime/remote.js +7 -0
  76. package/dist/cms/runtime/types.d.ts +1 -1
  77. package/dist/components/ui/input/input.svelte.d.ts +1 -1
  78. package/dist/components/ui/input-group/input-group-input.svelte.d.ts +1 -1
  79. package/dist/components/ui/sidebar/sidebar-input.svelte.d.ts +1 -1
  80. package/dist/components/ui/sonner/sonner.svelte +1 -2
  81. package/dist/core/cms.d.ts +2 -1
  82. package/dist/core/cms.js +2 -0
  83. package/dist/core/server/entries/operations/get.d.ts +11 -0
  84. package/dist/core/server/entries/operations/get.js +63 -1
  85. package/dist/core/server/entries/operations/update.d.ts +1 -0
  86. package/dist/core/server/entries/operations/update.js +5 -1
  87. package/dist/core/server/fields/resolveUrlFields.js +49 -18
  88. package/dist/db-postgres/schema/entry.d.ts +17 -0
  89. package/dist/db-postgres/schema/entry.js +4 -2
  90. package/dist/server/auth.d.ts +4 -4
  91. package/dist/sveltekit/components/structured-content.svelte +18 -5
  92. package/dist/sveltekit/server/handle.js +1 -0
  93. package/dist/types/cms.d.ts +7 -0
  94. package/dist/types/collections.d.ts +2 -0
  95. package/dist/types/config.d.ts +2 -2
  96. package/dist/types/entries.d.ts +7 -1
  97. package/dist/types/forms.d.ts +2 -0
  98. package/dist/types/index.d.ts +2 -1
  99. package/dist/types/index.js +1 -0
  100. package/dist/updates/0.5.4/index.d.ts +2 -0
  101. package/dist/updates/0.5.4/index.js +15 -0
  102. package/dist/updates/0.5.5/index.d.ts +2 -0
  103. package/dist/updates/0.5.5/index.js +20 -0
  104. package/dist/updates/0.5.6/index.d.ts +2 -0
  105. package/dist/updates/0.5.6/index.js +17 -0
  106. package/dist/updates/0.5.7/index.d.ts +2 -0
  107. package/dist/updates/0.5.7/index.js +14 -0
  108. package/dist/updates/index.js +5 -1
  109. package/package.json +6 -2
@@ -2,6 +2,7 @@ export declare const authClient: {
2
2
  admin: {
3
3
  setRole: <FetchOptions extends {
4
4
  method?: string | undefined;
5
+ mode?: RequestMode | undefined;
5
6
  headers?: (HeadersInit & (HeadersInit | {
6
7
  accept: "application/json" | "text/plain" | "application/octet-stream";
7
8
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -11,7 +12,6 @@ export declare const authClient: {
11
12
  credentials?: RequestCredentials | undefined;
12
13
  integrity?: string | undefined;
13
14
  keepalive?: boolean | undefined;
14
- mode?: RequestMode | undefined;
15
15
  priority?: RequestPriority | undefined;
16
16
  redirect?: RequestRedirect | undefined;
17
17
  referrer?: string | undefined;
@@ -72,6 +72,7 @@ export declare const authClient: {
72
72
  admin: {
73
73
  getUser: <FetchOptions extends {
74
74
  method?: string | undefined;
75
+ mode?: RequestMode | undefined;
75
76
  headers?: (HeadersInit & (HeadersInit | {
76
77
  accept: "application/json" | "text/plain" | "application/octet-stream";
77
78
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -81,7 +82,6 @@ export declare const authClient: {
81
82
  credentials?: RequestCredentials | undefined;
82
83
  integrity?: string | undefined;
83
84
  keepalive?: boolean | undefined;
84
- mode?: RequestMode | undefined;
85
85
  priority?: RequestPriority | undefined;
86
86
  redirect?: RequestRedirect | undefined;
87
87
  referrer?: string | undefined;
@@ -147,6 +147,7 @@ export declare const authClient: {
147
147
  admin: {
148
148
  createUser: <FetchOptions extends {
149
149
  method?: string | undefined;
150
+ mode?: RequestMode | undefined;
150
151
  headers?: (HeadersInit & (HeadersInit | {
151
152
  accept: "application/json" | "text/plain" | "application/octet-stream";
152
153
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -156,7 +157,6 @@ export declare const authClient: {
156
157
  credentials?: RequestCredentials | undefined;
157
158
  integrity?: string | undefined;
158
159
  keepalive?: boolean | undefined;
159
- mode?: RequestMode | undefined;
160
160
  priority?: RequestPriority | undefined;
161
161
  redirect?: RequestRedirect | undefined;
162
162
  referrer?: string | undefined;
@@ -223,6 +223,7 @@ export declare const authClient: {
223
223
  admin: {
224
224
  updateUser: <FetchOptions extends {
225
225
  method?: string | undefined;
226
+ mode?: RequestMode | undefined;
226
227
  headers?: (HeadersInit & (HeadersInit | {
227
228
  accept: "application/json" | "text/plain" | "application/octet-stream";
228
229
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -232,7 +233,6 @@ export declare const authClient: {
232
233
  credentials?: RequestCredentials | undefined;
233
234
  integrity?: string | undefined;
234
235
  keepalive?: boolean | undefined;
235
- mode?: RequestMode | undefined;
236
236
  priority?: RequestPriority | undefined;
237
237
  redirect?: RequestRedirect | undefined;
238
238
  referrer?: string | undefined;
@@ -291,6 +291,7 @@ export declare const authClient: {
291
291
  admin: {
292
292
  listUsers: <FetchOptions extends {
293
293
  method?: string | undefined;
294
+ mode?: RequestMode | undefined;
294
295
  headers?: (HeadersInit & (HeadersInit | {
295
296
  accept: "application/json" | "text/plain" | "application/octet-stream";
296
297
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -300,7 +301,6 @@ export declare const authClient: {
300
301
  credentials?: RequestCredentials | undefined;
301
302
  integrity?: string | undefined;
302
303
  keepalive?: boolean | undefined;
303
- mode?: RequestMode | undefined;
304
304
  priority?: RequestPriority | undefined;
305
305
  redirect?: RequestRedirect | undefined;
306
306
  referrer?: string | undefined;
@@ -384,6 +384,7 @@ export declare const authClient: {
384
384
  admin: {
385
385
  listUserSessions: <FetchOptions extends {
386
386
  method?: string | undefined;
387
+ mode?: RequestMode | undefined;
387
388
  headers?: (HeadersInit & (HeadersInit | {
388
389
  accept: "application/json" | "text/plain" | "application/octet-stream";
389
390
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -393,7 +394,6 @@ export declare const authClient: {
393
394
  credentials?: RequestCredentials | undefined;
394
395
  integrity?: string | undefined;
395
396
  keepalive?: boolean | undefined;
396
- mode?: RequestMode | undefined;
397
397
  priority?: RequestPriority | undefined;
398
398
  redirect?: RequestRedirect | undefined;
399
399
  referrer?: string | undefined;
@@ -452,6 +452,7 @@ export declare const authClient: {
452
452
  admin: {
453
453
  unbanUser: <FetchOptions extends {
454
454
  method?: string | undefined;
455
+ mode?: RequestMode | undefined;
455
456
  headers?: (HeadersInit & (HeadersInit | {
456
457
  accept: "application/json" | "text/plain" | "application/octet-stream";
457
458
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -461,7 +462,6 @@ export declare const authClient: {
461
462
  credentials?: RequestCredentials | undefined;
462
463
  integrity?: string | undefined;
463
464
  keepalive?: boolean | undefined;
464
- mode?: RequestMode | undefined;
465
465
  priority?: RequestPriority | undefined;
466
466
  redirect?: RequestRedirect | undefined;
467
467
  referrer?: string | undefined;
@@ -520,6 +520,7 @@ export declare const authClient: {
520
520
  admin: {
521
521
  banUser: <FetchOptions extends {
522
522
  method?: string | undefined;
523
+ mode?: RequestMode | undefined;
523
524
  headers?: (HeadersInit & (HeadersInit | {
524
525
  accept: "application/json" | "text/plain" | "application/octet-stream";
525
526
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -529,7 +530,6 @@ export declare const authClient: {
529
530
  credentials?: RequestCredentials | undefined;
530
531
  integrity?: string | undefined;
531
532
  keepalive?: boolean | undefined;
532
- mode?: RequestMode | undefined;
533
533
  priority?: RequestPriority | undefined;
534
534
  redirect?: RequestRedirect | undefined;
535
535
  referrer?: string | undefined;
@@ -592,6 +592,7 @@ export declare const authClient: {
592
592
  admin: {
593
593
  impersonateUser: <FetchOptions extends {
594
594
  method?: string | undefined;
595
+ mode?: RequestMode | undefined;
595
596
  headers?: (HeadersInit & (HeadersInit | {
596
597
  accept: "application/json" | "text/plain" | "application/octet-stream";
597
598
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -601,7 +602,6 @@ export declare const authClient: {
601
602
  credentials?: RequestCredentials | undefined;
602
603
  integrity?: string | undefined;
603
604
  keepalive?: boolean | undefined;
604
- mode?: RequestMode | undefined;
605
605
  priority?: RequestPriority | undefined;
606
606
  redirect?: RequestRedirect | undefined;
607
607
  referrer?: string | undefined;
@@ -678,6 +678,7 @@ export declare const authClient: {
678
678
  admin: {
679
679
  stopImpersonating: <FetchOptions extends {
680
680
  method?: string | undefined;
681
+ mode?: RequestMode | undefined;
681
682
  headers?: (HeadersInit & (HeadersInit | {
682
683
  accept: "application/json" | "text/plain" | "application/octet-stream";
683
684
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -687,7 +688,6 @@ export declare const authClient: {
687
688
  credentials?: RequestCredentials | undefined;
688
689
  integrity?: string | undefined;
689
690
  keepalive?: boolean | undefined;
690
- mode?: RequestMode | undefined;
691
691
  priority?: RequestPriority | undefined;
692
692
  redirect?: RequestRedirect | undefined;
693
693
  referrer?: string | undefined;
@@ -744,6 +744,7 @@ export declare const authClient: {
744
744
  admin: {
745
745
  revokeUserSession: <FetchOptions extends {
746
746
  method?: string | undefined;
747
+ mode?: RequestMode | undefined;
747
748
  headers?: (HeadersInit & (HeadersInit | {
748
749
  accept: "application/json" | "text/plain" | "application/octet-stream";
749
750
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -753,7 +754,6 @@ export declare const authClient: {
753
754
  credentials?: RequestCredentials | undefined;
754
755
  integrity?: string | undefined;
755
756
  keepalive?: boolean | undefined;
756
- mode?: RequestMode | undefined;
757
757
  priority?: RequestPriority | undefined;
758
758
  redirect?: RequestRedirect | undefined;
759
759
  referrer?: string | undefined;
@@ -812,6 +812,7 @@ export declare const authClient: {
812
812
  admin: {
813
813
  revokeUserSessions: <FetchOptions extends {
814
814
  method?: string | undefined;
815
+ mode?: RequestMode | undefined;
815
816
  headers?: (HeadersInit & (HeadersInit | {
816
817
  accept: "application/json" | "text/plain" | "application/octet-stream";
817
818
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -821,7 +822,6 @@ export declare const authClient: {
821
822
  credentials?: RequestCredentials | undefined;
822
823
  integrity?: string | undefined;
823
824
  keepalive?: boolean | undefined;
824
- mode?: RequestMode | undefined;
825
825
  priority?: RequestPriority | undefined;
826
826
  redirect?: RequestRedirect | undefined;
827
827
  referrer?: string | undefined;
@@ -880,6 +880,7 @@ export declare const authClient: {
880
880
  admin: {
881
881
  removeUser: <FetchOptions extends {
882
882
  method?: string | undefined;
883
+ mode?: RequestMode | undefined;
883
884
  headers?: (HeadersInit & (HeadersInit | {
884
885
  accept: "application/json" | "text/plain" | "application/octet-stream";
885
886
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -889,7 +890,6 @@ export declare const authClient: {
889
890
  credentials?: RequestCredentials | undefined;
890
891
  integrity?: string | undefined;
891
892
  keepalive?: boolean | undefined;
892
- mode?: RequestMode | undefined;
893
893
  priority?: RequestPriority | undefined;
894
894
  redirect?: RequestRedirect | undefined;
895
895
  referrer?: string | undefined;
@@ -948,6 +948,7 @@ export declare const authClient: {
948
948
  admin: {
949
949
  setUserPassword: <FetchOptions extends {
950
950
  method?: string | undefined;
951
+ mode?: RequestMode | undefined;
951
952
  headers?: (HeadersInit & (HeadersInit | {
952
953
  accept: "application/json" | "text/plain" | "application/octet-stream";
953
954
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -957,7 +958,6 @@ export declare const authClient: {
957
958
  credentials?: RequestCredentials | undefined;
958
959
  integrity?: string | undefined;
959
960
  keepalive?: boolean | undefined;
960
- mode?: RequestMode | undefined;
961
961
  priority?: RequestPriority | undefined;
962
962
  redirect?: RequestRedirect | undefined;
963
963
  referrer?: string | undefined;
@@ -1018,6 +1018,7 @@ export declare const authClient: {
1018
1018
  admin: {
1019
1019
  hasPermission: <FetchOptions extends {
1020
1020
  method?: string | undefined;
1021
+ mode?: RequestMode | undefined;
1021
1022
  headers?: (HeadersInit & (HeadersInit | {
1022
1023
  accept: "application/json" | "text/plain" | "application/octet-stream";
1023
1024
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1027,7 +1028,6 @@ export declare const authClient: {
1027
1028
  credentials?: RequestCredentials | undefined;
1028
1029
  integrity?: string | undefined;
1029
1030
  keepalive?: boolean | undefined;
1030
- mode?: RequestMode | undefined;
1031
1031
  priority?: RequestPriority | undefined;
1032
1032
  redirect?: RequestRedirect | undefined;
1033
1033
  referrer?: string | undefined;
@@ -1061,13 +1061,13 @@ export declare const authClient: {
1061
1061
  }) | undefined;
1062
1062
  body?: (Partial<({
1063
1063
  permission: {
1064
- readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
1064
+ readonly user?: ("list" | "create" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
1065
1065
  readonly session?: ("list" | "delete" | "revoke")[] | undefined;
1066
1066
  };
1067
1067
  permissions?: never;
1068
1068
  } | {
1069
1069
  permissions: {
1070
- readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
1070
+ readonly user?: ("list" | "create" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
1071
1071
  readonly session?: ("list" | "delete" | "revoke")[] | undefined;
1072
1072
  };
1073
1073
  permission?: never;
@@ -1086,13 +1086,13 @@ export declare const authClient: {
1086
1086
  disableValidation?: boolean | undefined;
1087
1087
  }>(data_0: import("better-auth", { with: { "resolution-mode": "require" } }).Prettify<(({
1088
1088
  permission: {
1089
- readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
1089
+ readonly user?: ("list" | "create" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
1090
1090
  readonly session?: ("list" | "delete" | "revoke")[] | undefined;
1091
1091
  };
1092
1092
  permissions?: never;
1093
1093
  } | {
1094
1094
  permissions: {
1095
- readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
1095
+ readonly user?: ("list" | "create" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
1096
1096
  readonly session?: ("list" | "delete" | "revoke")[] | undefined;
1097
1097
  };
1098
1098
  permission?: never;
@@ -1113,6 +1113,7 @@ export declare const authClient: {
1113
1113
  signIn: {
1114
1114
  social: <FetchOptions extends {
1115
1115
  method?: string | undefined;
1116
+ mode?: RequestMode | undefined;
1116
1117
  headers?: (HeadersInit & (HeadersInit | {
1117
1118
  accept: "application/json" | "text/plain" | "application/octet-stream";
1118
1119
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1122,7 +1123,6 @@ export declare const authClient: {
1122
1123
  credentials?: RequestCredentials | undefined;
1123
1124
  integrity?: string | undefined;
1124
1125
  keepalive?: boolean | undefined;
1125
- mode?: RequestMode | undefined;
1126
1126
  priority?: RequestPriority | undefined;
1127
1127
  redirect?: RequestRedirect | undefined;
1128
1128
  referrer?: string | undefined;
@@ -1222,6 +1222,7 @@ export declare const authClient: {
1222
1222
  } & {
1223
1223
  signOut: <FetchOptions extends {
1224
1224
  method?: string | undefined;
1225
+ mode?: RequestMode | undefined;
1225
1226
  headers?: (HeadersInit & (HeadersInit | {
1226
1227
  accept: "application/json" | "text/plain" | "application/octet-stream";
1227
1228
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1231,7 +1232,6 @@ export declare const authClient: {
1231
1232
  credentials?: RequestCredentials | undefined;
1232
1233
  integrity?: string | undefined;
1233
1234
  keepalive?: boolean | undefined;
1234
- mode?: RequestMode | undefined;
1235
1235
  priority?: RequestPriority | undefined;
1236
1236
  redirect?: RequestRedirect | undefined;
1237
1237
  referrer?: string | undefined;
@@ -1286,6 +1286,7 @@ export declare const authClient: {
1286
1286
  signUp: {
1287
1287
  email: <FetchOptions extends {
1288
1288
  method?: string | undefined;
1289
+ mode?: RequestMode | undefined;
1289
1290
  headers?: (HeadersInit & (HeadersInit | {
1290
1291
  accept: "application/json" | "text/plain" | "application/octet-stream";
1291
1292
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1295,7 +1296,6 @@ export declare const authClient: {
1295
1296
  credentials?: RequestCredentials | undefined;
1296
1297
  integrity?: string | undefined;
1297
1298
  keepalive?: boolean | undefined;
1298
- mode?: RequestMode | undefined;
1299
1299
  priority?: RequestPriority | undefined;
1300
1300
  redirect?: RequestRedirect | undefined;
1301
1301
  referrer?: string | undefined;
@@ -1382,6 +1382,7 @@ export declare const authClient: {
1382
1382
  signIn: {
1383
1383
  email: <FetchOptions extends {
1384
1384
  method?: string | undefined;
1385
+ mode?: RequestMode | undefined;
1385
1386
  headers?: (HeadersInit & (HeadersInit | {
1386
1387
  accept: "application/json" | "text/plain" | "application/octet-stream";
1387
1388
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1391,7 +1392,6 @@ export declare const authClient: {
1391
1392
  credentials?: RequestCredentials | undefined;
1392
1393
  integrity?: string | undefined;
1393
1394
  keepalive?: boolean | undefined;
1394
- mode?: RequestMode | undefined;
1395
1395
  priority?: RequestPriority | undefined;
1396
1396
  redirect?: RequestRedirect | undefined;
1397
1397
  referrer?: string | undefined;
@@ -1466,6 +1466,7 @@ export declare const authClient: {
1466
1466
  } & {
1467
1467
  forgetPassword: <FetchOptions extends {
1468
1468
  method?: string | undefined;
1469
+ mode?: RequestMode | undefined;
1469
1470
  headers?: (HeadersInit & (HeadersInit | {
1470
1471
  accept: "application/json" | "text/plain" | "application/octet-stream";
1471
1472
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1475,7 +1476,6 @@ export declare const authClient: {
1475
1476
  credentials?: RequestCredentials | undefined;
1476
1477
  integrity?: string | undefined;
1477
1478
  keepalive?: boolean | undefined;
1478
- mode?: RequestMode | undefined;
1479
1479
  priority?: RequestPriority | undefined;
1480
1480
  redirect?: RequestRedirect | undefined;
1481
1481
  referrer?: string | undefined;
@@ -1534,6 +1534,7 @@ export declare const authClient: {
1534
1534
  } & {
1535
1535
  resetPassword: <FetchOptions extends {
1536
1536
  method?: string | undefined;
1537
+ mode?: RequestMode | undefined;
1537
1538
  headers?: (HeadersInit & (HeadersInit | {
1538
1539
  accept: "application/json" | "text/plain" | "application/octet-stream";
1539
1540
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1543,7 +1544,6 @@ export declare const authClient: {
1543
1544
  credentials?: RequestCredentials | undefined;
1544
1545
  integrity?: string | undefined;
1545
1546
  keepalive?: boolean | undefined;
1546
- mode?: RequestMode | undefined;
1547
1547
  priority?: RequestPriority | undefined;
1548
1548
  redirect?: RequestRedirect | undefined;
1549
1549
  referrer?: string | undefined;
@@ -1604,6 +1604,7 @@ export declare const authClient: {
1604
1604
  } & {
1605
1605
  verifyEmail: <FetchOptions extends {
1606
1606
  method?: string | undefined;
1607
+ mode?: RequestMode | undefined;
1607
1608
  headers?: (HeadersInit & (HeadersInit | {
1608
1609
  accept: "application/json" | "text/plain" | "application/octet-stream";
1609
1610
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1613,7 +1614,6 @@ export declare const authClient: {
1613
1614
  credentials?: RequestCredentials | undefined;
1614
1615
  integrity?: string | undefined;
1615
1616
  keepalive?: boolean | undefined;
1616
- mode?: RequestMode | undefined;
1617
1617
  priority?: RequestPriority | undefined;
1618
1618
  redirect?: RequestRedirect | undefined;
1619
1619
  referrer?: string | undefined;
@@ -1685,6 +1685,7 @@ export declare const authClient: {
1685
1685
  } & {
1686
1686
  sendVerificationEmail: <FetchOptions extends {
1687
1687
  method?: string | undefined;
1688
+ mode?: RequestMode | undefined;
1688
1689
  headers?: (HeadersInit & (HeadersInit | {
1689
1690
  accept: "application/json" | "text/plain" | "application/octet-stream";
1690
1691
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1694,7 +1695,6 @@ export declare const authClient: {
1694
1695
  credentials?: RequestCredentials | undefined;
1695
1696
  integrity?: string | undefined;
1696
1697
  keepalive?: boolean | undefined;
1697
- mode?: RequestMode | undefined;
1698
1698
  priority?: RequestPriority | undefined;
1699
1699
  redirect?: RequestRedirect | undefined;
1700
1700
  referrer?: string | undefined;
@@ -1753,6 +1753,7 @@ export declare const authClient: {
1753
1753
  } & {
1754
1754
  changeEmail: <FetchOptions extends {
1755
1755
  method?: string | undefined;
1756
+ mode?: RequestMode | undefined;
1756
1757
  headers?: (HeadersInit & (HeadersInit | {
1757
1758
  accept: "application/json" | "text/plain" | "application/octet-stream";
1758
1759
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1762,7 +1763,6 @@ export declare const authClient: {
1762
1763
  credentials?: RequestCredentials | undefined;
1763
1764
  integrity?: string | undefined;
1764
1765
  keepalive?: boolean | undefined;
1765
- mode?: RequestMode | undefined;
1766
1766
  priority?: RequestPriority | undefined;
1767
1767
  redirect?: RequestRedirect | undefined;
1768
1768
  referrer?: string | undefined;
@@ -1821,6 +1821,7 @@ export declare const authClient: {
1821
1821
  } & {
1822
1822
  changePassword: <FetchOptions extends {
1823
1823
  method?: string | undefined;
1824
+ mode?: RequestMode | undefined;
1824
1825
  headers?: (HeadersInit & (HeadersInit | {
1825
1826
  accept: "application/json" | "text/plain" | "application/octet-stream";
1826
1827
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1830,7 +1831,6 @@ export declare const authClient: {
1830
1831
  credentials?: RequestCredentials | undefined;
1831
1832
  integrity?: string | undefined;
1832
1833
  keepalive?: boolean | undefined;
1833
- mode?: RequestMode | undefined;
1834
1834
  priority?: RequestPriority | undefined;
1835
1835
  redirect?: RequestRedirect | undefined;
1836
1836
  referrer?: string | undefined;
@@ -1900,6 +1900,7 @@ export declare const authClient: {
1900
1900
  } & {
1901
1901
  updateUser: <FetchOptions extends {
1902
1902
  method?: string | undefined;
1903
+ mode?: RequestMode | undefined;
1903
1904
  headers?: (HeadersInit & (HeadersInit | {
1904
1905
  accept: "application/json" | "text/plain" | "application/octet-stream";
1905
1906
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1909,7 +1910,6 @@ export declare const authClient: {
1909
1910
  credentials?: RequestCredentials | undefined;
1910
1911
  integrity?: string | undefined;
1911
1912
  keepalive?: boolean | undefined;
1912
- mode?: RequestMode | undefined;
1913
1913
  priority?: RequestPriority | undefined;
1914
1914
  redirect?: RequestRedirect | undefined;
1915
1915
  referrer?: string | undefined;
@@ -1967,6 +1967,7 @@ export declare const authClient: {
1967
1967
  } & {
1968
1968
  deleteUser: <FetchOptions extends {
1969
1969
  method?: string | undefined;
1970
+ mode?: RequestMode | undefined;
1970
1971
  headers?: (HeadersInit & (HeadersInit | {
1971
1972
  accept: "application/json" | "text/plain" | "application/octet-stream";
1972
1973
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -1976,7 +1977,6 @@ export declare const authClient: {
1976
1977
  credentials?: RequestCredentials | undefined;
1977
1978
  integrity?: string | undefined;
1978
1979
  keepalive?: boolean | undefined;
1979
- mode?: RequestMode | undefined;
1980
1980
  priority?: RequestPriority | undefined;
1981
1981
  redirect?: RequestRedirect | undefined;
1982
1982
  referrer?: string | undefined;
@@ -2039,6 +2039,7 @@ export declare const authClient: {
2039
2039
  resetPassword: {
2040
2040
  ":token": <FetchOptions extends {
2041
2041
  method?: string | undefined;
2042
+ mode?: RequestMode | undefined;
2042
2043
  headers?: (HeadersInit & (HeadersInit | {
2043
2044
  accept: "application/json" | "text/plain" | "application/octet-stream";
2044
2045
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2048,7 +2049,6 @@ export declare const authClient: {
2048
2049
  credentials?: RequestCredentials | undefined;
2049
2050
  integrity?: string | undefined;
2050
2051
  keepalive?: boolean | undefined;
2051
- mode?: RequestMode | undefined;
2052
2052
  priority?: RequestPriority | undefined;
2053
2053
  redirect?: RequestRedirect | undefined;
2054
2054
  referrer?: string | undefined;
@@ -2107,6 +2107,7 @@ export declare const authClient: {
2107
2107
  } & {
2108
2108
  requestPasswordReset: <FetchOptions extends {
2109
2109
  method?: string | undefined;
2110
+ mode?: RequestMode | undefined;
2110
2111
  headers?: (HeadersInit & (HeadersInit | {
2111
2112
  accept: "application/json" | "text/plain" | "application/octet-stream";
2112
2113
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2116,7 +2117,6 @@ export declare const authClient: {
2116
2117
  credentials?: RequestCredentials | undefined;
2117
2118
  integrity?: string | undefined;
2118
2119
  keepalive?: boolean | undefined;
2119
- mode?: RequestMode | undefined;
2120
2120
  priority?: RequestPriority | undefined;
2121
2121
  redirect?: RequestRedirect | undefined;
2122
2122
  referrer?: string | undefined;
@@ -2177,6 +2177,7 @@ export declare const authClient: {
2177
2177
  resetPassword: {
2178
2178
  ":token": <FetchOptions extends {
2179
2179
  method?: string | undefined;
2180
+ mode?: RequestMode | undefined;
2180
2181
  headers?: (HeadersInit & (HeadersInit | {
2181
2182
  accept: "application/json" | "text/plain" | "application/octet-stream";
2182
2183
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2186,7 +2187,6 @@ export declare const authClient: {
2186
2187
  credentials?: RequestCredentials | undefined;
2187
2188
  integrity?: string | undefined;
2188
2189
  keepalive?: boolean | undefined;
2189
- mode?: RequestMode | undefined;
2190
2190
  priority?: RequestPriority | undefined;
2191
2191
  redirect?: RequestRedirect | undefined;
2192
2192
  referrer?: string | undefined;
@@ -2245,6 +2245,7 @@ export declare const authClient: {
2245
2245
  } & {
2246
2246
  listSessions: <FetchOptions extends {
2247
2247
  method?: string | undefined;
2248
+ mode?: RequestMode | undefined;
2248
2249
  headers?: (HeadersInit & (HeadersInit | {
2249
2250
  accept: "application/json" | "text/plain" | "application/octet-stream";
2250
2251
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2254,7 +2255,6 @@ export declare const authClient: {
2254
2255
  credentials?: RequestCredentials | undefined;
2255
2256
  integrity?: string | undefined;
2256
2257
  keepalive?: boolean | undefined;
2257
- mode?: RequestMode | undefined;
2258
2258
  priority?: RequestPriority | undefined;
2259
2259
  redirect?: RequestRedirect | undefined;
2260
2260
  referrer?: string | undefined;
@@ -2315,6 +2315,7 @@ export declare const authClient: {
2315
2315
  } & {
2316
2316
  revokeSession: <FetchOptions extends {
2317
2317
  method?: string | undefined;
2318
+ mode?: RequestMode | undefined;
2318
2319
  headers?: (HeadersInit & (HeadersInit | {
2319
2320
  accept: "application/json" | "text/plain" | "application/octet-stream";
2320
2321
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2324,7 +2325,6 @@ export declare const authClient: {
2324
2325
  credentials?: RequestCredentials | undefined;
2325
2326
  integrity?: string | undefined;
2326
2327
  keepalive?: boolean | undefined;
2327
- mode?: RequestMode | undefined;
2328
2328
  priority?: RequestPriority | undefined;
2329
2329
  redirect?: RequestRedirect | undefined;
2330
2330
  referrer?: string | undefined;
@@ -2381,6 +2381,7 @@ export declare const authClient: {
2381
2381
  } & {
2382
2382
  revokeSessions: <FetchOptions extends {
2383
2383
  method?: string | undefined;
2384
+ mode?: RequestMode | undefined;
2384
2385
  headers?: (HeadersInit & (HeadersInit | {
2385
2386
  accept: "application/json" | "text/plain" | "application/octet-stream";
2386
2387
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2390,7 +2391,6 @@ export declare const authClient: {
2390
2391
  credentials?: RequestCredentials | undefined;
2391
2392
  integrity?: string | undefined;
2392
2393
  keepalive?: boolean | undefined;
2393
- mode?: RequestMode | undefined;
2394
2394
  priority?: RequestPriority | undefined;
2395
2395
  redirect?: RequestRedirect | undefined;
2396
2396
  referrer?: string | undefined;
@@ -2444,6 +2444,7 @@ export declare const authClient: {
2444
2444
  } & {
2445
2445
  revokeOtherSessions: <FetchOptions extends {
2446
2446
  method?: string | undefined;
2447
+ mode?: RequestMode | undefined;
2447
2448
  headers?: (HeadersInit & (HeadersInit | {
2448
2449
  accept: "application/json" | "text/plain" | "application/octet-stream";
2449
2450
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2453,7 +2454,6 @@ export declare const authClient: {
2453
2454
  credentials?: RequestCredentials | undefined;
2454
2455
  integrity?: string | undefined;
2455
2456
  keepalive?: boolean | undefined;
2456
- mode?: RequestMode | undefined;
2457
2457
  priority?: RequestPriority | undefined;
2458
2458
  redirect?: RequestRedirect | undefined;
2459
2459
  referrer?: string | undefined;
@@ -2507,6 +2507,7 @@ export declare const authClient: {
2507
2507
  } & {
2508
2508
  linkSocial: <FetchOptions extends {
2509
2509
  method?: string | undefined;
2510
+ mode?: RequestMode | undefined;
2510
2511
  headers?: (HeadersInit & (HeadersInit | {
2511
2512
  accept: "application/json" | "text/plain" | "application/octet-stream";
2512
2513
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2516,7 +2517,6 @@ export declare const authClient: {
2516
2517
  credentials?: RequestCredentials | undefined;
2517
2518
  integrity?: string | undefined;
2518
2519
  keepalive?: boolean | undefined;
2519
- mode?: RequestMode | undefined;
2520
2520
  priority?: RequestPriority | undefined;
2521
2521
  redirect?: RequestRedirect | undefined;
2522
2522
  referrer?: string | undefined;
@@ -2598,6 +2598,7 @@ export declare const authClient: {
2598
2598
  } & {
2599
2599
  listAccounts: <FetchOptions extends {
2600
2600
  method?: string | undefined;
2601
+ mode?: RequestMode | undefined;
2601
2602
  headers?: (HeadersInit & (HeadersInit | {
2602
2603
  accept: "application/json" | "text/plain" | "application/octet-stream";
2603
2604
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2607,7 +2608,6 @@ export declare const authClient: {
2607
2608
  credentials?: RequestCredentials | undefined;
2608
2609
  integrity?: string | undefined;
2609
2610
  keepalive?: boolean | undefined;
2610
- mode?: RequestMode | undefined;
2611
2611
  priority?: RequestPriority | undefined;
2612
2612
  redirect?: RequestRedirect | undefined;
2613
2613
  referrer?: string | undefined;
@@ -2667,6 +2667,7 @@ export declare const authClient: {
2667
2667
  deleteUser: {
2668
2668
  callback: <FetchOptions extends {
2669
2669
  method?: string | undefined;
2670
+ mode?: RequestMode | undefined;
2670
2671
  headers?: (HeadersInit & (HeadersInit | {
2671
2672
  accept: "application/json" | "text/plain" | "application/octet-stream";
2672
2673
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2676,7 +2677,6 @@ export declare const authClient: {
2676
2677
  credentials?: RequestCredentials | undefined;
2677
2678
  integrity?: string | undefined;
2678
2679
  keepalive?: boolean | undefined;
2679
- mode?: RequestMode | undefined;
2680
2680
  priority?: RequestPriority | undefined;
2681
2681
  redirect?: RequestRedirect | undefined;
2682
2682
  referrer?: string | undefined;
@@ -2738,6 +2738,7 @@ export declare const authClient: {
2738
2738
  } & {
2739
2739
  unlinkAccount: <FetchOptions extends {
2740
2740
  method?: string | undefined;
2741
+ mode?: RequestMode | undefined;
2741
2742
  headers?: (HeadersInit & (HeadersInit | {
2742
2743
  accept: "application/json" | "text/plain" | "application/octet-stream";
2743
2744
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2747,7 +2748,6 @@ export declare const authClient: {
2747
2748
  credentials?: RequestCredentials | undefined;
2748
2749
  integrity?: string | undefined;
2749
2750
  keepalive?: boolean | undefined;
2750
- mode?: RequestMode | undefined;
2751
2751
  priority?: RequestPriority | undefined;
2752
2752
  redirect?: RequestRedirect | undefined;
2753
2753
  referrer?: string | undefined;
@@ -2806,6 +2806,7 @@ export declare const authClient: {
2806
2806
  } & {
2807
2807
  refreshToken: <FetchOptions extends {
2808
2808
  method?: string | undefined;
2809
+ mode?: RequestMode | undefined;
2809
2810
  headers?: (HeadersInit & (HeadersInit | {
2810
2811
  accept: "application/json" | "text/plain" | "application/octet-stream";
2811
2812
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2815,7 +2816,6 @@ export declare const authClient: {
2815
2816
  credentials?: RequestCredentials | undefined;
2816
2817
  integrity?: string | undefined;
2817
2818
  keepalive?: boolean | undefined;
2818
- mode?: RequestMode | undefined;
2819
2819
  priority?: RequestPriority | undefined;
2820
2820
  redirect?: RequestRedirect | undefined;
2821
2821
  referrer?: string | undefined;
@@ -2874,6 +2874,7 @@ export declare const authClient: {
2874
2874
  } & {
2875
2875
  getAccessToken: <FetchOptions extends {
2876
2876
  method?: string | undefined;
2877
+ mode?: RequestMode | undefined;
2877
2878
  headers?: (HeadersInit & (HeadersInit | {
2878
2879
  accept: "application/json" | "text/plain" | "application/octet-stream";
2879
2880
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2883,7 +2884,6 @@ export declare const authClient: {
2883
2884
  credentials?: RequestCredentials | undefined;
2884
2885
  integrity?: string | undefined;
2885
2886
  keepalive?: boolean | undefined;
2886
- mode?: RequestMode | undefined;
2887
2887
  priority?: RequestPriority | undefined;
2888
2888
  redirect?: RequestRedirect | undefined;
2889
2889
  referrer?: string | undefined;
@@ -2947,6 +2947,7 @@ export declare const authClient: {
2947
2947
  } & {
2948
2948
  accountInfo: <FetchOptions extends {
2949
2949
  method?: string | undefined;
2950
+ mode?: RequestMode | undefined;
2950
2951
  headers?: (HeadersInit & (HeadersInit | {
2951
2952
  accept: "application/json" | "text/plain" | "application/octet-stream";
2952
2953
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -2956,7 +2957,6 @@ export declare const authClient: {
2956
2957
  credentials?: RequestCredentials | undefined;
2957
2958
  integrity?: string | undefined;
2958
2959
  keepalive?: boolean | undefined;
2959
- mode?: RequestMode | undefined;
2960
2960
  priority?: RequestPriority | undefined;
2961
2961
  redirect?: RequestRedirect | undefined;
2962
2962
  referrer?: string | undefined;
@@ -3014,6 +3014,7 @@ export declare const authClient: {
3014
3014
  } & {
3015
3015
  getSession: <FetchOptions extends {
3016
3016
  method?: string | undefined;
3017
+ mode?: RequestMode | undefined;
3017
3018
  headers?: (HeadersInit & (HeadersInit | {
3018
3019
  accept: "application/json" | "text/plain" | "application/octet-stream";
3019
3020
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
@@ -3023,7 +3024,6 @@ export declare const authClient: {
3023
3024
  credentials?: RequestCredentials | undefined;
3024
3025
  integrity?: string | undefined;
3025
3026
  keepalive?: boolean | undefined;
3026
- mode?: RequestMode | undefined;
3027
3027
  priority?: RequestPriority | undefined;
3028
3028
  redirect?: RequestRedirect | undefined;
3029
3029
  referrer?: string | undefined;
@@ -3107,13 +3107,13 @@ export declare const authClient: {
3107
3107
  admin: {
3108
3108
  checkRolePermission: <R extends "user" | "admin">(data: ({
3109
3109
  permission: {
3110
- readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
3110
+ readonly user?: ("list" | "create" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
3111
3111
  readonly session?: ("list" | "delete" | "revoke")[] | undefined;
3112
3112
  };
3113
3113
  permissions?: never;
3114
3114
  } | {
3115
3115
  permissions: {
3116
- readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
3116
+ readonly user?: ("list" | "create" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
3117
3117
  readonly session?: ("list" | "delete" | "revoke")[] | undefined;
3118
3118
  };
3119
3119
  permission?: never;