@refinedev/core 4.16.4 → 4.17.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.
Files changed (91) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/components/containers/refine/index.d.ts +2 -2
  3. package/dist/components/pages/auth/index.d.ts +1 -1
  4. package/dist/components/pages/error/index.d.ts +1 -1
  5. package/dist/components/pages/login/index.d.ts +1 -1
  6. package/dist/components/pages/ready/index.d.ts +0 -1
  7. package/dist/components/pages/ready/index.d.ts.map +1 -1
  8. package/dist/esm/index.js +6 -6
  9. package/dist/esm/index.js.map +1 -1
  10. package/dist/hooks/accessControl/useCan/index.d.ts +1 -1
  11. package/dist/hooks/auditLog/useLog/index.d.ts +1 -1
  12. package/dist/hooks/auditLog/useLogList/index.d.ts +1 -1
  13. package/dist/hooks/data/useCreate.d.ts +3 -3
  14. package/dist/hooks/data/useCreateMany.d.ts +1 -1
  15. package/dist/hooks/data/useCustom.d.ts +1 -1
  16. package/dist/hooks/data/useCustomMutation.d.ts +3 -3
  17. package/dist/hooks/data/useDelete.d.ts +3 -3
  18. package/dist/hooks/data/useDeleteMany.d.ts +1 -1
  19. package/dist/hooks/data/useInfiniteList.d.ts +1 -1
  20. package/dist/hooks/data/useList.d.ts +1 -1
  21. package/dist/hooks/data/useMany.d.ts +1 -1
  22. package/dist/hooks/data/useOne.d.ts +1 -1
  23. package/dist/hooks/data/useUpdate.d.ts +3 -3
  24. package/dist/hooks/data/useUpdateMany.d.ts +1 -1
  25. package/dist/hooks/export/index.d.ts +2 -2
  26. package/dist/hooks/form/useForm.d.ts +10 -2
  27. package/dist/hooks/form/useForm.d.ts.map +1 -1
  28. package/dist/hooks/import/index.d.ts +3 -3
  29. package/dist/hooks/menu/useMenu.d.ts +1 -1
  30. package/dist/hooks/navigation/index.d.ts +2 -2
  31. package/dist/hooks/refine/useSyncWithLocation.d.ts +1 -1
  32. package/dist/hooks/refine/useTitle.d.ts +1 -1
  33. package/dist/hooks/refine/useWarnAboutChange/index.d.ts +1 -1
  34. package/dist/hooks/show/useShow.d.ts +1 -1
  35. package/dist/hooks/translate/useGetLocale.d.ts +1 -1
  36. package/dist/hooks/translate/useSetLocale.d.ts +1 -1
  37. package/dist/hooks/translate/useTranslate.d.ts +1 -1
  38. package/dist/hooks/useSelect/index.d.ts +1 -1
  39. package/dist/iife/index.js +5 -5
  40. package/dist/iife/index.js.map +1 -1
  41. package/dist/index.js +5 -5
  42. package/dist/index.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/components/authenticated/index.tsx +1 -1
  45. package/src/components/containers/refine/index.tsx +2 -2
  46. package/src/components/pages/auth/index.tsx +1 -1
  47. package/src/components/pages/error/index.tsx +1 -1
  48. package/src/components/pages/login/index.tsx +1 -1
  49. package/src/components/pages/ready/index.tsx +0 -1
  50. package/src/definitions/helpers/legacy-resource-transform/index.ts +1 -1
  51. package/src/definitions/helpers/router/__tests__/compose-route.ts +6 -0
  52. package/src/hooks/accessControl/useCan/index.ts +1 -1
  53. package/src/hooks/auditLog/useLog/index.ts +1 -1
  54. package/src/hooks/auditLog/useLogList/index.ts +1 -1
  55. package/src/hooks/auth/useForgotPassword/index.ts +2 -2
  56. package/src/hooks/auth/useGetIdentity/index.ts +1 -1
  57. package/src/hooks/auth/useIsAuthenticated/index.ts +1 -1
  58. package/src/hooks/auth/useLogin/index.ts +2 -2
  59. package/src/hooks/auth/useLogout/index.ts +2 -2
  60. package/src/hooks/auth/useOnError/index.ts +1 -1
  61. package/src/hooks/auth/usePermissions/index.ts +1 -1
  62. package/src/hooks/auth/useRegister/index.ts +2 -2
  63. package/src/hooks/auth/useUpdatePassword/index.ts +2 -2
  64. package/src/hooks/breadcrumb/index.ts +1 -1
  65. package/src/hooks/data/useCreate.ts +3 -3
  66. package/src/hooks/data/useCreateMany.ts +1 -1
  67. package/src/hooks/data/useCustom.ts +1 -1
  68. package/src/hooks/data/useCustomMutation.ts +3 -3
  69. package/src/hooks/data/useDelete.ts +3 -3
  70. package/src/hooks/data/useDeleteMany.ts +1 -1
  71. package/src/hooks/data/useInfiniteList.ts +1 -1
  72. package/src/hooks/data/useList.ts +1 -1
  73. package/src/hooks/data/useMany.ts +1 -1
  74. package/src/hooks/data/useOne.ts +1 -1
  75. package/src/hooks/data/useUpdate.ts +3 -3
  76. package/src/hooks/data/useUpdateMany.ts +1 -1
  77. package/src/hooks/export/index.ts +2 -2
  78. package/src/hooks/form/useForm.ts +20 -10
  79. package/src/hooks/import/index.tsx +3 -3
  80. package/src/hooks/menu/useMenu.tsx +1 -1
  81. package/src/hooks/navigation/index.ts +2 -2
  82. package/src/hooks/refine/useSyncWithLocation.ts +1 -1
  83. package/src/hooks/refine/useTitle.tsx +1 -1
  84. package/src/hooks/refine/useWarnAboutChange/index.ts +1 -1
  85. package/src/hooks/resource/useResource/index.ts +1 -1
  86. package/src/hooks/show/useShow.ts +1 -1
  87. package/src/hooks/translate/useGetLocale.ts +1 -1
  88. package/src/hooks/translate/useSetLocale.ts +1 -1
  89. package/src/hooks/translate/useTranslate.ts +1 -1
  90. package/src/hooks/useSelect/index.ts +1 -1
  91. package/src/hooks/useTable/index.ts +1 -1
@@ -5,7 +5,7 @@ import { TranslationContext } from "@contexts/translation";
5
5
  * If you need to change the locale at runtime, refine provides the `useSetLocale` hook.
6
6
  * It returns the changeLocale method from `i18nProvider` under the hood.
7
7
  *
8
- * @see {@link https://refine.dev/docs/core/hooks/translate/useSetLocale} for more details.
8
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/translate/useSetLocale} for more details.
9
9
  */
10
10
  export const useSetLocale = () => {
11
11
  const { i18nProvider } = useContext(TranslationContext);
@@ -5,7 +5,7 @@ import { TranslationContext } from "@contexts/translation";
5
5
  * If you need to translate the texts in your own components, refine provides the `useTranslate` hook.
6
6
  * It returns the translate method from `i18nProvider` under the hood.
7
7
  *
8
- * @see {@link https://refine.dev/docs/core/hooks/translate/useTranslate} for more details.
8
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/translate/useTranslate} for more details.
9
9
  */
10
10
  export const useTranslate = () => {
11
11
  const { i18nProvider } = useContext(TranslationContext);
@@ -147,7 +147,7 @@ export type UseSelectReturnType<TData extends BaseRecord = BaseRecord> = {
147
147
  * It uses `getList` method as query function from the dataProvider that is
148
148
  * passed to {@link https://refine.dev/docs/api-reference/core/components/refine-config/ `<Refine>`}.
149
149
  *
150
- * @see {@link https://refine.dev/docs/core/hooks/useSelect} for more details.
150
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/useSelect} for more details.
151
151
  *
152
152
  * @typeParam TQueryFnData - Result data returned by the query function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}
153
153
  * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#httperror `HttpError`}
@@ -218,7 +218,7 @@ export type useTableReturnType<
218
218
  * Ant Design {@link https://ant.design/components/table/ `<Table>`} component.
219
219
  * All features such as sorting, filtering and pagination comes as out of box.
220
220
  *
221
- * @see {@link https://refine.dev/docs/api-references/hooks/table/useTable} for more details.
221
+ * @see {@link https://refine.dev/docs/api-reference/core/hooks/useTable} for more details.
222
222
  *
223
223
  * @typeParam TQueryFnData - Result data returned by the query function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}
224
224
  * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#httperror `HttpError`}