@refinedev/core 4.48.0 → 4.49.1
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 +153 -0
- package/README.md +117 -168
- package/dist/components/authenticated/index.d.cts +75 -0
- package/dist/components/authenticated/index.d.cts.map +1 -0
- package/dist/components/authenticated/index.d.mts +75 -0
- package/dist/components/authenticated/index.d.mts.map +1 -0
- package/dist/components/authenticated/index.d.ts +3 -3
- package/dist/components/authenticated/index.d.ts.map +1 -1
- package/dist/components/autoSaveIndicator/index.d.cts +24 -0
- package/dist/components/autoSaveIndicator/index.d.cts.map +1 -0
- package/dist/components/autoSaveIndicator/index.d.mts +24 -0
- package/dist/components/autoSaveIndicator/index.d.mts.map +1 -0
- package/dist/components/autoSaveIndicator/index.d.ts +21 -1
- package/dist/components/autoSaveIndicator/index.d.ts.map +1 -1
- package/dist/components/canAccess/index.d.cts +52 -0
- package/dist/components/canAccess/index.d.cts.map +1 -0
- package/dist/components/canAccess/index.d.mts +52 -0
- package/dist/components/canAccess/index.d.mts.map +1 -0
- package/dist/components/canAccess/index.d.ts +8 -7
- package/dist/components/canAccess/index.d.ts.map +1 -1
- package/dist/components/containers/index.d.cts +2 -0
- package/dist/components/containers/index.d.cts.map +1 -0
- package/dist/components/containers/index.d.mts +2 -0
- package/dist/components/containers/index.d.mts.map +1 -0
- package/dist/components/containers/index.d.ts +1 -1
- package/dist/components/containers/index.d.ts.map +1 -1
- package/dist/components/containers/refine/index.d.cts +11 -0
- package/dist/components/containers/refine/index.d.cts.map +1 -0
- package/dist/components/containers/refine/index.d.mts +11 -0
- package/dist/components/containers/refine/index.d.mts.map +1 -0
- package/dist/components/containers/refine/index.d.ts +1 -134
- package/dist/components/containers/refine/index.d.ts.map +1 -1
- package/dist/components/gh-banner/index.d.cts +3 -0
- package/dist/components/gh-banner/index.d.cts.map +1 -0
- package/dist/components/gh-banner/index.d.mts +3 -0
- package/dist/components/gh-banner/index.d.mts.map +1 -0
- package/dist/components/gh-banner/styles.d.cts +2 -0
- package/dist/components/gh-banner/styles.d.cts.map +1 -0
- package/dist/components/gh-banner/styles.d.mts +2 -0
- package/dist/components/gh-banner/styles.d.mts.map +1 -0
- package/dist/components/index.d.cts +10 -0
- package/dist/components/index.d.cts.map +1 -0
- package/dist/components/index.d.mts +10 -0
- package/dist/components/index.d.mts.map +1 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layoutWrapper/defaultLayout/index.d.cts +4 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.cts.map +1 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.mts +4 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.mts.map +1 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.ts +1 -1
- package/dist/components/layoutWrapper/defaultLayout/index.d.ts.map +1 -1
- package/dist/components/layoutWrapper/index.d.cts +46 -0
- package/dist/components/layoutWrapper/index.d.cts.map +1 -0
- package/dist/components/layoutWrapper/index.d.mts +46 -0
- package/dist/components/layoutWrapper/index.d.mts.map +1 -0
- package/dist/components/layoutWrapper/index.d.ts +1 -1
- package/dist/components/layoutWrapper/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.cts +7 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.mts +7 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts +2 -2
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/index.d.cts +5 -0
- package/dist/components/pages/auth/components/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/index.d.mts +5 -0
- package/dist/components/pages/auth/components/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/login/index.d.cts +7 -0
- package/dist/components/pages/auth/components/login/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/login/index.d.mts +7 -0
- package/dist/components/pages/auth/components/login/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/login/index.d.ts +2 -2
- package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/register/index.d.cts +7 -0
- package/dist/components/pages/auth/components/register/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/register/index.d.mts +7 -0
- package/dist/components/pages/auth/components/register/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/register/index.d.ts +2 -2
- package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.cts +7 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.mts +7 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.ts +2 -2
- package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/index.d.cts +12 -0
- package/dist/components/pages/auth/index.d.cts.map +1 -0
- package/dist/components/pages/auth/index.d.mts +12 -0
- package/dist/components/pages/auth/index.d.mts.map +1 -0
- package/dist/components/pages/auth/index.d.ts +4 -4
- package/dist/components/pages/auth/index.d.ts.map +1 -1
- package/dist/components/pages/auth/types.d.cts +179 -0
- package/dist/components/pages/auth/types.d.cts.map +1 -0
- package/dist/components/pages/auth/types.d.mts +179 -0
- package/dist/components/pages/auth/types.d.mts.map +1 -0
- package/dist/components/pages/auth/types.d.ts +179 -0
- package/dist/components/pages/auth/types.d.ts.map +1 -0
- package/dist/components/pages/config-error/index.d.cts +3 -0
- package/dist/components/pages/config-error/index.d.cts.map +1 -0
- package/dist/components/pages/config-error/index.d.mts +3 -0
- package/dist/components/pages/config-error/index.d.mts.map +1 -0
- package/dist/components/pages/config-success/index.d.cts +6 -0
- package/dist/components/pages/config-success/index.d.cts.map +1 -0
- package/dist/components/pages/config-success/index.d.mts +6 -0
- package/dist/components/pages/config-success/index.d.mts.map +1 -0
- package/dist/components/pages/error/index.d.cts +9 -0
- package/dist/components/pages/error/index.d.cts.map +1 -0
- package/dist/components/pages/error/index.d.mts +9 -0
- package/dist/components/pages/error/index.d.mts.map +1 -0
- package/dist/components/pages/index.d.cts +7 -0
- package/dist/components/pages/index.d.cts.map +1 -0
- package/dist/components/pages/index.d.mts +7 -0
- package/dist/components/pages/index.d.mts.map +1 -0
- package/dist/components/pages/login/index.d.cts +13 -0
- package/dist/components/pages/login/index.d.cts.map +1 -0
- package/dist/components/pages/login/index.d.mts +13 -0
- package/dist/components/pages/login/index.d.mts.map +1 -0
- package/dist/components/pages/ready/index.d.cts +8 -0
- package/dist/components/pages/ready/index.d.cts.map +1 -0
- package/dist/components/pages/ready/index.d.mts +8 -0
- package/dist/components/pages/ready/index.d.mts.map +1 -0
- package/dist/components/pages/welcome/index.d.cts +3 -0
- package/dist/components/pages/welcome/index.d.cts.map +1 -0
- package/dist/components/pages/welcome/index.d.mts +3 -0
- package/dist/components/pages/welcome/index.d.mts.map +1 -0
- package/dist/components/routeChangeHandler/index.d.cts +3 -0
- package/dist/components/routeChangeHandler/index.d.cts.map +1 -0
- package/dist/components/routeChangeHandler/index.d.mts +3 -0
- package/dist/components/routeChangeHandler/index.d.mts.map +1 -0
- package/dist/components/telemetry/index.d.cts +3 -0
- package/dist/components/telemetry/index.d.cts.map +1 -0
- package/dist/components/telemetry/index.d.mts +3 -0
- package/dist/components/telemetry/index.d.mts.map +1 -0
- package/dist/components/telemetry/types.d.cts +16 -0
- package/dist/components/telemetry/types.d.cts.map +1 -0
- package/dist/components/telemetry/types.d.mts +16 -0
- package/dist/components/telemetry/types.d.mts.map +1 -0
- package/dist/components/telemetry/types.d.ts +16 -0
- package/dist/components/telemetry/types.d.ts.map +1 -0
- package/dist/components/undoableQueue/index.d.cts +6 -0
- package/dist/components/undoableQueue/index.d.cts.map +1 -0
- package/dist/components/undoableQueue/index.d.mts +6 -0
- package/dist/components/undoableQueue/index.d.mts.map +1 -0
- package/dist/components/undoableQueue/index.d.ts +1 -1
- package/dist/components/undoableQueue/index.d.ts.map +1 -1
- package/dist/contexts/accessControl/index.d.cts +7 -0
- package/dist/contexts/accessControl/index.d.cts.map +1 -0
- package/dist/contexts/accessControl/index.d.mts +7 -0
- package/dist/contexts/accessControl/index.d.mts.map +1 -0
- package/dist/contexts/accessControl/index.d.ts +3 -6
- package/dist/contexts/accessControl/index.d.ts.map +1 -1
- package/dist/contexts/accessControl/types.d.cts +84 -0
- package/dist/contexts/accessControl/types.d.cts.map +1 -0
- package/dist/contexts/accessControl/types.d.mts +84 -0
- package/dist/contexts/accessControl/types.d.mts.map +1 -0
- package/dist/contexts/accessControl/types.d.ts +84 -0
- package/dist/contexts/accessControl/types.d.ts.map +1 -0
- package/dist/contexts/auditLog/index.d.cts +5 -0
- package/dist/contexts/auditLog/index.d.cts.map +1 -0
- package/dist/contexts/auditLog/index.d.mts +5 -0
- package/dist/contexts/auditLog/index.d.mts.map +1 -0
- package/dist/contexts/auditLog/index.d.ts +3 -5
- package/dist/contexts/auditLog/index.d.ts.map +1 -1
- package/dist/contexts/auditLog/types.d.cts +41 -0
- package/dist/contexts/auditLog/types.d.cts.map +1 -0
- package/dist/contexts/auditLog/types.d.mts +41 -0
- package/dist/contexts/auditLog/types.d.mts.map +1 -0
- package/dist/contexts/auditLog/types.d.ts +41 -0
- package/dist/contexts/auditLog/types.d.ts.map +1 -0
- package/dist/contexts/auth/index.d.cts +18 -0
- package/dist/contexts/auth/index.d.cts.map +1 -0
- package/dist/contexts/auth/index.d.mts +18 -0
- package/dist/contexts/auth/index.d.mts.map +1 -0
- package/dist/contexts/auth/index.d.ts +5 -7
- package/dist/contexts/auth/index.d.ts.map +1 -1
- package/dist/contexts/auth/types.d.cts +101 -0
- package/dist/contexts/auth/types.d.cts.map +1 -0
- package/dist/contexts/auth/types.d.mts +101 -0
- package/dist/contexts/auth/types.d.mts.map +1 -0
- package/dist/contexts/auth/types.d.ts +101 -0
- package/dist/contexts/auth/types.d.ts.map +1 -0
- package/dist/contexts/data/index.d.cts +10 -0
- package/dist/contexts/data/index.d.cts.map +1 -0
- package/dist/contexts/data/index.d.mts +10 -0
- package/dist/contexts/data/index.d.mts.map +1 -0
- package/dist/contexts/data/index.d.ts +7 -5
- package/dist/contexts/data/index.d.ts.map +1 -1
- package/dist/contexts/data/types.d.cts +347 -0
- package/dist/contexts/data/types.d.cts.map +1 -0
- package/dist/contexts/data/types.d.mts +347 -0
- package/dist/contexts/data/types.d.mts.map +1 -0
- package/dist/contexts/data/types.d.ts +347 -0
- package/dist/contexts/data/types.d.ts.map +1 -0
- package/dist/contexts/i18n/index.d.cts +7 -0
- package/dist/contexts/i18n/index.d.cts.map +1 -0
- package/dist/contexts/i18n/index.d.mts +7 -0
- package/dist/contexts/i18n/index.d.mts.map +1 -0
- package/dist/contexts/i18n/index.d.ts +7 -0
- package/dist/contexts/i18n/index.d.ts.map +1 -0
- package/dist/contexts/i18n/types.d.cts +13 -0
- package/dist/contexts/i18n/types.d.cts.map +1 -0
- package/dist/contexts/i18n/types.d.mts +13 -0
- package/dist/contexts/i18n/types.d.mts.map +1 -0
- package/dist/contexts/i18n/types.d.ts +13 -0
- package/dist/contexts/i18n/types.d.ts.map +1 -0
- package/dist/contexts/live/index.d.cts +5 -0
- package/dist/contexts/live/index.d.cts.map +1 -0
- package/dist/contexts/live/index.d.mts +5 -0
- package/dist/contexts/live/index.d.mts.map +1 -0
- package/dist/contexts/live/index.d.ts +3 -3
- package/dist/contexts/live/index.d.ts.map +1 -1
- package/dist/contexts/live/types.d.cts +96 -0
- package/dist/contexts/live/types.d.cts.map +1 -0
- package/dist/contexts/live/types.d.mts +96 -0
- package/dist/contexts/live/types.d.mts.map +1 -0
- package/dist/contexts/live/types.d.ts +96 -0
- package/dist/contexts/live/types.d.ts.map +1 -0
- package/dist/contexts/notification/index.d.cts +7 -0
- package/dist/contexts/notification/index.d.cts.map +1 -0
- package/dist/contexts/notification/index.d.mts +7 -0
- package/dist/contexts/notification/index.d.mts.map +1 -0
- package/dist/contexts/notification/index.d.ts +3 -5
- package/dist/contexts/notification/index.d.ts.map +1 -1
- package/dist/contexts/notification/types.d.cts +27 -0
- package/dist/contexts/notification/types.d.cts.map +1 -0
- package/dist/contexts/notification/types.d.mts +27 -0
- package/dist/contexts/notification/types.d.mts.map +1 -0
- package/dist/contexts/notification/types.d.ts +27 -0
- package/dist/contexts/notification/types.d.ts.map +1 -0
- package/dist/contexts/refine/index.d.cts +6 -0
- package/dist/contexts/refine/index.d.cts.map +1 -0
- package/dist/contexts/refine/index.d.mts +6 -0
- package/dist/contexts/refine/index.d.mts.map +1 -0
- package/dist/contexts/refine/index.d.ts +1 -1
- package/dist/contexts/refine/index.d.ts.map +1 -1
- package/dist/contexts/refine/types.d.cts +313 -0
- package/dist/contexts/refine/types.d.cts.map +1 -0
- package/dist/contexts/refine/types.d.mts +313 -0
- package/dist/contexts/refine/types.d.mts.map +1 -0
- package/dist/contexts/refine/types.d.ts +313 -0
- package/dist/contexts/refine/types.d.ts.map +1 -0
- package/dist/contexts/resource/index.d.cts +7 -0
- package/dist/contexts/resource/index.d.cts.map +1 -0
- package/dist/contexts/resource/index.d.mts +7 -0
- package/dist/contexts/resource/index.d.mts.map +1 -0
- package/dist/contexts/resource/index.d.ts +1 -3
- package/dist/contexts/resource/index.d.ts.map +1 -1
- package/dist/contexts/resource/types.d.cts +168 -0
- package/dist/contexts/resource/types.d.cts.map +1 -0
- package/dist/contexts/resource/types.d.mts +168 -0
- package/dist/contexts/resource/types.d.mts.map +1 -0
- package/dist/contexts/resource/types.d.ts +168 -0
- package/dist/contexts/resource/types.d.ts.map +1 -0
- package/dist/contexts/router/index.d.cts +7 -0
- package/dist/contexts/router/index.d.cts.map +1 -0
- package/dist/contexts/router/index.d.mts +7 -0
- package/dist/contexts/router/index.d.mts.map +1 -0
- package/dist/contexts/router/index.d.ts +4 -4
- package/dist/contexts/router/index.d.ts.map +1 -1
- package/dist/contexts/router/legacy/index.d.cts +6 -0
- package/dist/contexts/router/legacy/index.d.cts.map +1 -0
- package/dist/contexts/router/legacy/index.d.mts +6 -0
- package/dist/contexts/router/legacy/index.d.mts.map +1 -0
- package/dist/contexts/router/legacy/index.d.ts +6 -0
- package/dist/contexts/router/legacy/index.d.ts.map +1 -0
- package/dist/contexts/router/legacy/types.d.cts +47 -0
- package/dist/contexts/router/legacy/types.d.cts.map +1 -0
- package/dist/contexts/router/legacy/types.d.mts +47 -0
- package/dist/contexts/router/legacy/types.d.mts.map +1 -0
- package/dist/contexts/router/legacy/types.d.ts +47 -0
- package/dist/contexts/router/legacy/types.d.ts.map +1 -0
- package/dist/contexts/router/picker/index.d.cts.map +1 -0
- package/dist/contexts/router/picker/index.d.mts +15 -0
- package/dist/contexts/router/picker/index.d.mts.map +1 -0
- package/dist/contexts/router/picker/index.d.ts +15 -0
- package/dist/contexts/router/picker/index.d.ts.map +1 -0
- package/dist/contexts/router/types.d.cts +67 -0
- package/dist/contexts/router/types.d.cts.map +1 -0
- package/dist/contexts/router/types.d.mts +67 -0
- package/dist/contexts/router/types.d.mts.map +1 -0
- package/dist/contexts/router/types.d.ts +67 -0
- package/dist/contexts/router/types.d.ts.map +1 -0
- package/dist/contexts/undoableQueue/index.d.cts +6 -0
- package/dist/contexts/undoableQueue/index.d.cts.map +1 -0
- package/dist/contexts/undoableQueue/index.d.mts +6 -0
- package/dist/contexts/undoableQueue/index.d.mts.map +1 -0
- package/dist/contexts/undoableQueue/index.d.ts +5 -2
- package/dist/contexts/undoableQueue/index.d.ts.map +1 -1
- package/dist/contexts/undoableQueue/types.d.cts +21 -0
- package/dist/contexts/undoableQueue/types.d.cts.map +1 -0
- package/dist/contexts/undoableQueue/types.d.mts +21 -0
- package/dist/contexts/undoableQueue/types.d.mts.map +1 -0
- package/dist/contexts/undoableQueue/types.d.ts +21 -0
- package/dist/contexts/undoableQueue/types.d.ts.map +1 -0
- package/dist/contexts/unsavedWarn/index.d.cts +5 -0
- package/dist/contexts/unsavedWarn/index.d.cts.map +1 -0
- package/dist/contexts/unsavedWarn/index.d.mts +5 -0
- package/dist/contexts/unsavedWarn/index.d.mts.map +1 -0
- package/dist/contexts/unsavedWarn/index.d.ts +3 -5
- package/dist/contexts/unsavedWarn/index.d.ts.map +1 -1
- package/dist/contexts/unsavedWarn/types.d.cts +5 -0
- package/dist/contexts/unsavedWarn/types.d.cts.map +1 -0
- package/dist/contexts/unsavedWarn/types.d.mts +5 -0
- package/dist/contexts/unsavedWarn/types.d.mts.map +1 -0
- package/dist/contexts/unsavedWarn/types.d.ts +5 -0
- package/dist/contexts/unsavedWarn/types.d.ts.map +1 -0
- package/dist/definitions/helpers/async-debounce/index.d.cts +18 -0
- package/dist/definitions/helpers/async-debounce/index.d.cts.map +1 -0
- package/dist/definitions/helpers/async-debounce/index.d.mts +18 -0
- package/dist/definitions/helpers/async-debounce/index.d.mts.map +1 -0
- package/dist/definitions/helpers/async-debounce/index.d.ts +18 -0
- package/dist/definitions/helpers/async-debounce/index.d.ts.map +1 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.cts +4 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.cts.map +1 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts +4 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts.map +1 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.ts +3 -2
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.ts.map +1 -1
- package/dist/definitions/helpers/defer-execution/index.d.cts +9 -0
- package/dist/definitions/helpers/defer-execution/index.d.cts.map +1 -0
- package/dist/definitions/helpers/defer-execution/index.d.mts +9 -0
- package/dist/definitions/helpers/defer-execution/index.d.mts.map +1 -0
- package/dist/definitions/helpers/defer-execution/index.d.ts +9 -0
- package/dist/definitions/helpers/defer-execution/index.d.ts.map +1 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.cts +2 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.cts.map +1 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.mts +2 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.mts.map +1 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.cts +4 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.cts.map +1 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.mts +4 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.mts.map +1 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.ts +3 -1
- package/dist/definitions/helpers/flatten-object-keys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.cts +7 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.cts.map +1 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.mts +7 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.mts.map +1 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.ts +2 -2
- package/dist/definitions/helpers/generateDocumentTitle/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleMultiple/index.d.cts +6 -0
- package/dist/definitions/helpers/handleMultiple/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handleMultiple/index.d.mts +6 -0
- package/dist/definitions/helpers/handleMultiple/index.d.mts.map +1 -0
- package/dist/definitions/helpers/handleMultiple/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handlePaginationParams/index.d.cts +9 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.mts +9 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.mts.map +1 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.ts +2 -2
- package/dist/definitions/helpers/handlePaginationParams/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleRefineOptions/index.d.cts +26 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.mts +26 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.mts.map +1 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.ts +5 -3
- package/dist/definitions/helpers/handleRefineOptions/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleUseParams/index.d.cts +2 -0
- package/dist/definitions/helpers/handleUseParams/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handleUseParams/index.d.mts +2 -0
- package/dist/definitions/helpers/handleUseParams/index.d.mts.map +1 -0
- package/dist/definitions/helpers/hasPermission/index.d.cts +2 -0
- package/dist/definitions/helpers/hasPermission/index.d.cts.map +1 -0
- package/dist/definitions/helpers/hasPermission/index.d.mts +2 -0
- package/dist/definitions/helpers/hasPermission/index.d.mts.map +1 -0
- package/dist/definitions/helpers/humanizeString/index.d.cts +2 -0
- package/dist/definitions/helpers/humanizeString/index.d.cts.map +1 -0
- package/dist/definitions/helpers/humanizeString/index.d.mts +2 -0
- package/dist/definitions/helpers/humanizeString/index.d.mts.map +1 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.cts +3 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.cts.map +1 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.mts +3 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.mts.map +1 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.ts +1 -1
- package/dist/definitions/helpers/importCSVMapper/index.d.ts.map +1 -1
- package/dist/definitions/helpers/index.d.cts +34 -0
- package/dist/definitions/helpers/index.d.cts.map +1 -0
- package/dist/definitions/helpers/index.d.mts +34 -0
- package/dist/definitions/helpers/index.d.mts.map +1 -0
- package/dist/definitions/helpers/index.d.ts +3 -0
- package/dist/definitions/helpers/index.d.ts.map +1 -1
- package/dist/definitions/helpers/keys/index.d.cts +64 -0
- package/dist/definitions/helpers/keys/index.d.cts.map +1 -0
- package/dist/definitions/helpers/keys/index.d.mts +64 -0
- package/dist/definitions/helpers/keys/index.d.mts.map +1 -0
- package/dist/definitions/helpers/keys/index.d.ts +11 -11
- package/dist/definitions/helpers/keys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/legacy-resource-transform/index.d.cts +9 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.cts.map +1 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.mts +9 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.mts.map +1 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.ts +1 -1
- package/dist/definitions/helpers/legacy-resource-transform/index.d.ts.map +1 -1
- package/dist/definitions/helpers/menu/create-resource-key.d.cts +3 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.cts.map +1 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.mts +3 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.mts.map +1 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.ts +1 -1
- package/dist/definitions/helpers/menu/create-resource-key.d.ts.map +1 -1
- package/dist/definitions/helpers/menu/create-tree.d.cts +13 -0
- package/dist/definitions/helpers/menu/create-tree.d.cts.map +1 -0
- package/dist/definitions/helpers/menu/create-tree.d.mts +13 -0
- package/dist/definitions/helpers/menu/create-tree.d.mts.map +1 -0
- package/dist/definitions/helpers/menu/create-tree.d.ts +3 -3
- package/dist/definitions/helpers/menu/create-tree.d.ts.map +1 -1
- package/dist/definitions/helpers/pick-resource/index.d.cts +8 -0
- package/dist/definitions/helpers/pick-resource/index.d.cts.map +1 -0
- package/dist/definitions/helpers/pick-resource/index.d.mts +8 -0
- package/dist/definitions/helpers/pick-resource/index.d.mts.map +1 -0
- package/dist/definitions/helpers/pick-resource/index.d.ts +1 -1
- package/dist/definitions/helpers/pickDataProvider/index.d.cts +6 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.cts.map +1 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.mts +6 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.mts.map +1 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.ts +1 -1
- package/dist/definitions/helpers/pickNotDeprecated/index.d.cts +2 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.cts.map +1 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.mts +2 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.mts.map +1 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.ts.map +1 -1
- package/dist/definitions/helpers/prepare-query-context/index.d.cts +3 -0
- package/dist/definitions/helpers/prepare-query-context/index.d.cts.map +1 -0
- package/dist/definitions/helpers/prepare-query-context/index.d.mts +3 -0
- package/dist/definitions/helpers/prepare-query-context/index.d.mts.map +1 -0
- package/dist/definitions/helpers/prepare-query-context/index.d.ts +3 -0
- package/dist/definitions/helpers/prepare-query-context/index.d.ts.map +1 -0
- package/dist/definitions/helpers/property-path-to-array/index.d.cts +2 -0
- package/dist/definitions/helpers/property-path-to-array/index.d.cts.map +1 -0
- package/dist/definitions/helpers/property-path-to-array/index.d.mts +2 -0
- package/dist/definitions/helpers/property-path-to-array/index.d.mts.map +1 -0
- package/dist/definitions/helpers/queryKeys/index.d.cts +7 -0
- package/dist/definitions/helpers/queryKeys/index.d.cts.map +1 -0
- package/dist/definitions/helpers/queryKeys/index.d.mts +7 -0
- package/dist/definitions/helpers/queryKeys/index.d.mts.map +1 -0
- package/dist/definitions/helpers/queryKeys/index.d.ts +1 -2
- package/dist/definitions/helpers/queryKeys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/redirectPage/index.d.cts +11 -0
- package/dist/definitions/helpers/redirectPage/index.d.cts.map +1 -0
- package/dist/definitions/helpers/redirectPage/index.d.mts +11 -0
- package/dist/definitions/helpers/redirectPage/index.d.mts.map +1 -0
- package/dist/definitions/helpers/redirectPage/index.d.ts +4 -2
- package/dist/definitions/helpers/redirectPage/index.d.ts.map +1 -1
- package/dist/definitions/helpers/routeGenerator/index.d.cts +7 -0
- package/dist/definitions/helpers/routeGenerator/index.d.cts.map +1 -0
- package/dist/definitions/helpers/routeGenerator/index.d.mts +7 -0
- package/dist/definitions/helpers/routeGenerator/index.d.mts.map +1 -0
- package/dist/definitions/helpers/routeGenerator/index.d.ts +1 -1
- package/dist/definitions/helpers/router/check-by-segments.d.cts +9 -0
- package/dist/definitions/helpers/router/check-by-segments.d.cts.map +1 -0
- package/dist/definitions/helpers/router/check-by-segments.d.mts +9 -0
- package/dist/definitions/helpers/router/check-by-segments.d.mts.map +1 -0
- package/dist/definitions/helpers/router/compose-route.d.cts +11 -0
- package/dist/definitions/helpers/router/compose-route.d.cts.map +1 -0
- package/dist/definitions/helpers/router/compose-route.d.mts +11 -0
- package/dist/definitions/helpers/router/compose-route.d.mts.map +1 -0
- package/dist/definitions/helpers/router/compose-route.d.ts +2 -1
- package/dist/definitions/helpers/router/compose-route.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.cts +16 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts +16 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts +3 -2
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-default-action-path.d.cts +8 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.mts +8 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.ts +1 -1
- package/dist/definitions/helpers/router/get-default-action-path.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.cts +7 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts +7 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.ts +1 -1
- package/dist/definitions/helpers/router/get-parent-resource.d.cts +7 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.mts +7 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.ts +1 -1
- package/dist/definitions/helpers/router/get-parent-resource.d.ts.map +1 -1
- package/dist/definitions/helpers/router/index.d.cts +10 -0
- package/dist/definitions/helpers/router/index.d.cts.map +1 -0
- package/dist/definitions/helpers/router/index.d.mts +10 -0
- package/dist/definitions/helpers/router/index.d.mts.map +1 -0
- package/dist/definitions/helpers/router/is-parameter.d.cts +5 -0
- package/dist/definitions/helpers/router/is-parameter.d.cts.map +1 -0
- package/dist/definitions/helpers/router/is-parameter.d.mts +5 -0
- package/dist/definitions/helpers/router/is-parameter.d.mts.map +1 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.cts +5 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.cts.map +1 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.mts +5 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.mts.map +1 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.cts +15 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.cts.map +1 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.mts +15 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.mts.map +1 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.ts +2 -1
- package/dist/definitions/helpers/router/match-resource-from-route.d.ts.map +1 -1
- package/dist/definitions/helpers/router/pick-matched-route.d.cts +8 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.cts.map +1 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.mts +8 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.mts.map +1 -0
- package/dist/definitions/helpers/router/pick-route-params.d.cts +6 -0
- package/dist/definitions/helpers/router/pick-route-params.d.cts.map +1 -0
- package/dist/definitions/helpers/router/pick-route-params.d.mts +6 -0
- package/dist/definitions/helpers/router/pick-route-params.d.mts.map +1 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.cts +8 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.cts.map +1 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.mts +8 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.mts.map +1 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.ts.map +1 -1
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.cts +5 -0
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.cts.map +1 -0
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.mts +5 -0
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.mts.map +1 -0
- package/dist/definitions/helpers/router/split-to-segments.d.cts +5 -0
- package/dist/definitions/helpers/router/split-to-segments.d.cts.map +1 -0
- package/dist/definitions/helpers/router/split-to-segments.d.mts +5 -0
- package/dist/definitions/helpers/router/split-to-segments.d.mts.map +1 -0
- package/dist/definitions/helpers/safe-translate/index.d.cts +3 -0
- package/dist/definitions/helpers/safe-translate/index.d.cts.map +1 -0
- package/dist/definitions/helpers/safe-translate/index.d.mts +3 -0
- package/dist/definitions/helpers/safe-translate/index.d.mts.map +1 -0
- 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/definitions/helpers/sanitize-resource/index.d.cts +8 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.cts.map +1 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.mts +8 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.mts.map +1 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.ts +1 -1
- package/dist/definitions/helpers/sanitize-resource/index.d.ts.map +1 -1
- package/dist/definitions/helpers/sequentialPromises/index.d.cts +5 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.cts.map +1 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.mts +5 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.mts.map +1 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.ts +2 -2
- package/dist/definitions/helpers/sequentialPromises/index.d.ts.map +1 -1
- package/dist/definitions/helpers/treeView/createTreeView/index.d.cts +6 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.cts.map +1 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.mts +6 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.mts.map +1 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.ts +1 -1
- package/dist/definitions/helpers/treeView/createTreeView/index.d.ts.map +1 -1
- package/dist/definitions/helpers/treeView/index.d.cts +2 -0
- package/dist/definitions/helpers/treeView/index.d.cts.map +1 -0
- package/dist/definitions/helpers/treeView/index.d.mts +2 -0
- package/dist/definitions/helpers/treeView/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts +34 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts +34 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.ts +12 -12
- package/dist/definitions/helpers/useInfinitePagination/index.d.cts +4 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.mts +4 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.ts +1 -1
- package/dist/definitions/helpers/useInfinitePagination/index.d.ts.map +1 -1
- package/dist/definitions/helpers/useMediaQuery/index.d.cts +2 -0
- package/dist/definitions/helpers/useMediaQuery/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useMediaQuery/index.d.mts +2 -0
- package/dist/definitions/helpers/useMediaQuery/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.cts +6 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.mts +6 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.mts.map +1 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.cts +7 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.cts.map +1 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts +7 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts.map +1 -0
- package/dist/definitions/helpers/userFriendlySeconds/index.d.cts +2 -0
- package/dist/definitions/helpers/userFriendlySeconds/index.d.cts.map +1 -0
- package/dist/definitions/helpers/userFriendlySeconds/index.d.mts +2 -0
- package/dist/definitions/helpers/userFriendlySeconds/index.d.mts.map +1 -0
- package/dist/definitions/index.d.cts +4 -0
- package/dist/definitions/index.d.cts.map +1 -0
- package/dist/definitions/index.d.mts +4 -0
- package/dist/definitions/index.d.mts.map +1 -0
- package/dist/definitions/table/index.d.cts +34 -0
- package/dist/definitions/table/index.d.cts.map +1 -0
- package/dist/definitions/table/index.d.mts +34 -0
- package/dist/definitions/table/index.d.mts.map +1 -0
- package/dist/definitions/table/index.d.ts +13 -13
- package/dist/definitions/table/index.d.ts.map +1 -1
- package/dist/definitions/upload/file2Base64/index.d.cts +2 -0
- package/dist/definitions/upload/file2Base64/index.d.cts.map +1 -0
- package/dist/definitions/upload/file2Base64/index.d.mts +2 -0
- package/dist/definitions/upload/file2Base64/index.d.mts.map +1 -0
- package/dist/definitions/upload/index.d.cts +2 -0
- package/dist/definitions/upload/index.d.cts.map +1 -0
- package/dist/definitions/upload/index.d.mts +2 -0
- package/dist/definitions/upload/index.d.mts.map +1 -0
- package/dist/hooks/accessControl/index.d.cts +3 -0
- package/dist/hooks/accessControl/index.d.cts.map +1 -0
- package/dist/hooks/accessControl/index.d.mts +3 -0
- package/dist/hooks/accessControl/index.d.mts.map +1 -0
- package/dist/hooks/accessControl/useCan/index.d.cts +18 -0
- package/dist/hooks/accessControl/useCan/index.d.cts.map +1 -0
- package/dist/hooks/accessControl/useCan/index.d.mts +18 -0
- package/dist/hooks/accessControl/useCan/index.d.mts.map +1 -0
- package/dist/hooks/accessControl/useCan/index.d.ts +2 -2
- package/dist/hooks/accessControl/useCan/index.d.ts.map +1 -1
- package/dist/hooks/accessControl/useCanWithoutCache.d.cts +3 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.cts.map +1 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.mts +3 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.mts.map +1 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.ts +1 -1
- package/dist/hooks/accessControl/useCanWithoutCache.d.ts.map +1 -1
- package/dist/hooks/auditLog/index.d.cts +3 -0
- package/dist/hooks/auditLog/index.d.cts.map +1 -0
- package/dist/hooks/auditLog/index.d.mts +3 -0
- package/dist/hooks/auditLog/index.d.mts.map +1 -0
- package/dist/hooks/auditLog/useLog/index.d.cts +27 -0
- package/dist/hooks/auditLog/useLog/index.d.cts.map +1 -0
- package/dist/hooks/auditLog/useLog/index.d.mts +27 -0
- package/dist/hooks/auditLog/useLog/index.d.mts.map +1 -0
- package/dist/hooks/auditLog/useLog/index.d.ts +5 -4
- package/dist/hooks/auditLog/useLog/index.d.ts.map +1 -1
- package/dist/hooks/auditLog/useLogList/index.d.cts +22 -0
- package/dist/hooks/auditLog/useLogList/index.d.cts.map +1 -0
- package/dist/hooks/auditLog/useLogList/index.d.mts +22 -0
- package/dist/hooks/auditLog/useLogList/index.d.mts.map +1 -0
- package/dist/hooks/auditLog/useLogList/index.d.ts +4 -4
- package/dist/hooks/auditLog/useLogList/index.d.ts.map +1 -1
- package/dist/hooks/auth/index.d.cts +11 -0
- package/dist/hooks/auth/index.d.cts.map +1 -0
- package/dist/hooks/auth/index.d.mts +11 -0
- package/dist/hooks/auth/index.d.mts.map +1 -0
- package/dist/hooks/auth/useForgotPassword/index.d.cts +22 -0
- package/dist/hooks/auth/useForgotPassword/index.d.cts.map +1 -0
- package/dist/hooks/auth/useForgotPassword/index.d.mts +22 -0
- package/dist/hooks/auth/useForgotPassword/index.d.mts.map +1 -0
- package/dist/hooks/auth/useForgotPassword/index.d.ts +8 -7
- package/dist/hooks/auth/useForgotPassword/index.d.ts.map +1 -1
- package/dist/hooks/auth/useGetIdentity/index.d.cts +21 -0
- package/dist/hooks/auth/useGetIdentity/index.d.cts.map +1 -0
- package/dist/hooks/auth/useGetIdentity/index.d.mts +21 -0
- package/dist/hooks/auth/useGetIdentity/index.d.mts.map +1 -0
- package/dist/hooks/auth/useGetIdentity/index.d.ts +8 -8
- package/dist/hooks/auth/useGetIdentity/index.d.ts.map +1 -1
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.cts +2 -0
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.cts.map +1 -0
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.mts +2 -0
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.mts.map +1 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.cts +25 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.cts.map +1 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.mts +25 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.mts.map +1 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.ts +7 -7
- package/dist/hooks/auth/useIsAuthenticated/index.d.ts.map +1 -1
- package/dist/hooks/auth/useIsExistAuthentication/index.d.cts +6 -0
- package/dist/hooks/auth/useIsExistAuthentication/index.d.cts.map +1 -0
- package/dist/hooks/auth/useIsExistAuthentication/index.d.mts +6 -0
- package/dist/hooks/auth/useIsExistAuthentication/index.d.mts.map +1 -0
- package/dist/hooks/auth/useLogin/index.d.cts +22 -0
- package/dist/hooks/auth/useLogin/index.d.cts.map +1 -0
- package/dist/hooks/auth/useLogin/index.d.mts +22 -0
- package/dist/hooks/auth/useLogin/index.d.mts.map +1 -0
- package/dist/hooks/auth/useLogin/index.d.ts +8 -8
- package/dist/hooks/auth/useLogin/index.d.ts.map +1 -1
- package/dist/hooks/auth/useLogout/index.d.cts +26 -0
- package/dist/hooks/auth/useLogout/index.d.cts.map +1 -0
- package/dist/hooks/auth/useLogout/index.d.mts +26 -0
- package/dist/hooks/auth/useLogout/index.d.mts.map +1 -0
- package/dist/hooks/auth/useLogout/index.d.ts +9 -9
- package/dist/hooks/auth/useLogout/index.d.ts.map +1 -1
- package/dist/hooks/auth/useOnError/index.d.cts +22 -0
- package/dist/hooks/auth/useOnError/index.d.cts.map +1 -0
- package/dist/hooks/auth/useOnError/index.d.mts +22 -0
- package/dist/hooks/auth/useOnError/index.d.mts.map +1 -0
- package/dist/hooks/auth/useOnError/index.d.ts +7 -7
- package/dist/hooks/auth/useOnError/index.d.ts.map +1 -1
- package/dist/hooks/auth/usePermissions/index.d.cts +24 -0
- package/dist/hooks/auth/usePermissions/index.d.cts.map +1 -0
- package/dist/hooks/auth/usePermissions/index.d.mts +24 -0
- package/dist/hooks/auth/usePermissions/index.d.mts.map +1 -0
- package/dist/hooks/auth/usePermissions/index.d.ts +8 -8
- package/dist/hooks/auth/usePermissions/index.d.ts.map +1 -1
- package/dist/hooks/auth/useRegister/index.d.cts +22 -0
- package/dist/hooks/auth/useRegister/index.d.cts.map +1 -0
- package/dist/hooks/auth/useRegister/index.d.mts +22 -0
- package/dist/hooks/auth/useRegister/index.d.mts.map +1 -0
- package/dist/hooks/auth/useRegister/index.d.ts +8 -7
- package/dist/hooks/auth/useRegister/index.d.ts.map +1 -1
- package/dist/hooks/auth/useUpdatePassword/index.d.cts +23 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.cts.map +1 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.mts +23 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.mts.map +1 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.ts +9 -7
- package/dist/hooks/auth/useUpdatePassword/index.d.ts.map +1 -1
- package/dist/hooks/breadcrumb/index.d.cts +18 -0
- package/dist/hooks/breadcrumb/index.d.cts.map +1 -0
- package/dist/hooks/breadcrumb/index.d.mts +18 -0
- package/dist/hooks/breadcrumb/index.d.mts.map +1 -0
- package/dist/hooks/breadcrumb/index.d.ts +3 -3
- package/dist/hooks/breadcrumb/index.d.ts.map +1 -1
- package/dist/hooks/button/actionable-button/index.d.cts +8 -0
- package/dist/hooks/button/actionable-button/index.d.cts.map +1 -0
- package/dist/hooks/button/actionable-button/index.d.mts +8 -0
- package/dist/hooks/button/actionable-button/index.d.mts.map +1 -0
- package/dist/hooks/button/actionable-button/index.d.ts +8 -0
- package/dist/hooks/button/actionable-button/index.d.ts.map +1 -0
- package/dist/hooks/button/button-can-access/index.d.cts +22 -0
- package/dist/hooks/button/button-can-access/index.d.cts.map +1 -0
- package/dist/hooks/button/button-can-access/index.d.mts +22 -0
- package/dist/hooks/button/button-can-access/index.d.mts.map +1 -0
- package/dist/hooks/button/button-can-access/index.d.ts +22 -0
- package/dist/hooks/button/button-can-access/index.d.ts.map +1 -0
- package/dist/hooks/button/delete-button/index.d.cts +28 -0
- package/dist/hooks/button/delete-button/index.d.cts.map +1 -0
- package/dist/hooks/button/delete-button/index.d.mts +28 -0
- package/dist/hooks/button/delete-button/index.d.mts.map +1 -0
- package/dist/hooks/button/delete-button/index.d.ts +28 -0
- package/dist/hooks/button/delete-button/index.d.ts.map +1 -0
- package/dist/hooks/button/index.d.cts +13 -0
- package/dist/hooks/button/index.d.cts.map +1 -0
- package/dist/hooks/button/index.d.mts +13 -0
- package/dist/hooks/button/index.d.mts.map +1 -0
- package/dist/hooks/button/index.d.ts +13 -0
- package/dist/hooks/button/index.d.ts.map +1 -0
- package/dist/hooks/button/navigation-button/index.d.cts +28 -0
- package/dist/hooks/button/navigation-button/index.d.cts.map +1 -0
- package/dist/hooks/button/navigation-button/index.d.mts +28 -0
- package/dist/hooks/button/navigation-button/index.d.mts.map +1 -0
- package/dist/hooks/button/navigation-button/index.d.ts +28 -0
- package/dist/hooks/button/navigation-button/index.d.ts.map +1 -0
- package/dist/hooks/button/refresh-button/index.d.cts +14 -0
- package/dist/hooks/button/refresh-button/index.d.cts.map +1 -0
- package/dist/hooks/button/refresh-button/index.d.mts +14 -0
- package/dist/hooks/button/refresh-button/index.d.mts.map +1 -0
- package/dist/hooks/button/refresh-button/index.d.ts +14 -0
- package/dist/hooks/button/refresh-button/index.d.ts.map +1 -0
- package/dist/hooks/data/index.d.cts +15 -0
- package/dist/hooks/data/index.d.cts.map +1 -0
- package/dist/hooks/data/index.d.mts +15 -0
- package/dist/hooks/data/index.d.mts.map +1 -0
- package/dist/hooks/data/useApiUrl.d.cts +2 -0
- package/dist/hooks/data/useApiUrl.d.cts.map +1 -0
- package/dist/hooks/data/useApiUrl.d.mts +2 -0
- package/dist/hooks/data/useApiUrl.d.mts.map +1 -0
- package/dist/hooks/data/useCreate.d.cts +49 -0
- package/dist/hooks/data/useCreate.d.cts.map +1 -0
- package/dist/hooks/data/useCreate.d.mts +49 -0
- package/dist/hooks/data/useCreate.d.mts.map +1 -0
- package/dist/hooks/data/useCreate.d.ts +6 -6
- package/dist/hooks/data/useCreate.d.ts.map +1 -1
- package/dist/hooks/data/useCreateMany.d.cts +31 -0
- package/dist/hooks/data/useCreateMany.d.cts.map +1 -0
- package/dist/hooks/data/useCreateMany.d.mts +31 -0
- package/dist/hooks/data/useCreateMany.d.mts.map +1 -0
- package/dist/hooks/data/useCreateMany.d.ts +5 -4
- package/dist/hooks/data/useCreateMany.d.ts.map +1 -1
- package/dist/hooks/data/useCustom.d.cts +63 -0
- package/dist/hooks/data/useCustom.d.cts.map +1 -0
- package/dist/hooks/data/useCustom.d.mts +63 -0
- package/dist/hooks/data/useCustom.d.mts.map +1 -0
- package/dist/hooks/data/useCustom.d.ts +6 -5
- package/dist/hooks/data/useCustom.d.ts.map +1 -1
- package/dist/hooks/data/useCustomMutation.d.cts +42 -0
- package/dist/hooks/data/useCustomMutation.d.cts.map +1 -0
- package/dist/hooks/data/useCustomMutation.d.mts +42 -0
- package/dist/hooks/data/useCustomMutation.d.mts.map +1 -0
- package/dist/hooks/data/useCustomMutation.d.ts +5 -4
- package/dist/hooks/data/useCustomMutation.d.ts.map +1 -1
- package/dist/hooks/data/useDataProvider.d.cts +3 -0
- package/dist/hooks/data/useDataProvider.d.cts.map +1 -0
- package/dist/hooks/data/useDataProvider.d.mts +3 -0
- package/dist/hooks/data/useDataProvider.d.mts.map +1 -0
- package/dist/hooks/data/useDataProvider.d.ts +2 -2
- package/dist/hooks/data/useDataProvider.d.ts.map +1 -1
- package/dist/hooks/data/useDelete.d.cts +65 -0
- package/dist/hooks/data/useDelete.d.cts.map +1 -0
- package/dist/hooks/data/useDelete.d.mts +65 -0
- package/dist/hooks/data/useDelete.d.mts.map +1 -0
- package/dist/hooks/data/useDelete.d.ts +5 -4
- package/dist/hooks/data/useDelete.d.ts.map +1 -1
- package/dist/hooks/data/useDeleteMany.d.cts +65 -0
- package/dist/hooks/data/useDeleteMany.d.cts.map +1 -0
- package/dist/hooks/data/useDeleteMany.d.mts +65 -0
- package/dist/hooks/data/useDeleteMany.d.mts.map +1 -0
- package/dist/hooks/data/useDeleteMany.d.ts +5 -4
- package/dist/hooks/data/useDeleteMany.d.ts.map +1 -1
- package/dist/hooks/data/useInfiniteList.d.cts +74 -0
- package/dist/hooks/data/useInfiniteList.d.cts.map +1 -0
- package/dist/hooks/data/useInfiniteList.d.mts +74 -0
- package/dist/hooks/data/useInfiniteList.d.mts.map +1 -0
- package/dist/hooks/data/useInfiniteList.d.ts +9 -7
- package/dist/hooks/data/useInfiniteList.d.ts.map +1 -1
- package/dist/hooks/data/useList.d.cts +73 -0
- package/dist/hooks/data/useList.d.cts.map +1 -0
- package/dist/hooks/data/useList.d.mts +73 -0
- package/dist/hooks/data/useList.d.mts.map +1 -0
- package/dist/hooks/data/useList.d.ts +9 -7
- package/dist/hooks/data/useList.d.ts.map +1 -1
- package/dist/hooks/data/useMany.d.cts +48 -0
- package/dist/hooks/data/useMany.d.cts.map +1 -0
- package/dist/hooks/data/useMany.d.mts +48 -0
- package/dist/hooks/data/useMany.d.mts.map +1 -0
- package/dist/hooks/data/useMany.d.ts +4 -2
- package/dist/hooks/data/useMany.d.ts.map +1 -1
- package/dist/hooks/data/useOne.d.cts +50 -0
- package/dist/hooks/data/useOne.d.cts.map +1 -0
- package/dist/hooks/data/useOne.d.mts +50 -0
- package/dist/hooks/data/useOne.d.mts.map +1 -0
- package/dist/hooks/data/useOne.d.ts +4 -2
- package/dist/hooks/data/useOne.d.ts.map +1 -1
- package/dist/hooks/data/useUpdate.d.cts +83 -0
- package/dist/hooks/data/useUpdate.d.cts.map +1 -0
- package/dist/hooks/data/useUpdate.d.mts +83 -0
- package/dist/hooks/data/useUpdate.d.mts.map +1 -0
- package/dist/hooks/data/useUpdate.d.ts +10 -4
- package/dist/hooks/data/useUpdate.d.ts.map +1 -1
- package/dist/hooks/data/useUpdateMany.d.cts +84 -0
- package/dist/hooks/data/useUpdateMany.d.cts.map +1 -0
- package/dist/hooks/data/useUpdateMany.d.mts +84 -0
- package/dist/hooks/data/useUpdateMany.d.mts.map +1 -0
- package/dist/hooks/data/useUpdateMany.d.ts +10 -4
- package/dist/hooks/data/useUpdateMany.d.ts.map +1 -1
- package/dist/hooks/deepMemo/index.d.cts +7 -0
- package/dist/hooks/deepMemo/index.d.cts.map +1 -0
- package/dist/hooks/deepMemo/index.d.mts +7 -0
- package/dist/hooks/deepMemo/index.d.mts.map +1 -0
- package/dist/hooks/deepMemo/index.d.ts.map +1 -1
- package/dist/hooks/export/index.d.cts +99 -0
- package/dist/hooks/export/index.d.cts.map +1 -0
- package/dist/hooks/export/index.d.mts +99 -0
- package/dist/hooks/export/index.d.mts.map +1 -0
- package/dist/hooks/export/index.d.ts +9 -8
- package/dist/hooks/export/index.d.ts.map +1 -1
- package/dist/hooks/export/types.d.cts +23 -0
- package/dist/hooks/export/types.d.cts.map +1 -0
- package/dist/hooks/export/types.d.mts +23 -0
- package/dist/hooks/export/types.d.mts.map +1 -0
- package/dist/hooks/export/types.d.ts +23 -0
- package/dist/hooks/export/types.d.ts.map +1 -0
- package/dist/hooks/form/index.d.cts +18 -0
- package/dist/hooks/form/index.d.cts.map +1 -0
- package/dist/hooks/form/index.d.mts +18 -0
- package/dist/hooks/form/index.d.mts.map +1 -0
- package/dist/hooks/form/index.d.ts +17 -1
- package/dist/hooks/form/index.d.ts.map +1 -1
- package/dist/hooks/form/types.d.cts +146 -0
- package/dist/hooks/form/types.d.cts.map +1 -0
- package/dist/hooks/form/types.d.mts +146 -0
- package/dist/hooks/form/types.d.mts.map +1 -0
- package/dist/hooks/form/types.d.ts +146 -0
- package/dist/hooks/form/types.d.ts.map +1 -0
- package/dist/hooks/i18n/index.d.cts +5 -0
- package/dist/hooks/i18n/index.d.cts.map +1 -0
- package/dist/hooks/i18n/index.d.mts +5 -0
- package/dist/hooks/i18n/index.d.mts.map +1 -0
- package/dist/hooks/i18n/index.d.ts +5 -0
- package/dist/hooks/i18n/index.d.ts.map +1 -0
- package/dist/hooks/i18n/useGetLocale.d.cts +9 -0
- package/dist/hooks/i18n/useGetLocale.d.cts.map +1 -0
- package/dist/hooks/i18n/useGetLocale.d.mts +9 -0
- package/dist/hooks/i18n/useGetLocale.d.mts.map +1 -0
- package/dist/hooks/i18n/useGetLocale.d.ts +9 -0
- package/dist/hooks/i18n/useGetLocale.d.ts.map +1 -0
- package/dist/hooks/i18n/useSetLocale.d.cts +8 -0
- package/dist/hooks/i18n/useSetLocale.d.cts.map +1 -0
- package/dist/hooks/i18n/useSetLocale.d.mts +8 -0
- package/dist/hooks/i18n/useSetLocale.d.mts.map +1 -0
- package/dist/hooks/i18n/useSetLocale.d.ts +8 -0
- package/dist/hooks/i18n/useSetLocale.d.ts.map +1 -0
- package/dist/hooks/i18n/useTranslate.d.cts.map +1 -0
- package/dist/hooks/i18n/useTranslate.d.mts +11 -0
- package/dist/hooks/i18n/useTranslate.d.mts.map +1 -0
- package/dist/hooks/i18n/useTranslate.d.ts +11 -0
- package/dist/hooks/i18n/useTranslate.d.ts.map +1 -0
- package/dist/hooks/i18n/useTranslation.d.cts +18 -0
- package/dist/hooks/i18n/useTranslation.d.cts.map +1 -0
- package/dist/hooks/i18n/useTranslation.d.mts +18 -0
- package/dist/hooks/i18n/useTranslation.d.mts.map +1 -0
- package/dist/hooks/i18n/useTranslation.d.ts +18 -0
- package/dist/hooks/i18n/useTranslation.d.ts.map +1 -0
- package/dist/hooks/import/index.d.cts +101 -0
- package/dist/hooks/import/index.d.cts.map +1 -0
- package/dist/hooks/import/index.d.mts +101 -0
- package/dist/hooks/import/index.d.mts.map +1 -0
- package/dist/hooks/import/index.d.ts +13 -12
- package/dist/hooks/import/index.d.ts.map +1 -1
- package/dist/hooks/index.d.cts +31 -0
- package/dist/hooks/index.d.cts.map +1 -0
- package/dist/hooks/index.d.mts +31 -0
- package/dist/hooks/index.d.mts.map +1 -0
- package/dist/hooks/index.d.ts +6 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/invalidate/index.d.cts +12 -0
- package/dist/hooks/invalidate/index.d.cts.map +1 -0
- package/dist/hooks/invalidate/index.d.mts +12 -0
- package/dist/hooks/invalidate/index.d.mts.map +1 -0
- package/dist/hooks/invalidate/index.d.ts +2 -2
- package/dist/hooks/invalidate/index.d.ts.map +1 -1
- package/dist/hooks/legacy-router/index.d.cts +2 -0
- package/dist/hooks/legacy-router/index.d.cts.map +1 -0
- package/dist/hooks/legacy-router/index.d.mts +2 -0
- package/dist/hooks/legacy-router/index.d.mts.map +1 -0
- package/dist/hooks/legacy-router/useRouterContext.d.cts +10 -0
- package/dist/hooks/legacy-router/useRouterContext.d.cts.map +1 -0
- package/dist/hooks/legacy-router/useRouterContext.d.mts +10 -0
- package/dist/hooks/legacy-router/useRouterContext.d.mts.map +1 -0
- package/dist/hooks/legacy-router/useRouterContext.d.ts.map +1 -1
- package/dist/hooks/live/index.d.cts +5 -0
- package/dist/hooks/live/index.d.cts.map +1 -0
- package/dist/hooks/live/index.d.mts +5 -0
- package/dist/hooks/live/index.d.mts.map +1 -0
- package/dist/hooks/live/useLiveMode/index.d.cts +3 -0
- package/dist/hooks/live/useLiveMode/index.d.cts.map +1 -0
- package/dist/hooks/live/useLiveMode/index.d.mts +3 -0
- package/dist/hooks/live/useLiveMode/index.d.mts.map +1 -0
- package/dist/hooks/live/useLiveMode/index.d.ts +1 -1
- package/dist/hooks/live/useLiveMode/index.d.ts.map +1 -1
- package/dist/hooks/live/usePublish/index.d.cts +3 -0
- package/dist/hooks/live/usePublish/index.d.cts.map +1 -0
- package/dist/hooks/live/usePublish/index.d.mts +3 -0
- package/dist/hooks/live/usePublish/index.d.mts.map +1 -0
- package/dist/hooks/live/usePublish/index.d.ts +2 -2
- package/dist/hooks/live/usePublish/index.d.ts.map +1 -1
- package/dist/hooks/live/useResourceSubscription/index.d.cts +43 -0
- package/dist/hooks/live/useResourceSubscription/index.d.cts.map +1 -0
- package/dist/hooks/live/useResourceSubscription/index.d.mts +43 -0
- package/dist/hooks/live/useResourceSubscription/index.d.mts.map +1 -0
- package/dist/hooks/live/useResourceSubscription/index.d.ts +7 -8
- package/dist/hooks/live/useResourceSubscription/index.d.ts.map +1 -1
- package/dist/hooks/live/useSubscription/index.d.cts +57 -0
- package/dist/hooks/live/useSubscription/index.d.cts.map +1 -0
- package/dist/hooks/live/useSubscription/index.d.mts +57 -0
- package/dist/hooks/live/useSubscription/index.d.mts.map +1 -0
- package/dist/hooks/live/useSubscription/index.d.ts +6 -5
- package/dist/hooks/live/useSubscription/index.d.ts.map +1 -1
- package/dist/hooks/memoized/index.d.cts +6 -0
- package/dist/hooks/memoized/index.d.cts.map +1 -0
- package/dist/hooks/memoized/index.d.mts +6 -0
- package/dist/hooks/memoized/index.d.mts.map +1 -0
- package/dist/hooks/memoized/index.d.ts.map +1 -1
- package/dist/hooks/menu/index.d.cts +2 -0
- package/dist/hooks/menu/index.d.cts.map +1 -0
- package/dist/hooks/menu/index.d.mts +2 -0
- package/dist/hooks/menu/index.d.mts.map +1 -0
- package/dist/hooks/menu/useMenu.d.cts +28 -0
- package/dist/hooks/menu/useMenu.d.cts.map +1 -0
- package/dist/hooks/menu/useMenu.d.mts +28 -0
- package/dist/hooks/menu/useMenu.d.mts.map +1 -0
- package/dist/hooks/menu/useMenu.d.ts +3 -3
- package/dist/hooks/menu/useMenu.d.ts.map +1 -1
- package/dist/hooks/modal/index.d.cts +2 -0
- package/dist/hooks/modal/index.d.cts.map +1 -0
- package/dist/hooks/modal/index.d.mts +2 -0
- package/dist/hooks/modal/index.d.mts.map +1 -0
- package/dist/hooks/modal/useModal/index.d.cts +13 -0
- package/dist/hooks/modal/useModal/index.d.cts.map +1 -0
- package/dist/hooks/modal/useModal/index.d.mts +13 -0
- package/dist/hooks/modal/useModal/index.d.mts.map +1 -0
- package/dist/hooks/modal/useModal/index.d.ts +2 -2
- package/dist/hooks/modal/useModal/index.d.ts.map +1 -1
- package/dist/hooks/navigation/index.d.cts +28 -0
- package/dist/hooks/navigation/index.d.cts.map +1 -0
- package/dist/hooks/navigation/index.d.mts +28 -0
- package/dist/hooks/navigation/index.d.mts.map +1 -0
- package/dist/hooks/navigation/index.d.ts +3 -2
- package/dist/hooks/navigation/index.d.ts.map +1 -1
- package/dist/hooks/notification/index.d.cts +4 -0
- package/dist/hooks/notification/index.d.cts.map +1 -0
- package/dist/hooks/notification/index.d.mts +4 -0
- package/dist/hooks/notification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useCancelNotification/index.d.cts +8 -0
- package/dist/hooks/notification/useCancelNotification/index.d.cts.map +1 -0
- package/dist/hooks/notification/useCancelNotification/index.d.mts +8 -0
- package/dist/hooks/notification/useCancelNotification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useCancelNotification/index.d.ts +2 -2
- package/dist/hooks/notification/useCancelNotification/index.d.ts.map +1 -1
- package/dist/hooks/notification/useHandleNotification/index.d.cts +3 -0
- package/dist/hooks/notification/useHandleNotification/index.d.cts.map +1 -0
- package/dist/hooks/notification/useHandleNotification/index.d.mts +3 -0
- package/dist/hooks/notification/useHandleNotification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useHandleNotification/index.d.ts +1 -1
- package/dist/hooks/notification/useHandleNotification/index.d.ts.map +1 -1
- package/dist/hooks/notification/useNotification/index.d.cts +3 -0
- package/dist/hooks/notification/useNotification/index.d.cts.map +1 -0
- package/dist/hooks/notification/useNotification/index.d.mts +3 -0
- package/dist/hooks/notification/useNotification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useNotification/index.d.ts +1 -1
- package/dist/hooks/notification/useNotification/index.d.ts.map +1 -1
- package/dist/hooks/redirection/index.d.cts +11 -0
- package/dist/hooks/redirection/index.d.cts.map +1 -0
- package/dist/hooks/redirection/index.d.mts +11 -0
- package/dist/hooks/redirection/index.d.mts.map +1 -0
- package/dist/hooks/redirection/index.d.ts +4 -2
- package/dist/hooks/redirection/index.d.ts.map +1 -1
- package/dist/hooks/refine/index.d.cts +6 -0
- package/dist/hooks/refine/index.d.cts.map +1 -0
- package/dist/hooks/refine/index.d.mts +6 -0
- package/dist/hooks/refine/index.d.mts.map +1 -0
- package/dist/hooks/refine/useMutationMode.d.cts +16 -0
- package/dist/hooks/refine/useMutationMode.d.cts.map +1 -0
- package/dist/hooks/refine/useMutationMode.d.mts +16 -0
- package/dist/hooks/refine/useMutationMode.d.mts.map +1 -0
- package/dist/hooks/refine/useMutationMode.d.ts +3 -2
- package/dist/hooks/refine/useMutationMode.d.ts.map +1 -1
- package/dist/hooks/refine/useRefineContext.d.cts +20 -0
- package/dist/hooks/refine/useRefineContext.d.cts.map +1 -0
- package/dist/hooks/refine/useRefineContext.d.mts +20 -0
- package/dist/hooks/refine/useRefineContext.d.mts.map +1 -0
- package/dist/hooks/refine/useRefineContext.d.ts +2 -2
- package/dist/hooks/refine/useSyncWithLocation.d.cts +13 -0
- package/dist/hooks/refine/useSyncWithLocation.d.cts.map +1 -0
- package/dist/hooks/refine/useSyncWithLocation.d.mts +13 -0
- package/dist/hooks/refine/useSyncWithLocation.d.mts.map +1 -0
- package/dist/hooks/refine/useSyncWithLocation.d.ts +2 -2
- package/dist/hooks/refine/useSyncWithLocation.d.ts.map +1 -1
- package/dist/hooks/refine/useTitle.d.cts +10 -0
- package/dist/hooks/refine/useTitle.d.cts.map +1 -0
- package/dist/hooks/refine/useTitle.d.mts +10 -0
- package/dist/hooks/refine/useTitle.d.mts.map +1 -0
- package/dist/hooks/refine/useTitle.d.ts +1 -1
- package/dist/hooks/refine/useTitle.d.ts.map +1 -1
- package/dist/hooks/refine/useWarnAboutChange/index.d.cts +16 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.cts.map +1 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.mts +16 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.mts.map +1 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.ts +3 -2
- package/dist/hooks/refine/useWarnAboutChange/index.d.ts.map +1 -1
- package/dist/hooks/resource/index.d.cts +3 -0
- package/dist/hooks/resource/index.d.cts.map +1 -0
- package/dist/hooks/resource/index.d.mts +3 -0
- package/dist/hooks/resource/index.d.mts.map +1 -0
- package/dist/hooks/resource/useResource/index.d.cts +63 -0
- package/dist/hooks/resource/useResource/index.d.cts.map +1 -0
- package/dist/hooks/resource/useResource/index.d.mts +63 -0
- package/dist/hooks/resource/useResource/index.d.mts.map +1 -0
- package/dist/hooks/resource/useResource/index.d.ts +14 -6
- package/dist/hooks/resource/useResource/index.d.ts.map +1 -1
- package/dist/hooks/resource/useResourceWithRoute/index.d.cts +8 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.cts.map +1 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.mts +8 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.mts.map +1 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.ts +2 -2
- package/dist/hooks/resource/useResourceWithRoute/index.d.ts.map +1 -1
- package/dist/hooks/router/index.d.cts +8 -0
- package/dist/hooks/router/index.d.cts.map +1 -0
- package/dist/hooks/router/index.d.mts +8 -0
- package/dist/hooks/router/index.d.mts.map +1 -0
- package/dist/hooks/router/use-back/index.d.cts +2 -0
- package/dist/hooks/router/use-back/index.d.cts.map +1 -0
- package/dist/hooks/router/use-back/index.d.mts +2 -0
- package/dist/hooks/router/use-back/index.d.mts.map +1 -0
- package/dist/hooks/router/use-get-to-path/index.d.cts +19 -0
- package/dist/hooks/router/use-get-to-path/index.d.cts.map +1 -0
- package/dist/hooks/router/use-get-to-path/index.d.mts +19 -0
- package/dist/hooks/router/use-get-to-path/index.d.mts.map +1 -0
- package/dist/hooks/router/use-get-to-path/index.d.ts +4 -3
- package/dist/hooks/router/use-get-to-path/index.d.ts.map +1 -1
- package/dist/hooks/router/use-go/index.d.cts +33 -0
- package/dist/hooks/router/use-go/index.d.cts.map +1 -0
- package/dist/hooks/router/use-go/index.d.mts +33 -0
- package/dist/hooks/router/use-go/index.d.mts.map +1 -0
- package/dist/hooks/router/use-go/index.d.ts +7 -5
- package/dist/hooks/router/use-go/index.d.ts.map +1 -1
- package/dist/hooks/router/use-link/index.d.cts +6 -0
- package/dist/hooks/router/use-link/index.d.cts.map +1 -0
- package/dist/hooks/router/use-link/index.d.mts +6 -0
- package/dist/hooks/router/use-link/index.d.mts.map +1 -0
- package/dist/hooks/router/use-link/index.d.ts.map +1 -1
- package/dist/hooks/router/use-parse/index.d.cts +5 -0
- package/dist/hooks/router/use-parse/index.d.cts.map +1 -0
- package/dist/hooks/router/use-parse/index.d.mts +5 -0
- package/dist/hooks/router/use-parse/index.d.mts.map +1 -0
- package/dist/hooks/router/use-parse/index.d.ts +2 -2
- package/dist/hooks/router/use-parse/index.d.ts.map +1 -1
- package/dist/hooks/router/use-parsed/index.d.cts +2 -0
- package/dist/hooks/router/use-parsed/index.d.cts.map +1 -0
- package/dist/hooks/router/use-parsed/index.d.mts +2 -0
- package/dist/hooks/router/use-parsed/index.d.mts.map +1 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.cts +3 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.cts.map +1 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.mts +3 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.mts.map +1 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.ts +2 -2
- package/dist/hooks/router/use-router-misuse-warning/index.d.ts.map +1 -1
- package/dist/hooks/router/use-to-path/index.d.cts +18 -0
- package/dist/hooks/router/use-to-path/index.d.cts.map +1 -0
- package/dist/hooks/router/use-to-path/index.d.mts +18 -0
- package/dist/hooks/router/use-to-path/index.d.mts.map +1 -0
- package/dist/hooks/router/use-to-path/index.d.ts +3 -2
- package/dist/hooks/router/use-to-path/index.d.ts.map +1 -1
- package/dist/hooks/show/index.d.cts +17 -0
- package/dist/hooks/show/index.d.cts.map +1 -0
- package/dist/hooks/show/index.d.mts +17 -0
- package/dist/hooks/show/index.d.mts.map +1 -0
- package/dist/hooks/show/index.d.ts +16 -1
- package/dist/hooks/show/index.d.ts.map +1 -1
- package/dist/hooks/show/types.d.cts +52 -0
- package/dist/hooks/show/types.d.cts.map +1 -0
- package/dist/hooks/show/types.d.mts +52 -0
- package/dist/hooks/show/types.d.mts.map +1 -0
- package/dist/hooks/show/types.d.ts +52 -0
- package/dist/hooks/show/types.d.ts.map +1 -0
- package/dist/hooks/show/useShow.d.cts +57 -0
- package/dist/hooks/show/useShow.d.cts.map +1 -0
- package/dist/hooks/show/useShow.d.mts +57 -0
- package/dist/hooks/show/useShow.d.mts.map +1 -0
- package/dist/hooks/show/useShow.d.ts +5 -3
- package/dist/hooks/show/useShow.d.ts.map +1 -1
- package/dist/hooks/use-refine-options/index.d.cts +2 -0
- package/dist/hooks/use-refine-options/index.d.cts.map +1 -0
- package/dist/hooks/use-refine-options/index.d.mts +2 -0
- package/dist/hooks/use-refine-options/index.d.mts.map +1 -0
- package/dist/hooks/use-refine-options/index.d.ts +2 -0
- package/dist/hooks/use-refine-options/index.d.ts.map +1 -0
- package/dist/hooks/use-resource-params/index.d.cts +43 -0
- package/dist/hooks/use-resource-params/index.d.cts.map +1 -0
- package/dist/hooks/use-resource-params/index.d.mts +43 -0
- package/dist/hooks/use-resource-params/index.d.mts.map +1 -0
- package/dist/hooks/use-resource-params/index.d.ts +43 -0
- package/dist/hooks/use-resource-params/index.d.ts.map +1 -0
- package/dist/hooks/use-resource-params/use-action/index.d.cts +12 -0
- package/dist/hooks/use-resource-params/use-action/index.d.cts.map +1 -0
- package/dist/hooks/use-resource-params/use-action/index.d.mts +12 -0
- package/dist/hooks/use-resource-params/use-action/index.d.mts.map +1 -0
- package/dist/hooks/use-resource-params/use-action/index.d.ts +12 -0
- package/dist/hooks/use-resource-params/use-action/index.d.ts.map +1 -0
- package/dist/hooks/use-resource-params/use-id/index.d.cts +12 -0
- package/dist/hooks/use-resource-params/use-id/index.d.cts.map +1 -0
- package/dist/hooks/use-resource-params/use-id/index.d.mts +12 -0
- package/dist/hooks/use-resource-params/use-id/index.d.mts.map +1 -0
- package/dist/hooks/use-resource-params/use-id/index.d.ts +12 -0
- package/dist/hooks/use-resource-params/use-id/index.d.ts.map +1 -0
- package/dist/hooks/useKeys/index.d.cts +5 -0
- package/dist/hooks/useKeys/index.d.cts.map +1 -0
- package/dist/hooks/useKeys/index.d.mts +5 -0
- package/dist/hooks/useKeys/index.d.mts.map +1 -0
- package/dist/hooks/useLoadingOvertime/index.d.cts +49 -0
- package/dist/hooks/useLoadingOvertime/index.d.cts.map +1 -0
- package/dist/hooks/useLoadingOvertime/index.d.mts +49 -0
- package/dist/hooks/useLoadingOvertime/index.d.mts.map +1 -0
- package/dist/hooks/useLoadingOvertime/index.d.ts +6 -6
- package/dist/hooks/useLoadingOvertime/index.d.ts.map +1 -1
- package/dist/hooks/useMeta/index.d.cts +19 -0
- package/dist/hooks/useMeta/index.d.cts.map +1 -0
- package/dist/hooks/useMeta/index.d.mts +19 -0
- package/dist/hooks/useMeta/index.d.mts.map +1 -0
- package/dist/hooks/useMeta/index.d.ts +4 -3
- package/dist/hooks/useMeta/index.d.ts.map +1 -1
- package/dist/hooks/useSelect/index.d.cts +131 -0
- package/dist/hooks/useSelect/index.d.cts.map +1 -0
- package/dist/hooks/useSelect/index.d.mts +131 -0
- package/dist/hooks/useSelect/index.d.mts.map +1 -0
- package/dist/hooks/useSelect/index.d.ts +9 -7
- package/dist/hooks/useSelect/index.d.ts.map +1 -1
- package/dist/hooks/useTable/index.d.cts +167 -0
- package/dist/hooks/useTable/index.d.cts.map +1 -0
- package/dist/hooks/useTable/index.d.mts +167 -0
- package/dist/hooks/useTable/index.d.mts.map +1 -0
- package/dist/hooks/useTable/index.d.ts +25 -23
- package/dist/hooks/useTable/index.d.ts.map +1 -1
- package/dist/hooks/useTelemetryData/index.d.cts +3 -0
- package/dist/hooks/useTelemetryData/index.d.cts.map +1 -0
- package/dist/hooks/useTelemetryData/index.d.mts +3 -0
- package/dist/hooks/useTelemetryData/index.d.mts.map +1 -0
- package/dist/hooks/useTelemetryData/index.d.ts +1 -1
- package/dist/hooks/useTelemetryData/index.d.ts.map +1 -1
- package/dist/index.cjs +72 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +24 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +24 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +23 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +72 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +26 -10
- package/refine.config.js +1 -3
- package/src/components/authenticated/index.tsx +3 -3
- package/src/components/autoSaveIndicator/index.tsx +29 -2
- package/src/components/canAccess/index.tsx +16 -24
- package/src/components/containers/index.ts +1 -1
- package/src/components/containers/refine/index.tsx +28 -177
- package/src/components/index.ts +1 -1
- package/src/components/layoutWrapper/defaultLayout/index.tsx +1 -1
- package/src/components/layoutWrapper/index.tsx +2 -1
- package/src/components/pages/auth/components/forgotPassword/index.tsx +4 -7
- package/src/components/pages/auth/components/login/index.tsx +4 -4
- package/src/components/pages/auth/components/register/index.tsx +6 -5
- package/src/components/pages/auth/components/updatePassword/index.tsx +2 -5
- package/src/components/pages/auth/index.tsx +2 -2
- package/src/components/telemetry/index.tsx +1 -1
- package/src/components/undoableQueue/index.tsx +4 -2
- package/src/contexts/accessControl/index.tsx +4 -8
- package/src/contexts/accessControl/types.ts +93 -0
- package/src/contexts/auditLog/index.tsx +3 -5
- package/src/contexts/auditLog/types.ts +45 -0
- package/src/contexts/auth/index.tsx +13 -16
- package/src/contexts/auth/types.ts +115 -0
- package/src/contexts/data/index.tsx +28 -23
- package/src/contexts/data/types.ts +490 -0
- package/src/contexts/i18n/index.tsx +23 -0
- package/src/contexts/i18n/types.ts +22 -0
- package/src/contexts/live/index.tsx +7 -5
- package/src/contexts/live/types.ts +113 -0
- package/src/contexts/notification/index.tsx +3 -5
- package/src/contexts/notification/types.ts +47 -0
- package/src/contexts/refine/index.tsx +6 -4
- package/src/contexts/refine/types.ts +323 -0
- package/src/contexts/resource/index.tsx +2 -12
- package/src/contexts/resource/types.ts +205 -0
- package/src/contexts/router/index.tsx +9 -8
- package/src/contexts/router/legacy/index.tsx +41 -0
- package/src/contexts/router/legacy/types.ts +50 -0
- package/src/contexts/router/types.ts +79 -0
- package/src/contexts/undoableQueue/index.tsx +82 -0
- package/src/contexts/undoableQueue/types.ts +22 -0
- package/src/contexts/unsavedWarn/index.tsx +3 -3
- package/src/definitions/helpers/async-debounce/index.ts +67 -0
- package/src/definitions/helpers/check-router-prop-misuse/index.ts +3 -2
- package/src/definitions/helpers/defer-execution/index.ts +10 -0
- package/src/definitions/helpers/generateDocumentTitle/index.ts +4 -3
- package/src/definitions/helpers/handlePaginationParams/index.ts +1 -1
- package/src/definitions/helpers/handleRefineOptions/index.ts +4 -3
- package/src/definitions/helpers/importCSVMapper/index.ts +3 -2
- package/src/definitions/helpers/index.ts +3 -0
- package/src/definitions/helpers/keys/index.ts +1 -1
- package/src/definitions/helpers/legacy-resource-transform/index.ts +1 -5
- package/src/definitions/helpers/menu/create-resource-key.ts +1 -1
- package/src/definitions/helpers/menu/create-tree.ts +1 -1
- package/src/definitions/helpers/pick-resource/index.ts +1 -1
- package/src/definitions/helpers/pickDataProvider/index.ts +1 -1
- package/src/definitions/helpers/prepare-query-context/index.ts +19 -0
- package/src/definitions/helpers/queryKeys/index.ts +2 -3
- package/src/definitions/helpers/redirectPage/index.ts +3 -1
- package/src/definitions/helpers/routeGenerator/index.ts +2 -2
- package/src/definitions/helpers/router/compose-route.ts +2 -1
- package/src/definitions/helpers/router/get-action-routes-from-resource.ts +2 -1
- package/src/definitions/helpers/router/get-default-action-path.ts +1 -1
- package/src/definitions/helpers/router/get-parent-prefix-for-resource.ts +1 -1
- package/src/definitions/helpers/router/get-parent-resource.ts +1 -1
- package/src/definitions/helpers/router/match-resource-from-route.ts +2 -1
- package/src/definitions/helpers/safe-translate/index.ts +1 -1
- package/src/definitions/helpers/sanitize-resource/index.ts +1 -1
- package/src/definitions/helpers/treeView/createTreeView/index.ts +6 -1
- package/src/definitions/helpers/useInfinitePagination/index.ts +1 -1
- package/src/definitions/table/index.ts +25 -26
- package/src/hooks/accessControl/useCan/index.ts +12 -5
- package/src/hooks/accessControl/useCanWithoutCache.ts +2 -1
- package/src/hooks/auditLog/useLog/index.ts +8 -5
- package/src/hooks/auditLog/useLogList/index.ts +7 -5
- package/src/hooks/auth/useForgotPassword/index.ts +13 -8
- package/src/hooks/auth/useGetIdentity/index.ts +5 -4
- package/src/hooks/auth/useIsAuthenticated/index.ts +3 -2
- package/src/hooks/auth/useLogin/index.ts +13 -12
- package/src/hooks/auth/useLogout/index.ts +15 -9
- package/src/hooks/auth/useOnError/index.ts +25 -18
- package/src/hooks/auth/usePermissions/index.ts +5 -5
- package/src/hooks/auth/useRegister/index.ts +13 -8
- package/src/hooks/auth/useUpdatePassword/index.ts +14 -12
- package/src/hooks/breadcrumb/index.ts +8 -7
- package/src/hooks/button/actionable-button/index.tsx +26 -0
- package/src/hooks/button/button-can-access/index.tsx +72 -0
- package/src/hooks/button/delete-button/index.tsx +101 -0
- package/src/hooks/button/index.tsx +35 -0
- package/src/hooks/button/navigation-button/index.tsx +106 -0
- package/src/hooks/button/refresh-button/index.tsx +65 -0
- package/src/hooks/data/useCreate.ts +11 -10
- package/src/hooks/data/useCreateMany.ts +6 -5
- package/src/hooks/data/useCustom.ts +20 -23
- package/src/hooks/data/useCustomMutation.ts +11 -10
- package/src/hooks/data/useDataProvider.tsx +12 -8
- package/src/hooks/data/useDelete.ts +7 -6
- package/src/hooks/data/useDeleteMany.ts +7 -6
- package/src/hooks/data/useInfiniteList.ts +24 -32
- package/src/hooks/data/useList.ts +22 -30
- package/src/hooks/data/useMany.ts +19 -40
- package/src/hooks/data/useOne.ts +12 -18
- package/src/hooks/data/useUpdate.ts +31 -7
- package/src/hooks/data/useUpdateMany.ts +32 -7
- package/src/hooks/export/index.ts +19 -16
- package/src/hooks/export/types.ts +31 -0
- package/src/hooks/form/index.ts +363 -1
- package/src/hooks/form/types.ts +249 -0
- package/src/hooks/i18n/index.ts +4 -0
- package/src/hooks/i18n/useGetLocale.ts +17 -0
- package/src/hooks/i18n/useSetLocale.ts +15 -0
- package/src/hooks/i18n/useTranslate.ts +40 -0
- package/src/hooks/i18n/useTranslation.tsx +24 -0
- package/src/hooks/import/index.tsx +9 -6
- package/src/hooks/index.ts +6 -2
- package/src/hooks/invalidate/index.tsx +4 -3
- package/src/hooks/legacy-router/useRouterContext.ts +3 -2
- package/src/hooks/live/useLiveMode/index.ts +4 -1
- package/src/hooks/live/usePublish/index.ts +4 -4
- package/src/hooks/live/useResourceSubscription/index.ts +15 -17
- package/src/hooks/live/useSubscription/index.ts +11 -11
- package/src/hooks/menu/useMenu.tsx +8 -6
- package/src/hooks/navigation/index.ts +8 -6
- package/src/hooks/notification/useCancelNotification/index.tsx +2 -2
- package/src/hooks/notification/useHandleNotification/index.ts +2 -1
- package/src/hooks/notification/useNotification/index.ts +1 -1
- package/src/hooks/redirection/index.ts +4 -6
- package/src/hooks/refine/useMutationMode.ts +14 -4
- package/src/hooks/refine/useSyncWithLocation.ts +1 -1
- package/src/hooks/refine/useTitle.tsx +3 -1
- package/src/hooks/refine/useWarnAboutChange/index.ts +2 -4
- package/src/hooks/resource/useResource/index.ts +14 -9
- package/src/hooks/resource/useResourceWithRoute/index.ts +4 -2
- package/src/hooks/router/use-back/index.tsx +4 -4
- package/src/hooks/router/use-get-to-path/index.ts +6 -4
- package/src/hooks/router/use-go/index.tsx +11 -9
- package/src/hooks/router/use-link/index.tsx +8 -7
- package/src/hooks/router/use-parse/index.tsx +5 -5
- package/src/hooks/router/use-router-misuse-warning/index.ts +2 -2
- package/src/hooks/router/use-to-path/index.ts +2 -1
- package/src/hooks/show/index.ts +92 -1
- package/src/hooks/show/types.ts +92 -0
- package/src/hooks/show/useShow.ts +8 -7
- package/src/hooks/use-refine-options/index.tsx +8 -0
- package/src/hooks/use-resource-params/index.ts +89 -0
- package/src/hooks/use-resource-params/use-action/index.tsx +27 -0
- package/src/hooks/use-resource-params/use-id/index.tsx +26 -0
- package/src/hooks/useMeta/index.ts +4 -2
- package/src/hooks/useSelect/index.ts +28 -28
- package/src/hooks/useTable/index.ts +51 -50
- package/src/hooks/useTelemetryData/index.ts +11 -11
- package/src/index.tsx +147 -104
- package/tsconfig.json +1 -2
- package/dist/contexts/accessControl/IAccessControlContext.d.ts +0 -49
- package/dist/contexts/accessControl/IAccessControlContext.d.ts.map +0 -1
- package/dist/contexts/auditLog/IAuditLogContext.d.ts +0 -29
- package/dist/contexts/auditLog/IAuditLogContext.d.ts.map +0 -1
- package/dist/contexts/auth/IAuthContext.d.ts +0 -26
- package/dist/contexts/auth/IAuthContext.d.ts.map +0 -1
- package/dist/contexts/data/IDataContext.d.ts +0 -203
- package/dist/contexts/data/IDataContext.d.ts.map +0 -1
- package/dist/contexts/legacy-router/IRouterContext.d.ts +0 -35
- package/dist/contexts/legacy-router/IRouterContext.d.ts.map +0 -1
- package/dist/contexts/legacy-router/index.d.ts +0 -9
- package/dist/contexts/legacy-router/index.d.ts.map +0 -1
- package/dist/contexts/live/ILiveContext.d.ts +0 -49
- package/dist/contexts/live/ILiveContext.d.ts.map +0 -1
- package/dist/contexts/notification/INotificationContext.d.ts +0 -14
- package/dist/contexts/notification/INotificationContext.d.ts.map +0 -1
- package/dist/contexts/refine/IRefineContext.d.ts +0 -129
- package/dist/contexts/refine/IRefineContext.d.ts.map +0 -1
- package/dist/contexts/resource/IResourceContext.d.ts +0 -49
- package/dist/contexts/resource/IResourceContext.d.ts.map +0 -1
- package/dist/contexts/router-picker/index.d.ts.map +0 -1
- package/dist/contexts/translation/ITranslationContext.d.ts +0 -11
- package/dist/contexts/translation/ITranslationContext.d.ts.map +0 -1
- package/dist/contexts/translation/index.d.ts +0 -9
- package/dist/contexts/translation/index.d.ts.map +0 -1
- package/dist/contexts/undoableQueue/IUndoableQueueContext.d.ts +0 -7
- package/dist/contexts/undoableQueue/IUndoableQueueContext.d.ts.map +0 -1
- package/dist/contexts/undoableQueue/actionTypes.d.ts +0 -6
- package/dist/contexts/undoableQueue/actionTypes.d.ts.map +0 -1
- package/dist/contexts/undoableQueue/undoableQueueContext.d.ts +0 -8
- package/dist/contexts/undoableQueue/undoableQueueContext.d.ts.map +0 -1
- package/dist/contexts/unsavedWarn/IUnsavedWarnContext.d.ts +0 -5
- package/dist/contexts/unsavedWarn/IUnsavedWarnContext.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/check-by-segments.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/check-by-segments.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/compose-route.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/compose-route.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-action-routes-from-resource.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-action-routes-from-resource.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-default-action-path.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-default-action-path.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-parent-prefix-for-resource.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-parent-prefix-for-resource.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-parent-resource.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-parent-resource.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/is-segment-counts-same.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/is-segment-counts-same.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/match-resource-from-route.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/match-resource-from-route.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/pick-matched-route.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/pick-matched-route.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/pick-route-params.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/pick-route-params.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/prepare-route-params.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/prepare-route-params.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/remove-leading-trailing-slashes.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/remove-leading-trailing-slashes.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/split-to-segments.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/split-to-segments.d.ts.map +0 -1
- package/dist/esm/index.js +0 -72
- package/dist/esm/index.js.map +0 -1
- package/dist/hooks/export/csvDownload.interface.d.ts +0 -20
- package/dist/hooks/export/csvDownload.interface.d.ts.map +0 -1
- package/dist/hooks/form/useForm.d.ts +0 -126
- package/dist/hooks/form/useForm.d.ts.map +0 -1
- package/dist/hooks/translate/index.d.ts +0 -4
- package/dist/hooks/translate/index.d.ts.map +0 -1
- package/dist/hooks/translate/useGetLocale.d.ts +0 -9
- package/dist/hooks/translate/useGetLocale.d.ts.map +0 -1
- package/dist/hooks/translate/useSetLocale.d.ts +0 -8
- package/dist/hooks/translate/useSetLocale.d.ts.map +0 -1
- package/dist/hooks/translate/useTranslate.d.ts.map +0 -1
- package/dist/iife/index.js +0 -72
- package/dist/iife/index.js.map +0 -1
- package/dist/index.js +0 -72
- package/dist/index.js.map +0 -1
- package/dist/interfaces/actions.d.ts +0 -10
- package/dist/interfaces/actions.d.ts.map +0 -1
- package/dist/interfaces/auditLog/index.d.ts +0 -2
- package/dist/interfaces/auditLog/index.d.ts.map +0 -1
- package/dist/interfaces/auditLog/logData.d.ts +0 -14
- package/dist/interfaces/auditLog/logData.d.ts.map +0 -1
- package/dist/interfaces/auth.d.ts +0 -179
- package/dist/interfaces/auth.d.ts.map +0 -1
- package/dist/interfaces/autoSave.d.ts +0 -36
- package/dist/interfaces/autoSave.d.ts.map +0 -1
- package/dist/interfaces/bindings/access-control.d.ts +0 -50
- package/dist/interfaces/bindings/access-control.d.ts.map +0 -1
- package/dist/interfaces/bindings/auth.d.ts +0 -73
- package/dist/interfaces/bindings/auth.d.ts.map +0 -1
- package/dist/interfaces/bindings/data.d.ts +0 -15
- package/dist/interfaces/bindings/data.d.ts.map +0 -1
- package/dist/interfaces/bindings/i18n.d.ts +0 -19
- package/dist/interfaces/bindings/i18n.d.ts.map +0 -1
- package/dist/interfaces/bindings/index.d.ts +0 -9
- package/dist/interfaces/bindings/index.d.ts.map +0 -1
- package/dist/interfaces/bindings/live.d.ts +0 -43
- package/dist/interfaces/bindings/live.d.ts.map +0 -1
- package/dist/interfaces/bindings/notifications.d.ts +0 -24
- package/dist/interfaces/bindings/notifications.d.ts.map +0 -1
- package/dist/interfaces/bindings/resource.d.ts +0 -150
- package/dist/interfaces/bindings/resource.d.ts.map +0 -1
- package/dist/interfaces/bindings/router.d.ts +0 -67
- package/dist/interfaces/bindings/router.d.ts.map +0 -1
- package/dist/interfaces/customComponents.d.ts +0 -26
- package/dist/interfaces/customComponents.d.ts.map +0 -1
- package/dist/interfaces/errors/HttpError.d.ts +0 -12
- package/dist/interfaces/errors/HttpError.d.ts.map +0 -1
- package/dist/interfaces/errors/RefineError.d.ts +0 -3
- package/dist/interfaces/errors/RefineError.d.ts.map +0 -1
- package/dist/interfaces/errors/index.d.ts +0 -3
- package/dist/interfaces/errors/index.d.ts.map +0 -1
- package/dist/interfaces/form-url-params.d.ts +0 -12
- package/dist/interfaces/form-url-params.d.ts.map +0 -1
- package/dist/interfaces/index.d.ts +0 -57
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/live/LiveEvent.d.ts +0 -14
- package/dist/interfaces/live/LiveEvent.d.ts.map +0 -1
- package/dist/interfaces/live/LiveModeProps.d.ts +0 -27
- package/dist/interfaces/live/LiveModeProps.d.ts.map +0 -1
- package/dist/interfaces/live/index.d.ts +0 -3
- package/dist/interfaces/live/index.d.ts.map +0 -1
- package/dist/interfaces/mapDataFn.d.ts +0 -4
- package/dist/interfaces/mapDataFn.d.ts.map +0 -1
- package/dist/interfaces/metaData/fields.d.ts +0 -3
- package/dist/interfaces/metaData/fields.d.ts.map +0 -1
- package/dist/interfaces/metaData/graphqlQueryOptions.d.ts +0 -53
- package/dist/interfaces/metaData/graphqlQueryOptions.d.ts.map +0 -1
- package/dist/interfaces/metaData/index.d.ts +0 -3
- package/dist/interfaces/metaData/index.d.ts.map +0 -1
- package/dist/interfaces/metaData/metaDataQuery.d.ts +0 -10
- package/dist/interfaces/metaData/metaDataQuery.d.ts.map +0 -1
- package/dist/interfaces/metaData/metaQuery.d.ts +0 -8
- package/dist/interfaces/metaData/metaQuery.d.ts.map +0 -1
- package/dist/interfaces/metaData/nestedField.d.ts +0 -8
- package/dist/interfaces/metaData/nestedField.d.ts.map +0 -1
- package/dist/interfaces/metaData/queryBuilderOptions.d.ts +0 -8
- package/dist/interfaces/metaData/queryBuilderOptions.d.ts.map +0 -1
- package/dist/interfaces/metaData/variableOptions.d.ts +0 -10
- package/dist/interfaces/metaData/variableOptions.d.ts.map +0 -1
- package/dist/interfaces/mutationMode.d.ts +0 -20
- package/dist/interfaces/mutationMode.d.ts.map +0 -1
- package/dist/interfaces/notification.d.ts +0 -11
- package/dist/interfaces/notification.d.ts.map +0 -1
- package/dist/interfaces/optimistic-update-map.d.ts +0 -12
- package/dist/interfaces/optimistic-update-map.d.ts.map +0 -1
- package/dist/interfaces/prettify.d.ts +0 -4
- package/dist/interfaces/prettify.d.ts.map +0 -1
- package/dist/interfaces/queryKey.d.ts +0 -17
- package/dist/interfaces/queryKey.d.ts.map +0 -1
- package/dist/interfaces/resourceErrorRouterParams.d.ts +0 -6
- package/dist/interfaces/resourceErrorRouterParams.d.ts.map +0 -1
- package/dist/interfaces/resourceRouterParams.d.ts +0 -7
- package/dist/interfaces/resourceRouterParams.d.ts.map +0 -1
- package/dist/interfaces/successErrorNotification.d.ts +0 -15
- package/dist/interfaces/successErrorNotification.d.ts.map +0 -1
- package/dist/interfaces/telemetry.d.ts +0 -16
- package/dist/interfaces/telemetry.d.ts.map +0 -1
- package/dist/interfaces/textTransformers.d.ts +0 -21
- package/dist/interfaces/textTransformers.d.ts.map +0 -1
- package/src/contexts/accessControl/IAccessControlContext.ts +0 -52
- package/src/contexts/auditLog/IAuditLogContext.ts +0 -31
- package/src/contexts/auth/IAuthContext.ts +0 -27
- package/src/contexts/data/IDataContext.ts +0 -316
- package/src/contexts/legacy-router/IRouterContext.ts +0 -33
- package/src/contexts/legacy-router/index.tsx +0 -45
- package/src/contexts/live/ILiveContext.ts +0 -56
- package/src/contexts/notification/INotificationContext.ts +0 -15
- package/src/contexts/refine/IRefineContext.ts +0 -140
- package/src/contexts/resource/IResourceContext.ts +0 -68
- package/src/contexts/translation/ITranslationContext.ts +0 -19
- package/src/contexts/translation/index.tsx +0 -24
- package/src/contexts/undoableQueue/IUndoableQueueContext.ts +0 -6
- package/src/contexts/undoableQueue/actionTypes.ts +0 -5
- package/src/contexts/undoableQueue/index.ts +0 -5
- package/src/contexts/undoableQueue/undoableQueueContext.tsx +0 -82
- package/src/hooks/export/csvDownload.interface.ts +0 -27
- package/src/hooks/form/useForm.ts +0 -622
- package/src/hooks/translate/index.ts +0 -3
- package/src/hooks/translate/useGetLocale.ts +0 -16
- package/src/hooks/translate/useSetLocale.ts +0 -14
- package/src/hooks/translate/useTranslate.ts +0 -39
- package/src/interfaces/actions.ts +0 -16
- package/src/interfaces/auditLog/index.ts +0 -1
- package/src/interfaces/auditLog/logData.ts +0 -15
- package/src/interfaces/autoSave.ts +0 -54
- package/src/interfaces/bindings/access-control.ts +0 -53
- package/src/interfaces/bindings/auth.ts +0 -84
- package/src/interfaces/bindings/data.ts +0 -18
- package/src/interfaces/bindings/i18n.ts +0 -29
- package/src/interfaces/bindings/index.ts +0 -25
- package/src/interfaces/bindings/live.ts +0 -56
- package/src/interfaces/bindings/notifications.ts +0 -25
- package/src/interfaces/bindings/resource.ts +0 -178
- package/src/interfaces/bindings/router.ts +0 -78
- package/src/interfaces/customComponents.ts +0 -28
- package/src/interfaces/errors/HttpError.ts +0 -13
- package/src/interfaces/errors/RefineError.ts +0 -3
- package/src/interfaces/errors/index.ts +0 -2
- package/src/interfaces/form-url-params.ts +0 -8
- package/src/interfaces/index.ts +0 -96
- package/src/interfaces/live/LiveEvent.ts +0 -14
- package/src/interfaces/live/LiveModeProps.ts +0 -28
- package/src/interfaces/live/index.ts +0 -2
- package/src/interfaces/mapDataFn.ts +0 -3
- package/src/interfaces/metaData/fields.ts +0 -3
- package/src/interfaces/metaData/graphqlQueryOptions.ts +0 -53
- package/src/interfaces/metaData/index.ts +0 -2
- package/src/interfaces/metaData/metaDataQuery.ts +0 -10
- package/src/interfaces/metaData/metaQuery.ts +0 -9
- package/src/interfaces/metaData/nestedField.ts +0 -8
- package/src/interfaces/metaData/queryBuilderOptions.ts +0 -8
- package/src/interfaces/metaData/variableOptions.ts +0 -9
- package/src/interfaces/mutationMode.ts +0 -32
- package/src/interfaces/notification.ts +0 -10
- package/src/interfaces/optimistic-update-map.ts +0 -49
- package/src/interfaces/prettify.ts +0 -3
- package/src/interfaces/queryKey.ts +0 -23
- package/src/interfaces/resourceErrorRouterParams.ts +0 -6
- package/src/interfaces/resourceRouterParams.ts +0 -7
- package/src/interfaces/successErrorNotification.ts +0 -33
- package/src/interfaces/textTransformers.ts +0 -20
- /package/dist/contexts/{router-picker/index.d.ts → router/picker/index.d.cts} +0 -0
- /package/dist/hooks/{translate/useTranslate.d.ts → i18n/useTranslate.d.cts} +0 -0
- /package/src/{interfaces/auth.tsx → components/pages/auth/types.tsx} +0 -0
- /package/src/{interfaces/telemetry.ts → components/telemetry/types.ts} +0 -0
- /package/src/contexts/{router-picker → router/picker}/index.tsx +0 -0
- /package/src/contexts/unsavedWarn/{IUnsavedWarnContext.ts → types.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,158 @@
|
|
|
1
1
|
# @refinedev/core
|
|
2
2
|
|
|
3
|
+
## 4.49.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5875](https://github.com/refinedev/refine/pull/5875) [`1c9a95f22ab`](https://github.com/refinedev/refine/commit/1c9a95f22ab8c3f1d1e48c7c889227ce1d9160cf) Thanks [@aliemir](https://github.com/aliemir)! - refactor: add resource name to devtools xray calls
|
|
8
|
+
|
|
9
|
+
Added the resource name to the devtools xray calls to allow resource names to be displayed in the devtools even with custom query keys.
|
|
10
|
+
|
|
11
|
+
- [#5883](https://github.com/refinedev/refine/pull/5883) [`0a76576da0f`](https://github.com/refinedev/refine/commit/0a76576da0f18c6db372e737c610ad462b56ff21) Thanks [@aliemir](https://github.com/aliemir)! - fix: development errors being logged when `useOnError` is called without an auth provider
|
|
12
|
+
|
|
13
|
+
When there's no `authProvider` set, the `useOnError` hook will log `"no mutationFn found"` to the console in development because of missing `onError` property. This PR fixes the issue by providing a dummy `onError` function when `authProvider` is not set.
|
|
14
|
+
|
|
15
|
+
- [#5851](https://github.com/refinedev/refine/pull/5851) [`8d2dd4376f6`](https://github.com/refinedev/refine/commit/8d2dd4376f672786d4722d3dee09e6344f1002e4) Thanks [@aliemir](https://github.com/aliemir)! - refactor: prevented early accessing `signal` from `useQuery` of `@tanstack/react-query`
|
|
16
|
+
|
|
17
|
+
In query hooks, `signal` was accessed directly by destructuring which was causing issues in development mode with duplicated requests. This change accesses `queryContext` instead of destructured `signal` properly to prevent `@tanstack/react-query` from setting `abortSignalConsumed` flag unexpectedly.
|
|
18
|
+
|
|
19
|
+
Resolves [#5843](https://github.com/refinedev/refine/issues/5843)
|
|
20
|
+
|
|
21
|
+
- [#5875](https://github.com/refinedev/refine/pull/5875) [`1c9a95f22ab`](https://github.com/refinedev/refine/commit/1c9a95f22ab8c3f1d1e48c7c889227ce1d9160cf) Thanks [@aliemir](https://github.com/aliemir)! - fix: exclude internal button hook calls from devtools trace
|
|
22
|
+
|
|
23
|
+
Removed internal button hook calls from devtools trace to avoid crowding the trace with unnecessary information.
|
|
24
|
+
|
|
25
|
+
- [#5881](https://github.com/refinedev/refine/pull/5881) [`ba719f6ea26`](https://github.com/refinedev/refine/commit/ba719f6ea264ee87226f42de900a754e81f1f22f) Thanks [@aliemir](https://github.com/aliemir)! - fix: declaration files in node10, node16 and nodenext module resolutions
|
|
26
|
+
|
|
27
|
+
- [#5884](https://github.com/refinedev/refine/pull/5884) [`9a0c1c8414a`](https://github.com/refinedev/refine/commit/9a0c1c8414a7b228378c234468396e6288cdb6f0) Thanks [@aliemir](https://github.com/aliemir)! - fix(core): `useMenu` `hideOnMissingParameter` prop default value set to `true`
|
|
28
|
+
|
|
29
|
+
There was an error in the `useMenu` hook's `hideOnMissingParameter` prop. Its default value should be `true` but it was missed when props are passed partially. This PR fixes the issue by setting the default value to `true`.
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [[`1c9a95f22ab`](https://github.com/refinedev/refine/commit/1c9a95f22ab8c3f1d1e48c7c889227ce1d9160cf), [`1c9a95f22ab`](https://github.com/refinedev/refine/commit/1c9a95f22ab8c3f1d1e48c7c889227ce1d9160cf), [`ba719f6ea26`](https://github.com/refinedev/refine/commit/ba719f6ea264ee87226f42de900a754e81f1f22f)]:
|
|
32
|
+
- @refinedev/devtools-internal@1.1.8
|
|
33
|
+
|
|
34
|
+
## 4.49.0
|
|
35
|
+
|
|
36
|
+
### Minor Changes
|
|
37
|
+
|
|
38
|
+
- [#5751](https://github.com/refinedev/refine/pull/5751) [`f32512b9042`](https://github.com/refinedev/refine/commit/f32512b90427cbb97b28e9d5445dcd343067aa7e) Thanks [@aliemir](https://github.com/aliemir)! - Added `useResourceParams` hook. This hook initially works similarly to `useResource` but it correctly handles the `id` and `action` params per active route and explicit parameters. In `@refinedev/core` and other Refine packages there was a common logic of handling the `id` since its inference is dependent on the active resource and route. The same also applies to the `action` parameter of forms. This hook handles these cases and provides a more consistent API to share the same logic without duplicating it.
|
|
39
|
+
|
|
40
|
+
- `id` and `action` values returned from `useResource` is deprecated in favor of `useResourceParams`.
|
|
41
|
+
- `useForm` hook is updated to use `useResourceParams` under the hood.
|
|
42
|
+
- `useShow` hook is updated to use `useResourceParams` under the hood.
|
|
43
|
+
- `<CanAccess />` component is updated to use `useResourceParams` under the hood.
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- [#5737](https://github.com/refinedev/refine/pull/5737) [`4e8188a6652`](https://github.com/refinedev/refine/commit/4e8188a665209b0d0b77aef27c795a29b9513226) Thanks [@aliemir](https://github.com/aliemir)! - chore: updated content of `README.md` to include installation, usage and scaffolding instructions.
|
|
48
|
+
|
|
49
|
+
- [#5808](https://github.com/refinedev/refine/pull/5808) [`10ba9c34490`](https://github.com/refinedev/refine/commit/10ba9c344900d0fa4af7120c24b3b007081a4c39) Thanks [@aliemir](https://github.com/aliemir)! - chore: improved `useMutationMode` hooks usage by accepting explicit values to be passed for `mutationMode` and `undoableTimeout`, handling the precedence of the values inside the hook rather than outside to avoid repetition
|
|
50
|
+
|
|
51
|
+
- [#5733](https://github.com/refinedev/refine/pull/5733) [`2b5ac6f5409`](https://github.com/refinedev/refine/commit/2b5ac6f5409b7b175c453793224a531e644f6513) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - feat: added `useTranslation` hook. It combines `useTranslate`, `useSetLocale` and `useGetLocale` hooks and returns `translate`, `changeLocale` and `getLocale` methods from that hooks for better developer experience.
|
|
52
|
+
|
|
53
|
+
It returns all [`i18nProvider`](/docs/i18n/i18n-provider) methods in one hook. It can be used to translate texts, change the locale, and get the current locale in your own components.
|
|
54
|
+
|
|
55
|
+
```tsx
|
|
56
|
+
import { useTranslation } from "@refinedev/core";
|
|
57
|
+
|
|
58
|
+
export const MyComponent = () => {
|
|
59
|
+
const { translate, getLocale, changeLocale } = useTranslation();
|
|
60
|
+
const currentLocale = getLocale();
|
|
61
|
+
|
|
62
|
+
return (
|
|
63
|
+
<div>
|
|
64
|
+
<h1>{translate("languages")}</h1>
|
|
65
|
+
<button
|
|
66
|
+
onClick={() => changeLocale("en")}
|
|
67
|
+
disabled={currentLocale === "en"}
|
|
68
|
+
>
|
|
69
|
+
English
|
|
70
|
+
</button>
|
|
71
|
+
<button
|
|
72
|
+
onClick={() => changeLocale("de")}
|
|
73
|
+
disabled={currentLocale === "de"}
|
|
74
|
+
>
|
|
75
|
+
German
|
|
76
|
+
</button>
|
|
77
|
+
</div>
|
|
78
|
+
);
|
|
79
|
+
};
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Example of combining `useTranslation` with `useTranslate`, `useSetLocale` and `useGetLocale` hooks.
|
|
83
|
+
|
|
84
|
+
```diff
|
|
85
|
+
import {
|
|
86
|
+
- useGetLocale,
|
|
87
|
+
- useSetLocale,
|
|
88
|
+
- useTranslate,
|
|
89
|
+
+ useTranslation,
|
|
90
|
+
} from "@refinedev/core";
|
|
91
|
+
|
|
92
|
+
export const MyComponent = () => {
|
|
93
|
+
- const changeLocale = useSetLocale();
|
|
94
|
+
- const getLocale = useGetLocale();
|
|
95
|
+
- const translate = useTranslate();
|
|
96
|
+
|
|
97
|
+
+ const { translate, getLocale, changeLocale } = useTranslation();
|
|
98
|
+
|
|
99
|
+
return <div>{/* ... */}</div>;
|
|
100
|
+
};
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
- [#5765](https://github.com/refinedev/refine/pull/5765) [`0c197d82393`](https://github.com/refinedev/refine/commit/0c197d823939ae1fd4e0ee4b5a422322853b1e45) Thanks [@aliemir](https://github.com/aliemir)! - refactor: package bundles and package.json configuration for exports
|
|
104
|
+
|
|
105
|
+
Previously, Refine packages had exported ESM and CJS bundles with same `.js` extension and same types for both with `.d.ts` extensions. This was causing issues with bundlers and compilers to pick up the wrong files for the wrong environment. Now we're outputting ESM bundles with `.mjs` extension and CJS bundles with `.cjs` extension. Also types are now exported with both `.d.mts` and `.d.cts` extensions.
|
|
106
|
+
|
|
107
|
+
In older versions ESM and CJS outputs of some packages were using wrong imports/requires to dependencies causing errors in some environments. This will be fixed since now we're also enforcing the module type with extensions.
|
|
108
|
+
|
|
109
|
+
Above mentioned changes also supported with changes in `package.json` files of the packages to support the new extensions and types. All Refine packages now include `exports` fields in their configuration to make sure the correct bundle is picked up by the bundlers and compilers.
|
|
110
|
+
|
|
111
|
+
- [#5765](https://github.com/refinedev/refine/pull/5765) [`0c197d82393`](https://github.com/refinedev/refine/commit/0c197d823939ae1fd4e0ee4b5a422322853b1e45) Thanks [@aliemir](https://github.com/aliemir)! - Fixed the `lodash-es` imports for ESM builds to access the exports properly.
|
|
112
|
+
|
|
113
|
+
- [#5755](https://github.com/refinedev/refine/pull/5755) [`404b2ef5e1b`](https://github.com/refinedev/refine/commit/404b2ef5e1b8fed469eeab753bac8736ed3fe58e) Thanks [@BatuhanW](https://github.com/BatuhanW)! - feat: refactor TS typings.
|
|
114
|
+
|
|
115
|
+
Type definitions in `src/interfaces` folder moved to their main consumer's folder under `types.ts` files.
|
|
116
|
+
|
|
117
|
+
- [#5754](https://github.com/refinedev/refine/pull/5754) [`56ed144a0f5`](https://github.com/refinedev/refine/commit/56ed144a0f5af218fd9e6edbfd999ae433329927) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - chore: TypeScript upgraded to [v5.x.x](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html). #5752
|
|
118
|
+
|
|
119
|
+
- [#5765](https://github.com/refinedev/refine/pull/5765) [`0c197d82393`](https://github.com/refinedev/refine/commit/0c197d823939ae1fd4e0ee4b5a422322853b1e45) Thanks [@aliemir](https://github.com/aliemir)! - Update `papaparse` imports to fix ESM exports to work properly
|
|
120
|
+
|
|
121
|
+
- [#5808](https://github.com/refinedev/refine/pull/5808) [`10ba9c34490`](https://github.com/refinedev/refine/commit/10ba9c344900d0fa4af7120c24b3b007081a4c39) Thanks [@aliemir](https://github.com/aliemir)! - feat: added headless button hooks
|
|
122
|
+
|
|
123
|
+
We've added a new set of hooks to make it easier to create and manage UI buttons of Refine. There's a hook for each type of button which previously had duplicated logic across the codebase between UI integrations of Refine. Now all these buttons will be powered by the same hooks maintained in the `@refinedev/core` package to ensure consistency and reduce duplication.
|
|
124
|
+
|
|
125
|
+
New Hooks:
|
|
126
|
+
|
|
127
|
+
- `useListButton`: A navigation button that navigates to the list page of a resource.
|
|
128
|
+
- `useCreateButton`: A navigation button that navigates to the create page of a resource.
|
|
129
|
+
- `useShowButton`: A navigation button that navigates to the show page of a record.
|
|
130
|
+
- `useEditButton`: A navigation button that navigates to the edit page of a record.
|
|
131
|
+
- `useCloneButton`: A navigation button that navigates to the clone page of a record.
|
|
132
|
+
- `useRefreshButton`: A button that triggers an invalidation of the cache of a record.
|
|
133
|
+
- `useDeleteButton`: A button that triggers a delete mutation on a record.
|
|
134
|
+
- `useSaveButton`: A button to be used inside a form to trigger a save mutation.
|
|
135
|
+
- `useExportButton`: A button to be used with `useExport` to trigger an export bulk data of a resource.
|
|
136
|
+
- `useImportButton`: A button to be used with `useImport` to trigger an import bulk data for a resource.
|
|
137
|
+
|
|
138
|
+
- [#5714](https://github.com/refinedev/refine/pull/5714) [`38f129f40ee`](https://github.com/refinedev/refine/commit/38f129f40eea109c9b89b23a8fd3f217964330c7) Thanks [@aliemir](https://github.com/aliemir)! - Refactored the internal logic of `useForm` to be more efficient and readable, along with few bug fixes and improvements to the `useForm` hook.
|
|
139
|
+
|
|
140
|
+
These changes are related to the issue [#5702](https://github.com/refinedev/refine/issues/5702) and resolves [#5460](https://github.com/refinedev/refine/issues/5460).
|
|
141
|
+
|
|
142
|
+
- `onFinish` now rejects when; - `values` is not provided, - `resource` is not defined, - `id` is required but not provided.
|
|
143
|
+
previously these cases were silently ignored.
|
|
144
|
+
- Same changes also applies to `onFinishAutoSave`.
|
|
145
|
+
- `onFinishAutoSave` had an issue with returning the appropriate promise after being called. This resulted in unhandled promise rejections and uncontrollable resolved promises. Now it is fixed, `onFinishAutoSave` will resolve and reject based on the response of the mutation.
|
|
146
|
+
- When using auto save, debounced calls will now be cancelled and the respective promises will be rejected with `"cancelled by debounce"` message. These changes might require an update to the code bases that uses `onFinishAutoSave` to handle the rejection of the promise to avoid unhandled promise rejections.
|
|
147
|
+
- Combined the separated submit functions into one for sake of simplicity and consistency. (internal)
|
|
148
|
+
- `onFinish` rejects and resolved regardless of the `onMutationSuccess` and `onMutationError` hooks are provided or not. (Resolves [#5460](https://github.com/refinedev/refine/issues/5460))
|
|
149
|
+
- `meta` values were concatenated multiple times causing confusion and unexpected behavior, now it is fixed. (internal)
|
|
150
|
+
- Moved the `id` determination/inference logic to a separate hook. (internal)
|
|
151
|
+
-
|
|
152
|
+
|
|
153
|
+
- Updated dependencies [[`0c197d82393`](https://github.com/refinedev/refine/commit/0c197d823939ae1fd4e0ee4b5a422322853b1e45), [`56ed144a0f5`](https://github.com/refinedev/refine/commit/56ed144a0f5af218fd9e6edbfd999ae433329927)]:
|
|
154
|
+
- @refinedev/devtools-internal@1.1.7
|
|
155
|
+
|
|
3
156
|
## 4.48.0
|
|
4
157
|
|
|
5
158
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -8,18 +8,17 @@
|
|
|
8
8
|
|
|
9
9
|
<div align="center">
|
|
10
10
|
<a href="https://refine.dev">Home Page</a> |
|
|
11
|
-
<a href="https://
|
|
11
|
+
<a href="https://refine.dev/docs/">Documentation</a> |
|
|
12
12
|
<a href="https://refine.dev/examples/">Examples</a> |
|
|
13
|
-
<a href="https://
|
|
14
|
-
<a href="https://refine.dev/
|
|
13
|
+
<a href="https://discord.gg/refine">Discord</a> |
|
|
14
|
+
<a href="https://refine.dev/blog/">Blog</a>
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
18
|
<br/>
|
|
19
19
|
<br/>
|
|
20
20
|
|
|
21
|
-
<div align="center"><strong>
|
|
22
|
-
|
|
21
|
+
<div align="center"><strong>The sweet spot between the low/no code and “starting from scratch” for CRUD-heavy applications.</strong><br> Refine is as an open source, React meta-framework for enterprise. It provides a headless solution for everything from admin panels to dashboards and internal tools.
|
|
23
22
|
<br />
|
|
24
23
|
<br />
|
|
25
24
|
|
|
@@ -28,239 +27,189 @@
|
|
|
28
27
|
<div align="center">
|
|
29
28
|
|
|
30
29
|
[](https://github.com/refinedev/awesome-refine)
|
|
30
|
+
[](https://www.bestpractices.dev/projects/8101)
|
|
31
31
|
[](https://www.npmjs.com/package/@refinedev/core)
|
|
32
|
-
[](https://github.com/refinedev/refine/commits/master)
|
|
33
32
|
[](CODE_OF_CONDUCT.md)
|
|
34
33
|
|
|
35
34
|
[](https://discord.gg/refine)
|
|
36
35
|
[](https://twitter.com/refine_dev)
|
|
37
36
|
|
|
38
|
-
<a href="https://www.producthunt.com/posts/refine-3?utm_source=badge-top-post-badge&utm_medium=badge&utm_souce=badge-refine-3" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=362220&theme=light&period=daily" alt="refine - 100% open source React framework to build web apps 3x faster | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
|
39
|
-
|
|
40
37
|
</div>
|
|
41
38
|
|
|
42
39
|
<br/>
|
|
43
40
|
|
|
44
|
-
[](https://refine.dev)
|
|
45
42
|
|
|
46
43
|
## What is Refine?
|
|
47
44
|
|
|
48
|
-
**Refine** is a
|
|
49
|
-
|
|
50
|
-
From internal tools to admin panels, B2B apps, and dashboards, it serves as a comprehensive solution for building any type of **CRUD** application.
|
|
51
|
-
|
|
52
|
-
Refine's internal hooks and components simplify the development process and eliminate repetitive tasks by providing industry-standard solutions for crucial aspects of a project, including **authentication**, **access control**, **routing**, **networking**, **state management**, and **i18n**.
|
|
53
|
-
|
|
54
|
-
**Refine** is _headless by design_, thereby offering unlimited styling and customization options.
|
|
55
|
-
|
|
56
|
-
## What do you mean by "headless" ?
|
|
57
|
-
|
|
58
|
-
Instead of being limited to a set of pre-styled components, **Refine** provides collections of helper `hooks`, `components`, `providers`, and more. Since business logic and the UI are completely decoupled, you can customize the UI without constraints.
|
|
59
|
-
|
|
60
|
-
It means that **Refine** just works _seamlessly_ with any _custom designs_ or _UI frameworks_. Thanks to it's headless architecture, you can use popular CSS frameworks like [TailwindCSS](https://tailwindcss.com/) or even create your own styles from scratch.
|
|
45
|
+
**Refine** is a React meta-framework for CRUD-heavy web applications. It addresses a wide range of enterprise use cases including internal tools, admin panels, dashboards and B2B apps.
|
|
61
46
|
|
|
62
|
-
Refine
|
|
47
|
+
Refine's core hooks and components streamline the development process by offering industry-standard solutions for crucial aspects of a project, including **authentication**, **access control**, **routing**, **networking**, **state management**, and **i18n**.
|
|
63
48
|
|
|
64
|
-
|
|
49
|
+
Refine's headless architecture enables the building of highly customizable applications by decoupling business logic from UI and routing. This allows integration with:
|
|
65
50
|
|
|
66
|
-
|
|
51
|
+
- Any custom designs or UI frameworks like [TailwindCSS](https://tailwindcss.com/), along with built-in support for [Ant Design](https://ant.design/), [Material UI](https://mui.com/material-ui/getting-started/overview/), [Mantine](https://mantine.dev/), and [Chakra UI](https://chakra-ui.com/).
|
|
67
52
|
|
|
68
|
-
|
|
53
|
+
- Various platforms, including Next.js, Remix, React Native, Electron, etc., by a simple routing interface without the need for additional setup steps.
|
|
69
54
|
|
|
70
55
|
## ⚡ Try Refine
|
|
71
56
|
|
|
72
|
-
|
|
57
|
+
Start a new project with Refine in seconds using the following command:
|
|
73
58
|
|
|
74
|
-
|
|
59
|
+
```sh
|
|
60
|
+
npm create refine-app@latest my-refine-app
|
|
61
|
+
```
|
|
75
62
|
|
|
76
|
-
|
|
63
|
+
Or you can create a new project on your browser:
|
|
77
64
|
|
|
78
|
-
<
|
|
79
|
-
<
|
|
80
|
-
<img src="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2023-07-25-refine-primereact/create-refine-project.gif" />
|
|
65
|
+
<a href="https://refine.dev/?playground=true" target="_blank">
|
|
66
|
+
<img height="48" width="245" src="https://refine.ams3.cdn.digitaloceanspaces.com/assets/try-it-in-your-browser.png" />
|
|
81
67
|
</a>
|
|
82
|
-
</div>
|
|
83
|
-
|
|
84
|
-
## Use cases
|
|
85
|
-
|
|
86
|
-
**Refine** shines on _data-intensive⚡_ enterprise B2B applications like **admin panels**, **dashboards** and **internal tools**. Thanks to the built-in **SSR support**, it can also power _customer-facing_ applications like **storefronts**.
|
|
87
|
-
|
|
88
|
-
You can take a look at some live examples that can be built using **refine** from scratch:
|
|
89
|
-
|
|
90
|
-
- [Fully-functional CRM Application](https://example.crm.refine.dev/)
|
|
91
|
-
- [Fully-functional Admin Panel](https://s.refine.dev/readme-admin-panel)
|
|
92
|
-
- [Win95 Style Admin panel 🪟](https://win95.refine.dev/)
|
|
93
|
-
- [Medium Clone - Real World Example](https://s.refine.dev/readme-medium-clone)
|
|
94
|
-
- [Multitenancy Example](https://multi-tenancy-strapi.refine.dev/)
|
|
95
|
-
- [Storefront](https://s.refine.dev/readme-ssr-storefront)
|
|
96
|
-
|
|
97
|
-
[👉 Refer to most popular real use case examples](https://refine.dev/docs/examples/)
|
|
98
|
-
|
|
99
|
-
[👉 More **Refine** powered different usage scenarios can be found here](https://refine.dev/docs/examples#other-examples)
|
|
100
|
-
|
|
101
|
-
## Key Features
|
|
102
|
-
|
|
103
|
-
⚙️ Zero-config, **one-minute setup** with a **single CLI command**
|
|
104
|
-
|
|
105
|
-
🔌 Connectors for **15+ backend services** including [REST API](https://github.com/refinedev/refine/tree/master/packages/simple-rest), [GraphQL](https://github.com/refinedev/refine/tree/master/packages/graphql), [NestJs CRUD](https://github.com/refinedev/refine/tree/master/packages/nestjsx-crud), [Airtable](https://github.com/refinedev/refine/tree/master/packages/airtable), [Strapi](https://github.com/refinedev/refine/tree/master/packages/strapi), [Strapi v4](https://github.com/refinedev/refine/tree/master/packages/strapi-v4), [Supabase](https://github.com/refinedev/refine/tree/master/packages/supabase), [Hasura](https://github.com/refinedev/refine/tree/master/packages/hasura), [Appwrite](https://github.com/refinedev/refine/tree/master/packages/appwrite), [Nestjs-Query](https://github.com/refinedev/refine/tree/master/packages/nestjs-query), [Firebase](https://firebase.google.com/), [Sanity](https://www.sanity.io/), and [Directus](https://directus.io/).
|
|
106
|
-
|
|
107
|
-
🌐 **SSR support** with **Next.js** or **Remix**
|
|
108
|
-
|
|
109
|
-
🔍 Auto-generated **CRUD** UIs from **your API data structure**
|
|
110
|
-
|
|
111
|
-
⚛ Perfect **state management** & **mutations** with **React Query**
|
|
112
|
-
|
|
113
|
-
🔀 **Advanced routing** with any router library of your choice
|
|
114
|
-
|
|
115
|
-
🔐 Providers for seamless **authentication** and **access control** flows
|
|
116
|
-
|
|
117
|
-
⚡ Out-of-the-box support for **live / real-time applications**
|
|
118
|
-
|
|
119
|
-
📄 Easy **audit logs** & **document versioning**
|
|
120
|
-
|
|
121
|
-
💬 Support for any **i18n** framework
|
|
122
|
-
|
|
123
|
-
💪 Future-proof, **robust architecture**
|
|
124
|
-
|
|
125
|
-
⌛️ Built-in CLI with time-saving features
|
|
126
|
-
|
|
127
|
-
💻 Refine [Devtools](https://github.com/refinedev/refine/blob/master/packages/devtools/README.md) - dive deeper into your app and provide useful insights
|
|
128
|
-
|
|
129
|
-
✅ Full **test coverage**
|
|
130
68
|
|
|
131
69
|
## Quick Start
|
|
132
70
|
|
|
133
|
-
|
|
71
|
+
Here's Refine in action, the below code is an example of a simple CRUD application using Refine + React Router + Material UI:
|
|
134
72
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
Once the setup is complete, navigate to the project folder and start your project with:
|
|
142
|
-
|
|
143
|
-
```
|
|
144
|
-
npm run dev
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
<br/>
|
|
148
|
-
|
|
149
|
-
Your **Refine** application will be accessible at [http://localhost:5173](http://localhost:5173):
|
|
150
|
-
|
|
151
|
-
<a href="http://localhost:5173"></a>
|
|
152
|
-
|
|
153
|
-
<br/>
|
|
154
|
-
|
|
155
|
-
> Note: The command above uses pre-set options for ease. For a different tech stack, simply run:
|
|
156
|
-
>
|
|
157
|
-
> ```
|
|
158
|
-
> npm create refine-app@latest
|
|
159
|
-
> ```
|
|
160
|
-
|
|
161
|
-
Let's consume a public `fake REST API` and add two resources (_blog_posts_ and _categories_) to our project. Replace the contents of `src/App.tsx` with the following code:
|
|
162
|
-
|
|
163
|
-
```tsx title="src/App.tsx"
|
|
164
|
-
import { Refine } from "@refinedev/core";
|
|
165
|
-
import {
|
|
166
|
-
useNotificationProvider,
|
|
167
|
-
ErrorComponent,
|
|
168
|
-
ThemedLayout,
|
|
169
|
-
} from "@refinedev/antd";
|
|
170
|
-
import routerProvider, { NavigateToResource } from "@refinedev/react-router-v6";
|
|
73
|
+
```tsx
|
|
74
|
+
import React from "react";
|
|
75
|
+
import { Refine, useMany } from "@refinedev/core";
|
|
76
|
+
import { ThemedLayoutV2 } from "@refinedev/mui";
|
|
171
77
|
import dataProvider from "@refinedev/simple-rest";
|
|
78
|
+
import routerProvider from "@refinedev/react-router-v6";
|
|
79
|
+
import { BrowserRouter, Outlet, Route, Routes } from "react-router-dom";
|
|
172
80
|
|
|
173
|
-
import
|
|
174
|
-
|
|
175
|
-
import { AntdInferencer } from "@refinedev/inferencer/antd";
|
|
81
|
+
import CssBaseline from "@mui/material/CssBaseline";
|
|
176
82
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
const App: React.FC = () => {
|
|
83
|
+
export default function App() {
|
|
180
84
|
return (
|
|
181
85
|
<BrowserRouter>
|
|
86
|
+
<CssBaseline />
|
|
182
87
|
<Refine
|
|
183
|
-
routerProvider={routerProvider}
|
|
184
88
|
dataProvider={dataProvider("https://api.fake-rest.refine.dev")}
|
|
185
|
-
|
|
89
|
+
routerProvider={routerProvider}
|
|
186
90
|
resources={[
|
|
187
91
|
{
|
|
188
|
-
name: "
|
|
189
|
-
list: "/
|
|
190
|
-
show: "/blog-posts/show/:id",
|
|
191
|
-
create: "/blog-posts/create",
|
|
192
|
-
edit: "/blog-posts/edit/:id",
|
|
193
|
-
meta: { canDelete: true },
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
name: "categories",
|
|
197
|
-
list: "/categories",
|
|
198
|
-
show: "/categories/show/:id",
|
|
92
|
+
name: "products",
|
|
93
|
+
list: "/products",
|
|
199
94
|
},
|
|
200
95
|
]}
|
|
201
96
|
>
|
|
202
97
|
<Routes>
|
|
203
98
|
<Route
|
|
204
99
|
element={
|
|
205
|
-
<
|
|
100
|
+
<ThemedLayoutV2>
|
|
206
101
|
<Outlet />
|
|
207
|
-
</
|
|
102
|
+
</ThemedLayoutV2>
|
|
208
103
|
}
|
|
209
104
|
>
|
|
210
|
-
<Route
|
|
211
|
-
|
|
212
|
-
<Route index element={<AntdInferencer />} />
|
|
213
|
-
<Route path="show/:id" element={<AntdInferencer />} />
|
|
214
|
-
<Route path="create" element={<AntdInferencer />} />
|
|
215
|
-
<Route path="edit/:id" element={<AntdInferencer />} />
|
|
216
|
-
</Route>
|
|
217
|
-
<Route path="categories">
|
|
218
|
-
<Route index element={<AntdInferencer />} />
|
|
219
|
-
<Route path="show/:id" element={<AntdInferencer />} />
|
|
105
|
+
<Route path="/products">
|
|
106
|
+
<Route index element={<ProductList />} />
|
|
220
107
|
</Route>
|
|
221
|
-
<Route path="*" element={<ErrorComponent />} />
|
|
222
108
|
</Route>
|
|
223
109
|
</Routes>
|
|
224
110
|
</Refine>
|
|
225
111
|
</BrowserRouter>
|
|
226
112
|
);
|
|
227
|
-
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// src/pages/products/list.tsx
|
|
116
|
+
|
|
117
|
+
import { List, useDataGrid, DateField } from "@refinedev/mui";
|
|
118
|
+
import { DataGrid, GridColDef } from "@mui/x-data-grid";
|
|
119
|
+
|
|
120
|
+
export const ProductList = () => {
|
|
121
|
+
const { dataGridProps } = useDataGrid();
|
|
122
|
+
|
|
123
|
+
const { data: categories, isLoading } = useMany({
|
|
124
|
+
resource: "categories",
|
|
125
|
+
ids:
|
|
126
|
+
dataGridProps?.rows?.map((item) => item?.category?.id).filter(Boolean) ??
|
|
127
|
+
[],
|
|
128
|
+
queryOptions: {
|
|
129
|
+
enabled: !!dataGridProps?.rows,
|
|
130
|
+
},
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
const columns = React.useMemo<GridColDef[]>(
|
|
134
|
+
() => [
|
|
135
|
+
{ field: "id", headerName: "ID", type: "number" },
|
|
136
|
+
{ field: "name", flex: 1, headerName: "Name" },
|
|
137
|
+
{
|
|
138
|
+
field: "category",
|
|
139
|
+
flex: 1,
|
|
140
|
+
headerName: "Category",
|
|
141
|
+
renderCell: ({ value }) =>
|
|
142
|
+
isLoading
|
|
143
|
+
? "Loading..."
|
|
144
|
+
: categories?.data?.find((item) => item.id === value?.id)?.title,
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
field: "createdAt",
|
|
148
|
+
flex: 1,
|
|
149
|
+
headerName: "Created at",
|
|
150
|
+
renderCell: ({ value }) => <DateField value={value} />,
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
[categories?.data, isLoading],
|
|
154
|
+
);
|
|
228
155
|
|
|
229
|
-
|
|
156
|
+
return (
|
|
157
|
+
<List>
|
|
158
|
+
<DataGrid {...dataGridProps} columns={columns} autoHeight />
|
|
159
|
+
</List>
|
|
160
|
+
);
|
|
161
|
+
};
|
|
230
162
|
```
|
|
231
163
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
🚀 The [**Refine Inferencer package**](https://refine.dev/docs/packages/documentation/inferencer/) automatically generates `list`, `show`, `create`, and `edit` pages by guessing configurations from API data. We've used it here for a quick, clear start, but you can also choose to code your pages from scratch instead of using the Inferencer feature.
|
|
164
|
+
The result will look like this:
|
|
235
165
|
|
|
236
|
-
|
|
166
|
+
[](https://refine.new/preview/c85442a8-8df1-4101-a09a-47d3ca641798)
|
|
237
167
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
<br/>
|
|
168
|
+
## Use cases
|
|
241
169
|
|
|
242
|
-
|
|
170
|
+
**Refine** shines on _data-intensive⚡_ enterprise B2B applications like **admin panels**, **dashboards** and **internal tools**. Thanks to the built-in **SSR support**, it can also power _customer-facing_ applications like **storefronts**.
|
|
243
171
|
|
|
244
|
-
|
|
172
|
+
You can take a look at some live examples that can be built using **Refine** from scratch:
|
|
245
173
|
|
|
246
|
-
|
|
174
|
+
- [Fully-functional CRM Application](https://refine.dev/templates/crm-application/)
|
|
175
|
+
- [Fully-functional Admin Panel](https://refine.dev/templates/react-admin-panel/)
|
|
176
|
+
- [Win95 Style Admin panel 🪟](https://refine.dev/templates/win-95-style-admin-panel/)
|
|
177
|
+
- [Medium Clone - Real World Example](https://refine.dev/templates/react-crud-app/)
|
|
178
|
+
- [Multitenancy Example](https://refine.dev/templates/multitenancy-strapi/)
|
|
179
|
+
- [Storefront](https://refine.dev/templates/next-js-ecommerce-store/)
|
|
180
|
+
- [Refer to templates page for more examples](https://refine.dev/templates/)
|
|
181
|
+
- [More **Refine** powered different usage scenarios can be found here](https://refine.dev/docs/examples#other-examples)
|
|
247
182
|
|
|
248
|
-
|
|
183
|
+
## Key Features
|
|
249
184
|
|
|
250
|
-
|
|
251
|
-
](https://refine.
|
|
185
|
+
- Refine Devtools - dive deeper into your app and provide useful insights
|
|
186
|
+
- Connectors for **15+ backend services** including [REST API](https://github.com/refinedev/refine/tree/master/packages/simple-rest), [GraphQL](https://github.com/refinedev/refine/tree/master/packages/graphql), [NestJs CRUD](https://github.com/refinedev/refine/tree/master/packages/nestjsx-crud), [Airtable](https://github.com/refinedev/refine/tree/master/packages/airtable), [Strapi](https://github.com/refinedev/refine/tree/master/packages/strapi), [Strapi v4](https://github.com/refinedev/refine/tree/master/packages/strapi-v4), [Supabase](https://github.com/refinedev/refine/tree/master/packages/supabase), [Hasura](https://github.com/refinedev/refine/tree/master/packages/hasura), [Appwrite](https://github.com/refinedev/refine/tree/master/packages/appwrite), [Nestjs-Query](https://github.com/refinedev/refine/tree/master/packages/nestjs-query), [Firebase](https://firebase.google.com/), [Sanity](https://www.sanity.io/), and [Directus](https://directus.io/).
|
|
187
|
+
- SSR support with Next.js & Remix and Advanced routing with any router library of your choice
|
|
188
|
+
- Auto-generation of CRUD UIs based on your API data structure
|
|
189
|
+
- Perfect state management & mutations with React Query
|
|
190
|
+
- Providers for seamless authentication and access control flows
|
|
191
|
+
- Out-of-the-box support for live / real-time applications
|
|
192
|
+
- Easy audit logs & document versioning
|
|
252
193
|
|
|
253
|
-
|
|
194
|
+
## Learning Refine
|
|
254
195
|
|
|
255
|
-
|
|
196
|
+
- Navigate to the [Tutorial](https://refine.dev/docs/tutorial/introduction/index/) on building comprehensive CRUD application guides you through each step of the process.
|
|
197
|
+
- Visit the [Guides & Concepts](https://refine.dev/docs/guides-concepts/general-concepts/) to get informed about the fundamental concepts.
|
|
198
|
+
- Read more on [Advanced Tutorials](https://refine.dev/docs/advanced-tutorials/) for different usage scenarios.
|
|
256
199
|
|
|
257
200
|
## Contribution
|
|
258
201
|
|
|
259
|
-
[
|
|
202
|
+
[Refer to the contribution docs for more information.](https://refine.dev/docs/contributing/#ways-to-contribute)
|
|
260
203
|
|
|
261
204
|
If you have any doubts related to the project or want to discuss something, then join our [Discord server](https://discord.gg/refine).
|
|
262
205
|
|
|
263
|
-
## Contributors ♥️
|
|
206
|
+
## Contributors ♥️ Thanks
|
|
207
|
+
|
|
208
|
+
We extend our gratitude to all our numerous contributors who create plugins, assist with issues and pull requests, and respond to questions on Discord and GitHub Discussions.
|
|
209
|
+
|
|
210
|
+
Refine is a community-driven project, and your contributions continually improve it.
|
|
211
|
+
|
|
212
|
+
<br/>
|
|
264
213
|
|
|
265
214
|
<a href="https://github.com/refinedev/refine/graphs/contributors">
|
|
266
215
|
<img src="https://contrib.rocks/image?repo=refinedev/refine&max=400&columns=20" />
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type AuthenticatedCommonProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Unique key to identify the component.
|
|
5
|
+
* This is required if you have multiple `Authenticated` components at the same level.
|
|
6
|
+
* @required
|
|
7
|
+
*/
|
|
8
|
+
key: React.Key;
|
|
9
|
+
/**
|
|
10
|
+
* Whether to redirect user if not logged in or not.
|
|
11
|
+
* If not set, user will be redirected to `redirectTo` property of the `check` function's response.
|
|
12
|
+
* This behavior is only available for new auth providers.
|
|
13
|
+
* Legacy auth providers will redirect to `/login` by default if this property is not set.
|
|
14
|
+
* If set to a string, user will be redirected to that string.
|
|
15
|
+
*
|
|
16
|
+
* This property only works if `fallback` is **not set**.
|
|
17
|
+
*/
|
|
18
|
+
redirectOnFail?: string | true;
|
|
19
|
+
/**
|
|
20
|
+
* Whether to append current path to search params of the redirect url at `to` property.
|
|
21
|
+
*
|
|
22
|
+
* By default, `to` parameter is used by successful invocations of the `useLogin` hook.
|
|
23
|
+
* If `to` present, it will be used as the redirect url after successful login.
|
|
24
|
+
*/
|
|
25
|
+
appendCurrentPathToQuery?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Content to show if user is not logged in.
|
|
28
|
+
*/
|
|
29
|
+
fallback?: React.ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Content to show while checking whether user is logged in or not.
|
|
32
|
+
*/
|
|
33
|
+
loading?: React.ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* Content to show if user is logged in
|
|
36
|
+
*/
|
|
37
|
+
children?: React.ReactNode;
|
|
38
|
+
};
|
|
39
|
+
export type LegacyAuthenticatedProps = {
|
|
40
|
+
v3LegacyAuthProviderCompatible: true;
|
|
41
|
+
} & AuthenticatedCommonProps;
|
|
42
|
+
export type AuthenticatedProps = {
|
|
43
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
44
|
+
} & AuthenticatedCommonProps;
|
|
45
|
+
/**
|
|
46
|
+
* `<Authenticated>` is the component form of {@link https://refine.dev/docs/api-reference/core/hooks/auth/useAuthenticated `useAuthenticated`}. It internally uses `useAuthenticated` to provide it's functionality.
|
|
47
|
+
*
|
|
48
|
+
* @requires {@link https://react.dev/learn/rendering-lists#why-does-react-need-keys `key`} prop if you have multiple components at the same level.
|
|
49
|
+
* In React, components don't automatically unmount and remount with prop changes, which is generally good for performance. However, for specific cases this can cause issues like unwanted content rendering (`fallback` or `children`). To solve this, assigning unique `key` values to each instance of component is necessary, forcing React to unmount and remount the component, rather than just updating its props.
|
|
50
|
+
* @example
|
|
51
|
+
*```tsx
|
|
52
|
+
* <Authenticated key="dashboard">
|
|
53
|
+
* <h1>Dashboard Page</h1>
|
|
54
|
+
* </Authenticated>
|
|
55
|
+
*```
|
|
56
|
+
*
|
|
57
|
+
* @see {@link https://refine.dev/docs/core/components/auth/authenticated `<Authenticated>`} component for more details.
|
|
58
|
+
*/
|
|
59
|
+
export declare function Authenticated(props: LegacyAuthenticatedProps): JSX.Element | null;
|
|
60
|
+
/**
|
|
61
|
+
* `<Authenticated>` is the component form of {@link https://refine.dev/docs/api-reference/core/hooks/auth/useAuthenticated `useAuthenticated`}. It internally uses `useAuthenticated` to provide it's functionality.
|
|
62
|
+
*
|
|
63
|
+
* @requires {@link https://react.dev/learn/rendering-lists#why-does-react-need-keys `key`} prop if you have multiple components at the same level.
|
|
64
|
+
* In React, components don't automatically unmount and remount with prop changes, which is generally good for performance. However, for specific cases this can cause issues like unwanted content rendering (`fallback` or `children`). To solve this, assigning unique `key` values to each instance of component is necessary, forcing React to unmount and remount the component, rather than just updating its props.
|
|
65
|
+
* @example
|
|
66
|
+
*```tsx
|
|
67
|
+
* <Authenticated key="dashboard">
|
|
68
|
+
* <h1>Dashboard Page</h1>
|
|
69
|
+
* </Authenticated>
|
|
70
|
+
*```
|
|
71
|
+
*
|
|
72
|
+
* @see {@link https://refine.dev/docs/core/components/auth/authenticated `<Authenticated>`} component for more details.
|
|
73
|
+
*/
|
|
74
|
+
export declare function Authenticated(props: AuthenticatedProps): JSX.Element | null;
|
|
75
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/authenticated/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;;OAIG;IACH,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC;IACf;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,8BAA8B,EAAE,IAAI,CAAC;CACtC,GAAG,wBAAwB,CAAC;AAE7B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,8BAA8B,CAAC,EAAE,KAAK,CAAC;CACxC,GAAG,wBAAwB,CAAC;AAE7B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,wBAAwB,GAC9B,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;AAEtB;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC"}
|