@refinedev/core 4.57.10 → 4.58.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/CHANGELOG.md +25 -0
- package/README.md +1 -1
- package/dist/hooks/data/useCreate.d.cts +1 -1
- package/dist/hooks/data/useCreate.d.mts +1 -1
- package/dist/hooks/data/useCreate.d.mts.map +1 -1
- package/dist/hooks/data/useCreate.d.ts +1 -1
- package/dist/hooks/data/useCreateMany.d.cts +1 -1
- package/dist/hooks/data/useCreateMany.d.mts +1 -1
- package/dist/hooks/data/useCreateMany.d.mts.map +1 -1
- package/dist/hooks/data/useCreateMany.d.ts +1 -1
- package/dist/hooks/data/useCustomMutation.d.cts +1 -1
- package/dist/hooks/data/useCustomMutation.d.mts +1 -1
- package/dist/hooks/data/useCustomMutation.d.mts.map +1 -1
- package/dist/hooks/data/useCustomMutation.d.ts +1 -1
- package/dist/hooks/data/useDelete.d.cts +1 -1
- package/dist/hooks/data/useDelete.d.mts +1 -1
- package/dist/hooks/data/useDelete.d.mts.map +1 -1
- package/dist/hooks/data/useDelete.d.ts +1 -1
- package/dist/hooks/data/useDeleteMany.d.cts +1 -1
- package/dist/hooks/data/useDeleteMany.d.mts +1 -1
- package/dist/hooks/data/useDeleteMany.d.mts.map +1 -1
- package/dist/hooks/data/useDeleteMany.d.ts +1 -1
- package/dist/hooks/data/useUpdate.d.cts +1 -1
- package/dist/hooks/data/useUpdate.d.mts +1 -1
- package/dist/hooks/data/useUpdate.d.mts.map +1 -1
- package/dist/hooks/data/useUpdate.d.ts +1 -1
- package/dist/hooks/data/useUpdateMany.d.cts +1 -1
- package/dist/hooks/data/useUpdateMany.d.mts +1 -1
- package/dist/hooks/data/useUpdateMany.d.mts.map +1 -1
- package/dist/hooks/data/useUpdateMany.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/hooks/data/useCreate.ts +2 -2
- package/src/hooks/data/useCreateMany.ts +1 -1
- package/src/hooks/data/useCustomMutation.ts +1 -1
- package/src/hooks/data/useDelete.ts +3 -3
- package/src/hooks/data/useDeleteMany.ts +1 -1
- package/src/hooks/data/useUpdate.ts +3 -3
- package/src/hooks/data/useUpdateMany.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @refinedev/core
|
|
2
2
|
|
|
3
|
+
## 4.58.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#6880](https://github.com/refinedev/refine/pull/6880) [`2b4c2082b2e07f6c5afa514c4beeb7abc4082ea2`](https://github.com/refinedev/refine/commit/2b4c2082b2e07f6c5afa514c4beeb7abc4082ea2) Thanks [@arndom](https://github.com/arndom)! - - Add `siderItemsAreCollapsed` prop to all `Sider` components to set default expanded/collapsed nested sider items.
|
|
8
|
+
|
|
9
|
+
- UI packages: AntDesign, Manitine, Charka-UI, Material-UI
|
|
10
|
+
- Add documentation for this addition
|
|
11
|
+
|
|
12
|
+
[Resolves #6721](https://github.com/refinedev/refine/issues/6721)
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#6925](https://github.com/refinedev/refine/pull/6925) [`5a3e404de3f655efd8317f8e2eacbc2be8b3fa7a`](https://github.com/refinedev/refine/commit/5a3e404de3f655efd8317f8e2eacbc2be8b3fa7a) Thanks [@pokycookie](https://github.com/pokycookie)! - - Preserve row id in meta for data hooks.
|
|
17
|
+
|
|
18
|
+
[Resolves #6906](https://github.com/refinedev/refine/issues/6906)
|
|
19
|
+
|
|
20
|
+
## 4.57.11
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- [#6889](https://github.com/refinedev/refine/pull/6889) [`6087f72c2d38977410e401efae61c5583d61425d`](https://github.com/refinedev/refine/commit/6087f72c2d38977410e401efae61c5583d61425d) Thanks [@DoguhanOzgurAkca](https://github.com/DoguhanOzgurAkca)! - [chore: replace outdated and broken `@tanstack/query` links](https://github.com/refinedev/refine/pull/6889)
|
|
25
|
+
|
|
26
|
+
Updated broken links to `@tanstack/query` documentation for `useMutation` in TSDoc definitions.
|
|
27
|
+
|
|
3
28
|
## 4.57.10
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
<div align="center"><strong>The sweet spot between the low/no code and “starting from scratch” for CRUD-heavy applications.</strong><br>
|
|
23
23
|
|
|
24
|
-
Refine is
|
|
24
|
+
Refine is an open source, React meta-framework for enterprise. It provides a headless solution for everything from admin panels to
|
|
25
25
|
dashboards and internal tools.
|
|
26
26
|
<br />
|
|
27
27
|
|
|
@@ -35,7 +35,7 @@ export type UseCreateProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
35
35
|
mutationOptions?: Omit<UseMutationOptions<CreateResponse<TData>, TError, UseCreateParams<TData, TError, TVariables>, unknown>, "mutationFn">;
|
|
36
36
|
} & UseLoadingOvertimeOptionsProps & UseCreateParams<TData, TError, TVariables>;
|
|
37
37
|
/**
|
|
38
|
-
* `useCreate` is a modified version of `react-query`'s {@link https://
|
|
38
|
+
* `useCreate` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for create mutations.
|
|
39
39
|
*
|
|
40
40
|
* It uses `create` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
41
41
|
*
|
|
@@ -35,7 +35,7 @@ export type UseCreateProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
35
35
|
mutationOptions?: Omit<UseMutationOptions<CreateResponse<TData>, TError, UseCreateParams<TData, TError, TVariables>, unknown>, "mutationFn">;
|
|
36
36
|
} & UseLoadingOvertimeOptionsProps & UseCreateParams<TData, TError, TVariables>;
|
|
37
37
|
/**
|
|
38
|
-
* `useCreate` is a modified version of `react-query`'s {@link https://
|
|
38
|
+
* `useCreate` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for create mutations.
|
|
39
39
|
*
|
|
40
40
|
* It uses `create` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
41
41
|
*
|
|
@@ -35,7 +35,7 @@ export type UseCreateProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
35
35
|
mutationOptions?: Omit<UseMutationOptions<CreateResponse<TData>, TError, UseCreateParams<TData, TError, TVariables>, unknown>, "mutationFn">;
|
|
36
36
|
} & UseLoadingOvertimeOptionsProps & UseCreateParams<TData, TError, TVariables>;
|
|
37
37
|
/**
|
|
38
|
-
* `useCreate` is a modified version of `react-query`'s {@link https://
|
|
38
|
+
* `useCreate` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for create mutations.
|
|
39
39
|
*
|
|
40
40
|
* It uses `create` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
41
41
|
*
|
|
@@ -35,7 +35,7 @@ export type UseCreateProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
35
35
|
mutationOptions?: Omit<UseMutationOptions<CreateResponse<TData>, TError, UseCreateParams<TData, TError, TVariables>, unknown>, "mutationFn">;
|
|
36
36
|
} & UseLoadingOvertimeOptionsProps & UseCreateParams<TData, TError, TVariables>;
|
|
37
37
|
/**
|
|
38
|
-
* `useCreate` is a modified version of `react-query`'s {@link https://
|
|
38
|
+
* `useCreate` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for create mutations.
|
|
39
39
|
*
|
|
40
40
|
* It uses `create` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
41
41
|
*
|
|
@@ -16,7 +16,7 @@ export type UseCreateManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
16
16
|
mutationOptions?: Omit<UseMutationOptions<CreateManyResponse<TData>, TError, UseCreateManyParams<TData, TError, TVariables>>, "mutationFn">;
|
|
17
17
|
} & UseLoadingOvertimeOptionsProps & UseCreateManyParams<TData, TError, TVariables>;
|
|
18
18
|
/**
|
|
19
|
-
* `useCreateMany` is a modified version of `react-query`'s {@link https://
|
|
19
|
+
* `useCreateMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple create mutations.
|
|
20
20
|
*
|
|
21
21
|
* It uses `createMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
22
22
|
*
|
|
@@ -16,7 +16,7 @@ export type UseCreateManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
16
16
|
mutationOptions?: Omit<UseMutationOptions<CreateManyResponse<TData>, TError, UseCreateManyParams<TData, TError, TVariables>>, "mutationFn">;
|
|
17
17
|
} & UseLoadingOvertimeOptionsProps & UseCreateManyParams<TData, TError, TVariables>;
|
|
18
18
|
/**
|
|
19
|
-
* `useCreateMany` is a modified version of `react-query`'s {@link https://
|
|
19
|
+
* `useCreateMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple create mutations.
|
|
20
20
|
*
|
|
21
21
|
* It uses `createMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
22
22
|
*
|
|
@@ -16,7 +16,7 @@ export type UseCreateManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
16
16
|
mutationOptions?: Omit<UseMutationOptions<CreateManyResponse<TData>, TError, UseCreateManyParams<TData, TError, TVariables>>, "mutationFn">;
|
|
17
17
|
} & UseLoadingOvertimeOptionsProps & UseCreateManyParams<TData, TError, TVariables>;
|
|
18
18
|
/**
|
|
19
|
-
* `useCreateMany` is a modified version of `react-query`'s {@link https://
|
|
19
|
+
* `useCreateMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple create mutations.
|
|
20
20
|
*
|
|
21
21
|
* It uses `createMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
22
22
|
*
|
|
@@ -16,7 +16,7 @@ export type UseCreateManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
16
16
|
mutationOptions?: Omit<UseMutationOptions<CreateManyResponse<TData>, TError, UseCreateManyParams<TData, TError, TVariables>>, "mutationFn">;
|
|
17
17
|
} & UseLoadingOvertimeOptionsProps & UseCreateManyParams<TData, TError, TVariables>;
|
|
18
18
|
/**
|
|
19
|
-
* `useCreateMany` is a modified version of `react-query`'s {@link https://
|
|
19
|
+
* `useCreateMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple create mutations.
|
|
20
20
|
*
|
|
21
21
|
* It uses `createMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
22
22
|
*
|
|
@@ -26,7 +26,7 @@ export type UseCustomMutationProps<TData extends BaseRecord = BaseRecord, TError
|
|
|
26
26
|
mutationOptions?: Omit<UseMutationOptions<CreateResponse<TData>, TError, useCustomMutationParams<TData, TError, TVariables>, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
27
27
|
} & UseLoadingOvertimeOptionsProps;
|
|
28
28
|
/**
|
|
29
|
-
* `useCustomMutation` is a modified version of `react-query`'s {@link https://
|
|
29
|
+
* `useCustomMutation` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for create mutations.
|
|
30
30
|
*
|
|
31
31
|
* It uses the `custom` method from the `dataProvider` which is passed to `<Refine>`.
|
|
32
32
|
*
|
|
@@ -26,7 +26,7 @@ export type UseCustomMutationProps<TData extends BaseRecord = BaseRecord, TError
|
|
|
26
26
|
mutationOptions?: Omit<UseMutationOptions<CreateResponse<TData>, TError, useCustomMutationParams<TData, TError, TVariables>, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
27
27
|
} & UseLoadingOvertimeOptionsProps;
|
|
28
28
|
/**
|
|
29
|
-
* `useCustomMutation` is a modified version of `react-query`'s {@link https://
|
|
29
|
+
* `useCustomMutation` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for create mutations.
|
|
30
30
|
*
|
|
31
31
|
* It uses the `custom` method from the `dataProvider` which is passed to `<Refine>`.
|
|
32
32
|
*
|
|
@@ -26,7 +26,7 @@ export type UseCustomMutationProps<TData extends BaseRecord = BaseRecord, TError
|
|
|
26
26
|
mutationOptions?: Omit<UseMutationOptions<CreateResponse<TData>, TError, useCustomMutationParams<TData, TError, TVariables>, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
27
27
|
} & UseLoadingOvertimeOptionsProps;
|
|
28
28
|
/**
|
|
29
|
-
* `useCustomMutation` is a modified version of `react-query`'s {@link https://
|
|
29
|
+
* `useCustomMutation` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for create mutations.
|
|
30
30
|
*
|
|
31
31
|
* It uses the `custom` method from the `dataProvider` which is passed to `<Refine>`.
|
|
32
32
|
*
|
|
@@ -26,7 +26,7 @@ export type UseCustomMutationProps<TData extends BaseRecord = BaseRecord, TError
|
|
|
26
26
|
mutationOptions?: Omit<UseMutationOptions<CreateResponse<TData>, TError, useCustomMutationParams<TData, TError, TVariables>, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
27
27
|
} & UseLoadingOvertimeOptionsProps;
|
|
28
28
|
/**
|
|
29
|
-
* `useCustomMutation` is a modified version of `react-query`'s {@link https://
|
|
29
|
+
* `useCustomMutation` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for create mutations.
|
|
30
30
|
*
|
|
31
31
|
* It uses the `custom` method from the `dataProvider` which is passed to `<Refine>`.
|
|
32
32
|
*
|
|
@@ -50,7 +50,7 @@ export type UseDeleteProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
50
50
|
mutationOptions?: Omit<UseMutationOptions<DeleteOneResponse<TData>, TError, DeleteParams<TData, TError, TVariables>, DeleteContext<TData>>, "mutationFn" | "onError" | "onSuccess" | "onSettled" | "onMutate">;
|
|
51
51
|
} & UseLoadingOvertimeOptionsProps;
|
|
52
52
|
/**
|
|
53
|
-
* `useDelete` is a modified version of `react-query`'s {@link https://
|
|
53
|
+
* `useDelete` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for delete mutations.
|
|
54
54
|
*
|
|
55
55
|
* It uses `deleteOne` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
56
56
|
*
|
|
@@ -50,7 +50,7 @@ export type UseDeleteProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
50
50
|
mutationOptions?: Omit<UseMutationOptions<DeleteOneResponse<TData>, TError, DeleteParams<TData, TError, TVariables>, DeleteContext<TData>>, "mutationFn" | "onError" | "onSuccess" | "onSettled" | "onMutate">;
|
|
51
51
|
} & UseLoadingOvertimeOptionsProps;
|
|
52
52
|
/**
|
|
53
|
-
* `useDelete` is a modified version of `react-query`'s {@link https://
|
|
53
|
+
* `useDelete` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for delete mutations.
|
|
54
54
|
*
|
|
55
55
|
* It uses `deleteOne` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
56
56
|
*
|
|
@@ -50,7 +50,7 @@ export type UseDeleteProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
50
50
|
mutationOptions?: Omit<UseMutationOptions<DeleteOneResponse<TData>, TError, DeleteParams<TData, TError, TVariables>, DeleteContext<TData>>, "mutationFn" | "onError" | "onSuccess" | "onSettled" | "onMutate">;
|
|
51
51
|
} & UseLoadingOvertimeOptionsProps;
|
|
52
52
|
/**
|
|
53
|
-
* `useDelete` is a modified version of `react-query`'s {@link https://
|
|
53
|
+
* `useDelete` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for delete mutations.
|
|
54
54
|
*
|
|
55
55
|
* It uses `deleteOne` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
56
56
|
*
|
|
@@ -50,7 +50,7 @@ export type UseDeleteProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
50
50
|
mutationOptions?: Omit<UseMutationOptions<DeleteOneResponse<TData>, TError, DeleteParams<TData, TError, TVariables>, DeleteContext<TData>>, "mutationFn" | "onError" | "onSuccess" | "onSettled" | "onMutate">;
|
|
51
51
|
} & UseLoadingOvertimeOptionsProps;
|
|
52
52
|
/**
|
|
53
|
-
* `useDelete` is a modified version of `react-query`'s {@link https://
|
|
53
|
+
* `useDelete` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for delete mutations.
|
|
54
54
|
*
|
|
55
55
|
* It uses `deleteOne` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
56
56
|
*
|
|
@@ -50,7 +50,7 @@ export type UseDeleteManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
50
50
|
mutationOptions?: Omit<UseMutationOptions<DeleteManyResponse<TData>, TError, DeleteManyParams<TData, TError, TVariables>, DeleteContext<TData>>, "mutationFn" | "onError" | "onSuccess" | "onSettled" | "onMutate">;
|
|
51
51
|
} & UseLoadingOvertimeOptionsProps;
|
|
52
52
|
/**
|
|
53
|
-
* `useDeleteMany` is a modified version of `react-query`'s {@link https://
|
|
53
|
+
* `useDeleteMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple delete mutations.
|
|
54
54
|
*
|
|
55
55
|
* It uses `deleteMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
56
56
|
*
|
|
@@ -50,7 +50,7 @@ export type UseDeleteManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
50
50
|
mutationOptions?: Omit<UseMutationOptions<DeleteManyResponse<TData>, TError, DeleteManyParams<TData, TError, TVariables>, DeleteContext<TData>>, "mutationFn" | "onError" | "onSuccess" | "onSettled" | "onMutate">;
|
|
51
51
|
} & UseLoadingOvertimeOptionsProps;
|
|
52
52
|
/**
|
|
53
|
-
* `useDeleteMany` is a modified version of `react-query`'s {@link https://
|
|
53
|
+
* `useDeleteMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple delete mutations.
|
|
54
54
|
*
|
|
55
55
|
* It uses `deleteMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
56
56
|
*
|
|
@@ -50,7 +50,7 @@ export type UseDeleteManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
50
50
|
mutationOptions?: Omit<UseMutationOptions<DeleteManyResponse<TData>, TError, DeleteManyParams<TData, TError, TVariables>, DeleteContext<TData>>, "mutationFn" | "onError" | "onSuccess" | "onSettled" | "onMutate">;
|
|
51
51
|
} & UseLoadingOvertimeOptionsProps;
|
|
52
52
|
/**
|
|
53
|
-
* `useDeleteMany` is a modified version of `react-query`'s {@link https://
|
|
53
|
+
* `useDeleteMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple delete mutations.
|
|
54
54
|
*
|
|
55
55
|
* It uses `deleteMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
56
56
|
*
|
|
@@ -50,7 +50,7 @@ export type UseDeleteManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
50
50
|
mutationOptions?: Omit<UseMutationOptions<DeleteManyResponse<TData>, TError, DeleteManyParams<TData, TError, TVariables>, DeleteContext<TData>>, "mutationFn" | "onError" | "onSuccess" | "onSettled" | "onMutate">;
|
|
51
51
|
} & UseLoadingOvertimeOptionsProps;
|
|
52
52
|
/**
|
|
53
|
-
* `useDeleteMany` is a modified version of `react-query`'s {@link https://
|
|
53
|
+
* `useDeleteMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple delete mutations.
|
|
54
54
|
*
|
|
55
55
|
* It uses `deleteMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
56
56
|
*
|
|
@@ -69,7 +69,7 @@ export type UseUpdateProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
69
69
|
mutationOptions?: Omit<UseMutationOptions<UpdateResponse<TData>, TError, UpdateParams<TData, TError, TVariables>, UpdateContext<TData>>, "mutationFn" | "onMutate">;
|
|
70
70
|
} & UseLoadingOvertimeOptionsProps & UpdateParams<TData, TError, TVariables>;
|
|
71
71
|
/**
|
|
72
|
-
* `useUpdate` is a modified version of `react-query`'s {@link https://
|
|
72
|
+
* `useUpdate` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for update mutations.
|
|
73
73
|
*
|
|
74
74
|
* It uses `update` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
75
75
|
*
|
|
@@ -69,7 +69,7 @@ export type UseUpdateProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
69
69
|
mutationOptions?: Omit<UseMutationOptions<UpdateResponse<TData>, TError, UpdateParams<TData, TError, TVariables>, UpdateContext<TData>>, "mutationFn" | "onMutate">;
|
|
70
70
|
} & UseLoadingOvertimeOptionsProps & UpdateParams<TData, TError, TVariables>;
|
|
71
71
|
/**
|
|
72
|
-
* `useUpdate` is a modified version of `react-query`'s {@link https://
|
|
72
|
+
* `useUpdate` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for update mutations.
|
|
73
73
|
*
|
|
74
74
|
* It uses `update` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
75
75
|
*
|
|
@@ -69,7 +69,7 @@ export type UseUpdateProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
69
69
|
mutationOptions?: Omit<UseMutationOptions<UpdateResponse<TData>, TError, UpdateParams<TData, TError, TVariables>, UpdateContext<TData>>, "mutationFn" | "onMutate">;
|
|
70
70
|
} & UseLoadingOvertimeOptionsProps & UpdateParams<TData, TError, TVariables>;
|
|
71
71
|
/**
|
|
72
|
-
* `useUpdate` is a modified version of `react-query`'s {@link https://
|
|
72
|
+
* `useUpdate` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for update mutations.
|
|
73
73
|
*
|
|
74
74
|
* It uses `update` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
75
75
|
*
|
|
@@ -69,7 +69,7 @@ export type UseUpdateProps<TData extends BaseRecord = BaseRecord, TError extends
|
|
|
69
69
|
mutationOptions?: Omit<UseMutationOptions<UpdateResponse<TData>, TError, UpdateParams<TData, TError, TVariables>, UpdateContext<TData>>, "mutationFn" | "onMutate">;
|
|
70
70
|
} & UseLoadingOvertimeOptionsProps & UpdateParams<TData, TError, TVariables>;
|
|
71
71
|
/**
|
|
72
|
-
* `useUpdate` is a modified version of `react-query`'s {@link https://
|
|
72
|
+
* `useUpdate` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for update mutations.
|
|
73
73
|
*
|
|
74
74
|
* It uses `update` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
75
75
|
*
|
|
@@ -69,7 +69,7 @@ export type UseUpdateManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
69
69
|
mutationOptions?: Omit<UseMutationOptions<UpdateManyResponse<TData>, TError, UpdateManyParams<TData, TError, TVariables>, UpdateContext<TData>>, "mutationFn" | "onMutate">;
|
|
70
70
|
} & UseLoadingOvertimeOptionsProps & UpdateManyParams<TData, TError, TVariables>;
|
|
71
71
|
/**
|
|
72
|
-
* `useUpdateMany` is a modified version of `react-query`'s {@link https://
|
|
72
|
+
* `useUpdateMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple update mutations.
|
|
73
73
|
*
|
|
74
74
|
* It uses `updateMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
75
75
|
*
|
|
@@ -69,7 +69,7 @@ export type UseUpdateManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
69
69
|
mutationOptions?: Omit<UseMutationOptions<UpdateManyResponse<TData>, TError, UpdateManyParams<TData, TError, TVariables>, UpdateContext<TData>>, "mutationFn" | "onMutate">;
|
|
70
70
|
} & UseLoadingOvertimeOptionsProps & UpdateManyParams<TData, TError, TVariables>;
|
|
71
71
|
/**
|
|
72
|
-
* `useUpdateMany` is a modified version of `react-query`'s {@link https://
|
|
72
|
+
* `useUpdateMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple update mutations.
|
|
73
73
|
*
|
|
74
74
|
* It uses `updateMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
75
75
|
*
|
|
@@ -69,7 +69,7 @@ export type UseUpdateManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
69
69
|
mutationOptions?: Omit<UseMutationOptions<UpdateManyResponse<TData>, TError, UpdateManyParams<TData, TError, TVariables>, UpdateContext<TData>>, "mutationFn" | "onMutate">;
|
|
70
70
|
} & UseLoadingOvertimeOptionsProps & UpdateManyParams<TData, TError, TVariables>;
|
|
71
71
|
/**
|
|
72
|
-
* `useUpdateMany` is a modified version of `react-query`'s {@link https://
|
|
72
|
+
* `useUpdateMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple update mutations.
|
|
73
73
|
*
|
|
74
74
|
* It uses `updateMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
75
75
|
*
|
|
@@ -69,7 +69,7 @@ export type UseUpdateManyProps<TData extends BaseRecord = BaseRecord, TError ext
|
|
|
69
69
|
mutationOptions?: Omit<UseMutationOptions<UpdateManyResponse<TData>, TError, UpdateManyParams<TData, TError, TVariables>, UpdateContext<TData>>, "mutationFn" | "onMutate">;
|
|
70
70
|
} & UseLoadingOvertimeOptionsProps & UpdateManyParams<TData, TError, TVariables>;
|
|
71
71
|
/**
|
|
72
|
-
* `useUpdateMany` is a modified version of `react-query`'s {@link https://
|
|
72
|
+
* `useUpdateMany` is a modified version of `react-query`'s {@link https://tanstack.com/query/v4/docs/framework/react/reference/useMutation `useMutation`} for multiple update mutations.
|
|
73
73
|
*
|
|
74
74
|
* It uses `updateMany` method as mutation function from the `dataProvider` which is passed to `<Refine>`.
|
|
75
75
|
*
|