@intlayer/design-system 7.1.2 → 7.1.4
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/Accordion/Accordion.mjs +1 -1
- package/dist/esm/components/Avatar/index.mjs +1 -1
- package/dist/esm/components/Breadcrumb/index.mjs +1 -1
- package/dist/esm/components/Browser/Browser.mjs +1 -1
- package/dist/esm/components/Button/Button.mjs +1 -2
- package/dist/esm/components/Button/Button.mjs.map +1 -1
- package/dist/esm/components/CollapsibleTable/CollapsibleTable.mjs +1 -1
- package/dist/esm/components/ContentEditor/ContentEditor.mjs +1 -1
- package/dist/esm/components/ContentEditor/ContentEditorInput.mjs +1 -1
- package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +2 -2
- package/dist/esm/components/CopyButton/index.mjs +1 -1
- package/dist/esm/components/CopyToClipboard/index.mjs +1 -1
- package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs +1 -1
- package/dist/esm/components/DictionaryEditor/NodeWrapper/FileWrapper.mjs +1 -1
- package/dist/esm/components/DictionaryEditor/NodeWrapper/StringWrapper.mjs +1 -1
- package/dist/esm/components/DictionaryEditor/NodeWrapper/index.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +3 -3
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +4 -4
- package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +2 -2
- package/dist/esm/components/DictionaryFieldEditor/JSONEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +2 -2
- package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +4 -4
- package/dist/esm/components/DictionaryFieldEditor/StructureEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
- package/dist/esm/components/EditableField/EditableFieldLayout.mjs +1 -1
- package/dist/esm/components/HideShow/index.mjs +1 -1
- package/dist/esm/components/IDE/FileTree.mjs +1 -1
- package/dist/esm/components/Input/InputPassword.mjs +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/KeyboardScreenAdapter/index.mjs +1 -1
- package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +2 -2
- package/dist/esm/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +1 -1
- package/dist/esm/components/Modal/Modal.mjs +3 -3
- package/dist/esm/components/Navbar/MobileNavbar.mjs +2 -2
- package/dist/esm/components/RightDrawer/RightDrawer.mjs +3 -3
- package/dist/esm/components/Select/Multiselect.mjs +1 -1
- package/dist/esm/components/SwitchSelector/index.mjs +1 -1
- package/dist/esm/components/Tab/Tab.mjs +1 -1
- package/dist/esm/components/TabSelector/TabSelector.mjs +1 -1
- package/dist/esm/components/Table/Table.mjs +1 -1
- package/dist/esm/components/TextArea/AutocompleteTextArea.mjs +1 -1
- package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +1 -1
- package/dist/esm/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs +1 -1
- package/dist/esm/providers/ReactQueryProvider.mjs +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 +4 -4
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +3 -3
- package/dist/types/components/Command/index.d.ts +1 -1
- package/dist/types/components/Container/index.d.ts +7 -7
- 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/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/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/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/Form/FormBase.d.ts +2 -2
- package/dist/types/components/Form/FormField.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
- package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
- package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
- package/dist/types/components/IDE/code.content.d.ts +5 -5
- package/dist/types/components/IDE/code.content.d.ts.map +1 -1
- 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 +4 -4
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts +3 -3
- 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/Link/Link.d.ts +3 -3
- package/dist/types/components/Loader/index.content.d.ts +3 -3
- package/dist/types/components/Loader/spinner.d.ts +2 -2
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
- 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 +3 -3
- 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/SwitchSelector/index.d.ts +6 -6
- 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 +5 -5
- package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
- package/dist/types/components/Table/table.content.d.ts +3 -3
- package/dist/types/components/Tag/index.d.ts +4 -4
- package/dist/types/components/Tag/index.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toast.d.ts +1 -1
- package/dist/types/components/Toaster/Toast.d.ts.map +1 -1
- package/dist/types/hooks/reactQuery.d.ts +190 -190
- package/dist/types/hooks/reactQuery.d.ts.map +1 -1
- package/dist/types/hooks/useAuth/useOAuth2.d.ts +2 -2
- package/dist/types/hooks/useDevice.d.ts.map +1 -1
- package/dist/types/hooks/useUser/index.d.ts +3 -3
- package/dist/types/libs/auth.d.ts +668 -668
- package/dist/types/libs/auth.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -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,23 +42,23 @@ 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;
|
|
49
49
|
rememberMe?: boolean | undefined;
|
|
50
50
|
} & {
|
|
51
51
|
fetchOptions?: {
|
|
52
|
-
|
|
53
|
-
credentials?: RequestCredentials;
|
|
52
|
+
method?: string;
|
|
54
53
|
headers?: HeadersInit & (HeadersInit | {
|
|
55
54
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
56
55
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
57
56
|
authorization: "Bearer" | "Basic";
|
|
58
57
|
});
|
|
58
|
+
cache?: RequestCache;
|
|
59
|
+
credentials?: RequestCredentials;
|
|
59
60
|
integrity?: string;
|
|
60
61
|
keepalive?: boolean;
|
|
61
|
-
method?: string;
|
|
62
62
|
mode?: RequestMode;
|
|
63
63
|
priority?: RequestPriority;
|
|
64
64
|
redirect?: RequestRedirect;
|
|
@@ -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,17 +133,17 @@ declare const useGetVerifyEmailStatus: () => _tanstack_react_query0.UseMutationR
|
|
|
133
133
|
status: number;
|
|
134
134
|
statusText: string;
|
|
135
135
|
};
|
|
136
|
-
}, Error, [
|
|
137
|
-
|
|
138
|
-
credentials?: RequestCredentials;
|
|
136
|
+
}, Error, [better_auth46.Prettify<undefined>?, {
|
|
137
|
+
method?: string;
|
|
139
138
|
headers?: HeadersInit & (HeadersInit | {
|
|
140
139
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
141
140
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
142
141
|
authorization: "Bearer" | "Basic";
|
|
143
142
|
});
|
|
143
|
+
cache?: RequestCache;
|
|
144
|
+
credentials?: RequestCredentials;
|
|
144
145
|
integrity?: string;
|
|
145
146
|
keepalive?: boolean;
|
|
146
|
-
method?: string;
|
|
147
147
|
mode?: RequestMode;
|
|
148
148
|
priority?: RequestPriority;
|
|
149
149
|
redirect?: RequestRedirect;
|
|
@@ -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,23 +223,23 @@ 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;
|
|
230
230
|
image?: string;
|
|
231
231
|
callbackURL?: string;
|
|
232
232
|
fetchOptions?: {
|
|
233
|
-
|
|
234
|
-
credentials?: RequestCredentials;
|
|
233
|
+
method?: string;
|
|
235
234
|
headers?: HeadersInit & (HeadersInit | {
|
|
236
235
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
237
236
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
238
237
|
authorization: "Bearer" | "Basic";
|
|
239
238
|
});
|
|
239
|
+
cache?: RequestCache;
|
|
240
|
+
credentials?: RequestCredentials;
|
|
240
241
|
integrity?: string;
|
|
241
242
|
keepalive?: boolean;
|
|
242
|
-
method?: string;
|
|
243
243
|
mode?: RequestMode;
|
|
244
244
|
priority?: RequestPriority;
|
|
245
245
|
redirect?: RequestRedirect;
|
|
@@ -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,22 +327,22 @@ 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;
|
|
334
334
|
} & {
|
|
335
335
|
fetchOptions?: {
|
|
336
|
-
|
|
337
|
-
credentials?: RequestCredentials;
|
|
336
|
+
method?: string;
|
|
338
337
|
headers?: HeadersInit & (HeadersInit | {
|
|
339
338
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
340
339
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
341
340
|
authorization: "Bearer" | "Basic";
|
|
342
341
|
});
|
|
342
|
+
cache?: RequestCache;
|
|
343
|
+
credentials?: RequestCredentials;
|
|
343
344
|
integrity?: string;
|
|
344
345
|
keepalive?: boolean;
|
|
345
|
-
method?: string;
|
|
346
346
|
mode?: RequestMode;
|
|
347
347
|
priority?: RequestPriority;
|
|
348
348
|
redirect?: RequestRedirect;
|
|
@@ -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,23 +384,23 @@ 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
|
}>, {
|
|
394
|
-
|
|
395
|
-
credentials?: RequestCredentials;
|
|
394
|
+
method?: string;
|
|
396
395
|
headers?: HeadersInit & (HeadersInit | {
|
|
397
396
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
398
397
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
399
398
|
authorization: "Bearer" | "Basic";
|
|
400
399
|
});
|
|
400
|
+
cache?: RequestCache;
|
|
401
|
+
credentials?: RequestCredentials;
|
|
401
402
|
integrity?: string;
|
|
402
403
|
keepalive?: boolean;
|
|
403
|
-
method?: string;
|
|
404
404
|
mode?: RequestMode;
|
|
405
405
|
priority?: RequestPriority;
|
|
406
406
|
redirect?: RequestRedirect;
|
|
@@ -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,21 +462,21 @@ 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
|
} & {
|
|
469
469
|
fetchOptions?: {
|
|
470
|
-
|
|
471
|
-
credentials?: RequestCredentials;
|
|
470
|
+
method?: string;
|
|
472
471
|
headers?: HeadersInit & (HeadersInit | {
|
|
473
472
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
474
473
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
475
474
|
authorization: "Bearer" | "Basic";
|
|
476
475
|
});
|
|
476
|
+
cache?: RequestCache;
|
|
477
|
+
credentials?: RequestCredentials;
|
|
477
478
|
integrity?: string;
|
|
478
479
|
keepalive?: boolean;
|
|
479
|
-
method?: string;
|
|
480
480
|
mode?: RequestMode;
|
|
481
481
|
priority?: RequestPriority;
|
|
482
482
|
redirect?: RequestRedirect;
|
|
@@ -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,21 +537,21 @@ 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
|
} & {
|
|
544
544
|
fetchOptions?: {
|
|
545
|
-
|
|
546
|
-
credentials?: RequestCredentials;
|
|
545
|
+
method?: string;
|
|
547
546
|
headers?: HeadersInit & (HeadersInit | {
|
|
548
547
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
549
548
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
550
549
|
authorization: "Bearer" | "Basic";
|
|
551
550
|
});
|
|
551
|
+
cache?: RequestCache;
|
|
552
|
+
credentials?: RequestCredentials;
|
|
552
553
|
integrity?: string;
|
|
553
554
|
keepalive?: boolean;
|
|
554
|
-
method?: string;
|
|
555
555
|
mode?: RequestMode;
|
|
556
556
|
priority?: RequestPriority;
|
|
557
557
|
redirect?: RequestRedirect;
|
|
@@ -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,20 +641,20 @@ 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?: {
|
|
648
|
-
|
|
649
|
-
credentials?: RequestCredentials;
|
|
648
|
+
method?: string;
|
|
650
649
|
headers?: HeadersInit & (HeadersInit | {
|
|
651
650
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
652
651
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
653
652
|
authorization: "Bearer" | "Basic";
|
|
654
653
|
});
|
|
654
|
+
cache?: RequestCache;
|
|
655
|
+
credentials?: RequestCredentials;
|
|
655
656
|
integrity?: string;
|
|
656
657
|
keepalive?: boolean;
|
|
657
|
-
method?: string;
|
|
658
658
|
mode?: RequestMode;
|
|
659
659
|
priority?: RequestPriority;
|
|
660
660
|
redirect?: RequestRedirect;
|
|
@@ -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,21 +715,21 @@ 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
|
} & {
|
|
722
722
|
fetchOptions?: {
|
|
723
|
-
|
|
724
|
-
credentials?: RequestCredentials;
|
|
723
|
+
method?: string;
|
|
725
724
|
headers?: HeadersInit & (HeadersInit | {
|
|
726
725
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
727
726
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
728
727
|
authorization: "Bearer" | "Basic";
|
|
729
728
|
});
|
|
729
|
+
cache?: RequestCache;
|
|
730
|
+
credentials?: RequestCredentials;
|
|
730
731
|
integrity?: string;
|
|
731
732
|
keepalive?: boolean;
|
|
732
|
-
method?: string;
|
|
733
733
|
mode?: RequestMode;
|
|
734
734
|
priority?: RequestPriority;
|
|
735
735
|
redirect?: RequestRedirect;
|
|
@@ -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,20 +790,20 @@ 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?: {
|
|
797
|
-
|
|
798
|
-
credentials?: RequestCredentials;
|
|
797
|
+
method?: string;
|
|
799
798
|
headers?: HeadersInit & (HeadersInit | {
|
|
800
799
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
801
800
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
802
801
|
authorization: "Bearer" | "Basic";
|
|
803
802
|
});
|
|
803
|
+
cache?: RequestCache;
|
|
804
|
+
credentials?: RequestCredentials;
|
|
804
805
|
integrity?: string;
|
|
805
806
|
keepalive?: boolean;
|
|
806
|
-
method?: string;
|
|
807
807
|
mode?: RequestMode;
|
|
808
808
|
priority?: RequestPriority;
|
|
809
809
|
redirect?: RequestRedirect;
|
|
@@ -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,21 +872,21 @@ 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
|
} & {
|
|
879
879
|
fetchOptions?: {
|
|
880
|
-
|
|
881
|
-
credentials?: RequestCredentials;
|
|
880
|
+
method?: string;
|
|
882
881
|
headers?: HeadersInit & (HeadersInit | {
|
|
883
882
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
884
883
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
885
884
|
authorization: "Bearer" | "Basic";
|
|
886
885
|
});
|
|
886
|
+
cache?: RequestCache;
|
|
887
|
+
credentials?: RequestCredentials;
|
|
887
888
|
integrity?: string;
|
|
888
889
|
keepalive?: boolean;
|
|
889
|
-
method?: string;
|
|
890
890
|
mode?: RequestMode;
|
|
891
891
|
priority?: RequestPriority;
|
|
892
892
|
redirect?: RequestRedirect;
|
|
@@ -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,22 +956,22 @@ 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;
|
|
963
963
|
} & {
|
|
964
964
|
fetchOptions?: {
|
|
965
|
-
|
|
966
|
-
credentials?: RequestCredentials;
|
|
965
|
+
method?: string;
|
|
967
966
|
headers?: HeadersInit & (HeadersInit | {
|
|
968
967
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
969
968
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
970
969
|
authorization: "Bearer" | "Basic";
|
|
971
970
|
});
|
|
971
|
+
cache?: RequestCache;
|
|
972
|
+
credentials?: RequestCredentials;
|
|
972
973
|
integrity?: string;
|
|
973
974
|
keepalive?: boolean;
|
|
974
|
-
method?: string;
|
|
975
975
|
mode?: RequestMode;
|
|
976
976
|
priority?: RequestPriority;
|
|
977
977
|
redirect?: RequestRedirect;
|
|
@@ -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,20 +1077,20 @@ 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?: {
|
|
1084
|
-
|
|
1085
|
-
credentials?: RequestCredentials;
|
|
1084
|
+
method?: string;
|
|
1086
1085
|
headers?: HeadersInit & (HeadersInit | {
|
|
1087
1086
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1088
1087
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1089
1088
|
authorization: "Bearer" | "Basic";
|
|
1090
1089
|
});
|
|
1090
|
+
cache?: RequestCache;
|
|
1091
|
+
credentials?: RequestCredentials;
|
|
1091
1092
|
integrity?: string;
|
|
1092
1093
|
keepalive?: boolean;
|
|
1093
|
-
method?: string;
|
|
1094
1094
|
mode?: RequestMode;
|
|
1095
1095
|
priority?: RequestPriority;
|
|
1096
1096
|
redirect?: RequestRedirect;
|
|
@@ -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>;
|
|
@@ -1161,11 +1161,9 @@ declare const useCreateUser: () => _tanstack_react_query0.UseMutationResult<_int
|
|
|
1161
1161
|
declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateUserResult, Error, Partial<{
|
|
1162
1162
|
name: string;
|
|
1163
1163
|
id: string;
|
|
1164
|
-
lang?: string;
|
|
1165
|
-
role?: string;
|
|
1166
1164
|
createdAt: Date;
|
|
1167
|
-
updatedAt: Date;
|
|
1168
1165
|
email: string;
|
|
1166
|
+
updatedAt: Date;
|
|
1169
1167
|
emailVerified: boolean;
|
|
1170
1168
|
image?: string;
|
|
1171
1169
|
phone?: string;
|
|
@@ -1174,7 +1172,9 @@ declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<_int
|
|
|
1174
1172
|
newsLetter: boolean;
|
|
1175
1173
|
};
|
|
1176
1174
|
customerId?: string;
|
|
1175
|
+
role?: string;
|
|
1177
1176
|
lastLoginMethod?: "email" | "google" | "github" | "passkey";
|
|
1177
|
+
lang?: string;
|
|
1178
1178
|
}>, unknown>;
|
|
1179
1179
|
declare const useDeleteUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateUserResult, Error, string, unknown>;
|
|
1180
1180
|
/**
|