@refinedev/core 4.58.0 → 5.0.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 +33 -0
- package/README.md +3 -3
- package/dist/components/authenticated/index.d.cts +2 -25
- package/dist/components/authenticated/index.d.cts.map +1 -1
- package/dist/components/authenticated/index.d.mts +2 -25
- package/dist/components/authenticated/index.d.mts.map +2 -25
- package/dist/components/authenticated/index.d.ts +2 -25
- package/dist/components/authenticated/index.d.ts.map +1 -1
- package/dist/components/autoSaveIndicator/index.d.cts +3 -3
- package/dist/components/autoSaveIndicator/index.d.cts.map +1 -1
- package/dist/components/autoSaveIndicator/index.d.mts +3 -3
- package/dist/components/autoSaveIndicator/index.d.mts.map +3 -3
- package/dist/components/autoSaveIndicator/index.d.ts +3 -3
- package/dist/components/autoSaveIndicator/index.d.ts.map +1 -1
- package/dist/components/canAccess/index.d.cts +10 -3
- package/dist/components/canAccess/index.d.cts.map +1 -1
- package/dist/components/canAccess/index.d.mts +10 -3
- package/dist/components/canAccess/index.d.mts.map +10 -3
- package/dist/components/canAccess/index.d.ts +10 -3
- package/dist/components/canAccess/index.d.ts.map +1 -1
- package/dist/components/containers/refine/index.d.cts.map +1 -1
- package/dist/components/containers/refine/index.d.ts.map +1 -1
- package/dist/components/gh-banner/index.d.cts.map +1 -1
- package/dist/components/gh-banner/index.d.ts.map +1 -1
- package/dist/components/index.d.cts +0 -1
- package/dist/components/index.d.cts.map +1 -1
- package/dist/components/index.d.mts +0 -1
- package/dist/components/index.d.mts.map +0 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/link/index.d.cts.map +1 -1
- package/dist/components/link/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.cts.map +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/login/index.d.cts.map +1 -1
- package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/register/index.d.cts.map +1 -1
- package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.cts.map +1 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
- package/dist/components/pages/error/index.d.cts.map +1 -1
- package/dist/components/pages/error/index.d.ts.map +1 -1
- package/dist/components/pages/index.d.cts +0 -2
- package/dist/components/pages/index.d.cts.map +1 -1
- package/dist/components/pages/index.d.mts +0 -2
- package/dist/components/pages/index.d.mts.map +0 -2
- package/dist/components/pages/index.d.ts +0 -2
- package/dist/components/pages/index.d.ts.map +1 -1
- package/dist/components/routeChangeHandler/index.d.cts +0 -1
- package/dist/components/routeChangeHandler/index.d.cts.map +1 -1
- package/dist/components/routeChangeHandler/index.d.mts +0 -1
- package/dist/components/routeChangeHandler/index.d.mts.map +0 -1
- package/dist/components/routeChangeHandler/index.d.ts +0 -1
- package/dist/components/routeChangeHandler/index.d.ts.map +1 -1
- package/dist/contexts/accessControl/index.d.cts +0 -2
- package/dist/contexts/accessControl/index.d.cts.map +1 -1
- package/dist/contexts/accessControl/index.d.mts +0 -2
- package/dist/contexts/accessControl/index.d.mts.map +0 -2
- package/dist/contexts/accessControl/index.d.ts +0 -2
- package/dist/contexts/accessControl/index.d.ts.map +1 -1
- package/dist/contexts/accessControl/types.d.cts +9 -24
- package/dist/contexts/accessControl/types.d.cts.map +1 -1
- package/dist/contexts/accessControl/types.d.mts +9 -24
- package/dist/contexts/accessControl/types.d.mts.map +9 -24
- package/dist/contexts/accessControl/types.d.ts +9 -24
- package/dist/contexts/accessControl/types.d.ts.map +1 -1
- package/dist/contexts/auditLog/types.d.cts +1 -2
- package/dist/contexts/auditLog/types.d.cts.map +1 -1
- package/dist/contexts/auditLog/types.d.mts +1 -2
- package/dist/contexts/auditLog/types.d.mts.map +1 -2
- package/dist/contexts/auditLog/types.d.ts +1 -2
- package/dist/contexts/auditLog/types.d.ts.map +1 -1
- package/dist/contexts/auth/index.d.cts +4 -16
- package/dist/contexts/auth/index.d.cts.map +1 -1
- package/dist/contexts/auth/index.d.mts +4 -16
- package/dist/contexts/auth/index.d.mts.map +4 -16
- package/dist/contexts/auth/index.d.ts +4 -16
- package/dist/contexts/auth/index.d.ts.map +1 -1
- package/dist/contexts/auth/types.d.cts +0 -24
- package/dist/contexts/auth/types.d.cts.map +1 -1
- package/dist/contexts/auth/types.d.mts +0 -24
- package/dist/contexts/auth/types.d.mts.map +0 -24
- package/dist/contexts/auth/types.d.ts +0 -24
- package/dist/contexts/auth/types.d.ts.map +1 -1
- package/dist/contexts/data/types.d.cts +2 -71
- package/dist/contexts/data/types.d.cts.map +1 -1
- package/dist/contexts/data/types.d.mts +2 -71
- package/dist/contexts/data/types.d.mts.map +2 -71
- package/dist/contexts/data/types.d.ts +2 -71
- package/dist/contexts/data/types.d.ts.map +1 -1
- package/dist/contexts/i18n/index.d.cts +1 -3
- package/dist/contexts/i18n/index.d.cts.map +1 -1
- package/dist/contexts/i18n/index.d.mts +1 -3
- package/dist/contexts/i18n/index.d.mts.map +1 -3
- package/dist/contexts/i18n/index.d.ts +1 -3
- package/dist/contexts/i18n/index.d.ts.map +1 -1
- package/dist/contexts/live/types.d.cts +4 -24
- package/dist/contexts/live/types.d.cts.map +1 -1
- package/dist/contexts/live/types.d.mts +4 -24
- package/dist/contexts/live/types.d.mts.map +4 -24
- package/dist/contexts/live/types.d.ts +4 -24
- package/dist/contexts/live/types.d.ts.map +1 -1
- package/dist/contexts/metaContext/index.d.cts.map +1 -1
- package/dist/contexts/metaContext/index.d.ts.map +1 -1
- package/dist/contexts/notification/index.d.cts +0 -2
- package/dist/contexts/notification/index.d.cts.map +1 -1
- package/dist/contexts/notification/index.d.mts +0 -2
- package/dist/contexts/notification/index.d.mts.map +0 -2
- package/dist/contexts/notification/index.d.ts +0 -2
- package/dist/contexts/notification/index.d.ts.map +1 -1
- package/dist/contexts/refine/index.d.cts.map +1 -1
- package/dist/contexts/refine/index.d.ts.map +1 -1
- package/dist/contexts/refine/types.d.cts +12 -134
- package/dist/contexts/refine/types.d.cts.map +1 -1
- package/dist/contexts/refine/types.d.mts +12 -134
- package/dist/contexts/refine/types.d.mts.map +12 -134
- package/dist/contexts/refine/types.d.ts +12 -134
- package/dist/contexts/refine/types.d.ts.map +1 -1
- package/dist/contexts/resource/index.d.cts.map +1 -1
- package/dist/contexts/resource/index.d.ts.map +1 -1
- package/dist/contexts/resource/types.d.cts +9 -88
- package/dist/contexts/resource/types.d.cts.map +1 -1
- package/dist/contexts/resource/types.d.mts +9 -88
- package/dist/contexts/resource/types.d.mts.map +9 -88
- package/dist/contexts/resource/types.d.ts +9 -88
- package/dist/contexts/resource/types.d.ts.map +1 -1
- package/dist/contexts/router/types.d.cts +0 -1
- package/dist/contexts/router/types.d.cts.map +1 -1
- package/dist/contexts/router/types.d.mts +0 -1
- package/dist/contexts/router/types.d.mts.map +0 -1
- package/dist/contexts/router/types.d.ts +0 -1
- package/dist/contexts/router/types.d.ts.map +1 -1
- package/dist/contexts/undoableQueue/index.d.cts.map +1 -1
- package/dist/contexts/undoableQueue/index.d.ts.map +1 -1
- package/dist/contexts/undoableQueue/types.d.cts +0 -1
- package/dist/contexts/undoableQueue/types.d.cts.map +1 -1
- package/dist/contexts/undoableQueue/types.d.mts +0 -1
- package/dist/contexts/undoableQueue/types.d.mts.map +0 -1
- package/dist/contexts/undoableQueue/types.d.ts +0 -1
- package/dist/contexts/undoableQueue/types.d.ts.map +1 -1
- package/dist/definitions/helpers/async-debounce/index.d.cts.map +1 -1
- package/dist/definitions/helpers/async-debounce/index.d.ts.map +1 -1
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.cts +1 -2
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.cts.map +1 -1
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts +1 -2
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts.map +1 -2
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.ts +1 -2
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.ts.map +1 -1
- package/dist/definitions/helpers/defer-execution/index.d.cts.map +1 -1
- package/dist/definitions/helpers/defer-execution/index.d.ts.map +1 -1
- package/dist/definitions/helpers/downloadInBrowser/index.d.cts.map +1 -1
- package/dist/definitions/helpers/downloadInBrowser/index.d.ts.map +1 -1
- package/dist/definitions/helpers/flatten-object-keys/index.d.cts.map +1 -1
- package/dist/definitions/helpers/flatten-object-keys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.cts +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.cts.map +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.mts +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.mts.map +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.ts +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleMultiple/index.d.cts.map +1 -1
- package/dist/definitions/helpers/handleMultiple/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handlePaginationParams/index.d.cts +1 -3
- package/dist/definitions/helpers/handlePaginationParams/index.d.cts.map +1 -1
- package/dist/definitions/helpers/handlePaginationParams/index.d.mts +1 -3
- package/dist/definitions/helpers/handlePaginationParams/index.d.mts.map +1 -3
- package/dist/definitions/helpers/handlePaginationParams/index.d.ts +1 -3
- package/dist/definitions/helpers/handlePaginationParams/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleRefineOptions/index.d.cts +0 -1
- package/dist/definitions/helpers/handleRefineOptions/index.d.cts.map +1 -1
- package/dist/definitions/helpers/handleRefineOptions/index.d.mts +0 -1
- package/dist/definitions/helpers/handleRefineOptions/index.d.mts.map +0 -1
- package/dist/definitions/helpers/handleRefineOptions/index.d.ts +0 -1
- package/dist/definitions/helpers/handleRefineOptions/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleUseParams/index.d.cts.map +1 -1
- package/dist/definitions/helpers/handleUseParams/index.d.ts.map +1 -1
- package/dist/definitions/helpers/hasPermission/index.d.cts.map +1 -1
- package/dist/definitions/helpers/hasPermission/index.d.ts.map +1 -1
- package/dist/definitions/helpers/humanizeString/index.d.cts.map +1 -1
- package/dist/definitions/helpers/humanizeString/index.d.ts.map +1 -1
- package/dist/definitions/helpers/importCSVMapper/index.d.cts.map +1 -1
- package/dist/definitions/helpers/importCSVMapper/index.d.ts.map +1 -1
- package/dist/definitions/helpers/index.d.cts +0 -6
- package/dist/definitions/helpers/index.d.cts.map +1 -1
- package/dist/definitions/helpers/index.d.mts +0 -6
- package/dist/definitions/helpers/index.d.mts.map +0 -6
- package/dist/definitions/helpers/index.d.ts +0 -6
- package/dist/definitions/helpers/index.d.ts.map +1 -1
- package/dist/definitions/helpers/keys/index.d.cts +1 -2
- package/dist/definitions/helpers/keys/index.d.cts.map +1 -1
- package/dist/definitions/helpers/keys/index.d.mts +1 -2
- package/dist/definitions/helpers/keys/index.d.mts.map +1 -2
- package/dist/definitions/helpers/keys/index.d.ts +1 -2
- package/dist/definitions/helpers/keys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/menu/create-resource-key.d.cts +1 -1
- package/dist/definitions/helpers/menu/create-resource-key.d.cts.map +1 -1
- package/dist/definitions/helpers/menu/create-resource-key.d.mts +1 -1
- package/dist/definitions/helpers/menu/create-resource-key.d.mts.map +1 -1
- 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 +1 -1
- package/dist/definitions/helpers/menu/create-tree.d.cts.map +1 -1
- package/dist/definitions/helpers/menu/create-tree.d.mts +1 -1
- package/dist/definitions/helpers/menu/create-tree.d.mts.map +1 -1
- package/dist/definitions/helpers/menu/create-tree.d.ts +1 -1
- package/dist/definitions/helpers/menu/create-tree.d.ts.map +1 -1
- package/dist/definitions/helpers/pick-resource/index.d.cts +2 -2
- package/dist/definitions/helpers/pick-resource/index.d.cts.map +1 -1
- package/dist/definitions/helpers/pick-resource/index.d.mts +2 -2
- package/dist/definitions/helpers/pick-resource/index.d.mts.map +2 -2
- package/dist/definitions/helpers/pick-resource/index.d.ts +2 -2
- package/dist/definitions/helpers/pick-resource/index.d.ts.map +1 -1
- package/dist/definitions/helpers/pickDataProvider/index.d.cts.map +1 -1
- package/dist/definitions/helpers/pickDataProvider/index.d.ts.map +1 -1
- package/dist/definitions/helpers/prepare-query-context/index.d.cts +3 -1
- package/dist/definitions/helpers/prepare-query-context/index.d.cts.map +1 -1
- package/dist/definitions/helpers/prepare-query-context/index.d.mts +3 -1
- package/dist/definitions/helpers/prepare-query-context/index.d.mts.map +3 -1
- package/dist/definitions/helpers/prepare-query-context/index.d.ts +3 -1
- package/dist/definitions/helpers/prepare-query-context/index.d.ts.map +1 -1
- package/dist/definitions/helpers/property-path-to-array/index.d.cts.map +1 -1
- package/dist/definitions/helpers/property-path-to-array/index.d.ts.map +1 -1
- package/dist/definitions/helpers/redirectPage/index.d.cts.map +1 -1
- package/dist/definitions/helpers/redirectPage/index.d.ts.map +1 -1
- package/dist/definitions/helpers/router/check-by-segments.d.cts.map +1 -1
- package/dist/definitions/helpers/router/check-by-segments.d.ts.map +1 -1
- package/dist/definitions/helpers/router/compose-route.d.cts.map +1 -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 +1 -4
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.cts.map +1 -1
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts +1 -4
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts.map +1 -4
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts +1 -4
- 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 +0 -1
- package/dist/definitions/helpers/router/get-default-action-path.d.cts.map +1 -1
- package/dist/definitions/helpers/router/get-default-action-path.d.mts +0 -1
- package/dist/definitions/helpers/router/get-default-action-path.d.mts.map +0 -1
- package/dist/definitions/helpers/router/get-default-action-path.d.ts +0 -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 +1 -2
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.cts.map +1 -1
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts +1 -2
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts.map +1 -2
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.ts +1 -2
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-parent-resource.d.cts +1 -1
- package/dist/definitions/helpers/router/get-parent-resource.d.cts.map +1 -1
- package/dist/definitions/helpers/router/get-parent-resource.d.mts +1 -1
- package/dist/definitions/helpers/router/get-parent-resource.d.mts.map +1 -1
- 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/is-parameter.d.cts.map +1 -1
- package/dist/definitions/helpers/router/is-parameter.d.ts.map +1 -1
- package/dist/definitions/helpers/router/is-segment-counts-same.d.cts.map +1 -1
- package/dist/definitions/helpers/router/is-segment-counts-same.d.ts.map +1 -1
- package/dist/definitions/helpers/router/match-resource-from-route.d.cts.map +1 -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.map +1 -1
- package/dist/definitions/helpers/router/pick-matched-route.d.ts.map +1 -1
- package/dist/definitions/helpers/router/pick-route-params.d.cts.map +1 -1
- package/dist/definitions/helpers/router/pick-route-params.d.ts.map +1 -1
- package/dist/definitions/helpers/router/prepare-route-params.d.cts.map +1 -1
- package/dist/definitions/helpers/router/prepare-route-params.d.ts.map +1 -1
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.cts.map +1 -1
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.ts.map +1 -1
- package/dist/definitions/helpers/router/split-to-segments.d.cts.map +1 -1
- package/dist/definitions/helpers/router/split-to-segments.d.ts.map +1 -1
- package/dist/definitions/helpers/safe-translate/index.d.cts.map +1 -1
- package/dist/definitions/helpers/safe-translate/index.d.ts.map +1 -1
- package/dist/definitions/helpers/sanitize-resource/index.d.cts +1 -1
- package/dist/definitions/helpers/sanitize-resource/index.d.cts.map +1 -1
- package/dist/definitions/helpers/sanitize-resource/index.d.mts +1 -1
- package/dist/definitions/helpers/sanitize-resource/index.d.mts.map +1 -1
- 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.map +1 -1
- package/dist/definitions/helpers/sequentialPromises/index.d.ts.map +1 -1
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts +2 -30
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts.map +1 -1
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts +2 -30
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts.map +2 -30
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.ts +2 -30
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.ts.map +1 -1
- package/dist/definitions/helpers/useInfinitePagination/index.d.cts.map +1 -1
- package/dist/definitions/helpers/useInfinitePagination/index.d.ts.map +1 -1
- package/dist/definitions/helpers/useMediaQuery/index.d.cts.map +1 -1
- package/dist/definitions/helpers/useMediaQuery/index.d.ts.map +1 -1
- package/dist/definitions/helpers/userFriendlySeconds/index.d.cts.map +1 -1
- package/dist/definitions/helpers/userFriendlySeconds/index.d.ts.map +1 -1
- package/dist/definitions/table/index.d.cts +4 -3
- package/dist/definitions/table/index.d.cts.map +1 -1
- package/dist/definitions/table/index.d.mts +4 -3
- package/dist/definitions/table/index.d.mts.map +4 -3
- package/dist/definitions/table/index.d.ts +4 -3
- package/dist/definitions/table/index.d.ts.map +1 -1
- package/dist/definitions/types/index.d.cts +3 -1
- package/dist/definitions/types/index.d.cts.map +1 -1
- package/dist/definitions/types/index.d.mts +3 -1
- package/dist/definitions/types/index.d.mts.map +3 -1
- package/dist/definitions/types/index.d.ts +3 -1
- package/dist/definitions/types/index.d.ts.map +1 -1
- package/dist/definitions/upload/file2Base64/index.d.cts.map +1 -1
- package/dist/definitions/upload/file2Base64/index.d.ts.map +1 -1
- package/dist/hooks/accessControl/useCan/index.d.cts +4 -2
- package/dist/hooks/accessControl/useCan/index.d.cts.map +1 -1
- package/dist/hooks/accessControl/useCan/index.d.mts +4 -2
- package/dist/hooks/accessControl/useCan/index.d.mts.map +4 -2
- package/dist/hooks/accessControl/useCan/index.d.ts +4 -2
- package/dist/hooks/accessControl/useCan/index.d.ts.map +1 -1
- package/dist/hooks/auditLog/useLog/index.d.cts.map +1 -1
- package/dist/hooks/auditLog/useLog/index.d.ts.map +1 -1
- package/dist/hooks/auditLog/useLogList/index.d.cts +4 -4
- package/dist/hooks/auditLog/useLogList/index.d.cts.map +1 -1
- package/dist/hooks/auditLog/useLogList/index.d.mts +4 -4
- package/dist/hooks/auditLog/useLogList/index.d.mts.map +4 -4
- 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 +2 -2
- package/dist/hooks/auth/index.d.cts.map +1 -1
- package/dist/hooks/auth/index.d.mts +2 -2
- package/dist/hooks/auth/index.d.mts.map +2 -2
- package/dist/hooks/auth/index.d.ts +2 -2
- package/dist/hooks/auth/index.d.ts.map +1 -1
- package/dist/hooks/auth/useForgotPassword/index.d.cts +9 -14
- package/dist/hooks/auth/useForgotPassword/index.d.cts.map +1 -1
- package/dist/hooks/auth/useForgotPassword/index.d.mts +9 -14
- package/dist/hooks/auth/useForgotPassword/index.d.mts.map +9 -14
- package/dist/hooks/auth/useForgotPassword/index.d.ts +9 -14
- package/dist/hooks/auth/useForgotPassword/index.d.ts.map +1 -1
- package/dist/hooks/auth/useGetIdentity/index.d.cts +14 -19
- package/dist/hooks/auth/useGetIdentity/index.d.cts.map +1 -1
- package/dist/hooks/auth/useGetIdentity/index.d.mts +14 -19
- package/dist/hooks/auth/useGetIdentity/index.d.mts.map +14 -19
- package/dist/hooks/auth/useGetIdentity/index.d.ts +14 -19
- package/dist/hooks/auth/useGetIdentity/index.d.ts.map +1 -1
- package/dist/hooks/auth/useIsAuthenticated/index.d.cts +7 -17
- package/dist/hooks/auth/useIsAuthenticated/index.d.cts.map +1 -1
- package/dist/hooks/auth/useIsAuthenticated/index.d.mts +7 -17
- package/dist/hooks/auth/useIsAuthenticated/index.d.mts.map +7 -17
- package/dist/hooks/auth/useIsAuthenticated/index.d.ts +7 -17
- package/dist/hooks/auth/useIsAuthenticated/index.d.ts.map +1 -1
- package/dist/hooks/auth/useIsExistAuthentication/index.d.cts.map +1 -1
- package/dist/hooks/auth/useIsExistAuthentication/index.d.ts.map +1 -1
- package/dist/hooks/auth/useLogin/index.d.cts +11 -15
- package/dist/hooks/auth/useLogin/index.d.cts.map +1 -1
- package/dist/hooks/auth/useLogin/index.d.mts +11 -15
- package/dist/hooks/auth/useLogin/index.d.mts.map +11 -15
- package/dist/hooks/auth/useLogin/index.d.ts +11 -15
- package/dist/hooks/auth/useLogin/index.d.ts.map +1 -1
- package/dist/hooks/auth/useLogout/index.d.cts +8 -15
- package/dist/hooks/auth/useLogout/index.d.cts.map +1 -1
- package/dist/hooks/auth/useLogout/index.d.mts +8 -15
- package/dist/hooks/auth/useLogout/index.d.mts.map +8 -15
- package/dist/hooks/auth/useLogout/index.d.ts +8 -15
- package/dist/hooks/auth/useLogout/index.d.ts.map +1 -1
- package/dist/hooks/auth/useOnError/index.d.cts +5 -16
- package/dist/hooks/auth/useOnError/index.d.cts.map +1 -1
- package/dist/hooks/auth/useOnError/index.d.mts +5 -16
- package/dist/hooks/auth/useOnError/index.d.mts.map +5 -16
- package/dist/hooks/auth/useOnError/index.d.ts +5 -16
- package/dist/hooks/auth/useOnError/index.d.ts.map +1 -1
- package/dist/hooks/auth/usePermissions/index.d.cts +9 -16
- package/dist/hooks/auth/usePermissions/index.d.cts.map +1 -1
- package/dist/hooks/auth/usePermissions/index.d.mts +9 -16
- package/dist/hooks/auth/usePermissions/index.d.mts.map +9 -16
- package/dist/hooks/auth/usePermissions/index.d.ts +9 -16
- package/dist/hooks/auth/usePermissions/index.d.ts.map +1 -1
- package/dist/hooks/auth/useRegister/index.d.cts +10 -15
- package/dist/hooks/auth/useRegister/index.d.cts.map +1 -1
- package/dist/hooks/auth/useRegister/index.d.mts +10 -15
- package/dist/hooks/auth/useRegister/index.d.mts.map +10 -15
- package/dist/hooks/auth/useRegister/index.d.ts +10 -15
- package/dist/hooks/auth/useRegister/index.d.ts.map +1 -1
- package/dist/hooks/auth/useUpdatePassword/index.d.cts +12 -18
- package/dist/hooks/auth/useUpdatePassword/index.d.cts.map +1 -1
- package/dist/hooks/auth/useUpdatePassword/index.d.mts +12 -18
- package/dist/hooks/auth/useUpdatePassword/index.d.mts.map +12 -18
- package/dist/hooks/auth/useUpdatePassword/index.d.ts +12 -18
- package/dist/hooks/auth/useUpdatePassword/index.d.ts.map +1 -1
- package/dist/hooks/breadcrumb/index.d.cts.map +1 -1
- package/dist/hooks/breadcrumb/index.d.ts.map +1 -1
- package/dist/hooks/button/button-can-access/index.d.cts.map +1 -1
- package/dist/hooks/button/button-can-access/index.d.ts.map +1 -1
- package/dist/hooks/button/delete-button/index.d.cts.map +1 -1
- package/dist/hooks/button/delete-button/index.d.ts.map +1 -1
- package/dist/hooks/button/index.d.cts.map +1 -1
- package/dist/hooks/button/index.d.ts.map +1 -1
- package/dist/hooks/button/navigation-button/index.d.cts.map +1 -1
- package/dist/hooks/button/navigation-button/index.d.ts.map +1 -1
- package/dist/hooks/button/refresh-button/index.d.cts.map +1 -1
- package/dist/hooks/button/refresh-button/index.d.ts.map +1 -1
- package/dist/hooks/data/useApiUrl.d.cts.map +1 -1
- package/dist/hooks/data/useApiUrl.d.ts.map +1 -1
- package/dist/hooks/data/useCreate.d.cts +1 -4
- package/dist/hooks/data/useCreate.d.cts.map +1 -1
- package/dist/hooks/data/useCreate.d.mts +1 -4
- package/dist/hooks/data/useCreate.d.mts.map +1 -4
- package/dist/hooks/data/useCreate.d.ts +1 -4
- package/dist/hooks/data/useCreate.d.ts.map +1 -1
- package/dist/hooks/data/useCreateMany.d.cts +1 -2
- package/dist/hooks/data/useCreateMany.d.cts.map +1 -1
- package/dist/hooks/data/useCreateMany.d.mts +1 -2
- package/dist/hooks/data/useCreateMany.d.mts.map +1 -2
- package/dist/hooks/data/useCreateMany.d.ts +1 -2
- package/dist/hooks/data/useCreateMany.d.ts.map +1 -1
- package/dist/hooks/data/useCustom.d.cts +13 -10
- package/dist/hooks/data/useCustom.d.cts.map +1 -1
- package/dist/hooks/data/useCustom.d.mts +13 -10
- package/dist/hooks/data/useCustom.d.mts.map +13 -10
- package/dist/hooks/data/useCustom.d.ts +13 -10
- package/dist/hooks/data/useCustom.d.ts.map +1 -1
- package/dist/hooks/data/useCustomMutation.d.cts +8 -5
- package/dist/hooks/data/useCustomMutation.d.cts.map +1 -1
- package/dist/hooks/data/useCustomMutation.d.mts +8 -5
- package/dist/hooks/data/useCustomMutation.d.mts.map +8 -5
- package/dist/hooks/data/useCustomMutation.d.ts +8 -5
- package/dist/hooks/data/useCustomMutation.d.ts.map +1 -1
- package/dist/hooks/data/useDelete.d.cts +5 -4
- package/dist/hooks/data/useDelete.d.cts.map +1 -1
- package/dist/hooks/data/useDelete.d.mts +5 -4
- package/dist/hooks/data/useDelete.d.mts.map +5 -4
- 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 +5 -4
- package/dist/hooks/data/useDeleteMany.d.cts.map +1 -1
- package/dist/hooks/data/useDeleteMany.d.mts +5 -4
- package/dist/hooks/data/useDeleteMany.d.mts.map +5 -4
- 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 +22 -21
- package/dist/hooks/data/useInfiniteList.d.cts.map +1 -1
- package/dist/hooks/data/useInfiniteList.d.mts +22 -21
- package/dist/hooks/data/useInfiniteList.d.mts.map +22 -21
- package/dist/hooks/data/useInfiniteList.d.ts +22 -21
- package/dist/hooks/data/useInfiniteList.d.ts.map +1 -1
- package/dist/hooks/data/useList.d.cts +11 -24
- package/dist/hooks/data/useList.d.cts.map +1 -1
- package/dist/hooks/data/useList.d.mts +11 -24
- package/dist/hooks/data/useList.d.mts.map +11 -24
- package/dist/hooks/data/useList.d.ts +11 -24
- package/dist/hooks/data/useList.d.ts.map +1 -1
- package/dist/hooks/data/useMany.d.cts +11 -8
- package/dist/hooks/data/useMany.d.cts.map +1 -1
- package/dist/hooks/data/useMany.d.mts +11 -8
- package/dist/hooks/data/useMany.d.mts.map +11 -8
- package/dist/hooks/data/useMany.d.ts +11 -8
- package/dist/hooks/data/useMany.d.ts.map +1 -1
- package/dist/hooks/data/useOne.d.cts +9 -7
- package/dist/hooks/data/useOne.d.cts.map +1 -1
- package/dist/hooks/data/useOne.d.mts +9 -7
- package/dist/hooks/data/useOne.d.mts.map +9 -7
- package/dist/hooks/data/useOne.d.ts +9 -7
- package/dist/hooks/data/useOne.d.ts.map +1 -1
- package/dist/hooks/data/useUpdate.d.cts +1 -4
- package/dist/hooks/data/useUpdate.d.cts.map +1 -1
- package/dist/hooks/data/useUpdate.d.mts +1 -4
- package/dist/hooks/data/useUpdate.d.mts.map +1 -4
- package/dist/hooks/data/useUpdate.d.ts +1 -4
- package/dist/hooks/data/useUpdate.d.ts.map +1 -1
- package/dist/hooks/data/useUpdateMany.d.cts +1 -4
- package/dist/hooks/data/useUpdateMany.d.cts.map +1 -1
- package/dist/hooks/data/useUpdateMany.d.mts +1 -4
- package/dist/hooks/data/useUpdateMany.d.mts.map +1 -4
- package/dist/hooks/data/useUpdateMany.d.ts +1 -4
- package/dist/hooks/data/useUpdateMany.d.ts.map +1 -1
- package/dist/hooks/deepMemo/index.d.cts.map +1 -1
- package/dist/hooks/deepMemo/index.d.ts.map +1 -1
- package/dist/hooks/export/index.d.cts +24 -36
- package/dist/hooks/export/index.d.cts.map +1 -1
- package/dist/hooks/export/index.d.mts +24 -36
- package/dist/hooks/export/index.d.mts.map +24 -36
- package/dist/hooks/export/index.d.ts +24 -36
- package/dist/hooks/export/index.d.ts.map +1 -1
- package/dist/hooks/form/index.d.cts +1 -1
- package/dist/hooks/form/index.d.cts.map +1 -1
- package/dist/hooks/form/index.d.mts +1 -1
- package/dist/hooks/form/index.d.mts.map +1 -1
- package/dist/hooks/form/index.d.ts +1 -1
- package/dist/hooks/form/index.d.ts.map +1 -1
- package/dist/hooks/form/types.d.cts +4 -20
- package/dist/hooks/form/types.d.cts.map +1 -1
- package/dist/hooks/form/types.d.mts +4 -20
- package/dist/hooks/form/types.d.mts.map +4 -20
- package/dist/hooks/form/types.d.ts +4 -20
- package/dist/hooks/form/types.d.ts.map +1 -1
- package/dist/hooks/i18n/useGetLocale.d.cts +1 -1
- package/dist/hooks/i18n/useGetLocale.d.cts.map +1 -1
- package/dist/hooks/i18n/useGetLocale.d.mts +1 -1
- package/dist/hooks/i18n/useGetLocale.d.mts.map +1 -1
- package/dist/hooks/i18n/useGetLocale.d.ts +1 -1
- package/dist/hooks/i18n/useGetLocale.d.ts.map +1 -1
- package/dist/hooks/i18n/useTranslation.d.cts +3 -3
- package/dist/hooks/i18n/useTranslation.d.mts +3 -3
- package/dist/hooks/i18n/useTranslation.d.mts.map +3 -3
- package/dist/hooks/i18n/useTranslation.d.ts +3 -3
- package/dist/hooks/import/index.d.cts +1 -11
- package/dist/hooks/import/index.d.cts.map +1 -1
- package/dist/hooks/import/index.d.mts +1 -11
- package/dist/hooks/import/index.d.mts.map +1 -11
- package/dist/hooks/import/index.d.ts +1 -11
- package/dist/hooks/import/index.d.ts.map +1 -1
- package/dist/hooks/index.d.cts +0 -3
- package/dist/hooks/index.d.cts.map +1 -1
- package/dist/hooks/index.d.mts +0 -3
- package/dist/hooks/index.d.mts.map +0 -3
- package/dist/hooks/index.d.ts +0 -3
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/invalidate/index.d.cts.map +1 -1
- package/dist/hooks/invalidate/index.d.ts.map +1 -1
- package/dist/hooks/live/useLiveMode/index.d.cts.map +1 -1
- package/dist/hooks/live/useLiveMode/index.d.ts.map +1 -1
- package/dist/hooks/live/useResourceSubscription/index.d.cts +2 -23
- package/dist/hooks/live/useResourceSubscription/index.d.cts.map +1 -1
- package/dist/hooks/live/useResourceSubscription/index.d.mts +2 -23
- package/dist/hooks/live/useResourceSubscription/index.d.mts.map +2 -23
- package/dist/hooks/live/useResourceSubscription/index.d.ts +2 -23
- package/dist/hooks/live/useResourceSubscription/index.d.ts.map +1 -1
- package/dist/hooks/live/useSubscription/index.d.cts +2 -23
- package/dist/hooks/live/useSubscription/index.d.cts.map +1 -1
- package/dist/hooks/live/useSubscription/index.d.mts +2 -23
- package/dist/hooks/live/useSubscription/index.d.mts.map +2 -23
- package/dist/hooks/live/useSubscription/index.d.ts +2 -23
- package/dist/hooks/live/useSubscription/index.d.ts.map +1 -1
- package/dist/hooks/memoized/index.d.cts.map +1 -1
- package/dist/hooks/memoized/index.d.ts.map +1 -1
- package/dist/hooks/menu/useMenu.d.cts.map +1 -1
- package/dist/hooks/menu/useMenu.d.ts.map +1 -1
- package/dist/hooks/modal/useModal/index.d.cts.map +1 -1
- package/dist/hooks/modal/useModal/index.d.ts.map +1 -1
- package/dist/hooks/navigation/index.d.cts +11 -14
- package/dist/hooks/navigation/index.d.cts.map +1 -1
- package/dist/hooks/navigation/index.d.mts +11 -14
- package/dist/hooks/navigation/index.d.mts.map +11 -14
- package/dist/hooks/navigation/index.d.ts +11 -14
- package/dist/hooks/navigation/index.d.ts.map +1 -1
- package/dist/hooks/notification/useCancelNotification/index.d.cts +0 -1
- package/dist/hooks/notification/useCancelNotification/index.d.cts.map +1 -1
- package/dist/hooks/notification/useCancelNotification/index.d.mts +0 -1
- package/dist/hooks/notification/useCancelNotification/index.d.mts.map +0 -1
- package/dist/hooks/notification/useCancelNotification/index.d.ts +0 -1
- package/dist/hooks/notification/useCancelNotification/index.d.ts.map +1 -1
- package/dist/hooks/redirection/index.d.cts +2 -2
- package/dist/hooks/redirection/index.d.cts.map +1 -1
- package/dist/hooks/redirection/index.d.mts +2 -2
- package/dist/hooks/redirection/index.d.mts.map +2 -2
- package/dist/hooks/redirection/index.d.ts +2 -2
- package/dist/hooks/redirection/index.d.ts.map +1 -1
- package/dist/hooks/refine/index.d.cts +0 -1
- package/dist/hooks/refine/index.d.cts.map +1 -1
- package/dist/hooks/refine/index.d.mts +0 -1
- package/dist/hooks/refine/index.d.mts.map +0 -1
- package/dist/hooks/refine/index.d.ts +0 -1
- package/dist/hooks/refine/index.d.ts.map +1 -1
- package/dist/hooks/refine/useRefineContext.d.cts +2 -11
- package/dist/hooks/refine/useRefineContext.d.cts.map +1 -1
- package/dist/hooks/refine/useRefineContext.d.mts +2 -11
- package/dist/hooks/refine/useRefineContext.d.mts.map +2 -11
- package/dist/hooks/refine/useRefineContext.d.ts +2 -11
- package/dist/hooks/refine/useRefineContext.d.ts.map +1 -1
- package/dist/hooks/router/use-get-to-path/index.d.cts +0 -1
- package/dist/hooks/router/use-get-to-path/index.d.cts.map +1 -1
- package/dist/hooks/router/use-get-to-path/index.d.mts +0 -1
- package/dist/hooks/router/use-get-to-path/index.d.mts.map +0 -1
- package/dist/hooks/router/use-get-to-path/index.d.ts +0 -1
- package/dist/hooks/router/use-get-to-path/index.d.ts.map +1 -1
- package/dist/hooks/router/use-go/index.d.cts.map +1 -1
- package/dist/hooks/router/use-go/index.d.ts.map +1 -1
- package/dist/hooks/router/use-link/index.d.cts +2 -3
- package/dist/hooks/router/use-link/index.d.cts.map +1 -1
- package/dist/hooks/router/use-link/index.d.mts +2 -3
- package/dist/hooks/router/use-link/index.d.mts.map +2 -3
- package/dist/hooks/router/use-link/index.d.ts +2 -3
- package/dist/hooks/router/use-link/index.d.ts.map +1 -1
- package/dist/hooks/router/use-parsed/index.d.cts.map +1 -1
- package/dist/hooks/router/use-parsed/index.d.ts.map +1 -1
- package/dist/hooks/router/use-router-misuse-warning/index.d.cts.map +1 -1
- package/dist/hooks/router/use-router-misuse-warning/index.d.ts.map +1 -1
- package/dist/hooks/router/use-to-path/index.d.cts +1 -2
- package/dist/hooks/router/use-to-path/index.d.cts.map +1 -1
- package/dist/hooks/router/use-to-path/index.d.mts +1 -2
- package/dist/hooks/router/use-to-path/index.d.mts.map +1 -2
- package/dist/hooks/router/use-to-path/index.d.ts +1 -2
- package/dist/hooks/router/use-to-path/index.d.ts.map +1 -1
- package/dist/hooks/show/index.d.cts +2 -2
- package/dist/hooks/show/index.d.cts.map +1 -1
- package/dist/hooks/show/index.d.mts +2 -2
- package/dist/hooks/show/index.d.mts.map +2 -2
- package/dist/hooks/show/index.d.ts +2 -2
- package/dist/hooks/show/index.d.ts.map +1 -1
- package/dist/hooks/show/types.d.cts +3 -16
- package/dist/hooks/show/types.d.cts.map +1 -1
- package/dist/hooks/show/types.d.mts +3 -16
- package/dist/hooks/show/types.d.mts.map +3 -16
- package/dist/hooks/show/types.d.ts +3 -16
- package/dist/hooks/show/types.d.ts.map +1 -1
- package/dist/hooks/use-resource-params/index.d.cts +3 -0
- package/dist/hooks/use-resource-params/index.d.cts.map +1 -1
- package/dist/hooks/use-resource-params/index.d.mts +3 -0
- package/dist/hooks/use-resource-params/index.d.mts.map +3 -0
- package/dist/hooks/use-resource-params/index.d.ts +3 -0
- package/dist/hooks/use-resource-params/index.d.ts.map +1 -1
- package/dist/hooks/use-resource-params/use-action/index.d.cts +1 -3
- package/dist/hooks/use-resource-params/use-action/index.d.cts.map +1 -1
- package/dist/hooks/use-resource-params/use-action/index.d.mts +1 -3
- package/dist/hooks/use-resource-params/use-action/index.d.mts.map +1 -3
- package/dist/hooks/use-resource-params/use-action/index.d.ts +1 -3
- package/dist/hooks/use-resource-params/use-action/index.d.ts.map +1 -1
- package/dist/hooks/use-resource-params/use-id/index.d.cts +1 -3
- package/dist/hooks/use-resource-params/use-id/index.d.cts.map +1 -1
- package/dist/hooks/use-resource-params/use-id/index.d.mts +1 -3
- package/dist/hooks/use-resource-params/use-id/index.d.mts.map +1 -3
- package/dist/hooks/use-resource-params/use-id/index.d.ts +1 -3
- package/dist/hooks/use-resource-params/use-id/index.d.ts.map +1 -1
- package/dist/hooks/use-resource-params/use-resource/index.d.cts +34 -0
- package/dist/hooks/use-resource-params/use-resource/index.d.cts.map +1 -0
- package/dist/hooks/use-resource-params/use-resource/index.d.mts +34 -0
- package/dist/hooks/use-resource-params/use-resource/index.d.mts.map +34 -0
- package/dist/hooks/use-resource-params/use-resource/index.d.ts +34 -0
- package/dist/hooks/use-resource-params/use-resource/index.d.ts.map +1 -0
- package/dist/hooks/useKeys/index.d.cts +0 -1
- package/dist/hooks/useKeys/index.d.cts.map +1 -1
- package/dist/hooks/useKeys/index.d.mts +0 -1
- package/dist/hooks/useKeys/index.d.mts.map +0 -1
- package/dist/hooks/useKeys/index.d.ts +0 -1
- package/dist/hooks/useKeys/index.d.ts.map +1 -1
- package/dist/hooks/useLoadingOvertime/index.d.cts.map +1 -1
- package/dist/hooks/useLoadingOvertime/index.d.ts.map +1 -1
- package/dist/hooks/useSelect/index.d.cts +6 -33
- package/dist/hooks/useSelect/index.d.cts.map +1 -1
- package/dist/hooks/useSelect/index.d.mts +6 -33
- package/dist/hooks/useSelect/index.d.mts.map +6 -33
- package/dist/hooks/useSelect/index.d.ts +6 -33
- package/dist/hooks/useSelect/index.d.ts.map +1 -1
- package/dist/hooks/useTable/index.d.cts +10 -72
- package/dist/hooks/useTable/index.d.cts.map +1 -1
- package/dist/hooks/useTable/index.d.mts +10 -72
- package/dist/hooks/useTable/index.d.mts.map +10 -72
- package/dist/hooks/useTable/index.d.ts +10 -72
- package/dist/hooks/useTable/index.d.ts.map +1 -1
- package/dist/hooks/useTelemetryData/index.d.cts.map +1 -1
- package/dist/hooks/useTelemetryData/index.d.ts.map +1 -1
- package/dist/index.cjs +18 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -8
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +7 -8
- package/dist/index.d.mts.map +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +18 -24
- package/dist/index.mjs.map +1 -1
- package/package.json +22 -19
- package/src/components/authenticated/index.tsx +8 -84
- package/src/components/autoSaveIndicator/index.tsx +7 -4
- package/src/components/canAccess/index.tsx +14 -3
- package/src/components/containers/refine/index.tsx +52 -123
- package/src/components/index.ts +0 -1
- package/src/components/pages/auth/components/forgotPassword/index.tsx +4 -14
- package/src/components/pages/auth/components/login/index.tsx +3 -17
- package/src/components/pages/auth/components/register/index.tsx +4 -19
- package/src/components/pages/auth/components/updatePassword/index.tsx +3 -5
- package/src/components/pages/error/index.tsx +3 -15
- package/src/components/pages/index.tsx +0 -2
- package/src/components/routeChangeHandler/index.tsx +9 -9
- package/src/contexts/accessControl/index.tsx +0 -3
- package/src/contexts/accessControl/types.ts +16 -24
- package/src/contexts/auditLog/types.ts +1 -2
- package/src/contexts/auth/index.tsx +15 -98
- package/src/contexts/auth/types.ts +0 -27
- package/src/contexts/data/types.ts +1 -73
- package/src/contexts/i18n/index.tsx +1 -4
- package/src/contexts/live/types.ts +2 -27
- package/src/contexts/notification/index.tsx +0 -3
- package/src/contexts/refine/index.tsx +0 -31
- package/src/contexts/refine/types.ts +13 -136
- package/src/contexts/resource/index.tsx +1 -2
- package/src/contexts/resource/types.ts +8 -107
- package/src/definitions/helpers/check-router-prop-misuse/index.ts +1 -4
- package/src/definitions/helpers/generateDocumentTitle/index.ts +7 -6
- package/src/definitions/helpers/handlePaginationParams/index.ts +4 -12
- package/src/definitions/helpers/handleRefineOptions/index.ts +1 -4
- package/src/definitions/helpers/index.ts +0 -6
- package/src/definitions/helpers/keys/index.ts +2 -92
- package/src/definitions/helpers/menu/create-resource-key.ts +1 -6
- package/src/definitions/helpers/menu/create-tree.ts +4 -15
- package/src/definitions/helpers/pick-resource/index.ts +1 -20
- package/src/definitions/helpers/pickDataProvider/index.ts +1 -2
- package/src/definitions/helpers/prepare-query-context/index.ts +8 -4
- package/src/definitions/helpers/router/__tests__/get-action-routes-from-resource.ts +7 -79
- package/src/definitions/helpers/router/__tests__/get-parent-prefix-for-resource.ts +0 -27
- package/src/definitions/helpers/router/__tests__/get-parent-resource.ts +1 -1
- package/src/definitions/helpers/router/__tests__/match-resource-from-route.ts +4 -16
- package/src/definitions/helpers/router/get-action-routes-from-resource.ts +1 -32
- package/src/definitions/helpers/router/get-default-action-path.ts +0 -1
- package/src/definitions/helpers/router/get-parent-prefix-for-resource.ts +1 -7
- package/src/definitions/helpers/router/get-parent-resource.ts +2 -7
- package/src/definitions/helpers/sanitize-resource/index.ts +5 -5
- package/src/definitions/helpers/useActiveAuthProvider/index.ts +4 -19
- package/src/definitions/helpers/useInfinitePagination/index.ts +2 -2
- package/src/definitions/table/__snapshots__/index.spec.ts.snap +4 -4
- package/src/definitions/table/index.ts +18 -10
- package/src/definitions/types/index.ts +5 -4
- package/src/hooks/accessControl/useCan/index.ts +8 -5
- package/src/hooks/auditLog/useLog/index.ts +31 -42
- package/src/hooks/auditLog/useLogList/index.ts +10 -9
- package/src/hooks/auth/index.ts +2 -2
- package/src/hooks/auth/useForgotPassword/index.ts +15 -121
- package/src/hooks/auth/useGetIdentity/index.ts +17 -74
- package/src/hooks/auth/useInvalidateAuthStore/index.ts +4 -4
- package/src/hooks/auth/useIsAuthenticated/index.ts +23 -70
- package/src/hooks/auth/useIsExistAuthentication/index.ts +3 -4
- package/src/hooks/auth/useLogin/index.ts +17 -152
- package/src/hooks/auth/useLogout/index.ts +17 -132
- package/src/hooks/auth/useOnError/index.ts +12 -82
- package/src/hooks/auth/usePermissions/index.ts +11 -88
- package/src/hooks/auth/useRegister/index.ts +18 -127
- package/src/hooks/auth/useUpdatePassword/index.ts +24 -163
- package/src/hooks/breadcrumb/index.ts +7 -23
- package/src/hooks/button/delete-button/index.tsx +4 -3
- package/src/hooks/button/navigation-button/index.tsx +2 -9
- package/src/hooks/button/refresh-button/index.tsx +3 -6
- package/src/hooks/data/useApiUrl.ts +3 -5
- package/src/hooks/data/useCreate.ts +11 -25
- package/src/hooks/data/useCreateMany.ts +11 -21
- package/src/hooks/data/useCustom.ts +64 -51
- package/src/hooks/data/useCustomMutation.ts +97 -88
- package/src/hooks/data/useDelete.ts +63 -61
- package/src/hooks/data/useDeleteMany.ts +69 -69
- package/src/hooks/data/useInfiniteList.ts +117 -86
- package/src/hooks/data/useList.ts +78 -89
- package/src/hooks/data/useMany.ts +70 -52
- package/src/hooks/data/useOne.ts +72 -64
- package/src/hooks/data/useUpdate.ts +44 -61
- package/src/hooks/data/useUpdateMany.ts +43 -62
- package/src/hooks/export/index.ts +55 -106
- package/src/hooks/form/index.ts +8 -13
- package/src/hooks/form/types.ts +12 -27
- package/src/hooks/i18n/useGetLocale.ts +8 -2
- package/src/hooks/import/index.tsx +6 -23
- package/src/hooks/index.ts +0 -3
- package/src/hooks/invalidate/index.tsx +29 -29
- package/src/hooks/live/useResourceSubscription/index.ts +5 -28
- package/src/hooks/live/useSubscription/index.ts +1 -24
- package/src/hooks/menu/useMenu.tsx +20 -29
- package/src/hooks/navigation/index.ts +14 -188
- package/src/hooks/redirection/index.ts +3 -3
- package/src/hooks/refine/index.ts +0 -1
- package/src/hooks/refine/useRefineContext.ts +4 -20
- package/src/hooks/router/use-get-to-path/index.ts +2 -6
- package/src/hooks/router/use-go/index.tsx +2 -2
- package/src/hooks/router/use-to-path/index.ts +1 -3
- package/src/hooks/show/index.ts +3 -8
- package/src/hooks/show/types.ts +9 -28
- package/src/hooks/use-resource-params/index.ts +18 -4
- package/src/hooks/use-resource-params/use-action/index.tsx +2 -14
- package/src/hooks/use-resource-params/use-id/index.tsx +2 -13
- package/src/hooks/use-resource-params/use-resource/index.ts +113 -0
- package/src/hooks/useKeys/index.tsx +0 -6
- package/src/hooks/useMeta/index.ts +1 -1
- package/src/hooks/useSelect/index.ts +66 -84
- package/src/hooks/useTable/index.ts +79 -231
- package/src/hooks/useTelemetryData/index.ts +7 -8
- package/src/index.tsx +2 -30
- package/tasks.md +354 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.cts +0 -4
- package/dist/components/layoutWrapper/defaultLayout/index.d.cts.map +0 -1
- package/dist/components/layoutWrapper/defaultLayout/index.d.mts +0 -4
- package/dist/components/layoutWrapper/defaultLayout/index.d.mts.map +0 -4
- package/dist/components/layoutWrapper/defaultLayout/index.d.ts +0 -4
- package/dist/components/layoutWrapper/defaultLayout/index.d.ts.map +0 -1
- package/dist/components/layoutWrapper/index.d.cts +0 -46
- package/dist/components/layoutWrapper/index.d.cts.map +0 -1
- package/dist/components/layoutWrapper/index.d.mts +0 -46
- package/dist/components/layoutWrapper/index.d.mts.map +0 -46
- package/dist/components/layoutWrapper/index.d.ts +0 -46
- package/dist/components/layoutWrapper/index.d.ts.map +0 -1
- package/dist/components/pages/login/index.d.cts +0 -13
- package/dist/components/pages/login/index.d.cts.map +0 -1
- package/dist/components/pages/login/index.d.mts +0 -13
- package/dist/components/pages/login/index.d.mts.map +0 -13
- package/dist/components/pages/login/index.d.ts +0 -13
- package/dist/components/pages/login/index.d.ts.map +0 -1
- package/dist/components/pages/ready/index.d.cts +0 -8
- package/dist/components/pages/ready/index.d.cts.map +0 -1
- package/dist/components/pages/ready/index.d.mts +0 -8
- package/dist/components/pages/ready/index.d.mts.map +0 -8
- package/dist/components/pages/ready/index.d.ts +0 -8
- package/dist/components/pages/ready/index.d.ts.map +0 -1
- package/dist/contexts/router/legacy/index.d.cts +0 -6
- package/dist/contexts/router/legacy/index.d.cts.map +0 -1
- package/dist/contexts/router/legacy/index.d.mts +0 -6
- package/dist/contexts/router/legacy/index.d.mts.map +0 -6
- package/dist/contexts/router/legacy/index.d.ts +0 -6
- package/dist/contexts/router/legacy/index.d.ts.map +0 -1
- package/dist/contexts/router/legacy/types.d.cts +0 -47
- package/dist/contexts/router/legacy/types.d.cts.map +0 -1
- package/dist/contexts/router/legacy/types.d.mts +0 -47
- package/dist/contexts/router/legacy/types.d.mts.map +0 -47
- package/dist/contexts/router/legacy/types.d.ts +0 -47
- package/dist/contexts/router/legacy/types.d.ts.map +0 -1
- package/dist/contexts/router/picker/index.d.cts +0 -15
- package/dist/contexts/router/picker/index.d.cts.map +0 -1
- package/dist/contexts/router/picker/index.d.mts +0 -15
- package/dist/contexts/router/picker/index.d.mts.map +0 -15
- package/dist/contexts/router/picker/index.d.ts +0 -15
- package/dist/contexts/router/picker/index.d.ts.map +0 -1
- package/dist/definitions/helpers/legacy-resource-transform/index.d.cts +0 -9
- package/dist/definitions/helpers/legacy-resource-transform/index.d.cts.map +0 -1
- package/dist/definitions/helpers/legacy-resource-transform/index.d.mts +0 -9
- package/dist/definitions/helpers/legacy-resource-transform/index.d.mts.map +0 -9
- package/dist/definitions/helpers/legacy-resource-transform/index.d.ts +0 -9
- package/dist/definitions/helpers/legacy-resource-transform/index.d.ts.map +0 -1
- package/dist/definitions/helpers/pickNotDeprecated/index.d.cts +0 -2
- package/dist/definitions/helpers/pickNotDeprecated/index.d.cts.map +0 -1
- package/dist/definitions/helpers/pickNotDeprecated/index.d.mts +0 -2
- package/dist/definitions/helpers/pickNotDeprecated/index.d.mts.map +0 -2
- package/dist/definitions/helpers/pickNotDeprecated/index.d.ts +0 -2
- package/dist/definitions/helpers/pickNotDeprecated/index.d.ts.map +0 -1
- package/dist/definitions/helpers/queryKeys/index.d.cts +0 -7
- package/dist/definitions/helpers/queryKeys/index.d.cts.map +0 -1
- package/dist/definitions/helpers/queryKeys/index.d.mts +0 -7
- package/dist/definitions/helpers/queryKeys/index.d.mts.map +0 -7
- package/dist/definitions/helpers/queryKeys/index.d.ts +0 -7
- package/dist/definitions/helpers/queryKeys/index.d.ts.map +0 -1
- package/dist/definitions/helpers/routeGenerator/index.d.cts +0 -7
- package/dist/definitions/helpers/routeGenerator/index.d.cts.map +0 -1
- package/dist/definitions/helpers/routeGenerator/index.d.mts +0 -7
- package/dist/definitions/helpers/routeGenerator/index.d.mts.map +0 -7
- package/dist/definitions/helpers/routeGenerator/index.d.ts +0 -7
- package/dist/definitions/helpers/routeGenerator/index.d.ts.map +0 -1
- package/dist/definitions/helpers/treeView/createTreeView/index.d.cts +0 -6
- package/dist/definitions/helpers/treeView/createTreeView/index.d.cts.map +0 -1
- package/dist/definitions/helpers/treeView/createTreeView/index.d.mts +0 -6
- package/dist/definitions/helpers/treeView/createTreeView/index.d.mts.map +0 -6
- package/dist/definitions/helpers/treeView/createTreeView/index.d.ts +0 -6
- package/dist/definitions/helpers/treeView/createTreeView/index.d.ts.map +0 -1
- package/dist/definitions/helpers/treeView/index.d.cts +0 -2
- package/dist/definitions/helpers/treeView/index.d.cts.map +0 -1
- package/dist/definitions/helpers/treeView/index.d.mts +0 -2
- package/dist/definitions/helpers/treeView/index.d.mts.map +0 -2
- package/dist/definitions/helpers/treeView/index.d.ts +0 -2
- package/dist/definitions/helpers/treeView/index.d.ts.map +0 -1
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.cts +0 -7
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.cts.map +0 -1
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts +0 -7
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts.map +0 -7
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.ts +0 -7
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.ts.map +0 -1
- package/dist/hooks/legacy-router/index.d.cts +0 -2
- package/dist/hooks/legacy-router/index.d.cts.map +0 -1
- package/dist/hooks/legacy-router/index.d.mts +0 -2
- package/dist/hooks/legacy-router/index.d.mts.map +0 -2
- package/dist/hooks/legacy-router/index.d.ts +0 -2
- package/dist/hooks/legacy-router/index.d.ts.map +0 -1
- package/dist/hooks/legacy-router/useRouterContext.d.cts +0 -10
- package/dist/hooks/legacy-router/useRouterContext.d.cts.map +0 -1
- package/dist/hooks/legacy-router/useRouterContext.d.mts +0 -10
- package/dist/hooks/legacy-router/useRouterContext.d.mts.map +0 -10
- package/dist/hooks/legacy-router/useRouterContext.d.ts +0 -10
- package/dist/hooks/legacy-router/useRouterContext.d.ts.map +0 -1
- package/dist/hooks/refine/useTitle.d.cts +0 -10
- package/dist/hooks/refine/useTitle.d.cts.map +0 -1
- package/dist/hooks/refine/useTitle.d.mts +0 -10
- package/dist/hooks/refine/useTitle.d.mts.map +0 -10
- package/dist/hooks/refine/useTitle.d.ts +0 -10
- package/dist/hooks/refine/useTitle.d.ts.map +0 -1
- package/dist/hooks/resource/index.d.cts +0 -3
- package/dist/hooks/resource/index.d.cts.map +0 -1
- package/dist/hooks/resource/index.d.mts +0 -3
- package/dist/hooks/resource/index.d.mts.map +0 -3
- package/dist/hooks/resource/index.d.ts +0 -3
- package/dist/hooks/resource/index.d.ts.map +0 -1
- package/dist/hooks/resource/useResource/index.d.cts +0 -63
- package/dist/hooks/resource/useResource/index.d.cts.map +0 -1
- package/dist/hooks/resource/useResource/index.d.mts +0 -63
- package/dist/hooks/resource/useResource/index.d.mts.map +0 -63
- package/dist/hooks/resource/useResource/index.d.ts +0 -63
- package/dist/hooks/resource/useResource/index.d.ts.map +0 -1
- package/dist/hooks/resource/useResourceWithRoute/index.d.cts +0 -8
- package/dist/hooks/resource/useResourceWithRoute/index.d.cts.map +0 -1
- package/dist/hooks/resource/useResourceWithRoute/index.d.mts +0 -8
- package/dist/hooks/resource/useResourceWithRoute/index.d.mts.map +0 -8
- package/dist/hooks/resource/useResourceWithRoute/index.d.ts +0 -8
- package/dist/hooks/resource/useResourceWithRoute/index.d.ts.map +0 -1
- package/src/components/layoutWrapper/defaultLayout/index.tsx +0 -7
- package/src/components/layoutWrapper/index.tsx +0 -122
- package/src/components/pages/login/index.tsx +0 -77
- package/src/components/pages/ready/index.tsx +0 -30
- package/src/contexts/router/legacy/index.tsx +0 -41
- package/src/contexts/router/legacy/types.ts +0 -50
- package/src/contexts/router/picker/index.tsx +0 -21
- package/src/definitions/helpers/legacy-resource-transform/index.ts +0 -29
- package/src/definitions/helpers/pickNotDeprecated/index.ts +0 -9
- package/src/definitions/helpers/queryKeys/index.ts +0 -114
- package/src/definitions/helpers/routeGenerator/index.ts +0 -29
- package/src/definitions/helpers/treeView/createTreeView/index.ts +0 -49
- package/src/definitions/helpers/treeView/index.ts +0 -1
- package/src/definitions/helpers/userFriendlyResourceName/index.ts +0 -18
- package/src/hooks/legacy-router/index.ts +0 -1
- package/src/hooks/legacy-router/useRouterContext.ts +0 -19
- package/src/hooks/refine/useTitle.tsx +0 -17
- package/src/hooks/resource/index.ts +0 -2
- package/src/hooks/resource/useResource/index.ts +0 -198
- package/src/hooks/resource/useResourceWithRoute/index.ts +0 -29
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/redirectPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,KAAK,iBAAiB,GAAG;IACvB,iBAAiB,CAAC,EAAE,cAAc,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,qBAAqB,CAAC,UAAU,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/redirectPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,KAAK,iBAAiB,GAAG;IACvB,iBAAiB,CAAC,EAAE,cAAc,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,qBAAqB,CAAC,UAAU,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,iDAI1B,iBAAiB,KAAG,cAetB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/redirectPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,KAAK,iBAAiB,GAAG;IACvB,iBAAiB,CAAC,EAAE,cAAc,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,qBAAqB,CAAC,UAAU,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/redirectPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,KAAK,iBAAiB,GAAG;IACvB,iBAAiB,CAAC,EAAE,cAAc,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,qBAAqB,CAAC,UAAU,CAAC,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,iDAI1B,iBAAiB,KAAG,cAetB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-by-segments.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/check-by-segments.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"check-by-segments.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/check-by-segments.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,EAAE,eAAe,MAAM,YAenE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-by-segments.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/check-by-segments.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"check-by-segments.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/check-by-segments.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,EAAE,eAAe,MAAM,YAenE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/compose-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAIpE;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"compose-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/compose-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAIpE;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,GACvB,iBAAiB,MAAM,EACvB,eAAc,SAAc,EAC5B,SAAQ,aAAkB,EAC1B,OAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,KACjC,MAsBF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/compose-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAIpE;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"compose-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/compose-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAIpE;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,GACvB,iBAAiB,MAAM,EACvB,eAAc,SAAc,EAC5B,SAAQ,aAAkB,EAC1B,OAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,KACjC,MAsBF,CAAC"}
|
|
@@ -7,10 +7,7 @@ export type ResourceActionRoute = {
|
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* This function returns all the routes for available actions for a resource.
|
|
10
|
-
* - If the action is a function, it means we're fallbacking to default path for the action
|
|
11
|
-
* - If the action is a string, it means we don't have the component, but we have the route
|
|
12
|
-
* - If the action is an object, it means we have the component and the route
|
|
13
10
|
* - It will return an array of objects with the action, the resource and the route
|
|
14
11
|
*/
|
|
15
|
-
export declare const getActionRoutesFromResource: (resource: IResourceItem, resources: IResourceItem[]
|
|
12
|
+
export declare const getActionRoutesFromResource: (resource: IResourceItem, resources: IResourceItem[]) => ResourceActionRoute[];
|
|
16
13
|
//# sourceMappingURL=get-action-routes-from-resource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-routes-from-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-action-routes-from-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"get-action-routes-from-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-action-routes-from-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE7D,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,aAAa,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GACtC,UAAU,aAAa,EACvB,WAAW,aAAa,EAAE,0BAmB3B,CAAC"}
|
|
@@ -7,10 +7,7 @@ export type ResourceActionRoute = {
|
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* This function returns all the routes for available actions for a resource.
|
|
10
|
-
* - If the action is a function, it means we're fallbacking to default path for the action
|
|
11
|
-
* - If the action is a string, it means we don't have the component, but we have the route
|
|
12
|
-
* - If the action is an object, it means we have the component and the route
|
|
13
10
|
* - It will return an array of objects with the action, the resource and the route
|
|
14
11
|
*/
|
|
15
|
-
export declare const getActionRoutesFromResource: (resource: IResourceItem, resources: IResourceItem[]
|
|
12
|
+
export declare const getActionRoutesFromResource: (resource: IResourceItem, resources: IResourceItem[]) => ResourceActionRoute[];
|
|
16
13
|
//# sourceMappingURL=get-action-routes-from-resource.d.ts.map
|
|
@@ -7,10 +7,7 @@ export type ResourceActionRoute = {
|
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* This function returns all the routes for available actions for a resource.
|
|
10
|
-
* - If the action is a function, it means we're fallbacking to default path for the action
|
|
11
|
-
* - If the action is a string, it means we don't have the component, but we have the route
|
|
12
|
-
* - If the action is an object, it means we have the component and the route
|
|
13
10
|
* - It will return an array of objects with the action, the resource and the route
|
|
14
11
|
*/
|
|
15
|
-
export declare const getActionRoutesFromResource: (resource: IResourceItem, resources: IResourceItem[]
|
|
12
|
+
export declare const getActionRoutesFromResource: (resource: IResourceItem, resources: IResourceItem[]) => ResourceActionRoute[];
|
|
16
13
|
//# sourceMappingURL=get-action-routes-from-resource.d.ts.map
|
|
@@ -7,10 +7,7 @@ export type ResourceActionRoute = {
|
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* This function returns all the routes for available actions for a resource.
|
|
10
|
-
* - If the action is a function, it means we're fallbacking to default path for the action
|
|
11
|
-
* - If the action is a string, it means we don't have the component, but we have the route
|
|
12
|
-
* - If the action is an object, it means we have the component and the route
|
|
13
10
|
* - It will return an array of objects with the action, the resource and the route
|
|
14
11
|
*/
|
|
15
|
-
export declare const getActionRoutesFromResource: (resource: IResourceItem, resources: IResourceItem[]
|
|
12
|
+
export declare const getActionRoutesFromResource: (resource: IResourceItem, resources: IResourceItem[]) => ResourceActionRoute[];
|
|
16
13
|
//# sourceMappingURL=get-action-routes-from-resource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-routes-from-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-action-routes-from-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"get-action-routes-from-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-action-routes-from-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE7D,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,aAAa,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GACtC,UAAU,aAAa,EACvB,WAAW,aAAa,EAAE,0BAmB3B,CAAC"}
|
|
@@ -2,7 +2,6 @@ import type { Action } from "../../../contexts/router/types";
|
|
|
2
2
|
/**
|
|
3
3
|
* This helper function returns the default path for a given action and resource.
|
|
4
4
|
* It also applies the parentPrefix if provided.
|
|
5
|
-
* This is used by the legacy router and the new router if the resource doesn't provide a custom path.
|
|
6
5
|
*/
|
|
7
6
|
export declare const getDefaultActionPath: (resourceName: string, action: Action, parentPrefix?: string) => string;
|
|
8
7
|
//# sourceMappingURL=get-default-action-path.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-default-action-path.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-default-action-path.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAG7D
|
|
1
|
+
{"version":3,"file":"get-default-action-path.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-default-action-path.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAG7D;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAC/B,cAAc,MAAM,EACpB,QAAQ,MAAM,EACd,eAAe,MAAM,KACpB,MAoBF,CAAC"}
|
|
@@ -2,7 +2,6 @@ import type { Action } from "../../../contexts/router/types";
|
|
|
2
2
|
/**
|
|
3
3
|
* This helper function returns the default path for a given action and resource.
|
|
4
4
|
* It also applies the parentPrefix if provided.
|
|
5
|
-
* This is used by the legacy router and the new router if the resource doesn't provide a custom path.
|
|
6
5
|
*/
|
|
7
6
|
export declare const getDefaultActionPath: (resourceName: string, action: Action, parentPrefix?: string) => string;
|
|
8
7
|
//# sourceMappingURL=get-default-action-path.d.ts.map
|
|
@@ -2,7 +2,6 @@ import type { Action } from "../../../contexts/router/types";
|
|
|
2
2
|
/**
|
|
3
3
|
* This helper function returns the default path for a given action and resource.
|
|
4
4
|
* It also applies the parentPrefix if provided.
|
|
5
|
-
* This is used by the legacy router and the new router if the resource doesn't provide a custom path.
|
|
6
5
|
*/
|
|
7
6
|
export declare const getDefaultActionPath: (resourceName: string, action: Action, parentPrefix?: string) => string;
|
|
8
7
|
//# sourceMappingURL=get-default-action-path.d.ts.map
|
|
@@ -2,7 +2,6 @@ import type { Action } from "../../../contexts/router/types";
|
|
|
2
2
|
/**
|
|
3
3
|
* This helper function returns the default path for a given action and resource.
|
|
4
4
|
* It also applies the parentPrefix if provided.
|
|
5
|
-
* This is used by the legacy router and the new router if the resource doesn't provide a custom path.
|
|
6
5
|
*/
|
|
7
6
|
export declare const getDefaultActionPath: (resourceName: string, action: Action, parentPrefix?: string) => string;
|
|
8
7
|
//# sourceMappingURL=get-default-action-path.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-default-action-path.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-default-action-path.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAG7D
|
|
1
|
+
{"version":3,"file":"get-default-action-path.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-default-action-path.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAG7D;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAC/B,cAAc,MAAM,EACpB,QAAQ,MAAM,EACd,eAAe,MAAM,KACpB,MAoBF,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ResourceProps } from "../../../contexts/resource/types";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the parent prefix for a resource
|
|
4
|
-
* - If `legacy` is provided, the computation is based on the `route` option of the resource
|
|
5
4
|
*/
|
|
6
|
-
export declare const getParentPrefixForResource: (resource: ResourceProps, resources: ResourceProps[]
|
|
5
|
+
export declare const getParentPrefixForResource: (resource: ResourceProps, resources: ResourceProps[]) => string | undefined;
|
|
7
6
|
//# sourceMappingURL=get-parent-prefix-for-resource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parent-prefix-for-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-parent-prefix-for-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAItE
|
|
1
|
+
{"version":3,"file":"get-parent-prefix-for-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-parent-prefix-for-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAItE;;GAEG;AACH,eAAO,MAAM,0BAA0B,GACrC,UAAU,aAAa,EACvB,WAAW,aAAa,EAAE,KACzB,MAAM,GAAG,SAoBX,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ResourceProps } from "../../../contexts/resource/types";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the parent prefix for a resource
|
|
4
|
-
* - If `legacy` is provided, the computation is based on the `route` option of the resource
|
|
5
4
|
*/
|
|
6
|
-
export declare const getParentPrefixForResource: (resource: ResourceProps, resources: ResourceProps[]
|
|
5
|
+
export declare const getParentPrefixForResource: (resource: ResourceProps, resources: ResourceProps[]) => string | undefined;
|
|
7
6
|
//# sourceMappingURL=get-parent-prefix-for-resource.d.ts.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ResourceProps } from "../../../contexts/resource/types";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the parent prefix for a resource
|
|
4
|
-
* - If `legacy` is provided, the computation is based on the `route` option of the resource
|
|
5
4
|
*/
|
|
6
|
-
export declare const getParentPrefixForResource: (resource: ResourceProps, resources: ResourceProps[]
|
|
5
|
+
export declare const getParentPrefixForResource: (resource: ResourceProps, resources: ResourceProps[]) => string | undefined;
|
|
7
6
|
//# sourceMappingURL=get-parent-prefix-for-resource.d.ts.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ResourceProps } from "../../../contexts/resource/types";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the parent prefix for a resource
|
|
4
|
-
* - If `legacy` is provided, the computation is based on the `route` option of the resource
|
|
5
4
|
*/
|
|
6
|
-
export declare const getParentPrefixForResource: (resource: ResourceProps, resources: ResourceProps[]
|
|
5
|
+
export declare const getParentPrefixForResource: (resource: ResourceProps, resources: ResourceProps[]) => string | undefined;
|
|
7
6
|
//# sourceMappingURL=get-parent-prefix-for-resource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parent-prefix-for-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-parent-prefix-for-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAItE
|
|
1
|
+
{"version":3,"file":"get-parent-prefix-for-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-parent-prefix-for-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAItE;;GAEG;AACH,eAAO,MAAM,0BAA0B,GACrC,UAAU,aAAa,EACvB,WAAW,aAAa,EAAE,KACzB,MAAM,GAAG,SAoBX,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IResourceItem } from "../../../contexts/resource/types";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the parent resource of the given resource.
|
|
4
|
-
*
|
|
4
|
+
* Uses the `resource.meta.parent` property.
|
|
5
5
|
*/
|
|
6
6
|
export declare const getParentResource: (resource: IResourceItem, resources: IResourceItem[]) => IResourceItem | undefined;
|
|
7
7
|
//# sourceMappingURL=get-parent-resource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parent-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-parent-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"get-parent-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-parent-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAC5B,UAAU,aAAa,EACvB,WAAW,aAAa,EAAE,KACzB,aAAa,GAAG,SAgBlB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IResourceItem } from "../../../contexts/resource/types";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the parent resource of the given resource.
|
|
4
|
-
*
|
|
4
|
+
* Uses the `resource.meta.parent` property.
|
|
5
5
|
*/
|
|
6
6
|
export declare const getParentResource: (resource: IResourceItem, resources: IResourceItem[]) => IResourceItem | undefined;
|
|
7
7
|
//# sourceMappingURL=get-parent-resource.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IResourceItem } from "../../../contexts/resource/types";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the parent resource of the given resource.
|
|
4
|
-
*
|
|
4
|
+
* Uses the `resource.meta.parent` property.
|
|
5
5
|
*/
|
|
6
6
|
export declare const getParentResource: (resource: IResourceItem, resources: IResourceItem[]) => IResourceItem | undefined;
|
|
7
7
|
//# sourceMappingURL=get-parent-resource.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IResourceItem } from "../../../contexts/resource/types";
|
|
2
2
|
/**
|
|
3
3
|
* Returns the parent resource of the given resource.
|
|
4
|
-
*
|
|
4
|
+
* Uses the `resource.meta.parent` property.
|
|
5
5
|
*/
|
|
6
6
|
export declare const getParentResource: (resource: IResourceItem, resources: IResourceItem[]) => IResourceItem | undefined;
|
|
7
7
|
//# sourceMappingURL=get-parent-resource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-parent-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-parent-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"get-parent-resource.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/get-parent-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAC5B,UAAU,aAAa,EACvB,WAAW,aAAa,EAAE,KACzB,aAAa,GAAG,SAgBlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-parameter.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/is-parameter.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"is-parameter.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/is-parameter.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,SAAS,MAAM,YAE1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-parameter.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/is-parameter.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"is-parameter.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/is-parameter.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,SAAS,MAAM,YAE1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-segment-counts-same.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/is-segment-counts-same.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"is-segment-counts-same.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/is-segment-counts-same.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,MAAM,EAAE,eAAe,MAAM,YAKvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-segment-counts-same.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/is-segment-counts-same.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"is-segment-counts-same.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/is-segment-counts-same.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,MAAM,EAAE,eAAe,MAAM,YAKvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"match-resource-from-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/match-resource-from-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAK7D;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"match-resource-from-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/match-resource-from-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAK7D;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GACjC,OAAO,MAAM,EACb,WAAW,aAAa,EAAE,KACzB;IACD,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CAkBvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"match-resource-from-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/match-resource-from-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAK7D;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"match-resource-from-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/match-resource-from-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAK7D;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GACjC,OAAO,MAAM,EACb,WAAW,aAAa,EAAE,KACzB;IACD,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CAkBvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pick-matched-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/pick-matched-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAK7E;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"pick-matched-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/pick-matched-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAK7E;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,mBAAmB,EAAE,KAC5B,mBAAmB,GAAG,SAgDxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pick-matched-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/pick-matched-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAK7E;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"pick-matched-route.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/pick-matched-route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAK7E;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,mBAAmB,EAAE,KAC5B,mBAAmB,GAAG,SAgDxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pick-route-params.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/pick-route-params.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"pick-route-params.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/pick-route-params.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,aAU5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pick-route-params.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/pick-route-params.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"pick-route-params.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/pick-route-params.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,aAU5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepare-route-params.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/prepare-route-params.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"prepare-route-params.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/prepare-route-params.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAC7B,YAAY,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAEtE,aAAa,CAAC,MAAM,YAAY,CAAC,EAAE,EACnC,OAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,KACjC,OAAO,CAAC,YAAY,CAWtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepare-route-params.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/prepare-route-params.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"prepare-route-params.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/prepare-route-params.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAC7B,YAAY,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAEtE,aAAa,CAAC,MAAM,YAAY,CAAC,EAAE,EACnC,OAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,KACjC,OAAO,CAAC,YAAY,CAWtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-leading-trailing-slashes.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/remove-leading-trailing-slashes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"remove-leading-trailing-slashes.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/remove-leading-trailing-slashes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,4BAA4B,GAAI,OAAO,MAAM,WAEzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-leading-trailing-slashes.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/remove-leading-trailing-slashes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"remove-leading-trailing-slashes.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/remove-leading-trailing-slashes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,4BAA4B,GAAI,OAAO,MAAM,WAEzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-to-segments.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/split-to-segments.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"split-to-segments.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/split-to-segments.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,aAG3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-to-segments.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/split-to-segments.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"split-to-segments.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/router/split-to-segments.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,aAG3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/safe-translate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/safe-translate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,aAAa,GACxB,WAAW,UAAU,CAAC,OAAO,YAAY,CAAC,EAC1C,KAAK,MAAM,EACX,iBAAiB,MAAM,EACvB,UAAU,GAAG,WAad,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/safe-translate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/safe-translate/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,aAAa,GACxB,WAAW,UAAU,CAAC,OAAO,YAAY,CAAC,EAC1C,KAAK,MAAM,EACX,iBAAiB,MAAM,EACvB,UAAU,GAAG,WAad,CAAC"}
|
|
@@ -4,5 +4,5 @@ import type { IResourceItem } from "../../../contexts/resource/types";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const sanitizeResource: (resource?: Partial<IResourceItem> & Required<Pick<IResourceItem, "name">> & {
|
|
6
6
|
children?: unknown;
|
|
7
|
-
}) => (Partial<IResourceItem> & Required<Pick<IResourceItem, "name">>) | undefined;
|
|
7
|
+
} & Record<string, any>) => (Partial<IResourceItem> & Required<Pick<IResourceItem, "name">>) | undefined;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/sanitize-resource/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/sanitize-resource/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,WAAW,OAAO,CAAC,aAAa,CAAC,GAC/B,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CACrE,MAAM,EACN,GAAG,CACJ,KAED,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,GAChE,SAuBH,CAAC"}
|
|
@@ -4,5 +4,5 @@ import type { IResourceItem } from "../../../contexts/resource/types";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const sanitizeResource: (resource?: Partial<IResourceItem> & Required<Pick<IResourceItem, "name">> & {
|
|
6
6
|
children?: unknown;
|
|
7
|
-
}) => (Partial<IResourceItem> & Required<Pick<IResourceItem, "name">>) | undefined;
|
|
7
|
+
} & Record<string, any>) => (Partial<IResourceItem> & Required<Pick<IResourceItem, "name">>) | undefined;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,5 +4,5 @@ import type { IResourceItem } from "../../../contexts/resource/types";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const sanitizeResource: (resource?: Partial<IResourceItem> & Required<Pick<IResourceItem, "name">> & {
|
|
6
6
|
children?: unknown;
|
|
7
|
-
}) => (Partial<IResourceItem> & Required<Pick<IResourceItem, "name">>) | undefined;
|
|
7
|
+
} & Record<string, any>) => (Partial<IResourceItem> & Required<Pick<IResourceItem, "name">>) | undefined;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,5 +4,5 @@ import type { IResourceItem } from "../../../contexts/resource/types";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const sanitizeResource: (resource?: Partial<IResourceItem> & Required<Pick<IResourceItem, "name">> & {
|
|
6
6
|
children?: unknown;
|
|
7
|
-
}) => (Partial<IResourceItem> & Required<Pick<IResourceItem, "name">>) | undefined;
|
|
7
|
+
} & Record<string, any>) => (Partial<IResourceItem> & Required<Pick<IResourceItem, "name">>) | undefined;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/sanitize-resource/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/sanitize-resource/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,WAAW,OAAO,CAAC,aAAa,CAAC,GAC/B,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CACrE,MAAM,EACN,GAAG,CACJ,KAED,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,GAChE,SAuBH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/sequentialPromises/index.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,CAAC,QAAQ,EAAE,QAAQ,IAAI,CACrC,MAAM,EAAE,QAAQ,EAChB,KAAK,EAAE,MAAM,KACV,QAAQ,CAAC;AACd,KAAK,UAAU,CAAC,OAAO,EAAE,QAAQ,IAAI,CACnC,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,MAAM,KACV,QAAQ,CAAC;AAEd,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/sequentialPromises/index.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,CAAC,QAAQ,EAAE,QAAQ,IAAI,CACrC,MAAM,EAAE,QAAQ,EAChB,KAAK,EAAE,MAAM,KACV,QAAQ,CAAC;AACd,KAAK,UAAU,CAAC,OAAO,EAAE,QAAQ,IAAI,CACnC,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,MAAM,KACV,QAAQ,CAAC;AAEd,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,GAAG,OAAO,EAClB,OAAO,GAAG,OAAO,EACjB,gBAAgB,GAAG,OAAO,EAC1B,eAAe,GAAG,OAAO,EAEzB,UAAU,CAAC,MAAM,OAAO,CAAC,QAAQ,CAAC,CAAC,EAAE,EACrC,eAAe,WAAW,CAAC,QAAQ,EAAE,gBAAgB,CAAC,EACtD,cAAc,UAAU,CAAC,OAAO,EAAE,eAAe,CAAC,KACjD,OAAO,CAAC,CAAC,gBAAgB,GAAG,eAAe,CAAC,EAAE,CAahD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/sequentialPromises/index.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,CAAC,QAAQ,EAAE,QAAQ,IAAI,CACrC,MAAM,EAAE,QAAQ,EAChB,KAAK,EAAE,MAAM,KACV,QAAQ,CAAC;AACd,KAAK,UAAU,CAAC,OAAO,EAAE,QAAQ,IAAI,CACnC,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,MAAM,KACV,QAAQ,CAAC;AAEd,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/sequentialPromises/index.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,CAAC,QAAQ,EAAE,QAAQ,IAAI,CACrC,MAAM,EAAE,QAAQ,EAChB,KAAK,EAAE,MAAM,KACV,QAAQ,CAAC;AACd,KAAK,UAAU,CAAC,OAAO,EAAE,QAAQ,IAAI,CACnC,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,MAAM,KACV,QAAQ,CAAC;AAEd,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,GAAG,OAAO,EAClB,OAAO,GAAG,OAAO,EACjB,gBAAgB,GAAG,OAAO,EAC1B,eAAe,GAAG,OAAO,EAEzB,UAAU,CAAC,MAAM,OAAO,CAAC,QAAQ,CAAC,CAAC,EAAE,EACrC,eAAe,WAAW,CAAC,QAAQ,EAAE,gBAAgB,CAAC,EACtD,cAAc,UAAU,CAAC,OAAO,EAAE,eAAe,CAAC,KACjD,OAAO,CAAC,CAAC,gBAAgB,GAAG,eAAe,CAAC,EAAE,CAahD,CAAC"}
|
|
@@ -1,34 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @returns authProvider
|
|
2
|
+
* @returns authProvider if provided, otherwise null
|
|
3
3
|
* @internal
|
|
4
|
-
* NOTE: Will be removed in v5
|
|
5
4
|
*/
|
|
6
|
-
export declare const useActiveAuthProvider: () =>
|
|
7
|
-
isProvided?: boolean | undefined;
|
|
8
|
-
login?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
9
|
-
logout?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
10
|
-
check?: ((params?: any) => Promise<import("../../..").CheckResponse>) | undefined;
|
|
11
|
-
onError?: ((error: any) => Promise<import("../../..").OnErrorResponse>) | undefined;
|
|
12
|
-
register?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
13
|
-
forgotPassword?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
14
|
-
updatePassword?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
15
|
-
getPermissions?: ((params?: Record<string, any> | undefined) => Promise<unknown>) | undefined;
|
|
16
|
-
getIdentity?: ((params?: any) => Promise<unknown>) | undefined;
|
|
17
|
-
isLegacy: boolean;
|
|
18
|
-
} | {
|
|
19
|
-
check: ((params?: any) => Promise<any>) | undefined;
|
|
20
|
-
onError: ((error: any) => Promise<void>) | undefined;
|
|
21
|
-
getIdentity: ((params?: any) => Promise<any>) | undefined;
|
|
22
|
-
isProvided?: boolean | undefined;
|
|
23
|
-
login?: ((params: any) => Promise<import("../../../contexts/auth/types").TLoginData>) | undefined;
|
|
24
|
-
register?: ((params: any) => Promise<import("../../../contexts/auth/types").TRegisterData>) | undefined;
|
|
25
|
-
forgotPassword?: ((params: any) => Promise<import("../../../contexts/auth/types").TForgotPasswordData>) | undefined;
|
|
26
|
-
updatePassword?: ((params: any) => Promise<import("../../../contexts/auth/types").TUpdatePasswordData>) | undefined;
|
|
27
|
-
logout?: ((params: any) => Promise<import("../../../contexts/auth/types").TLogoutData>) | undefined;
|
|
28
|
-
checkAuth?: ((params?: any) => Promise<any>) | undefined;
|
|
29
|
-
checkError?: ((error: any) => Promise<void>) | undefined;
|
|
30
|
-
getPermissions?: ((params?: Record<string, any> | undefined) => Promise<any>) | undefined;
|
|
31
|
-
getUserIdentity?: ((params?: any) => Promise<any>) | undefined;
|
|
32
|
-
isLegacy: boolean;
|
|
33
|
-
} | null;
|
|
5
|
+
export declare const useActiveAuthProvider: () => Partial<import("../../..").IAuthContext> | null;
|
|
34
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/useActiveAuthProvider/index.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/definitions/helpers/useActiveAuthProvider/index.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,uDAQjC,CAAC"}
|
|
@@ -1,34 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @returns authProvider
|
|
2
|
+
* @returns authProvider if provided, otherwise null
|
|
3
3
|
* @internal
|
|
4
|
-
* NOTE: Will be removed in v5
|
|
5
4
|
*/
|
|
6
|
-
export declare const useActiveAuthProvider: () =>
|
|
7
|
-
isProvided?: boolean | undefined;
|
|
8
|
-
login?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
9
|
-
logout?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
10
|
-
check?: ((params?: any) => Promise<import("../../..").CheckResponse>) | undefined;
|
|
11
|
-
onError?: ((error: any) => Promise<import("../../..").OnErrorResponse>) | undefined;
|
|
12
|
-
register?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
13
|
-
forgotPassword?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
14
|
-
updatePassword?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
15
|
-
getPermissions?: ((params?: Record<string, any> | undefined) => Promise<unknown>) | undefined;
|
|
16
|
-
getIdentity?: ((params?: any) => Promise<unknown>) | undefined;
|
|
17
|
-
isLegacy: boolean;
|
|
18
|
-
} | {
|
|
19
|
-
check: ((params?: any) => Promise<any>) | undefined;
|
|
20
|
-
onError: ((error: any) => Promise<void>) | undefined;
|
|
21
|
-
getIdentity: ((params?: any) => Promise<any>) | undefined;
|
|
22
|
-
isProvided?: boolean | undefined;
|
|
23
|
-
login?: ((params: any) => Promise<import("../../../contexts/auth/types").TLoginData>) | undefined;
|
|
24
|
-
register?: ((params: any) => Promise<import("../../../contexts/auth/types").TRegisterData>) | undefined;
|
|
25
|
-
forgotPassword?: ((params: any) => Promise<import("../../../contexts/auth/types").TForgotPasswordData>) | undefined;
|
|
26
|
-
updatePassword?: ((params: any) => Promise<import("../../../contexts/auth/types").TUpdatePasswordData>) | undefined;
|
|
27
|
-
logout?: ((params: any) => Promise<import("../../../contexts/auth/types").TLogoutData>) | undefined;
|
|
28
|
-
checkAuth?: ((params?: any) => Promise<any>) | undefined;
|
|
29
|
-
checkError?: ((error: any) => Promise<void>) | undefined;
|
|
30
|
-
getPermissions?: ((params?: Record<string, any> | undefined) => Promise<any>) | undefined;
|
|
31
|
-
getUserIdentity?: ((params?: any) => Promise<any>) | undefined;
|
|
32
|
-
isLegacy: boolean;
|
|
33
|
-
} | null;
|
|
5
|
+
export declare const useActiveAuthProvider: () => Partial<import("../../..").IAuthContext> | null;
|
|
34
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,34 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @returns authProvider
|
|
2
|
+
* @returns authProvider if provided, otherwise null
|
|
3
3
|
* @internal
|
|
4
|
-
* NOTE: Will be removed in v5
|
|
5
4
|
*/
|
|
6
|
-
export declare const useActiveAuthProvider: () =>
|
|
7
|
-
isProvided?: boolean | undefined;
|
|
8
|
-
login?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
9
|
-
logout?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
10
|
-
check?: ((params?: any) => Promise<import("../../..").CheckResponse>) | undefined;
|
|
11
|
-
onError?: ((error: any) => Promise<import("../../..").OnErrorResponse>) | undefined;
|
|
12
|
-
register?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
13
|
-
forgotPassword?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
14
|
-
updatePassword?: ((params: any) => Promise<import("../../..").AuthActionResponse>) | undefined;
|
|
15
|
-
getPermissions?: ((params?: Record<string, any> | undefined) => Promise<unknown>) | undefined;
|
|
16
|
-
getIdentity?: ((params?: any) => Promise<unknown>) | undefined;
|
|
17
|
-
isLegacy: boolean;
|
|
18
|
-
} | {
|
|
19
|
-
check: ((params?: any) => Promise<any>) | undefined;
|
|
20
|
-
onError: ((error: any) => Promise<void>) | undefined;
|
|
21
|
-
getIdentity: ((params?: any) => Promise<any>) | undefined;
|
|
22
|
-
isProvided?: boolean | undefined;
|
|
23
|
-
login?: ((params: any) => Promise<import("../../../contexts/auth/types").TLoginData>) | undefined;
|
|
24
|
-
register?: ((params: any) => Promise<import("../../../contexts/auth/types").TRegisterData>) | undefined;
|
|
25
|
-
forgotPassword?: ((params: any) => Promise<import("../../../contexts/auth/types").TForgotPasswordData>) | undefined;
|
|
26
|
-
updatePassword?: ((params: any) => Promise<import("../../../contexts/auth/types").TUpdatePasswordData>) | undefined;
|
|
27
|
-
logout?: ((params: any) => Promise<import("../../../contexts/auth/types").TLogoutData>) | undefined;
|
|
28
|
-
checkAuth?: ((params?: any) => Promise<any>) | undefined;
|
|
29
|
-
checkError?: ((error: any) => Promise<void>) | undefined;
|
|
30
|
-
getPermissions?: ((params?: Record<string, any> | undefined) => Promise<any>) | undefined;
|
|
31
|
-
getUserIdentity?: ((params?: any) => Promise<any>) | undefined;
|
|
32
|
-
isLegacy: boolean;
|
|
33
|
-
} | null;
|
|
5
|
+
export declare const useActiveAuthProvider: () => Partial<import("../../..").IAuthContext> | null;
|
|
34
6
|
//# sourceMappingURL=index.d.ts.map
|