@refinedev/core 4.57.5 → 4.57.9
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 +56 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.cts +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.cts.map +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.mts +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.mts.map +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.ts +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.ts.map +1 -1
- package/dist/definitions/helpers/safe-translate/index.d.cts +1 -1
- package/dist/definitions/helpers/safe-translate/index.d.cts.map +1 -1
- package/dist/definitions/helpers/safe-translate/index.d.mts +1 -1
- package/dist/definitions/helpers/safe-translate/index.d.mts.map +1 -1
- package/dist/definitions/helpers/safe-translate/index.d.ts +1 -1
- package/dist/definitions/helpers/safe-translate/index.d.ts.map +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/hooks/form/types.d.cts +1 -1
- package/dist/hooks/form/types.d.mts +1 -1
- package/dist/hooks/form/types.d.mts.map +1 -1
- package/dist/hooks/form/types.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/definitions/helpers/generateDocumentTitle/index.ts +1 -1
- package/src/definitions/helpers/safe-translate/index.ts +1 -1
- package/src/hooks/auth/useRegister/index.ts +2 -2
- package/src/hooks/data/useDelete.ts +1 -1
- package/src/hooks/data/useDeleteMany.ts +1 -1
- package/src/hooks/data/useUpdate.ts +1 -1
- package/src/hooks/data/useUpdateMany.ts +1 -1
- package/src/hooks/form/types.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# @refinedev/core
|
|
2
2
|
|
|
3
|
+
## 4.57.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
📢 **Refine Community Release** 📢
|
|
8
|
+
|
|
9
|
+
- fix: wrong JSDoc links in components
|
|
10
|
+
|
|
11
|
+
## 4.57.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
⚡ **Refine Enterprise Release** ⚡
|
|
16
|
+
|
|
17
|
+
- [#6728](https://github.com/refinedev/refine/pull/6728) [`1663501c9c9f37b98434af83afd8d0fc41d27af2`](https://github.com/refinedev/refine/commit/1663501c9c9f37b98434af83afd8d0fc41d27af2) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - fix: wrong JSDoc links in components
|
|
18
|
+
|
|
19
|
+
## 4.57.7
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
📢 **Refine Community Release** 📢
|
|
24
|
+
|
|
25
|
+
- Move invalidation in `useRegister` to be called only on success.
|
|
26
|
+
|
|
27
|
+
[Resolves #6639](https://github.com/refinedev/refine/issues/6639)
|
|
28
|
+
|
|
29
|
+
📢 **Refine Community Release** 📢
|
|
30
|
+
|
|
31
|
+
- fix(types): remove path aliases from type imports
|
|
32
|
+
|
|
33
|
+
Since typescript doesn't resolve and replace path aliases, using them for the type imports will cause `d.ts` files to reference unresolvable paths and types.
|
|
34
|
+
|
|
35
|
+
While this doesn't break everything, it breaks the types in places where the path aliases are used for type imports.
|
|
36
|
+
|
|
37
|
+
This change removes the path aliases from the type imports and replaces them with relative imports.
|
|
38
|
+
|
|
39
|
+
## 4.57.6
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
⚡ **Refine Enterprise Release** ⚡
|
|
44
|
+
|
|
45
|
+
- [#6658](https://github.com/refinedev/refine/pull/6658) [`91aaf75f04e6e6434196ece9a52b024c70d29df4`](https://github.com/refinedev/refine/commit/91aaf75f04e6e6434196ece9a52b024c70d29df4) Thanks [@arndom](https://github.com/arndom)! - Move invalidation in `useRegister` to be called only on success.
|
|
46
|
+
|
|
47
|
+
[Resolves #6639](https://github.com/refinedev/refine/issues/6639)
|
|
48
|
+
|
|
49
|
+
⚡ **Refine Enterprise Release** ⚡
|
|
50
|
+
|
|
51
|
+
- [#6683](https://github.com/refinedev/refine/pull/6683) [`a12a0821e3c573386c2a8eea4ac1582cc46dd26d`](https://github.com/refinedev/refine/commit/a12a0821e3c573386c2a8eea4ac1582cc46dd26d) Thanks [@aliemir](https://github.com/aliemir)! - fix(types): remove path aliases from type imports
|
|
52
|
+
|
|
53
|
+
Since typescript doesn't resolve and replace path aliases, using them for the type imports will cause `d.ts` files to reference unresolvable paths and types.
|
|
54
|
+
|
|
55
|
+
While this doesn't break everything, it breaks the types in places where the path aliases are used for type imports.
|
|
56
|
+
|
|
57
|
+
This change removes the path aliases from the type imports and replaces them with relative imports.
|
|
58
|
+
|
|
3
59
|
## 4.57.5
|
|
4
60
|
|
|
5
61
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/generateDocumentTitle/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/generateDocumentTitle/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAItE;;GAEG;AACH,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,EAC1C,QAAQ,CAAC,EAAE,aAAa,EACxB,MAAM,CAAC,EAAE,MAAM,EACf,EAAE,CAAC,EAAE,MAAM,EACX,YAAY,CAAC,EAAE,MAAM,UA0CtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/generateDocumentTitle/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/generateDocumentTitle/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAItE;;GAEG;AACH,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,EAC1C,QAAQ,CAAC,EAAE,aAAa,EACxB,MAAM,CAAC,EAAE,MAAM,EACf,EAAE,CAAC,EAAE,MAAM,EACX,YAAY,CAAC,EAAE,MAAM,UA0CtB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { useTranslate } from "
|
|
1
|
+
import type { useTranslate } from "../../../hooks/i18n";
|
|
2
2
|
export declare const safeTranslate: (translate: ReturnType<typeof useTranslate>, key: string, defaultMessage?: string, options?: any) => string;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/safe-translate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/safe-translate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,aAAa,cACb,WAAW,mBAAmB,CAAC,OACrC,MAAM,mBACM,MAAM,YACb,GAAG,WAad,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { useTranslate } from "
|
|
1
|
+
import type { useTranslate } from "../../../hooks/i18n";
|
|
2
2
|
export declare const safeTranslate: (translate: ReturnType<typeof useTranslate>, key: string, defaultMessage?: string, options?: any) => string;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { useTranslate } from "
|
|
1
|
+
import type { useTranslate } from "../../../hooks/i18n";
|
|
2
2
|
export declare const safeTranslate: (translate: ReturnType<typeof useTranslate>, key: string, defaultMessage?: string, options?: any) => string;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { useTranslate } from "
|
|
1
|
+
import type { useTranslate } from "../../../hooks/i18n";
|
|
2
2
|
export declare const safeTranslate: (translate: ReturnType<typeof useTranslate>, key: string, defaultMessage?: string, options?: any) => string;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/safe-translate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/safe-translate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,aAAa,cACb,WAAW,mBAAmB,CAAC,OACrC,MAAM,mBACM,MAAM,YACb,GAAG,WAad,CAAC"}
|
|
@@ -12,7 +12,7 @@ export type DeleteParams<TData, TError, TVariables> = {
|
|
|
12
12
|
*/
|
|
13
13
|
resource: string;
|
|
14
14
|
/**
|
|
15
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
15
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
16
16
|
*/
|
|
17
17
|
mutationMode?: MutationMode;
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@ export type DeleteParams<TData, TError, TVariables> = {
|
|
|
12
12
|
*/
|
|
13
13
|
resource: string;
|
|
14
14
|
/**
|
|
15
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
15
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
16
16
|
*/
|
|
17
17
|
mutationMode?: MutationMode;
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@ export type DeleteParams<TData, TError, TVariables> = {
|
|
|
12
12
|
*/
|
|
13
13
|
resource: string;
|
|
14
14
|
/**
|
|
15
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
15
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
16
16
|
*/
|
|
17
17
|
mutationMode?: MutationMode;
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@ export type DeleteParams<TData, TError, TVariables> = {
|
|
|
12
12
|
*/
|
|
13
13
|
resource: string;
|
|
14
14
|
/**
|
|
15
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
15
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
16
16
|
*/
|
|
17
17
|
mutationMode?: MutationMode;
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@ export type DeleteManyParams<TData, TError, TVariables> = {
|
|
|
12
12
|
*/
|
|
13
13
|
resource: string;
|
|
14
14
|
/**
|
|
15
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
15
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
16
16
|
*/
|
|
17
17
|
mutationMode?: MutationMode;
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@ export type DeleteManyParams<TData, TError, TVariables> = {
|
|
|
12
12
|
*/
|
|
13
13
|
resource: string;
|
|
14
14
|
/**
|
|
15
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
15
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
16
16
|
*/
|
|
17
17
|
mutationMode?: MutationMode;
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@ export type DeleteManyParams<TData, TError, TVariables> = {
|
|
|
12
12
|
*/
|
|
13
13
|
resource: string;
|
|
14
14
|
/**
|
|
15
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
15
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
16
16
|
*/
|
|
17
17
|
mutationMode?: MutationMode;
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@ export type DeleteManyParams<TData, TError, TVariables> = {
|
|
|
12
12
|
*/
|
|
13
13
|
resource: string;
|
|
14
14
|
/**
|
|
15
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
15
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
16
16
|
*/
|
|
17
17
|
mutationMode?: MutationMode;
|
|
18
18
|
/**
|
|
@@ -18,7 +18,7 @@ export type UpdateParams<TData, TError, TVariables> = {
|
|
|
18
18
|
*/
|
|
19
19
|
id?: BaseKey;
|
|
20
20
|
/**
|
|
21
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
21
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
22
22
|
*/
|
|
23
23
|
mutationMode?: MutationMode;
|
|
24
24
|
/**
|
|
@@ -18,7 +18,7 @@ export type UpdateParams<TData, TError, TVariables> = {
|
|
|
18
18
|
*/
|
|
19
19
|
id?: BaseKey;
|
|
20
20
|
/**
|
|
21
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
21
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
22
22
|
*/
|
|
23
23
|
mutationMode?: MutationMode;
|
|
24
24
|
/**
|
|
@@ -18,7 +18,7 @@ export type UpdateParams<TData, TError, TVariables> = {
|
|
|
18
18
|
*/
|
|
19
19
|
id?: BaseKey;
|
|
20
20
|
/**
|
|
21
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
21
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
22
22
|
*/
|
|
23
23
|
mutationMode?: MutationMode;
|
|
24
24
|
/**
|
|
@@ -18,7 +18,7 @@ export type UpdateParams<TData, TError, TVariables> = {
|
|
|
18
18
|
*/
|
|
19
19
|
id?: BaseKey;
|
|
20
20
|
/**
|
|
21
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
21
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
22
22
|
*/
|
|
23
23
|
mutationMode?: MutationMode;
|
|
24
24
|
/**
|
|
@@ -18,7 +18,7 @@ export type UpdateManyParams<TData, TError, TVariables> = {
|
|
|
18
18
|
*/
|
|
19
19
|
resource?: string;
|
|
20
20
|
/**
|
|
21
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
21
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
22
22
|
*/
|
|
23
23
|
mutationMode?: MutationMode;
|
|
24
24
|
/**
|
|
@@ -18,7 +18,7 @@ export type UpdateManyParams<TData, TError, TVariables> = {
|
|
|
18
18
|
*/
|
|
19
19
|
resource?: string;
|
|
20
20
|
/**
|
|
21
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
21
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
22
22
|
*/
|
|
23
23
|
mutationMode?: MutationMode;
|
|
24
24
|
/**
|
|
@@ -18,7 +18,7 @@ export type UpdateManyParams<TData, TError, TVariables> = {
|
|
|
18
18
|
*/
|
|
19
19
|
resource?: string;
|
|
20
20
|
/**
|
|
21
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
21
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
22
22
|
*/
|
|
23
23
|
mutationMode?: MutationMode;
|
|
24
24
|
/**
|
|
@@ -18,7 +18,7 @@ export type UpdateManyParams<TData, TError, TVariables> = {
|
|
|
18
18
|
*/
|
|
19
19
|
resource?: string;
|
|
20
20
|
/**
|
|
21
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
21
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
22
22
|
*/
|
|
23
23
|
mutationMode?: MutationMode;
|
|
24
24
|
/**
|
|
@@ -69,7 +69,7 @@ type ActionFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extend
|
|
|
69
69
|
*/
|
|
70
70
|
mutationMeta?: MetaQuery;
|
|
71
71
|
/**
|
|
72
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
72
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
73
73
|
* @default `"pessimistic"*`
|
|
74
74
|
*/
|
|
75
75
|
mutationMode?: MutationMode;
|
|
@@ -69,7 +69,7 @@ type ActionFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extend
|
|
|
69
69
|
*/
|
|
70
70
|
mutationMeta?: MetaQuery;
|
|
71
71
|
/**
|
|
72
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
72
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
73
73
|
* @default `"pessimistic"*`
|
|
74
74
|
*/
|
|
75
75
|
mutationMode?: MutationMode;
|
|
@@ -69,7 +69,7 @@ type ActionFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extend
|
|
|
69
69
|
*/
|
|
70
70
|
mutationMeta?: MetaQuery;
|
|
71
71
|
/**
|
|
72
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
72
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
73
73
|
* @default `"pessimistic"*`
|
|
74
74
|
*/
|
|
75
75
|
mutationMode?: MutationMode;
|
|
@@ -69,7 +69,7 @@ type ActionFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extend
|
|
|
69
69
|
*/
|
|
70
70
|
mutationMeta?: MetaQuery;
|
|
71
71
|
/**
|
|
72
|
-
* [Determines when mutations are executed](/advanced-tutorials/mutation-mode
|
|
72
|
+
* [Determines when mutations are executed](/docs/advanced-tutorials/mutation-mode/)
|
|
73
73
|
* @default `"pessimistic"*`
|
|
74
74
|
*/
|
|
75
75
|
mutationMode?: MutationMode;
|