@intlayer/design-system 7.1.0 → 7.1.1-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/Container/index.mjs +3 -4
- package/dist/esm/components/Container/index.mjs.map +1 -1
- package/dist/esm/components/Input/Input.mjs +5 -6
- package/dist/esm/components/Input/Input.mjs.map +1 -1
- package/dist/esm/components/Input/InputPassword.mjs +1 -0
- package/dist/esm/components/Input/InputPassword.mjs.map +1 -1
- package/dist/esm/components/Input/OTPInput.mjs +2 -2
- package/dist/esm/components/Input/OTPInput.mjs.map +1 -1
- package/dist/esm/components/TextArea/AutoSizeTextArea.mjs +1 -1
- package/dist/esm/components/TextArea/AutoSizeTextArea.mjs.map +1 -1
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
- package/dist/types/components/Breadcrumb/index.d.ts +2 -2
- package/dist/types/components/Browser/Browser.content.d.ts +11 -11
- package/dist/types/components/Button/Button.d.ts +2 -2
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +2 -2
- package/dist/types/components/Command/index.d.ts +20 -20
- package/dist/types/components/Container/index.d.ts +6 -6
- package/dist/types/components/Container/index.d.ts.map +1 -1
- package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
- package/dist/types/components/CopyButton/CopyButton.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
- package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
- package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
- package/dist/types/components/Form/FormBase.d.ts +2 -2
- package/dist/types/components/Form/FormBase.d.ts.map +1 -1
- package/dist/types/components/Form/FormField.d.ts +2 -2
- package/dist/types/components/Form/FormItem.d.ts +2 -2
- package/dist/types/components/Form/FormItem.d.ts.map +1 -1
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
- package/dist/types/components/Form/elements/FormElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/MultiselectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
- package/dist/types/components/Form/elements/OTPElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SelectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts.map +1 -1
- package/dist/types/components/IDE/CodeContext.d.ts +2 -2
- package/dist/types/components/IDE/CodeContext.d.ts.map +1 -1
- package/dist/types/components/IDE/FileTree.d.ts.map +1 -1
- package/dist/types/components/IDE/code.content.d.ts +5 -5
- package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
- package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
- package/dist/types/components/Input/Checkbox.d.ts +3 -3
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts +1 -1
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/Input/OTPInput.d.ts +6 -6
- package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
- package/dist/types/components/Input/SearchInput.d.ts +2 -2
- package/dist/types/components/Input/SearchInput.d.ts.map +1 -1
- package/dist/types/components/Loader/index.content.d.ts +3 -3
- package/dist/types/components/Loader/index.content.d.ts.map +1 -1
- package/dist/types/components/Loader/spinner.d.ts +2 -2
- package/dist/types/components/Loader/spinner.d.ts.map +1 -1
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
- package/dist/types/components/Navbar/Burger.d.ts +2 -2
- package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/index.d.ts +2 -2
- package/dist/types/components/Navbar/index.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
- package/dist/types/components/Popover/static.d.ts +3 -3
- package/dist/types/components/Select/Select.d.ts +3 -3
- package/dist/types/components/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SwitchSelector/index.d.ts +5 -5
- package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
- package/dist/types/components/Tab/Tab.d.ts +5 -5
- package/dist/types/components/Tab/TabContext.d.ts +2 -2
- package/dist/types/components/TabSelector/TabSelector.d.ts +2 -2
- package/dist/types/components/Table/table.content.d.ts +3 -3
- package/dist/types/components/Table/table.content.d.ts.map +1 -1
- package/dist/types/components/Tag/index.d.ts +2 -2
- package/dist/types/components/Tag/index.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toast.d.ts +2 -2
- package/dist/types/components/Toaster/Toast.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toaster.d.ts +2 -2
- package/dist/types/hooks/reactQuery.d.ts +149 -149
- package/dist/types/hooks/reactQuery.d.ts.map +1 -1
- package/dist/types/hooks/useAuth/useOAuth2.d.ts +2 -2
- package/dist/types/hooks/useScrollY.d.ts.map +1 -1
- package/dist/types/hooks/useUser/index.d.ts +3 -3
- package/dist/types/libs/auth.d.ts +536 -536
- package/dist/types/libs/auth.d.ts.map +1 -1
- package/package.json +27 -28
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as intlayer0 from "intlayer";
|
|
2
2
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
3
3
|
import { UseQueryOptions, useQueryClient } from "@tanstack/react-query";
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as _better_fetch_fetch681 from "@better-fetch/fetch";
|
|
5
|
+
import * as better_auth46 from "better-auth";
|
|
6
6
|
import * as inspector0 from "inspector";
|
|
7
7
|
import * as _intlayer_backend0 from "@intlayer/backend";
|
|
8
8
|
import { AddDictionaryBody, AddOrganizationMemberBody, AskDocQuestionBody, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, AutocompleteBody, CreateUserBody, DeleteAccessKeyBody, DeleteDictionaryParam, DeleteTagParams, GetCheckoutSessionBody, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, GetOrganizationsParams, GetPricingBody, GetPricingResult, GetProjectsParams, GetTagsParams, GetUsersParams, NewsletterSubscriptionBody, NewsletterUnsubscriptionBody, PushDictionariesBody, RefreshAccessKeyBody, SearchDocUtilParams, SelectOrganizationParam, SelectProjectParam, TranslateJSONBody } from "@intlayer/backend";
|
|
@@ -42,7 +42,7 @@ declare const useLogin: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
42
42
|
status: number;
|
|
43
43
|
statusText: string;
|
|
44
44
|
};
|
|
45
|
-
}, Error,
|
|
45
|
+
}, Error, better_auth46.Prettify<{
|
|
46
46
|
email: string;
|
|
47
47
|
password: string;
|
|
48
48
|
callbackURL?: string | undefined;
|
|
@@ -66,17 +66,17 @@ declare const useLogin: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
66
66
|
referrerPolicy?: ReferrerPolicy;
|
|
67
67
|
signal?: AbortSignal | null;
|
|
68
68
|
window?: null;
|
|
69
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
70
|
-
onResponse?: (context:
|
|
71
|
-
onSuccess?: (context:
|
|
72
|
-
onError?: (context:
|
|
73
|
-
onRetry?: (response:
|
|
69
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
70
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
71
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
72
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
73
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
74
74
|
hookOptions?: {
|
|
75
75
|
cloneResponse?: boolean;
|
|
76
76
|
};
|
|
77
77
|
timeout?: number;
|
|
78
|
-
customFetchImpl?:
|
|
79
|
-
plugins?:
|
|
78
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
79
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
80
80
|
baseURL?: string;
|
|
81
81
|
throw?: boolean;
|
|
82
82
|
auth?: {
|
|
@@ -101,10 +101,10 @@ declare const useLogin: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
101
101
|
params?: Record<string, any>;
|
|
102
102
|
duplex?: "full" | "half";
|
|
103
103
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
104
|
-
retry?:
|
|
104
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
105
105
|
retryAttempt?: number;
|
|
106
|
-
output?:
|
|
107
|
-
errorSchema?:
|
|
106
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
107
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
108
108
|
disableValidation?: boolean;
|
|
109
109
|
};
|
|
110
110
|
}>, unknown>;
|
|
@@ -133,7 +133,7 @@ declare const useGetVerifyEmailStatus: () => _tanstack_react_query0.UseMutationR
|
|
|
133
133
|
status: number;
|
|
134
134
|
statusText: string;
|
|
135
135
|
};
|
|
136
|
-
}, Error, [
|
|
136
|
+
}, Error, [better_auth46.Prettify<undefined>?, {
|
|
137
137
|
cache?: RequestCache;
|
|
138
138
|
credentials?: RequestCredentials;
|
|
139
139
|
headers?: HeadersInit & (HeadersInit | {
|
|
@@ -151,17 +151,17 @@ declare const useGetVerifyEmailStatus: () => _tanstack_react_query0.UseMutationR
|
|
|
151
151
|
referrerPolicy?: ReferrerPolicy;
|
|
152
152
|
signal?: AbortSignal | null;
|
|
153
153
|
window?: null;
|
|
154
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
155
|
-
onResponse?: (context:
|
|
156
|
-
onSuccess?: (context:
|
|
157
|
-
onError?: (context:
|
|
158
|
-
onRetry?: (response:
|
|
154
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
155
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
156
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
157
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
158
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
159
159
|
hookOptions?: {
|
|
160
160
|
cloneResponse?: boolean;
|
|
161
161
|
};
|
|
162
162
|
timeout?: number;
|
|
163
|
-
customFetchImpl?:
|
|
164
|
-
plugins?:
|
|
163
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
164
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
165
165
|
baseURL?: string;
|
|
166
166
|
throw?: boolean;
|
|
167
167
|
auth?: {
|
|
@@ -184,10 +184,10 @@ declare const useGetVerifyEmailStatus: () => _tanstack_react_query0.UseMutationR
|
|
|
184
184
|
params?: Record<string, any>;
|
|
185
185
|
duplex?: "full" | "half";
|
|
186
186
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
187
|
-
retry?:
|
|
187
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
188
188
|
retryAttempt?: number;
|
|
189
|
-
output?:
|
|
190
|
-
errorSchema?:
|
|
189
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
190
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
191
191
|
disableValidation?: boolean;
|
|
192
192
|
}?], unknown>;
|
|
193
193
|
declare const useRegister: () => _tanstack_react_query0.UseMutationResult<{
|
|
@@ -223,7 +223,7 @@ declare const useRegister: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
223
223
|
status: number;
|
|
224
224
|
statusText: string;
|
|
225
225
|
};
|
|
226
|
-
}, Error,
|
|
226
|
+
}, Error, better_auth46.Prettify<{
|
|
227
227
|
email: string;
|
|
228
228
|
name: string;
|
|
229
229
|
password: string;
|
|
@@ -247,17 +247,17 @@ declare const useRegister: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
247
247
|
referrerPolicy?: ReferrerPolicy;
|
|
248
248
|
signal?: AbortSignal | null;
|
|
249
249
|
window?: null;
|
|
250
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
251
|
-
onResponse?: (context:
|
|
252
|
-
onSuccess?: (context:
|
|
253
|
-
onError?: (context:
|
|
254
|
-
onRetry?: (response:
|
|
250
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
251
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
252
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
253
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
254
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
255
255
|
hookOptions?: {
|
|
256
256
|
cloneResponse?: boolean;
|
|
257
257
|
};
|
|
258
258
|
timeout?: number;
|
|
259
|
-
customFetchImpl?:
|
|
260
|
-
plugins?:
|
|
259
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
260
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
261
261
|
baseURL?: string;
|
|
262
262
|
throw?: boolean;
|
|
263
263
|
auth?: {
|
|
@@ -284,10 +284,10 @@ declare const useRegister: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
284
284
|
params?: Record<string, any>;
|
|
285
285
|
duplex?: "full" | "half";
|
|
286
286
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
287
|
-
retry?:
|
|
287
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
288
288
|
retryAttempt?: number;
|
|
289
|
-
output?:
|
|
290
|
-
errorSchema?:
|
|
289
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
290
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
291
291
|
disableValidation?: boolean;
|
|
292
292
|
};
|
|
293
293
|
} & {} & {}>, unknown>;
|
|
@@ -327,7 +327,7 @@ declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<
|
|
|
327
327
|
status: number;
|
|
328
328
|
statusText: string;
|
|
329
329
|
};
|
|
330
|
-
}, Error, [
|
|
330
|
+
}, Error, [better_auth46.Prettify<{
|
|
331
331
|
newPassword: string;
|
|
332
332
|
currentPassword: string;
|
|
333
333
|
revokeOtherSessions?: boolean | undefined;
|
|
@@ -350,17 +350,17 @@ declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<
|
|
|
350
350
|
referrerPolicy?: ReferrerPolicy;
|
|
351
351
|
signal?: AbortSignal | null;
|
|
352
352
|
window?: null;
|
|
353
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
354
|
-
onResponse?: (context:
|
|
355
|
-
onSuccess?: (context:
|
|
356
|
-
onError?: (context:
|
|
357
|
-
onRetry?: (response:
|
|
353
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
354
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
355
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
356
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
357
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
358
358
|
hookOptions?: {
|
|
359
359
|
cloneResponse?: boolean;
|
|
360
360
|
};
|
|
361
361
|
timeout?: number;
|
|
362
|
-
customFetchImpl?:
|
|
363
|
-
plugins?:
|
|
362
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
363
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
364
364
|
baseURL?: string;
|
|
365
365
|
throw?: boolean;
|
|
366
366
|
auth?: {
|
|
@@ -384,10 +384,10 @@ declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<
|
|
|
384
384
|
params?: Record<string, any>;
|
|
385
385
|
duplex?: "full" | "half";
|
|
386
386
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
387
|
-
retry?:
|
|
387
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
388
388
|
retryAttempt?: number;
|
|
389
|
-
output?:
|
|
390
|
-
errorSchema?:
|
|
389
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
390
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
391
391
|
disableValidation?: boolean;
|
|
392
392
|
};
|
|
393
393
|
}>, {
|
|
@@ -408,17 +408,17 @@ declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<
|
|
|
408
408
|
referrerPolicy?: ReferrerPolicy;
|
|
409
409
|
signal?: AbortSignal | null;
|
|
410
410
|
window?: null;
|
|
411
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
412
|
-
onResponse?: (context:
|
|
413
|
-
onSuccess?: (context:
|
|
414
|
-
onError?: (context:
|
|
415
|
-
onRetry?: (response:
|
|
411
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
412
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
413
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
414
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
415
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
416
416
|
hookOptions?: {
|
|
417
417
|
cloneResponse?: boolean;
|
|
418
418
|
};
|
|
419
419
|
timeout?: number;
|
|
420
|
-
customFetchImpl?:
|
|
421
|
-
plugins?:
|
|
420
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
421
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
422
422
|
baseURL?: string;
|
|
423
423
|
throw?: boolean;
|
|
424
424
|
auth?: {
|
|
@@ -442,10 +442,10 @@ declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<
|
|
|
442
442
|
params?: Record<string, any>;
|
|
443
443
|
duplex?: "full" | "half";
|
|
444
444
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
445
|
-
retry?:
|
|
445
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
446
446
|
retryAttempt?: number;
|
|
447
|
-
output?:
|
|
448
|
-
errorSchema?:
|
|
447
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
448
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
449
449
|
disableValidation?: boolean;
|
|
450
450
|
}?], unknown>;
|
|
451
451
|
declare const useAskResetPassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
@@ -462,7 +462,7 @@ declare const useAskResetPassword: () => _tanstack_react_query0.UseMutationResul
|
|
|
462
462
|
status: number;
|
|
463
463
|
statusText: string;
|
|
464
464
|
};
|
|
465
|
-
}, Error,
|
|
465
|
+
}, Error, better_auth46.Prettify<{
|
|
466
466
|
email: string;
|
|
467
467
|
redirectTo?: string | undefined;
|
|
468
468
|
} & {
|
|
@@ -484,17 +484,17 @@ declare const useAskResetPassword: () => _tanstack_react_query0.UseMutationResul
|
|
|
484
484
|
referrerPolicy?: ReferrerPolicy;
|
|
485
485
|
signal?: AbortSignal | null;
|
|
486
486
|
window?: null;
|
|
487
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
488
|
-
onResponse?: (context:
|
|
489
|
-
onSuccess?: (context:
|
|
490
|
-
onError?: (context:
|
|
491
|
-
onRetry?: (response:
|
|
487
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
488
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
489
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
490
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
491
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
492
492
|
hookOptions?: {
|
|
493
493
|
cloneResponse?: boolean;
|
|
494
494
|
};
|
|
495
495
|
timeout?: number;
|
|
496
|
-
customFetchImpl?:
|
|
497
|
-
plugins?:
|
|
496
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
497
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
498
498
|
baseURL?: string;
|
|
499
499
|
throw?: boolean;
|
|
500
500
|
auth?: {
|
|
@@ -517,10 +517,10 @@ declare const useAskResetPassword: () => _tanstack_react_query0.UseMutationResul
|
|
|
517
517
|
params?: Record<string, any>;
|
|
518
518
|
duplex?: "full" | "half";
|
|
519
519
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
520
|
-
retry?:
|
|
520
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
521
521
|
retryAttempt?: number;
|
|
522
|
-
output?:
|
|
523
|
-
errorSchema?:
|
|
522
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
523
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
524
524
|
disableValidation?: boolean;
|
|
525
525
|
};
|
|
526
526
|
}>, unknown>;
|
|
@@ -537,7 +537,7 @@ declare const useResetPassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
537
537
|
status: number;
|
|
538
538
|
statusText: string;
|
|
539
539
|
};
|
|
540
|
-
}, Error,
|
|
540
|
+
}, Error, better_auth46.Prettify<{
|
|
541
541
|
newPassword: string;
|
|
542
542
|
token?: string | undefined;
|
|
543
543
|
} & {
|
|
@@ -559,17 +559,17 @@ declare const useResetPassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
559
559
|
referrerPolicy?: ReferrerPolicy;
|
|
560
560
|
signal?: AbortSignal | null;
|
|
561
561
|
window?: null;
|
|
562
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
563
|
-
onResponse?: (context:
|
|
564
|
-
onSuccess?: (context:
|
|
565
|
-
onError?: (context:
|
|
566
|
-
onRetry?: (response:
|
|
562
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
563
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
564
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
565
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
566
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
567
567
|
hookOptions?: {
|
|
568
568
|
cloneResponse?: boolean;
|
|
569
569
|
};
|
|
570
570
|
timeout?: number;
|
|
571
|
-
customFetchImpl?:
|
|
572
|
-
plugins?:
|
|
571
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
572
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
573
573
|
baseURL?: string;
|
|
574
574
|
throw?: boolean;
|
|
575
575
|
auth?: {
|
|
@@ -594,10 +594,10 @@ declare const useResetPassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
594
594
|
params?: Record<string, any>;
|
|
595
595
|
duplex?: "full" | "half";
|
|
596
596
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
597
|
-
retry?:
|
|
597
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
598
598
|
retryAttempt?: number;
|
|
599
|
-
output?:
|
|
600
|
-
errorSchema?:
|
|
599
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
600
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
601
601
|
disableValidation?: boolean;
|
|
602
602
|
};
|
|
603
603
|
}>, unknown>;
|
|
@@ -626,7 +626,7 @@ declare const useVerifyEmail: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
626
626
|
status: number;
|
|
627
627
|
statusText: string;
|
|
628
628
|
};
|
|
629
|
-
}, Error,
|
|
629
|
+
}, Error, better_auth46.Prettify<undefined>, unknown>;
|
|
630
630
|
declare const useGetUserByAccount: () => _tanstack_react_query0.UseMutationResult<{
|
|
631
631
|
data: {
|
|
632
632
|
user: packages_core_dist_oauth2.OAuth2UserInfo;
|
|
@@ -641,7 +641,7 @@ declare const useGetUserByAccount: () => _tanstack_react_query0.UseMutationResul
|
|
|
641
641
|
status: number;
|
|
642
642
|
statusText: string;
|
|
643
643
|
};
|
|
644
|
-
}, Error,
|
|
644
|
+
}, Error, better_auth46.Prettify<{
|
|
645
645
|
accountId: string;
|
|
646
646
|
} & {
|
|
647
647
|
fetchOptions?: {
|
|
@@ -662,17 +662,17 @@ declare const useGetUserByAccount: () => _tanstack_react_query0.UseMutationResul
|
|
|
662
662
|
referrerPolicy?: ReferrerPolicy;
|
|
663
663
|
signal?: AbortSignal | null;
|
|
664
664
|
window?: null;
|
|
665
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
666
|
-
onResponse?: (context:
|
|
667
|
-
onSuccess?: (context:
|
|
668
|
-
onError?: (context:
|
|
669
|
-
onRetry?: (response:
|
|
665
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
666
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
667
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
668
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
669
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
670
670
|
hookOptions?: {
|
|
671
671
|
cloneResponse?: boolean;
|
|
672
672
|
};
|
|
673
673
|
timeout?: number;
|
|
674
|
-
customFetchImpl?:
|
|
675
|
-
plugins?:
|
|
674
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
675
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
676
676
|
baseURL?: string;
|
|
677
677
|
throw?: boolean;
|
|
678
678
|
auth?: {
|
|
@@ -694,10 +694,10 @@ declare const useGetUserByAccount: () => _tanstack_react_query0.UseMutationResul
|
|
|
694
694
|
params?: Record<string, any>;
|
|
695
695
|
duplex?: "full" | "half";
|
|
696
696
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
697
|
-
retry?:
|
|
697
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
698
698
|
retryAttempt?: number;
|
|
699
|
-
output?:
|
|
700
|
-
errorSchema?:
|
|
699
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
700
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
701
701
|
disableValidation?: boolean;
|
|
702
702
|
};
|
|
703
703
|
}>, unknown>;
|
|
@@ -715,7 +715,7 @@ declare const useEnableTwoFactor: () => _tanstack_react_query0.UseMutationResult
|
|
|
715
715
|
status: number;
|
|
716
716
|
statusText: string;
|
|
717
717
|
};
|
|
718
|
-
}, Error,
|
|
718
|
+
}, Error, better_auth46.Prettify<{
|
|
719
719
|
password: string;
|
|
720
720
|
issuer?: string | undefined;
|
|
721
721
|
} & {
|
|
@@ -737,17 +737,17 @@ declare const useEnableTwoFactor: () => _tanstack_react_query0.UseMutationResult
|
|
|
737
737
|
referrerPolicy?: ReferrerPolicy;
|
|
738
738
|
signal?: AbortSignal | null;
|
|
739
739
|
window?: null;
|
|
740
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
741
|
-
onResponse?: (context:
|
|
742
|
-
onSuccess?: (context:
|
|
743
|
-
onError?: (context:
|
|
744
|
-
onRetry?: (response:
|
|
740
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
741
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
742
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
743
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
744
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
745
745
|
hookOptions?: {
|
|
746
746
|
cloneResponse?: boolean;
|
|
747
747
|
};
|
|
748
748
|
timeout?: number;
|
|
749
|
-
customFetchImpl?:
|
|
750
|
-
plugins?:
|
|
749
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
750
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
751
751
|
baseURL?: string;
|
|
752
752
|
throw?: boolean;
|
|
753
753
|
auth?: {
|
|
@@ -770,10 +770,10 @@ declare const useEnableTwoFactor: () => _tanstack_react_query0.UseMutationResult
|
|
|
770
770
|
params?: Record<string, any>;
|
|
771
771
|
duplex?: "full" | "half";
|
|
772
772
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
773
|
-
retry?:
|
|
773
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
774
774
|
retryAttempt?: number;
|
|
775
|
-
output?:
|
|
776
|
-
errorSchema?:
|
|
775
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
776
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
777
777
|
disableValidation?: boolean;
|
|
778
778
|
};
|
|
779
779
|
}>, unknown>;
|
|
@@ -790,7 +790,7 @@ declare const useDisableTwoFactor: () => _tanstack_react_query0.UseMutationResul
|
|
|
790
790
|
status: number;
|
|
791
791
|
statusText: string;
|
|
792
792
|
};
|
|
793
|
-
}, Error,
|
|
793
|
+
}, Error, better_auth46.Prettify<{
|
|
794
794
|
password: string;
|
|
795
795
|
} & {
|
|
796
796
|
fetchOptions?: {
|
|
@@ -811,17 +811,17 @@ declare const useDisableTwoFactor: () => _tanstack_react_query0.UseMutationResul
|
|
|
811
811
|
referrerPolicy?: ReferrerPolicy;
|
|
812
812
|
signal?: AbortSignal | null;
|
|
813
813
|
window?: null;
|
|
814
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
815
|
-
onResponse?: (context:
|
|
816
|
-
onSuccess?: (context:
|
|
817
|
-
onError?: (context:
|
|
818
|
-
onRetry?: (response:
|
|
814
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
815
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
816
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
817
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
818
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
819
819
|
hookOptions?: {
|
|
820
820
|
cloneResponse?: boolean;
|
|
821
821
|
};
|
|
822
822
|
timeout?: number;
|
|
823
|
-
customFetchImpl?:
|
|
824
|
-
plugins?:
|
|
823
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
824
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
825
825
|
baseURL?: string;
|
|
826
826
|
throw?: boolean;
|
|
827
827
|
auth?: {
|
|
@@ -843,10 +843,10 @@ declare const useDisableTwoFactor: () => _tanstack_react_query0.UseMutationResul
|
|
|
843
843
|
params?: Record<string, any>;
|
|
844
844
|
duplex?: "full" | "half";
|
|
845
845
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
846
|
-
retry?:
|
|
846
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
847
847
|
retryAttempt?: number;
|
|
848
|
-
output?:
|
|
849
|
-
errorSchema?:
|
|
848
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
849
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
850
850
|
disableValidation?: boolean;
|
|
851
851
|
};
|
|
852
852
|
}>, unknown>;
|
|
@@ -872,7 +872,7 @@ declare const useVerifyTotp: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
872
872
|
status: number;
|
|
873
873
|
statusText: string;
|
|
874
874
|
};
|
|
875
|
-
}, Error,
|
|
875
|
+
}, Error, better_auth46.Prettify<{
|
|
876
876
|
code: string;
|
|
877
877
|
trustDevice?: boolean | undefined;
|
|
878
878
|
} & {
|
|
@@ -894,17 +894,17 @@ declare const useVerifyTotp: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
894
894
|
referrerPolicy?: ReferrerPolicy;
|
|
895
895
|
signal?: AbortSignal | null;
|
|
896
896
|
window?: null;
|
|
897
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
898
|
-
onResponse?: (context:
|
|
899
|
-
onSuccess?: (context:
|
|
900
|
-
onError?: (context:
|
|
901
|
-
onRetry?: (response:
|
|
897
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
898
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
899
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
900
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
901
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
902
902
|
hookOptions?: {
|
|
903
903
|
cloneResponse?: boolean;
|
|
904
904
|
};
|
|
905
905
|
timeout?: number;
|
|
906
|
-
customFetchImpl?:
|
|
907
|
-
plugins?:
|
|
906
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
907
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
908
908
|
baseURL?: string;
|
|
909
909
|
throw?: boolean;
|
|
910
910
|
auth?: {
|
|
@@ -927,10 +927,10 @@ declare const useVerifyTotp: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
927
927
|
params?: Record<string, any>;
|
|
928
928
|
duplex?: "full" | "half";
|
|
929
929
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
930
|
-
retry?:
|
|
930
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
931
931
|
retryAttempt?: number;
|
|
932
|
-
output?:
|
|
933
|
-
errorSchema?:
|
|
932
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
933
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
934
934
|
disableValidation?: boolean;
|
|
935
935
|
};
|
|
936
936
|
}>, unknown>;
|
|
@@ -956,7 +956,7 @@ declare const useVerifyBackupCode: () => _tanstack_react_query0.UseMutationResul
|
|
|
956
956
|
status: number;
|
|
957
957
|
statusText: string;
|
|
958
958
|
};
|
|
959
|
-
}, Error,
|
|
959
|
+
}, Error, better_auth46.Prettify<{
|
|
960
960
|
code: string;
|
|
961
961
|
disableSession?: boolean | undefined;
|
|
962
962
|
trustDevice?: boolean | undefined;
|
|
@@ -979,17 +979,17 @@ declare const useVerifyBackupCode: () => _tanstack_react_query0.UseMutationResul
|
|
|
979
979
|
referrerPolicy?: ReferrerPolicy;
|
|
980
980
|
signal?: AbortSignal | null;
|
|
981
981
|
window?: null;
|
|
982
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
983
|
-
onResponse?: (context:
|
|
984
|
-
onSuccess?: (context:
|
|
985
|
-
onError?: (context:
|
|
986
|
-
onRetry?: (response:
|
|
982
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
983
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
984
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
985
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
986
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
987
987
|
hookOptions?: {
|
|
988
988
|
cloneResponse?: boolean;
|
|
989
989
|
};
|
|
990
990
|
timeout?: number;
|
|
991
|
-
customFetchImpl?:
|
|
992
|
-
plugins?:
|
|
991
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
992
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
993
993
|
baseURL?: string;
|
|
994
994
|
throw?: boolean;
|
|
995
995
|
auth?: {
|
|
@@ -1013,10 +1013,10 @@ declare const useVerifyBackupCode: () => _tanstack_react_query0.UseMutationResul
|
|
|
1013
1013
|
params?: Record<string, any>;
|
|
1014
1014
|
duplex?: "full" | "half";
|
|
1015
1015
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1016
|
-
retry?:
|
|
1016
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
1017
1017
|
retryAttempt?: number;
|
|
1018
|
-
output?:
|
|
1019
|
-
errorSchema?:
|
|
1018
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1019
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
1020
1020
|
disableValidation?: boolean;
|
|
1021
1021
|
};
|
|
1022
1022
|
}>, unknown>;
|
|
@@ -1036,7 +1036,7 @@ declare const useAddPasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1036
1036
|
statusText: string;
|
|
1037
1037
|
};
|
|
1038
1038
|
}, Error, {
|
|
1039
|
-
fetchOptions?:
|
|
1039
|
+
fetchOptions?: _better_fetch_fetch681.BetterFetchOption;
|
|
1040
1040
|
name?: string;
|
|
1041
1041
|
authenticatorAttachment?: "platform" | "cross-platform";
|
|
1042
1042
|
useAutoRegister?: boolean;
|
|
@@ -1051,7 +1051,7 @@ declare const useSignInPasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1051
1051
|
} | {
|
|
1052
1052
|
data: {
|
|
1053
1053
|
session: inspector0.Session;
|
|
1054
|
-
user:
|
|
1054
|
+
user: better_auth46.User;
|
|
1055
1055
|
};
|
|
1056
1056
|
error: null;
|
|
1057
1057
|
} | {
|
|
@@ -1064,7 +1064,7 @@ declare const useSignInPasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1064
1064
|
};
|
|
1065
1065
|
}, Error, {
|
|
1066
1066
|
autoFill?: boolean;
|
|
1067
|
-
fetchOptions?:
|
|
1067
|
+
fetchOptions?: _better_fetch_fetch681.BetterFetchOption;
|
|
1068
1068
|
}, unknown>;
|
|
1069
1069
|
declare const useDeletePasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
1070
1070
|
data: never;
|
|
@@ -1077,7 +1077,7 @@ declare const useDeletePasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1077
1077
|
status: number;
|
|
1078
1078
|
statusText: string;
|
|
1079
1079
|
};
|
|
1080
|
-
}, Error,
|
|
1080
|
+
}, Error, better_auth46.Prettify<{
|
|
1081
1081
|
id: string;
|
|
1082
1082
|
} & {
|
|
1083
1083
|
fetchOptions?: {
|
|
@@ -1098,17 +1098,17 @@ declare const useDeletePasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1098
1098
|
referrerPolicy?: ReferrerPolicy;
|
|
1099
1099
|
signal?: AbortSignal | null;
|
|
1100
1100
|
window?: null;
|
|
1101
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1102
|
-
onResponse?: (context:
|
|
1103
|
-
onSuccess?: (context:
|
|
1104
|
-
onError?: (context:
|
|
1105
|
-
onRetry?: (response:
|
|
1101
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch681.RequestContext<T>) => Promise<_better_fetch_fetch681.RequestContext | void> | _better_fetch_fetch681.RequestContext | void;
|
|
1102
|
+
onResponse?: (context: _better_fetch_fetch681.ResponseContext) => Promise<Response | void | _better_fetch_fetch681.ResponseContext> | Response | _better_fetch_fetch681.ResponseContext | void;
|
|
1103
|
+
onSuccess?: (context: _better_fetch_fetch681.SuccessContext<any>) => Promise<void> | void;
|
|
1104
|
+
onError?: (context: _better_fetch_fetch681.ErrorContext) => Promise<void> | void;
|
|
1105
|
+
onRetry?: (response: _better_fetch_fetch681.ResponseContext) => Promise<void> | void;
|
|
1106
1106
|
hookOptions?: {
|
|
1107
1107
|
cloneResponse?: boolean;
|
|
1108
1108
|
};
|
|
1109
1109
|
timeout?: number;
|
|
1110
|
-
customFetchImpl?:
|
|
1111
|
-
plugins?:
|
|
1110
|
+
customFetchImpl?: _better_fetch_fetch681.FetchEsque;
|
|
1111
|
+
plugins?: _better_fetch_fetch681.BetterFetchPlugin[];
|
|
1112
1112
|
baseURL?: string;
|
|
1113
1113
|
throw?: boolean;
|
|
1114
1114
|
auth?: {
|
|
@@ -1130,10 +1130,10 @@ declare const useDeletePasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1130
1130
|
params?: Record<string, any>;
|
|
1131
1131
|
duplex?: "full" | "half";
|
|
1132
1132
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1133
|
-
retry?:
|
|
1133
|
+
retry?: _better_fetch_fetch681.RetryOptions;
|
|
1134
1134
|
retryAttempt?: number;
|
|
1135
|
-
output?:
|
|
1136
|
-
errorSchema?:
|
|
1135
|
+
output?: _better_fetch_fetch681.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1136
|
+
errorSchema?: _better_fetch_fetch681.StandardSchemaV1;
|
|
1137
1137
|
disableValidation?: boolean;
|
|
1138
1138
|
};
|
|
1139
1139
|
}>, unknown>;
|
|
@@ -1160,6 +1160,7 @@ declare const useGetUserById: (userId: string) => _tanstack_react_query0.UseQuer
|
|
|
1160
1160
|
declare const useCreateUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.CreateUserResult, Error, CreateUserBody, unknown>;
|
|
1161
1161
|
declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateUserResult, Error, Partial<{
|
|
1162
1162
|
id: string;
|
|
1163
|
+
name: string;
|
|
1163
1164
|
lang?: string;
|
|
1164
1165
|
role?: string;
|
|
1165
1166
|
image?: string;
|
|
@@ -1167,7 +1168,6 @@ declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<_int
|
|
|
1167
1168
|
createdAt: Date;
|
|
1168
1169
|
updatedAt: Date;
|
|
1169
1170
|
emailVerified: boolean;
|
|
1170
|
-
name: string;
|
|
1171
1171
|
phone?: string;
|
|
1172
1172
|
dateOfBirth?: Date;
|
|
1173
1173
|
emailsList?: {
|