propro-common-components 0.1.303 → 0.1.304
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api/useMutate.d.ts +1 -0
- package/dist/propro-common-components.js +1276 -1305
- package/package.json +1 -1
package/dist/api/useMutate.d.ts
CHANGED
@@ -19,6 +19,7 @@ interface UseMutateParams<TData, TError, TVariables, _TContext> {
|
|
19
19
|
};
|
20
20
|
onSuccess?: (res: TData, variables?: TVariables) => void;
|
21
21
|
onError?: (err: TError, variables?: TVariables) => void;
|
22
|
+
shouldCheckAccessToken?: boolean;
|
22
23
|
}
|
23
24
|
declare const useMutate: <TData = unknown, TError = AxiosError<unknown, any>, TVariables = unknown, TContext = unknown>(params: UseMutateParams<TData, TError, TVariables, TContext>, options?: Omit<UseMutationOptions<TData, TError, TVariables, TContext>, 'mutationFn' | 'onSuccess' | 'onError'>) => UseMutationResult<TData, TError, TVariables, TContext>;
|
24
25
|
export default useMutate;
|