@refinedev/core 4.12.0 → 4.14.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 +38 -0
- package/dist/components/gh-banner/index.d.ts +0 -1
- package/dist/components/gh-banner/index.d.ts.map +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/hooks/form/useForm.d.ts +18 -16
- package/dist/hooks/form/useForm.d.ts.map +1 -1
- package/dist/iife/index.js +5 -5
- package/dist/iife/index.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/hooks/form/useForm.ts +131 -93
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @pankod/refine-core
|
|
2
2
|
|
|
3
|
+
## 4.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#4241](https://github.com/refinedev/refine/pull/4241) [`fbe109b5a8b`](https://github.com/refinedev/refine/commit/fbe109b5a8ba8f5d870eab2d96b7477508bceec0) Thanks [@salihozdemir](https://github.com/salihozdemir)! - Added new generic types to the `useForm` hooks. Now you can pass the query types and the mutation types to the hook.
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { useForm } from "@refinedev/core";
|
|
11
|
+
|
|
12
|
+
useForm<
|
|
13
|
+
TQueryFnData,
|
|
14
|
+
TError,
|
|
15
|
+
TVariables,
|
|
16
|
+
TData,
|
|
17
|
+
TResponse,
|
|
18
|
+
TResponseError
|
|
19
|
+
>();
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## 4.13.0
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- [#4241](https://github.com/refinedev/refine/pull/4241) [`fbe109b5a8b`](https://github.com/refinedev/refine/commit/fbe109b5a8ba8f5d870eab2d96b7477508bceec0) Thanks [@salihozdemir](https://github.com/salihozdemir)! - Added new generic types to the `useForm` hooks. Now you can pass the query types and the mutation types to the hook.
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
import { useForm } from "@refinedev/core";
|
|
30
|
+
|
|
31
|
+
useForm<
|
|
32
|
+
TQueryFnData,
|
|
33
|
+
TError,
|
|
34
|
+
TVariables,
|
|
35
|
+
TData,
|
|
36
|
+
TResponse,
|
|
37
|
+
TResponseError
|
|
38
|
+
>();
|
|
39
|
+
```
|
|
40
|
+
|
|
3
41
|
## 4.12.0
|
|
4
42
|
|
|
5
43
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/gh-banner/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/gh-banner/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,mBA4ExB,CAAC"}
|