@refinedev/core 4.47.2 → 4.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3066 -2919
- package/README.md +116 -167
- package/dist/components/authenticated/index.d.cts +75 -0
- package/dist/components/authenticated/index.d.cts.map +1 -0
- package/dist/components/authenticated/index.d.mts +75 -0
- package/dist/components/authenticated/index.d.mts.map +1 -0
- package/dist/components/authenticated/index.d.ts +3 -3
- package/dist/components/authenticated/index.d.ts.map +1 -1
- package/dist/components/autoSaveIndicator/index.d.cts +24 -0
- package/dist/components/autoSaveIndicator/index.d.cts.map +1 -0
- package/dist/components/autoSaveIndicator/index.d.mts +24 -0
- package/dist/components/autoSaveIndicator/index.d.mts.map +1 -0
- package/dist/components/autoSaveIndicator/index.d.ts +21 -1
- package/dist/components/autoSaveIndicator/index.d.ts.map +1 -1
- package/dist/components/canAccess/index.d.cts +52 -0
- package/dist/components/canAccess/index.d.cts.map +1 -0
- package/dist/components/canAccess/index.d.mts +52 -0
- package/dist/components/canAccess/index.d.mts.map +1 -0
- package/dist/components/canAccess/index.d.ts +8 -7
- package/dist/components/canAccess/index.d.ts.map +1 -1
- package/dist/components/containers/index.d.cts +2 -0
- package/dist/components/containers/index.d.cts.map +1 -0
- package/dist/components/containers/index.d.mts +2 -0
- package/dist/components/containers/index.d.mts.map +1 -0
- package/dist/components/containers/index.d.ts +1 -1
- package/dist/components/containers/index.d.ts.map +1 -1
- package/dist/components/containers/refine/index.d.cts +11 -0
- package/dist/components/containers/refine/index.d.cts.map +1 -0
- package/dist/components/containers/refine/index.d.mts +11 -0
- package/dist/components/containers/refine/index.d.mts.map +1 -0
- package/dist/components/containers/refine/index.d.ts +1 -134
- package/dist/components/containers/refine/index.d.ts.map +1 -1
- package/dist/components/gh-banner/index.d.cts +3 -0
- package/dist/components/gh-banner/index.d.cts.map +1 -0
- package/dist/components/gh-banner/index.d.mts +3 -0
- package/dist/components/gh-banner/index.d.mts.map +1 -0
- package/dist/components/gh-banner/styles.d.cts +2 -0
- package/dist/components/gh-banner/styles.d.cts.map +1 -0
- package/dist/components/gh-banner/styles.d.mts +2 -0
- package/dist/components/gh-banner/styles.d.mts.map +1 -0
- package/dist/components/index.d.cts +10 -0
- package/dist/components/index.d.cts.map +1 -0
- package/dist/components/index.d.mts +10 -0
- package/dist/components/index.d.mts.map +1 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layoutWrapper/defaultLayout/index.d.cts +4 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.cts.map +1 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.mts +4 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.mts.map +1 -0
- package/dist/components/layoutWrapper/defaultLayout/index.d.ts +1 -1
- package/dist/components/layoutWrapper/defaultLayout/index.d.ts.map +1 -1
- package/dist/components/layoutWrapper/index.d.cts +46 -0
- package/dist/components/layoutWrapper/index.d.cts.map +1 -0
- package/dist/components/layoutWrapper/index.d.mts +46 -0
- package/dist/components/layoutWrapper/index.d.mts.map +1 -0
- package/dist/components/layoutWrapper/index.d.ts +1 -1
- package/dist/components/layoutWrapper/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.cts +7 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.mts +7 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts +2 -2
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/index.d.cts +5 -0
- package/dist/components/pages/auth/components/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/index.d.mts +5 -0
- package/dist/components/pages/auth/components/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/login/index.d.cts +7 -0
- package/dist/components/pages/auth/components/login/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/login/index.d.mts +7 -0
- package/dist/components/pages/auth/components/login/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/login/index.d.ts +2 -2
- package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/register/index.d.cts +7 -0
- package/dist/components/pages/auth/components/register/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/register/index.d.mts +7 -0
- package/dist/components/pages/auth/components/register/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/register/index.d.ts +2 -2
- package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.cts +7 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.cts.map +1 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.mts +7 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.mts.map +1 -0
- package/dist/components/pages/auth/components/updatePassword/index.d.ts +2 -2
- package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/index.d.cts +12 -0
- package/dist/components/pages/auth/index.d.cts.map +1 -0
- package/dist/components/pages/auth/index.d.mts +12 -0
- package/dist/components/pages/auth/index.d.mts.map +1 -0
- package/dist/components/pages/auth/index.d.ts +4 -4
- package/dist/components/pages/auth/index.d.ts.map +1 -1
- package/dist/components/pages/auth/types.d.cts +179 -0
- package/dist/components/pages/auth/types.d.cts.map +1 -0
- package/dist/components/pages/auth/types.d.mts +179 -0
- package/dist/components/pages/auth/types.d.mts.map +1 -0
- package/dist/components/pages/auth/types.d.ts +179 -0
- package/dist/components/pages/auth/types.d.ts.map +1 -0
- package/dist/components/pages/config-error/index.d.cts +3 -0
- package/dist/components/pages/config-error/index.d.cts.map +1 -0
- package/dist/components/pages/config-error/index.d.mts +3 -0
- package/dist/components/pages/config-error/index.d.mts.map +1 -0
- package/dist/components/pages/config-error/index.d.ts.map +1 -1
- package/dist/components/pages/config-success/index.d.cts +6 -0
- package/dist/components/pages/config-success/index.d.cts.map +1 -0
- package/dist/components/pages/config-success/index.d.mts +6 -0
- package/dist/components/pages/config-success/index.d.mts.map +1 -0
- package/dist/components/pages/config-success/index.d.ts.map +1 -1
- package/dist/components/pages/error/index.d.cts +9 -0
- package/dist/components/pages/error/index.d.cts.map +1 -0
- package/dist/components/pages/error/index.d.mts +9 -0
- package/dist/components/pages/error/index.d.mts.map +1 -0
- package/dist/components/pages/index.d.cts +7 -0
- package/dist/components/pages/index.d.cts.map +1 -0
- package/dist/components/pages/index.d.mts +7 -0
- package/dist/components/pages/index.d.mts.map +1 -0
- package/dist/components/pages/login/index.d.cts +13 -0
- package/dist/components/pages/login/index.d.cts.map +1 -0
- package/dist/components/pages/login/index.d.mts +13 -0
- package/dist/components/pages/login/index.d.mts.map +1 -0
- package/dist/components/pages/login/index.d.ts.map +1 -1
- package/dist/components/pages/ready/index.d.cts +8 -0
- package/dist/components/pages/ready/index.d.cts.map +1 -0
- package/dist/components/pages/ready/index.d.mts +8 -0
- package/dist/components/pages/ready/index.d.mts.map +1 -0
- package/dist/components/pages/ready/index.d.ts.map +1 -1
- package/dist/components/pages/welcome/index.d.cts +3 -0
- package/dist/components/pages/welcome/index.d.cts.map +1 -0
- package/dist/components/pages/welcome/index.d.mts +3 -0
- package/dist/components/pages/welcome/index.d.mts.map +1 -0
- package/dist/components/routeChangeHandler/index.d.cts +3 -0
- package/dist/components/routeChangeHandler/index.d.cts.map +1 -0
- package/dist/components/routeChangeHandler/index.d.mts +3 -0
- package/dist/components/routeChangeHandler/index.d.mts.map +1 -0
- package/dist/components/telemetry/index.d.cts +3 -0
- package/dist/components/telemetry/index.d.cts.map +1 -0
- package/dist/components/telemetry/index.d.mts +3 -0
- package/dist/components/telemetry/index.d.mts.map +1 -0
- package/dist/components/telemetry/types.d.cts +16 -0
- package/dist/components/telemetry/types.d.cts.map +1 -0
- package/dist/components/telemetry/types.d.mts +16 -0
- package/dist/components/telemetry/types.d.mts.map +1 -0
- package/dist/components/telemetry/types.d.ts +16 -0
- package/dist/components/telemetry/types.d.ts.map +1 -0
- package/dist/components/undoableQueue/index.d.cts +6 -0
- package/dist/components/undoableQueue/index.d.cts.map +1 -0
- package/dist/components/undoableQueue/index.d.mts +6 -0
- package/dist/components/undoableQueue/index.d.mts.map +1 -0
- package/dist/components/undoableQueue/index.d.ts +1 -1
- package/dist/components/undoableQueue/index.d.ts.map +1 -1
- package/dist/contexts/accessControl/index.d.cts +7 -0
- package/dist/contexts/accessControl/index.d.cts.map +1 -0
- package/dist/contexts/accessControl/index.d.mts +7 -0
- package/dist/contexts/accessControl/index.d.mts.map +1 -0
- package/dist/contexts/accessControl/index.d.ts +3 -6
- package/dist/contexts/accessControl/index.d.ts.map +1 -1
- package/dist/contexts/accessControl/types.d.cts +84 -0
- package/dist/contexts/accessControl/types.d.cts.map +1 -0
- package/dist/contexts/accessControl/types.d.mts +84 -0
- package/dist/contexts/accessControl/types.d.mts.map +1 -0
- package/dist/contexts/accessControl/types.d.ts +84 -0
- package/dist/contexts/accessControl/types.d.ts.map +1 -0
- package/dist/contexts/auditLog/index.d.cts +5 -0
- package/dist/contexts/auditLog/index.d.cts.map +1 -0
- package/dist/contexts/auditLog/index.d.mts +5 -0
- package/dist/contexts/auditLog/index.d.mts.map +1 -0
- package/dist/contexts/auditLog/index.d.ts +3 -5
- package/dist/contexts/auditLog/index.d.ts.map +1 -1
- package/dist/contexts/auditLog/types.d.cts +41 -0
- package/dist/contexts/auditLog/types.d.cts.map +1 -0
- package/dist/contexts/auditLog/types.d.mts +41 -0
- package/dist/contexts/auditLog/types.d.mts.map +1 -0
- package/dist/contexts/auditLog/types.d.ts +41 -0
- package/dist/contexts/auditLog/types.d.ts.map +1 -0
- package/dist/contexts/auth/index.d.cts +18 -0
- package/dist/contexts/auth/index.d.cts.map +1 -0
- package/dist/contexts/auth/index.d.mts +18 -0
- package/dist/contexts/auth/index.d.mts.map +1 -0
- package/dist/contexts/auth/index.d.ts +5 -7
- package/dist/contexts/auth/index.d.ts.map +1 -1
- package/dist/contexts/auth/types.d.cts +101 -0
- package/dist/contexts/auth/types.d.cts.map +1 -0
- package/dist/contexts/auth/types.d.mts +101 -0
- package/dist/contexts/auth/types.d.mts.map +1 -0
- package/dist/contexts/auth/types.d.ts +101 -0
- package/dist/contexts/auth/types.d.ts.map +1 -0
- package/dist/contexts/data/index.d.cts +10 -0
- package/dist/contexts/data/index.d.cts.map +1 -0
- package/dist/contexts/data/index.d.mts +10 -0
- package/dist/contexts/data/index.d.mts.map +1 -0
- package/dist/contexts/data/index.d.ts +7 -5
- package/dist/contexts/data/index.d.ts.map +1 -1
- package/dist/contexts/data/types.d.cts +347 -0
- package/dist/contexts/data/types.d.cts.map +1 -0
- package/dist/contexts/data/types.d.mts +347 -0
- package/dist/contexts/data/types.d.mts.map +1 -0
- package/dist/contexts/data/types.d.ts +347 -0
- package/dist/contexts/data/types.d.ts.map +1 -0
- package/dist/contexts/i18n/index.d.cts +7 -0
- package/dist/contexts/i18n/index.d.cts.map +1 -0
- package/dist/contexts/i18n/index.d.mts +7 -0
- package/dist/contexts/i18n/index.d.mts.map +1 -0
- package/dist/contexts/i18n/index.d.ts +7 -0
- package/dist/contexts/i18n/index.d.ts.map +1 -0
- package/dist/contexts/i18n/types.d.cts +13 -0
- package/dist/contexts/i18n/types.d.cts.map +1 -0
- package/dist/contexts/i18n/types.d.mts +13 -0
- package/dist/contexts/i18n/types.d.mts.map +1 -0
- package/dist/contexts/i18n/types.d.ts +13 -0
- package/dist/contexts/i18n/types.d.ts.map +1 -0
- package/dist/contexts/live/index.d.cts +5 -0
- package/dist/contexts/live/index.d.cts.map +1 -0
- package/dist/contexts/live/index.d.mts +5 -0
- package/dist/contexts/live/index.d.mts.map +1 -0
- package/dist/contexts/live/index.d.ts +3 -3
- package/dist/contexts/live/index.d.ts.map +1 -1
- package/dist/contexts/live/types.d.cts +96 -0
- package/dist/contexts/live/types.d.cts.map +1 -0
- package/dist/contexts/live/types.d.mts +96 -0
- package/dist/contexts/live/types.d.mts.map +1 -0
- package/dist/contexts/live/types.d.ts +96 -0
- package/dist/contexts/live/types.d.ts.map +1 -0
- package/dist/contexts/notification/index.d.cts +7 -0
- package/dist/contexts/notification/index.d.cts.map +1 -0
- package/dist/contexts/notification/index.d.mts +7 -0
- package/dist/contexts/notification/index.d.mts.map +1 -0
- package/dist/contexts/notification/index.d.ts +3 -5
- package/dist/contexts/notification/index.d.ts.map +1 -1
- package/dist/contexts/notification/types.d.cts +27 -0
- package/dist/contexts/notification/types.d.cts.map +1 -0
- package/dist/contexts/notification/types.d.mts +27 -0
- package/dist/contexts/notification/types.d.mts.map +1 -0
- package/dist/contexts/notification/types.d.ts +27 -0
- package/dist/contexts/notification/types.d.ts.map +1 -0
- package/dist/contexts/refine/index.d.cts +6 -0
- package/dist/contexts/refine/index.d.cts.map +1 -0
- package/dist/contexts/refine/index.d.mts +6 -0
- package/dist/contexts/refine/index.d.mts.map +1 -0
- package/dist/contexts/refine/index.d.ts +1 -1
- package/dist/contexts/refine/index.d.ts.map +1 -1
- package/dist/contexts/refine/types.d.cts +313 -0
- package/dist/contexts/refine/types.d.cts.map +1 -0
- package/dist/contexts/refine/types.d.mts +313 -0
- package/dist/contexts/refine/types.d.mts.map +1 -0
- package/dist/contexts/refine/types.d.ts +313 -0
- package/dist/contexts/refine/types.d.ts.map +1 -0
- package/dist/contexts/resource/index.d.cts +7 -0
- package/dist/contexts/resource/index.d.cts.map +1 -0
- package/dist/contexts/resource/index.d.mts +7 -0
- package/dist/contexts/resource/index.d.mts.map +1 -0
- package/dist/contexts/resource/index.d.ts +1 -3
- package/dist/contexts/resource/index.d.ts.map +1 -1
- package/dist/contexts/resource/types.d.cts +168 -0
- package/dist/contexts/resource/types.d.cts.map +1 -0
- package/dist/contexts/resource/types.d.mts +168 -0
- package/dist/contexts/resource/types.d.mts.map +1 -0
- package/dist/contexts/resource/types.d.ts +168 -0
- package/dist/contexts/resource/types.d.ts.map +1 -0
- package/dist/contexts/router/index.d.cts +7 -0
- package/dist/contexts/router/index.d.cts.map +1 -0
- package/dist/contexts/router/index.d.mts +7 -0
- package/dist/contexts/router/index.d.mts.map +1 -0
- package/dist/contexts/router/index.d.ts +4 -4
- package/dist/contexts/router/index.d.ts.map +1 -1
- package/dist/contexts/router/legacy/index.d.cts +6 -0
- package/dist/contexts/router/legacy/index.d.cts.map +1 -0
- package/dist/contexts/router/legacy/index.d.mts +6 -0
- package/dist/contexts/router/legacy/index.d.mts.map +1 -0
- package/dist/contexts/router/legacy/index.d.ts +6 -0
- package/dist/contexts/router/legacy/index.d.ts.map +1 -0
- package/dist/contexts/router/legacy/types.d.cts +47 -0
- package/dist/contexts/router/legacy/types.d.cts.map +1 -0
- package/dist/contexts/router/legacy/types.d.mts +47 -0
- package/dist/contexts/router/legacy/types.d.mts.map +1 -0
- package/dist/contexts/router/legacy/types.d.ts +47 -0
- package/dist/contexts/router/legacy/types.d.ts.map +1 -0
- package/dist/contexts/router/picker/index.d.cts.map +1 -0
- package/dist/contexts/router/picker/index.d.mts +15 -0
- package/dist/contexts/router/picker/index.d.mts.map +1 -0
- package/dist/contexts/router/picker/index.d.ts +15 -0
- package/dist/contexts/router/picker/index.d.ts.map +1 -0
- package/dist/contexts/router/types.d.cts +67 -0
- package/dist/contexts/router/types.d.cts.map +1 -0
- package/dist/contexts/router/types.d.mts +67 -0
- package/dist/contexts/router/types.d.mts.map +1 -0
- package/dist/contexts/router/types.d.ts +67 -0
- package/dist/contexts/router/types.d.ts.map +1 -0
- package/dist/contexts/undoableQueue/index.d.cts +6 -0
- package/dist/contexts/undoableQueue/index.d.cts.map +1 -0
- package/dist/contexts/undoableQueue/index.d.mts +6 -0
- package/dist/contexts/undoableQueue/index.d.mts.map +1 -0
- package/dist/contexts/undoableQueue/index.d.ts +5 -2
- package/dist/contexts/undoableQueue/index.d.ts.map +1 -1
- package/dist/contexts/undoableQueue/types.d.cts +21 -0
- package/dist/contexts/undoableQueue/types.d.cts.map +1 -0
- package/dist/contexts/undoableQueue/types.d.mts +21 -0
- package/dist/contexts/undoableQueue/types.d.mts.map +1 -0
- package/dist/contexts/undoableQueue/types.d.ts +21 -0
- package/dist/contexts/undoableQueue/types.d.ts.map +1 -0
- package/dist/contexts/unsavedWarn/index.d.cts +5 -0
- package/dist/contexts/unsavedWarn/index.d.cts.map +1 -0
- package/dist/contexts/unsavedWarn/index.d.mts +5 -0
- package/dist/contexts/unsavedWarn/index.d.mts.map +1 -0
- package/dist/contexts/unsavedWarn/index.d.ts +3 -5
- package/dist/contexts/unsavedWarn/index.d.ts.map +1 -1
- package/dist/contexts/unsavedWarn/types.d.cts +5 -0
- package/dist/contexts/unsavedWarn/types.d.cts.map +1 -0
- package/dist/contexts/unsavedWarn/types.d.mts +5 -0
- package/dist/contexts/unsavedWarn/types.d.mts.map +1 -0
- package/dist/contexts/unsavedWarn/types.d.ts +5 -0
- package/dist/contexts/unsavedWarn/types.d.ts.map +1 -0
- package/dist/definitions/helpers/async-debounce/index.d.cts +18 -0
- package/dist/definitions/helpers/async-debounce/index.d.cts.map +1 -0
- package/dist/definitions/helpers/async-debounce/index.d.mts +18 -0
- package/dist/definitions/helpers/async-debounce/index.d.mts.map +1 -0
- package/dist/definitions/helpers/async-debounce/index.d.ts +18 -0
- package/dist/definitions/helpers/async-debounce/index.d.ts.map +1 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.cts +4 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.cts.map +1 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts +4 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts.map +1 -0
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.ts +3 -2
- package/dist/definitions/helpers/check-router-prop-misuse/index.d.ts.map +1 -1
- package/dist/definitions/helpers/defer-execution/index.d.cts +9 -0
- package/dist/definitions/helpers/defer-execution/index.d.cts.map +1 -0
- package/dist/definitions/helpers/defer-execution/index.d.mts +9 -0
- package/dist/definitions/helpers/defer-execution/index.d.mts.map +1 -0
- package/dist/definitions/helpers/defer-execution/index.d.ts +9 -0
- package/dist/definitions/helpers/defer-execution/index.d.ts.map +1 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.cts +2 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.cts.map +1 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.mts +2 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.mts.map +1 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.ts.map +1 -1
- package/dist/definitions/helpers/flatten-object-keys/index.d.cts +4 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.cts.map +1 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.mts +4 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.mts.map +1 -0
- package/dist/definitions/helpers/flatten-object-keys/index.d.ts +3 -1
- package/dist/definitions/helpers/flatten-object-keys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/generateDocumentTitle/index.d.cts +7 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.cts.map +1 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.mts +7 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.mts.map +1 -0
- package/dist/definitions/helpers/generateDocumentTitle/index.d.ts +2 -2
- package/dist/definitions/helpers/generateDocumentTitle/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleMultiple/index.d.cts +6 -0
- package/dist/definitions/helpers/handleMultiple/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handleMultiple/index.d.mts +6 -0
- package/dist/definitions/helpers/handleMultiple/index.d.mts.map +1 -0
- package/dist/definitions/helpers/handleMultiple/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handlePaginationParams/index.d.cts +9 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.mts +9 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.mts.map +1 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.ts +2 -2
- package/dist/definitions/helpers/handlePaginationParams/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleRefineOptions/index.d.cts +26 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.mts +26 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.mts.map +1 -0
- package/dist/definitions/helpers/handleRefineOptions/index.d.ts +5 -3
- package/dist/definitions/helpers/handleRefineOptions/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleUseParams/index.d.cts +2 -0
- package/dist/definitions/helpers/handleUseParams/index.d.cts.map +1 -0
- package/dist/definitions/helpers/handleUseParams/index.d.mts +2 -0
- package/dist/definitions/helpers/handleUseParams/index.d.mts.map +1 -0
- package/dist/definitions/helpers/hasPermission/index.d.cts +2 -0
- package/dist/definitions/helpers/hasPermission/index.d.cts.map +1 -0
- package/dist/definitions/helpers/hasPermission/index.d.mts +2 -0
- package/dist/definitions/helpers/hasPermission/index.d.mts.map +1 -0
- package/dist/definitions/helpers/hasPermission/index.d.ts.map +1 -1
- package/dist/definitions/helpers/humanizeString/index.d.cts +2 -0
- package/dist/definitions/helpers/humanizeString/index.d.cts.map +1 -0
- package/dist/definitions/helpers/humanizeString/index.d.mts +2 -0
- package/dist/definitions/helpers/humanizeString/index.d.mts.map +1 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.cts +3 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.cts.map +1 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.mts +3 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.mts.map +1 -0
- package/dist/definitions/helpers/importCSVMapper/index.d.ts +1 -1
- package/dist/definitions/helpers/importCSVMapper/index.d.ts.map +1 -1
- package/dist/definitions/helpers/index.d.cts +33 -0
- package/dist/definitions/helpers/index.d.cts.map +1 -0
- package/dist/definitions/helpers/index.d.mts +33 -0
- package/dist/definitions/helpers/index.d.mts.map +1 -0
- package/dist/definitions/helpers/index.d.ts +2 -0
- package/dist/definitions/helpers/index.d.ts.map +1 -1
- package/dist/definitions/helpers/keys/index.d.cts +64 -0
- package/dist/definitions/helpers/keys/index.d.cts.map +1 -0
- package/dist/definitions/helpers/keys/index.d.mts +64 -0
- package/dist/definitions/helpers/keys/index.d.mts.map +1 -0
- package/dist/definitions/helpers/keys/index.d.ts +11 -22
- package/dist/definitions/helpers/keys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/legacy-resource-transform/index.d.cts +9 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.cts.map +1 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.mts +9 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.mts.map +1 -0
- package/dist/definitions/helpers/legacy-resource-transform/index.d.ts +1 -1
- package/dist/definitions/helpers/legacy-resource-transform/index.d.ts.map +1 -1
- package/dist/definitions/helpers/menu/create-resource-key.d.cts +3 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.cts.map +1 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.mts +3 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.mts.map +1 -0
- package/dist/definitions/helpers/menu/create-resource-key.d.ts +1 -1
- package/dist/definitions/helpers/menu/create-resource-key.d.ts.map +1 -1
- package/dist/definitions/helpers/menu/create-tree.d.cts +13 -0
- package/dist/definitions/helpers/menu/create-tree.d.cts.map +1 -0
- package/dist/definitions/helpers/menu/create-tree.d.mts +13 -0
- package/dist/definitions/helpers/menu/create-tree.d.mts.map +1 -0
- package/dist/definitions/helpers/menu/create-tree.d.ts +3 -3
- package/dist/definitions/helpers/menu/create-tree.d.ts.map +1 -1
- package/dist/definitions/helpers/pick-resource/index.d.cts +8 -0
- package/dist/definitions/helpers/pick-resource/index.d.cts.map +1 -0
- package/dist/definitions/helpers/pick-resource/index.d.mts +8 -0
- package/dist/definitions/helpers/pick-resource/index.d.mts.map +1 -0
- package/dist/definitions/helpers/pick-resource/index.d.ts +1 -1
- package/dist/definitions/helpers/pick-resource/index.d.ts.map +1 -1
- package/dist/definitions/helpers/pickDataProvider/index.d.cts +6 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.cts.map +1 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.mts +6 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.mts.map +1 -0
- package/dist/definitions/helpers/pickDataProvider/index.d.ts +1 -1
- package/dist/definitions/helpers/pickDataProvider/index.d.ts.map +1 -1
- package/dist/definitions/helpers/pickNotDeprecated/index.d.cts +2 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.cts.map +1 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.mts +2 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.mts.map +1 -0
- package/dist/definitions/helpers/pickNotDeprecated/index.d.ts.map +1 -1
- package/dist/definitions/helpers/property-path-to-array/index.d.cts +2 -0
- package/dist/definitions/helpers/property-path-to-array/index.d.cts.map +1 -0
- package/dist/definitions/helpers/property-path-to-array/index.d.mts +2 -0
- package/dist/definitions/helpers/property-path-to-array/index.d.mts.map +1 -0
- package/dist/definitions/helpers/queryKeys/index.d.cts +7 -0
- package/dist/definitions/helpers/queryKeys/index.d.cts.map +1 -0
- package/dist/definitions/helpers/queryKeys/index.d.mts +7 -0
- package/dist/definitions/helpers/queryKeys/index.d.mts.map +1 -0
- package/dist/definitions/helpers/queryKeys/index.d.ts +1 -2
- package/dist/definitions/helpers/queryKeys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/redirectPage/index.d.cts +11 -0
- package/dist/definitions/helpers/redirectPage/index.d.cts.map +1 -0
- package/dist/definitions/helpers/redirectPage/index.d.mts +11 -0
- package/dist/definitions/helpers/redirectPage/index.d.mts.map +1 -0
- package/dist/definitions/helpers/redirectPage/index.d.ts +4 -2
- package/dist/definitions/helpers/redirectPage/index.d.ts.map +1 -1
- package/dist/definitions/helpers/routeGenerator/index.d.cts +7 -0
- package/dist/definitions/helpers/routeGenerator/index.d.cts.map +1 -0
- package/dist/definitions/helpers/routeGenerator/index.d.mts +7 -0
- package/dist/definitions/helpers/routeGenerator/index.d.mts.map +1 -0
- package/dist/definitions/helpers/routeGenerator/index.d.ts +1 -1
- package/dist/definitions/helpers/routeGenerator/index.d.ts.map +1 -1
- package/dist/definitions/helpers/router/check-by-segments.d.cts +9 -0
- package/dist/definitions/helpers/router/check-by-segments.d.cts.map +1 -0
- package/dist/definitions/helpers/router/check-by-segments.d.mts +9 -0
- package/dist/definitions/helpers/router/check-by-segments.d.mts.map +1 -0
- package/dist/definitions/helpers/router/compose-route.d.cts +11 -0
- package/dist/definitions/helpers/router/compose-route.d.cts.map +1 -0
- package/dist/definitions/helpers/router/compose-route.d.mts +11 -0
- package/dist/definitions/helpers/router/compose-route.d.mts.map +1 -0
- package/dist/definitions/helpers/router/compose-route.d.ts +2 -1
- package/dist/definitions/helpers/router/compose-route.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.cts +16 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts +16 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts +3 -2
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-default-action-path.d.cts +8 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.mts +8 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-default-action-path.d.ts +1 -1
- package/dist/definitions/helpers/router/get-default-action-path.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.cts +7 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts +7 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.ts +1 -1
- package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-parent-resource.d.cts +7 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.cts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.mts +7 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.mts.map +1 -0
- package/dist/definitions/helpers/router/get-parent-resource.d.ts +1 -1
- package/dist/definitions/helpers/router/get-parent-resource.d.ts.map +1 -1
- package/dist/definitions/helpers/router/index.d.cts +10 -0
- package/dist/definitions/helpers/router/index.d.cts.map +1 -0
- package/dist/definitions/helpers/router/index.d.mts +10 -0
- package/dist/definitions/helpers/router/index.d.mts.map +1 -0
- package/dist/definitions/helpers/router/is-parameter.d.cts +5 -0
- package/dist/definitions/helpers/router/is-parameter.d.cts.map +1 -0
- package/dist/definitions/helpers/router/is-parameter.d.mts +5 -0
- package/dist/definitions/helpers/router/is-parameter.d.mts.map +1 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.cts +5 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.cts.map +1 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.mts +5 -0
- package/dist/definitions/helpers/router/is-segment-counts-same.d.mts.map +1 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.cts +15 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.cts.map +1 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.mts +15 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.mts.map +1 -0
- package/dist/definitions/helpers/router/match-resource-from-route.d.ts +2 -1
- package/dist/definitions/helpers/router/match-resource-from-route.d.ts.map +1 -1
- package/dist/definitions/helpers/router/pick-matched-route.d.cts +8 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.cts.map +1 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.mts +8 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.mts.map +1 -0
- package/dist/definitions/helpers/router/pick-matched-route.d.ts.map +1 -1
- package/dist/definitions/helpers/router/pick-route-params.d.cts +6 -0
- package/dist/definitions/helpers/router/pick-route-params.d.cts.map +1 -0
- package/dist/definitions/helpers/router/pick-route-params.d.mts +6 -0
- package/dist/definitions/helpers/router/pick-route-params.d.mts.map +1 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.cts +8 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.cts.map +1 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.mts +8 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.mts.map +1 -0
- package/dist/definitions/helpers/router/prepare-route-params.d.ts.map +1 -1
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.cts +5 -0
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.cts.map +1 -0
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.mts +5 -0
- package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.mts.map +1 -0
- package/dist/definitions/helpers/router/split-to-segments.d.cts +5 -0
- package/dist/definitions/helpers/router/split-to-segments.d.cts.map +1 -0
- package/dist/definitions/helpers/router/split-to-segments.d.mts +5 -0
- package/dist/definitions/helpers/router/split-to-segments.d.mts.map +1 -0
- package/dist/definitions/helpers/safe-translate/index.d.cts +3 -0
- package/dist/definitions/helpers/safe-translate/index.d.cts.map +1 -0
- package/dist/definitions/helpers/safe-translate/index.d.mts +3 -0
- package/dist/definitions/helpers/safe-translate/index.d.mts.map +1 -0
- package/dist/definitions/helpers/safe-translate/index.d.ts +1 -1
- package/dist/definitions/helpers/safe-translate/index.d.ts.map +1 -1
- package/dist/definitions/helpers/sanitize-resource/index.d.cts +8 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.cts.map +1 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.mts +8 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.mts.map +1 -0
- package/dist/definitions/helpers/sanitize-resource/index.d.ts +1 -1
- package/dist/definitions/helpers/sanitize-resource/index.d.ts.map +1 -1
- package/dist/definitions/helpers/sequentialPromises/index.d.cts +5 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.cts.map +1 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.mts +5 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.mts.map +1 -0
- package/dist/definitions/helpers/sequentialPromises/index.d.ts +2 -2
- package/dist/definitions/helpers/sequentialPromises/index.d.ts.map +1 -1
- package/dist/definitions/helpers/treeView/createTreeView/index.d.cts +6 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.cts.map +1 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.mts +6 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.mts.map +1 -0
- package/dist/definitions/helpers/treeView/createTreeView/index.d.ts +1 -1
- package/dist/definitions/helpers/treeView/createTreeView/index.d.ts.map +1 -1
- package/dist/definitions/helpers/treeView/index.d.cts +2 -0
- package/dist/definitions/helpers/treeView/index.d.cts.map +1 -0
- package/dist/definitions/helpers/treeView/index.d.mts +2 -0
- package/dist/definitions/helpers/treeView/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts +34 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts +34 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useActiveAuthProvider/index.d.ts +14 -14
- package/dist/definitions/helpers/useInfinitePagination/index.d.cts +4 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.mts +4 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useInfinitePagination/index.d.ts +1 -1
- package/dist/definitions/helpers/useInfinitePagination/index.d.ts.map +1 -1
- package/dist/definitions/helpers/useMediaQuery/index.d.cts +2 -0
- package/dist/definitions/helpers/useMediaQuery/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useMediaQuery/index.d.mts +2 -0
- package/dist/definitions/helpers/useMediaQuery/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.cts +6 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.cts.map +1 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.mts +6 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.mts.map +1 -0
- package/dist/definitions/helpers/useUserFriendlyName/index.d.ts.map +1 -1
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.cts +7 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.cts.map +1 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts +7 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts.map +1 -0
- package/dist/definitions/helpers/userFriendlyResourceName/index.d.ts.map +1 -1
- package/dist/definitions/helpers/userFriendlySeconds/index.d.cts +2 -0
- package/dist/definitions/helpers/userFriendlySeconds/index.d.cts.map +1 -0
- package/dist/definitions/helpers/userFriendlySeconds/index.d.mts +2 -0
- package/dist/definitions/helpers/userFriendlySeconds/index.d.mts.map +1 -0
- package/dist/definitions/index.d.cts +4 -0
- package/dist/definitions/index.d.cts.map +1 -0
- package/dist/definitions/index.d.mts +4 -0
- package/dist/definitions/index.d.mts.map +1 -0
- package/dist/definitions/table/index.d.cts +34 -0
- package/dist/definitions/table/index.d.cts.map +1 -0
- package/dist/definitions/table/index.d.mts +34 -0
- package/dist/definitions/table/index.d.mts.map +1 -0
- package/dist/definitions/table/index.d.ts +13 -13
- package/dist/definitions/table/index.d.ts.map +1 -1
- package/dist/definitions/upload/file2Base64/index.d.cts +2 -0
- package/dist/definitions/upload/file2Base64/index.d.cts.map +1 -0
- package/dist/definitions/upload/file2Base64/index.d.mts +2 -0
- package/dist/definitions/upload/file2Base64/index.d.mts.map +1 -0
- package/dist/definitions/upload/index.d.cts +2 -0
- package/dist/definitions/upload/index.d.cts.map +1 -0
- package/dist/definitions/upload/index.d.mts +2 -0
- package/dist/definitions/upload/index.d.mts.map +1 -0
- package/dist/hooks/accessControl/index.d.cts +3 -0
- package/dist/hooks/accessControl/index.d.cts.map +1 -0
- package/dist/hooks/accessControl/index.d.mts +3 -0
- package/dist/hooks/accessControl/index.d.mts.map +1 -0
- package/dist/hooks/accessControl/useCan/index.d.cts +18 -0
- package/dist/hooks/accessControl/useCan/index.d.cts.map +1 -0
- package/dist/hooks/accessControl/useCan/index.d.mts +18 -0
- package/dist/hooks/accessControl/useCan/index.d.mts.map +1 -0
- package/dist/hooks/accessControl/useCan/index.d.ts +2 -2
- package/dist/hooks/accessControl/useCan/index.d.ts.map +1 -1
- package/dist/hooks/accessControl/useCanWithoutCache.d.cts +3 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.cts.map +1 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.mts +3 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.mts.map +1 -0
- package/dist/hooks/accessControl/useCanWithoutCache.d.ts +1 -1
- package/dist/hooks/accessControl/useCanWithoutCache.d.ts.map +1 -1
- package/dist/hooks/auditLog/index.d.cts +3 -0
- package/dist/hooks/auditLog/index.d.cts.map +1 -0
- package/dist/hooks/auditLog/index.d.mts +3 -0
- package/dist/hooks/auditLog/index.d.mts.map +1 -0
- package/dist/hooks/auditLog/useLog/index.d.cts +27 -0
- package/dist/hooks/auditLog/useLog/index.d.cts.map +1 -0
- package/dist/hooks/auditLog/useLog/index.d.mts +27 -0
- package/dist/hooks/auditLog/useLog/index.d.mts.map +1 -0
- package/dist/hooks/auditLog/useLog/index.d.ts +5 -4
- package/dist/hooks/auditLog/useLog/index.d.ts.map +1 -1
- package/dist/hooks/auditLog/useLogList/index.d.cts +22 -0
- package/dist/hooks/auditLog/useLogList/index.d.cts.map +1 -0
- package/dist/hooks/auditLog/useLogList/index.d.mts +22 -0
- package/dist/hooks/auditLog/useLogList/index.d.mts.map +1 -0
- package/dist/hooks/auditLog/useLogList/index.d.ts +4 -4
- package/dist/hooks/auditLog/useLogList/index.d.ts.map +1 -1
- package/dist/hooks/auth/index.d.cts +11 -0
- package/dist/hooks/auth/index.d.cts.map +1 -0
- package/dist/hooks/auth/index.d.mts +11 -0
- package/dist/hooks/auth/index.d.mts.map +1 -0
- package/dist/hooks/auth/useForgotPassword/index.d.cts +22 -0
- package/dist/hooks/auth/useForgotPassword/index.d.cts.map +1 -0
- package/dist/hooks/auth/useForgotPassword/index.d.mts +22 -0
- package/dist/hooks/auth/useForgotPassword/index.d.mts.map +1 -0
- package/dist/hooks/auth/useForgotPassword/index.d.ts +8 -7
- package/dist/hooks/auth/useForgotPassword/index.d.ts.map +1 -1
- package/dist/hooks/auth/useGetIdentity/index.d.cts +21 -0
- package/dist/hooks/auth/useGetIdentity/index.d.cts.map +1 -0
- package/dist/hooks/auth/useGetIdentity/index.d.mts +21 -0
- package/dist/hooks/auth/useGetIdentity/index.d.mts.map +1 -0
- package/dist/hooks/auth/useGetIdentity/index.d.ts +8 -8
- package/dist/hooks/auth/useGetIdentity/index.d.ts.map +1 -1
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.cts +2 -0
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.cts.map +1 -0
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.mts +2 -0
- package/dist/hooks/auth/useInvalidateAuthStore/index.d.mts.map +1 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.cts +25 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.cts.map +1 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.mts +25 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.mts.map +1 -0
- package/dist/hooks/auth/useIsAuthenticated/index.d.ts +7 -7
- package/dist/hooks/auth/useIsAuthenticated/index.d.ts.map +1 -1
- package/dist/hooks/auth/useIsExistAuthentication/index.d.cts +6 -0
- package/dist/hooks/auth/useIsExistAuthentication/index.d.cts.map +1 -0
- package/dist/hooks/auth/useIsExistAuthentication/index.d.mts +6 -0
- package/dist/hooks/auth/useIsExistAuthentication/index.d.mts.map +1 -0
- package/dist/hooks/auth/useLogin/index.d.cts +22 -0
- package/dist/hooks/auth/useLogin/index.d.cts.map +1 -0
- package/dist/hooks/auth/useLogin/index.d.mts +22 -0
- package/dist/hooks/auth/useLogin/index.d.mts.map +1 -0
- package/dist/hooks/auth/useLogin/index.d.ts +8 -8
- package/dist/hooks/auth/useLogin/index.d.ts.map +1 -1
- package/dist/hooks/auth/useLogout/index.d.cts +26 -0
- package/dist/hooks/auth/useLogout/index.d.cts.map +1 -0
- package/dist/hooks/auth/useLogout/index.d.mts +26 -0
- package/dist/hooks/auth/useLogout/index.d.mts.map +1 -0
- package/dist/hooks/auth/useLogout/index.d.ts +9 -9
- package/dist/hooks/auth/useLogout/index.d.ts.map +1 -1
- package/dist/hooks/auth/useOnError/index.d.cts +22 -0
- package/dist/hooks/auth/useOnError/index.d.cts.map +1 -0
- package/dist/hooks/auth/useOnError/index.d.mts +22 -0
- package/dist/hooks/auth/useOnError/index.d.mts.map +1 -0
- package/dist/hooks/auth/useOnError/index.d.ts +7 -7
- package/dist/hooks/auth/useOnError/index.d.ts.map +1 -1
- package/dist/hooks/auth/usePermissions/index.d.cts +24 -0
- package/dist/hooks/auth/usePermissions/index.d.cts.map +1 -0
- package/dist/hooks/auth/usePermissions/index.d.mts +24 -0
- package/dist/hooks/auth/usePermissions/index.d.mts.map +1 -0
- package/dist/hooks/auth/usePermissions/index.d.ts +14 -11
- package/dist/hooks/auth/usePermissions/index.d.ts.map +1 -1
- package/dist/hooks/auth/useRegister/index.d.cts +22 -0
- package/dist/hooks/auth/useRegister/index.d.cts.map +1 -0
- package/dist/hooks/auth/useRegister/index.d.mts +22 -0
- package/dist/hooks/auth/useRegister/index.d.mts.map +1 -0
- package/dist/hooks/auth/useRegister/index.d.ts +8 -7
- package/dist/hooks/auth/useRegister/index.d.ts.map +1 -1
- package/dist/hooks/auth/useUpdatePassword/index.d.cts +23 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.cts.map +1 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.mts +23 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.mts.map +1 -0
- package/dist/hooks/auth/useUpdatePassword/index.d.ts +9 -7
- package/dist/hooks/auth/useUpdatePassword/index.d.ts.map +1 -1
- package/dist/hooks/breadcrumb/index.d.cts +18 -0
- package/dist/hooks/breadcrumb/index.d.cts.map +1 -0
- package/dist/hooks/breadcrumb/index.d.mts +18 -0
- package/dist/hooks/breadcrumb/index.d.mts.map +1 -0
- package/dist/hooks/breadcrumb/index.d.ts +3 -3
- package/dist/hooks/breadcrumb/index.d.ts.map +1 -1
- package/dist/hooks/button/actionable-button/index.d.cts +8 -0
- package/dist/hooks/button/actionable-button/index.d.cts.map +1 -0
- package/dist/hooks/button/actionable-button/index.d.mts +8 -0
- package/dist/hooks/button/actionable-button/index.d.mts.map +1 -0
- package/dist/hooks/button/actionable-button/index.d.ts +8 -0
- package/dist/hooks/button/actionable-button/index.d.ts.map +1 -0
- package/dist/hooks/button/button-can-access/index.d.cts +22 -0
- package/dist/hooks/button/button-can-access/index.d.cts.map +1 -0
- package/dist/hooks/button/button-can-access/index.d.mts +22 -0
- package/dist/hooks/button/button-can-access/index.d.mts.map +1 -0
- package/dist/hooks/button/button-can-access/index.d.ts +22 -0
- package/dist/hooks/button/button-can-access/index.d.ts.map +1 -0
- package/dist/hooks/button/delete-button/index.d.cts +28 -0
- package/dist/hooks/button/delete-button/index.d.cts.map +1 -0
- package/dist/hooks/button/delete-button/index.d.mts +28 -0
- package/dist/hooks/button/delete-button/index.d.mts.map +1 -0
- package/dist/hooks/button/delete-button/index.d.ts +28 -0
- package/dist/hooks/button/delete-button/index.d.ts.map +1 -0
- package/dist/hooks/button/index.d.cts +13 -0
- package/dist/hooks/button/index.d.cts.map +1 -0
- package/dist/hooks/button/index.d.mts +13 -0
- package/dist/hooks/button/index.d.mts.map +1 -0
- package/dist/hooks/button/index.d.ts +13 -0
- package/dist/hooks/button/index.d.ts.map +1 -0
- package/dist/hooks/button/navigation-button/index.d.cts +28 -0
- package/dist/hooks/button/navigation-button/index.d.cts.map +1 -0
- package/dist/hooks/button/navigation-button/index.d.mts +28 -0
- package/dist/hooks/button/navigation-button/index.d.mts.map +1 -0
- package/dist/hooks/button/navigation-button/index.d.ts +28 -0
- package/dist/hooks/button/navigation-button/index.d.ts.map +1 -0
- package/dist/hooks/button/refresh-button/index.d.cts +14 -0
- package/dist/hooks/button/refresh-button/index.d.cts.map +1 -0
- package/dist/hooks/button/refresh-button/index.d.mts +14 -0
- package/dist/hooks/button/refresh-button/index.d.mts.map +1 -0
- package/dist/hooks/button/refresh-button/index.d.ts +14 -0
- package/dist/hooks/button/refresh-button/index.d.ts.map +1 -0
- package/dist/hooks/data/index.d.cts +15 -0
- package/dist/hooks/data/index.d.cts.map +1 -0
- package/dist/hooks/data/index.d.mts +15 -0
- package/dist/hooks/data/index.d.mts.map +1 -0
- package/dist/hooks/data/useApiUrl.d.cts +2 -0
- package/dist/hooks/data/useApiUrl.d.cts.map +1 -0
- package/dist/hooks/data/useApiUrl.d.mts +2 -0
- package/dist/hooks/data/useApiUrl.d.mts.map +1 -0
- package/dist/hooks/data/useApiUrl.d.ts.map +1 -1
- package/dist/hooks/data/useCreate.d.cts +49 -0
- package/dist/hooks/data/useCreate.d.cts.map +1 -0
- package/dist/hooks/data/useCreate.d.mts +49 -0
- package/dist/hooks/data/useCreate.d.mts.map +1 -0
- package/dist/hooks/data/useCreate.d.ts +6 -6
- package/dist/hooks/data/useCreate.d.ts.map +1 -1
- package/dist/hooks/data/useCreateMany.d.cts +31 -0
- package/dist/hooks/data/useCreateMany.d.cts.map +1 -0
- package/dist/hooks/data/useCreateMany.d.mts +31 -0
- package/dist/hooks/data/useCreateMany.d.mts.map +1 -0
- package/dist/hooks/data/useCreateMany.d.ts +5 -4
- package/dist/hooks/data/useCreateMany.d.ts.map +1 -1
- package/dist/hooks/data/useCustom.d.cts +63 -0
- package/dist/hooks/data/useCustom.d.cts.map +1 -0
- package/dist/hooks/data/useCustom.d.mts +63 -0
- package/dist/hooks/data/useCustom.d.mts.map +1 -0
- package/dist/hooks/data/useCustom.d.ts +6 -5
- package/dist/hooks/data/useCustom.d.ts.map +1 -1
- package/dist/hooks/data/useCustomMutation.d.cts +42 -0
- package/dist/hooks/data/useCustomMutation.d.cts.map +1 -0
- package/dist/hooks/data/useCustomMutation.d.mts +42 -0
- package/dist/hooks/data/useCustomMutation.d.mts.map +1 -0
- package/dist/hooks/data/useCustomMutation.d.ts +5 -4
- package/dist/hooks/data/useCustomMutation.d.ts.map +1 -1
- package/dist/hooks/data/useDataProvider.d.cts +3 -0
- package/dist/hooks/data/useDataProvider.d.cts.map +1 -0
- package/dist/hooks/data/useDataProvider.d.mts +3 -0
- package/dist/hooks/data/useDataProvider.d.mts.map +1 -0
- package/dist/hooks/data/useDataProvider.d.ts +2 -2
- package/dist/hooks/data/useDataProvider.d.ts.map +1 -1
- package/dist/hooks/data/useDelete.d.cts +65 -0
- package/dist/hooks/data/useDelete.d.cts.map +1 -0
- package/dist/hooks/data/useDelete.d.mts +65 -0
- package/dist/hooks/data/useDelete.d.mts.map +1 -0
- package/dist/hooks/data/useDelete.d.ts +5 -4
- package/dist/hooks/data/useDelete.d.ts.map +1 -1
- package/dist/hooks/data/useDeleteMany.d.cts +65 -0
- package/dist/hooks/data/useDeleteMany.d.cts.map +1 -0
- package/dist/hooks/data/useDeleteMany.d.mts +65 -0
- package/dist/hooks/data/useDeleteMany.d.mts.map +1 -0
- package/dist/hooks/data/useDeleteMany.d.ts +5 -4
- package/dist/hooks/data/useDeleteMany.d.ts.map +1 -1
- package/dist/hooks/data/useInfiniteList.d.cts +74 -0
- package/dist/hooks/data/useInfiniteList.d.cts.map +1 -0
- package/dist/hooks/data/useInfiniteList.d.mts +74 -0
- package/dist/hooks/data/useInfiniteList.d.mts.map +1 -0
- package/dist/hooks/data/useInfiniteList.d.ts +9 -7
- package/dist/hooks/data/useInfiniteList.d.ts.map +1 -1
- package/dist/hooks/data/useList.d.cts +73 -0
- package/dist/hooks/data/useList.d.cts.map +1 -0
- package/dist/hooks/data/useList.d.mts +73 -0
- package/dist/hooks/data/useList.d.mts.map +1 -0
- package/dist/hooks/data/useList.d.ts +9 -7
- package/dist/hooks/data/useList.d.ts.map +1 -1
- package/dist/hooks/data/useMany.d.cts +48 -0
- package/dist/hooks/data/useMany.d.cts.map +1 -0
- package/dist/hooks/data/useMany.d.mts +48 -0
- package/dist/hooks/data/useMany.d.mts.map +1 -0
- package/dist/hooks/data/useMany.d.ts +4 -2
- package/dist/hooks/data/useMany.d.ts.map +1 -1
- package/dist/hooks/data/useOne.d.cts +50 -0
- package/dist/hooks/data/useOne.d.cts.map +1 -0
- package/dist/hooks/data/useOne.d.mts +50 -0
- package/dist/hooks/data/useOne.d.mts.map +1 -0
- package/dist/hooks/data/useOne.d.ts +4 -2
- package/dist/hooks/data/useOne.d.ts.map +1 -1
- package/dist/hooks/data/useUpdate.d.cts +83 -0
- package/dist/hooks/data/useUpdate.d.cts.map +1 -0
- package/dist/hooks/data/useUpdate.d.mts +83 -0
- package/dist/hooks/data/useUpdate.d.mts.map +1 -0
- package/dist/hooks/data/useUpdate.d.ts +10 -4
- package/dist/hooks/data/useUpdate.d.ts.map +1 -1
- package/dist/hooks/data/useUpdateMany.d.cts +84 -0
- package/dist/hooks/data/useUpdateMany.d.cts.map +1 -0
- package/dist/hooks/data/useUpdateMany.d.mts +84 -0
- package/dist/hooks/data/useUpdateMany.d.mts.map +1 -0
- package/dist/hooks/data/useUpdateMany.d.ts +10 -4
- package/dist/hooks/data/useUpdateMany.d.ts.map +1 -1
- package/dist/hooks/deepMemo/index.d.cts +7 -0
- package/dist/hooks/deepMemo/index.d.cts.map +1 -0
- package/dist/hooks/deepMemo/index.d.mts +7 -0
- package/dist/hooks/deepMemo/index.d.mts.map +1 -0
- package/dist/hooks/deepMemo/index.d.ts.map +1 -1
- package/dist/hooks/export/index.d.cts +99 -0
- package/dist/hooks/export/index.d.cts.map +1 -0
- package/dist/hooks/export/index.d.mts +99 -0
- package/dist/hooks/export/index.d.mts.map +1 -0
- package/dist/hooks/export/index.d.ts +10 -9
- package/dist/hooks/export/index.d.ts.map +1 -1
- package/dist/hooks/export/types.d.cts +23 -0
- package/dist/hooks/export/types.d.cts.map +1 -0
- package/dist/hooks/export/types.d.mts +23 -0
- package/dist/hooks/export/types.d.mts.map +1 -0
- package/dist/hooks/export/types.d.ts +23 -0
- package/dist/hooks/export/types.d.ts.map +1 -0
- package/dist/hooks/form/index.d.cts +18 -0
- package/dist/hooks/form/index.d.cts.map +1 -0
- package/dist/hooks/form/index.d.mts +18 -0
- package/dist/hooks/form/index.d.mts.map +1 -0
- package/dist/hooks/form/index.d.ts +17 -1
- package/dist/hooks/form/index.d.ts.map +1 -1
- package/dist/hooks/form/types.d.cts +146 -0
- package/dist/hooks/form/types.d.cts.map +1 -0
- package/dist/hooks/form/types.d.mts +146 -0
- package/dist/hooks/form/types.d.mts.map +1 -0
- package/dist/hooks/form/types.d.ts +146 -0
- package/dist/hooks/form/types.d.ts.map +1 -0
- package/dist/hooks/i18n/index.d.cts +5 -0
- package/dist/hooks/i18n/index.d.cts.map +1 -0
- package/dist/hooks/i18n/index.d.mts +5 -0
- package/dist/hooks/i18n/index.d.mts.map +1 -0
- package/dist/hooks/i18n/index.d.ts +5 -0
- package/dist/hooks/i18n/index.d.ts.map +1 -0
- package/dist/hooks/i18n/useGetLocale.d.cts +9 -0
- package/dist/hooks/i18n/useGetLocale.d.cts.map +1 -0
- package/dist/hooks/i18n/useGetLocale.d.mts +9 -0
- package/dist/hooks/i18n/useGetLocale.d.mts.map +1 -0
- package/dist/hooks/i18n/useGetLocale.d.ts +9 -0
- package/dist/hooks/i18n/useGetLocale.d.ts.map +1 -0
- package/dist/hooks/i18n/useSetLocale.d.cts +8 -0
- package/dist/hooks/i18n/useSetLocale.d.cts.map +1 -0
- package/dist/hooks/i18n/useSetLocale.d.mts +8 -0
- package/dist/hooks/i18n/useSetLocale.d.mts.map +1 -0
- package/dist/hooks/i18n/useSetLocale.d.ts +8 -0
- package/dist/hooks/i18n/useSetLocale.d.ts.map +1 -0
- package/dist/hooks/i18n/useTranslate.d.cts.map +1 -0
- package/dist/hooks/i18n/useTranslate.d.mts +11 -0
- package/dist/hooks/i18n/useTranslate.d.mts.map +1 -0
- package/dist/hooks/i18n/useTranslate.d.ts +11 -0
- package/dist/hooks/i18n/useTranslate.d.ts.map +1 -0
- package/dist/hooks/i18n/useTranslation.d.cts +18 -0
- package/dist/hooks/i18n/useTranslation.d.cts.map +1 -0
- package/dist/hooks/i18n/useTranslation.d.mts +18 -0
- package/dist/hooks/i18n/useTranslation.d.mts.map +1 -0
- package/dist/hooks/i18n/useTranslation.d.ts +18 -0
- package/dist/hooks/i18n/useTranslation.d.ts.map +1 -0
- package/dist/hooks/import/index.d.cts +101 -0
- package/dist/hooks/import/index.d.cts.map +1 -0
- package/dist/hooks/import/index.d.mts +101 -0
- package/dist/hooks/import/index.d.mts.map +1 -0
- package/dist/hooks/import/index.d.ts +13 -12
- package/dist/hooks/import/index.d.ts.map +1 -1
- package/dist/hooks/index.d.cts +31 -0
- package/dist/hooks/index.d.cts.map +1 -0
- package/dist/hooks/index.d.mts +31 -0
- package/dist/hooks/index.d.mts.map +1 -0
- package/dist/hooks/index.d.ts +6 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/invalidate/index.d.cts +12 -0
- package/dist/hooks/invalidate/index.d.cts.map +1 -0
- package/dist/hooks/invalidate/index.d.mts +12 -0
- package/dist/hooks/invalidate/index.d.mts.map +1 -0
- package/dist/hooks/invalidate/index.d.ts +2 -2
- package/dist/hooks/invalidate/index.d.ts.map +1 -1
- package/dist/hooks/legacy-router/index.d.cts +2 -0
- package/dist/hooks/legacy-router/index.d.cts.map +1 -0
- package/dist/hooks/legacy-router/index.d.mts +2 -0
- package/dist/hooks/legacy-router/index.d.mts.map +1 -0
- package/dist/hooks/legacy-router/useRouterContext.d.cts +10 -0
- package/dist/hooks/legacy-router/useRouterContext.d.cts.map +1 -0
- package/dist/hooks/legacy-router/useRouterContext.d.mts +10 -0
- package/dist/hooks/legacy-router/useRouterContext.d.mts.map +1 -0
- package/dist/hooks/legacy-router/useRouterContext.d.ts.map +1 -1
- package/dist/hooks/live/index.d.cts +5 -0
- package/dist/hooks/live/index.d.cts.map +1 -0
- package/dist/hooks/live/index.d.mts +5 -0
- package/dist/hooks/live/index.d.mts.map +1 -0
- package/dist/hooks/live/useLiveMode/index.d.cts +3 -0
- package/dist/hooks/live/useLiveMode/index.d.cts.map +1 -0
- package/dist/hooks/live/useLiveMode/index.d.mts +3 -0
- package/dist/hooks/live/useLiveMode/index.d.mts.map +1 -0
- package/dist/hooks/live/useLiveMode/index.d.ts +1 -1
- package/dist/hooks/live/useLiveMode/index.d.ts.map +1 -1
- package/dist/hooks/live/usePublish/index.d.cts +3 -0
- package/dist/hooks/live/usePublish/index.d.cts.map +1 -0
- package/dist/hooks/live/usePublish/index.d.mts +3 -0
- package/dist/hooks/live/usePublish/index.d.mts.map +1 -0
- package/dist/hooks/live/usePublish/index.d.ts +2 -2
- package/dist/hooks/live/usePublish/index.d.ts.map +1 -1
- package/dist/hooks/live/useResourceSubscription/index.d.cts +43 -0
- package/dist/hooks/live/useResourceSubscription/index.d.cts.map +1 -0
- package/dist/hooks/live/useResourceSubscription/index.d.mts +43 -0
- package/dist/hooks/live/useResourceSubscription/index.d.mts.map +1 -0
- package/dist/hooks/live/useResourceSubscription/index.d.ts +7 -8
- package/dist/hooks/live/useResourceSubscription/index.d.ts.map +1 -1
- package/dist/hooks/live/useSubscription/index.d.cts +57 -0
- package/dist/hooks/live/useSubscription/index.d.cts.map +1 -0
- package/dist/hooks/live/useSubscription/index.d.mts +57 -0
- package/dist/hooks/live/useSubscription/index.d.mts.map +1 -0
- package/dist/hooks/live/useSubscription/index.d.ts +6 -5
- package/dist/hooks/live/useSubscription/index.d.ts.map +1 -1
- package/dist/hooks/memoized/index.d.cts +6 -0
- package/dist/hooks/memoized/index.d.cts.map +1 -0
- package/dist/hooks/memoized/index.d.mts +6 -0
- package/dist/hooks/memoized/index.d.mts.map +1 -0
- package/dist/hooks/memoized/index.d.ts.map +1 -1
- package/dist/hooks/menu/index.d.cts +2 -0
- package/dist/hooks/menu/index.d.cts.map +1 -0
- package/dist/hooks/menu/index.d.mts +2 -0
- package/dist/hooks/menu/index.d.mts.map +1 -0
- package/dist/hooks/menu/useMenu.d.cts +28 -0
- package/dist/hooks/menu/useMenu.d.cts.map +1 -0
- package/dist/hooks/menu/useMenu.d.mts +28 -0
- package/dist/hooks/menu/useMenu.d.mts.map +1 -0
- package/dist/hooks/menu/useMenu.d.ts +3 -3
- package/dist/hooks/menu/useMenu.d.ts.map +1 -1
- package/dist/hooks/modal/index.d.cts +2 -0
- package/dist/hooks/modal/index.d.cts.map +1 -0
- package/dist/hooks/modal/index.d.mts +2 -0
- package/dist/hooks/modal/index.d.mts.map +1 -0
- package/dist/hooks/modal/useModal/index.d.cts +13 -0
- package/dist/hooks/modal/useModal/index.d.cts.map +1 -0
- package/dist/hooks/modal/useModal/index.d.mts +13 -0
- package/dist/hooks/modal/useModal/index.d.mts.map +1 -0
- package/dist/hooks/modal/useModal/index.d.ts +2 -2
- package/dist/hooks/modal/useModal/index.d.ts.map +1 -1
- package/dist/hooks/navigation/index.d.cts +28 -0
- package/dist/hooks/navigation/index.d.cts.map +1 -0
- package/dist/hooks/navigation/index.d.mts +28 -0
- package/dist/hooks/navigation/index.d.mts.map +1 -0
- package/dist/hooks/navigation/index.d.ts +3 -2
- package/dist/hooks/navigation/index.d.ts.map +1 -1
- package/dist/hooks/notification/index.d.cts +4 -0
- package/dist/hooks/notification/index.d.cts.map +1 -0
- package/dist/hooks/notification/index.d.mts +4 -0
- package/dist/hooks/notification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useCancelNotification/index.d.cts +8 -0
- package/dist/hooks/notification/useCancelNotification/index.d.cts.map +1 -0
- package/dist/hooks/notification/useCancelNotification/index.d.mts +8 -0
- package/dist/hooks/notification/useCancelNotification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useCancelNotification/index.d.ts +2 -2
- package/dist/hooks/notification/useCancelNotification/index.d.ts.map +1 -1
- package/dist/hooks/notification/useHandleNotification/index.d.cts +3 -0
- package/dist/hooks/notification/useHandleNotification/index.d.cts.map +1 -0
- package/dist/hooks/notification/useHandleNotification/index.d.mts +3 -0
- package/dist/hooks/notification/useHandleNotification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useHandleNotification/index.d.ts +1 -1
- package/dist/hooks/notification/useHandleNotification/index.d.ts.map +1 -1
- package/dist/hooks/notification/useNotification/index.d.cts +3 -0
- package/dist/hooks/notification/useNotification/index.d.cts.map +1 -0
- package/dist/hooks/notification/useNotification/index.d.mts +3 -0
- package/dist/hooks/notification/useNotification/index.d.mts.map +1 -0
- package/dist/hooks/notification/useNotification/index.d.ts +1 -1
- package/dist/hooks/notification/useNotification/index.d.ts.map +1 -1
- package/dist/hooks/redirection/index.d.cts +11 -0
- package/dist/hooks/redirection/index.d.cts.map +1 -0
- package/dist/hooks/redirection/index.d.mts +11 -0
- package/dist/hooks/redirection/index.d.mts.map +1 -0
- package/dist/hooks/redirection/index.d.ts +4 -2
- package/dist/hooks/redirection/index.d.ts.map +1 -1
- package/dist/hooks/refine/index.d.cts +6 -0
- package/dist/hooks/refine/index.d.cts.map +1 -0
- package/dist/hooks/refine/index.d.mts +6 -0
- package/dist/hooks/refine/index.d.mts.map +1 -0
- package/dist/hooks/refine/useMutationMode.d.cts +16 -0
- package/dist/hooks/refine/useMutationMode.d.cts.map +1 -0
- package/dist/hooks/refine/useMutationMode.d.mts +16 -0
- package/dist/hooks/refine/useMutationMode.d.mts.map +1 -0
- package/dist/hooks/refine/useMutationMode.d.ts +3 -2
- package/dist/hooks/refine/useMutationMode.d.ts.map +1 -1
- package/dist/hooks/refine/useRefineContext.d.cts +20 -0
- package/dist/hooks/refine/useRefineContext.d.cts.map +1 -0
- package/dist/hooks/refine/useRefineContext.d.mts +20 -0
- package/dist/hooks/refine/useRefineContext.d.mts.map +1 -0
- package/dist/hooks/refine/useRefineContext.d.ts +2 -2
- package/dist/hooks/refine/useSyncWithLocation.d.cts +13 -0
- package/dist/hooks/refine/useSyncWithLocation.d.cts.map +1 -0
- package/dist/hooks/refine/useSyncWithLocation.d.mts +13 -0
- package/dist/hooks/refine/useSyncWithLocation.d.mts.map +1 -0
- package/dist/hooks/refine/useSyncWithLocation.d.ts +2 -2
- package/dist/hooks/refine/useSyncWithLocation.d.ts.map +1 -1
- package/dist/hooks/refine/useTitle.d.cts +10 -0
- package/dist/hooks/refine/useTitle.d.cts.map +1 -0
- package/dist/hooks/refine/useTitle.d.mts +10 -0
- package/dist/hooks/refine/useTitle.d.mts.map +1 -0
- package/dist/hooks/refine/useTitle.d.ts +1 -1
- package/dist/hooks/refine/useTitle.d.ts.map +1 -1
- package/dist/hooks/refine/useWarnAboutChange/index.d.cts +16 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.cts.map +1 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.mts +16 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.mts.map +1 -0
- package/dist/hooks/refine/useWarnAboutChange/index.d.ts +3 -2
- package/dist/hooks/refine/useWarnAboutChange/index.d.ts.map +1 -1
- package/dist/hooks/resource/index.d.cts +3 -0
- package/dist/hooks/resource/index.d.cts.map +1 -0
- package/dist/hooks/resource/index.d.mts +3 -0
- package/dist/hooks/resource/index.d.mts.map +1 -0
- package/dist/hooks/resource/useResource/index.d.cts +63 -0
- package/dist/hooks/resource/useResource/index.d.cts.map +1 -0
- package/dist/hooks/resource/useResource/index.d.mts +63 -0
- package/dist/hooks/resource/useResource/index.d.mts.map +1 -0
- package/dist/hooks/resource/useResource/index.d.ts +14 -6
- package/dist/hooks/resource/useResource/index.d.ts.map +1 -1
- package/dist/hooks/resource/useResourceWithRoute/index.d.cts +8 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.cts.map +1 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.mts +8 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.mts.map +1 -0
- package/dist/hooks/resource/useResourceWithRoute/index.d.ts +2 -2
- package/dist/hooks/resource/useResourceWithRoute/index.d.ts.map +1 -1
- package/dist/hooks/router/index.d.cts +8 -0
- package/dist/hooks/router/index.d.cts.map +1 -0
- package/dist/hooks/router/index.d.mts +8 -0
- package/dist/hooks/router/index.d.mts.map +1 -0
- package/dist/hooks/router/use-back/index.d.cts +2 -0
- package/dist/hooks/router/use-back/index.d.cts.map +1 -0
- package/dist/hooks/router/use-back/index.d.mts +2 -0
- package/dist/hooks/router/use-back/index.d.mts.map +1 -0
- package/dist/hooks/router/use-get-to-path/index.d.cts +19 -0
- package/dist/hooks/router/use-get-to-path/index.d.cts.map +1 -0
- package/dist/hooks/router/use-get-to-path/index.d.mts +19 -0
- package/dist/hooks/router/use-get-to-path/index.d.mts.map +1 -0
- package/dist/hooks/router/use-get-to-path/index.d.ts +4 -3
- package/dist/hooks/router/use-get-to-path/index.d.ts.map +1 -1
- package/dist/hooks/router/use-go/index.d.cts +33 -0
- package/dist/hooks/router/use-go/index.d.cts.map +1 -0
- package/dist/hooks/router/use-go/index.d.mts +33 -0
- package/dist/hooks/router/use-go/index.d.mts.map +1 -0
- package/dist/hooks/router/use-go/index.d.ts +7 -5
- package/dist/hooks/router/use-go/index.d.ts.map +1 -1
- package/dist/hooks/router/use-link/index.d.cts +6 -0
- package/dist/hooks/router/use-link/index.d.cts.map +1 -0
- package/dist/hooks/router/use-link/index.d.mts +6 -0
- package/dist/hooks/router/use-link/index.d.mts.map +1 -0
- package/dist/hooks/router/use-parse/index.d.cts +5 -0
- package/dist/hooks/router/use-parse/index.d.cts.map +1 -0
- package/dist/hooks/router/use-parse/index.d.mts +5 -0
- package/dist/hooks/router/use-parse/index.d.mts.map +1 -0
- package/dist/hooks/router/use-parse/index.d.ts +2 -2
- package/dist/hooks/router/use-parse/index.d.ts.map +1 -1
- package/dist/hooks/router/use-parsed/index.d.cts +2 -0
- package/dist/hooks/router/use-parsed/index.d.cts.map +1 -0
- package/dist/hooks/router/use-parsed/index.d.mts +2 -0
- package/dist/hooks/router/use-parsed/index.d.mts.map +1 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.cts +3 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.cts.map +1 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.mts +3 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.mts.map +1 -0
- package/dist/hooks/router/use-router-misuse-warning/index.d.ts +2 -2
- package/dist/hooks/router/use-router-misuse-warning/index.d.ts.map +1 -1
- package/dist/hooks/router/use-to-path/index.d.cts +18 -0
- package/dist/hooks/router/use-to-path/index.d.cts.map +1 -0
- package/dist/hooks/router/use-to-path/index.d.mts +18 -0
- package/dist/hooks/router/use-to-path/index.d.mts.map +1 -0
- package/dist/hooks/router/use-to-path/index.d.ts +3 -2
- package/dist/hooks/router/use-to-path/index.d.ts.map +1 -1
- package/dist/hooks/show/index.d.cts +17 -0
- package/dist/hooks/show/index.d.cts.map +1 -0
- package/dist/hooks/show/index.d.mts +17 -0
- package/dist/hooks/show/index.d.mts.map +1 -0
- package/dist/hooks/show/index.d.ts +16 -1
- package/dist/hooks/show/index.d.ts.map +1 -1
- package/dist/hooks/show/types.d.cts +52 -0
- package/dist/hooks/show/types.d.cts.map +1 -0
- package/dist/hooks/show/types.d.mts +52 -0
- package/dist/hooks/show/types.d.mts.map +1 -0
- package/dist/hooks/show/types.d.ts +52 -0
- package/dist/hooks/show/types.d.ts.map +1 -0
- package/dist/hooks/show/useShow.d.cts +57 -0
- package/dist/hooks/show/useShow.d.cts.map +1 -0
- package/dist/hooks/show/useShow.d.mts +57 -0
- package/dist/hooks/show/useShow.d.mts.map +1 -0
- package/dist/hooks/show/useShow.d.ts +5 -3
- package/dist/hooks/show/useShow.d.ts.map +1 -1
- package/dist/hooks/use-refine-options/index.d.cts +2 -0
- package/dist/hooks/use-refine-options/index.d.cts.map +1 -0
- package/dist/hooks/use-refine-options/index.d.mts +2 -0
- package/dist/hooks/use-refine-options/index.d.mts.map +1 -0
- package/dist/hooks/use-refine-options/index.d.ts +2 -0
- package/dist/hooks/use-refine-options/index.d.ts.map +1 -0
- package/dist/hooks/use-resource-params/index.d.cts +43 -0
- package/dist/hooks/use-resource-params/index.d.cts.map +1 -0
- package/dist/hooks/use-resource-params/index.d.mts +43 -0
- package/dist/hooks/use-resource-params/index.d.mts.map +1 -0
- package/dist/hooks/use-resource-params/index.d.ts +43 -0
- package/dist/hooks/use-resource-params/index.d.ts.map +1 -0
- package/dist/hooks/use-resource-params/use-action/index.d.cts +12 -0
- package/dist/hooks/use-resource-params/use-action/index.d.cts.map +1 -0
- package/dist/hooks/use-resource-params/use-action/index.d.mts +12 -0
- package/dist/hooks/use-resource-params/use-action/index.d.mts.map +1 -0
- package/dist/hooks/use-resource-params/use-action/index.d.ts +12 -0
- package/dist/hooks/use-resource-params/use-action/index.d.ts.map +1 -0
- package/dist/hooks/use-resource-params/use-id/index.d.cts +12 -0
- package/dist/hooks/use-resource-params/use-id/index.d.cts.map +1 -0
- package/dist/hooks/use-resource-params/use-id/index.d.mts +12 -0
- package/dist/hooks/use-resource-params/use-id/index.d.mts.map +1 -0
- package/dist/hooks/use-resource-params/use-id/index.d.ts +12 -0
- package/dist/hooks/use-resource-params/use-id/index.d.ts.map +1 -0
- package/dist/hooks/useKeys/index.d.cts +5 -0
- package/dist/hooks/useKeys/index.d.cts.map +1 -0
- package/dist/hooks/useKeys/index.d.mts +5 -0
- package/dist/hooks/useKeys/index.d.mts.map +1 -0
- package/dist/hooks/useLoadingOvertime/index.d.cts +49 -0
- package/dist/hooks/useLoadingOvertime/index.d.cts.map +1 -0
- package/dist/hooks/useLoadingOvertime/index.d.mts +49 -0
- package/dist/hooks/useLoadingOvertime/index.d.mts.map +1 -0
- package/dist/hooks/useLoadingOvertime/index.d.ts +6 -6
- package/dist/hooks/useLoadingOvertime/index.d.ts.map +1 -1
- package/dist/hooks/useMeta/index.d.cts +19 -0
- package/dist/hooks/useMeta/index.d.cts.map +1 -0
- package/dist/hooks/useMeta/index.d.mts +19 -0
- package/dist/hooks/useMeta/index.d.mts.map +1 -0
- package/dist/hooks/useMeta/index.d.ts +4 -3
- package/dist/hooks/useMeta/index.d.ts.map +1 -1
- package/dist/hooks/useSelect/index.d.cts +131 -0
- package/dist/hooks/useSelect/index.d.cts.map +1 -0
- package/dist/hooks/useSelect/index.d.mts +131 -0
- package/dist/hooks/useSelect/index.d.mts.map +1 -0
- package/dist/hooks/useSelect/index.d.ts +27 -11
- package/dist/hooks/useSelect/index.d.ts.map +1 -1
- package/dist/hooks/useTable/index.d.cts +167 -0
- package/dist/hooks/useTable/index.d.cts.map +1 -0
- package/dist/hooks/useTable/index.d.mts +167 -0
- package/dist/hooks/useTable/index.d.mts.map +1 -0
- package/dist/hooks/useTable/index.d.ts +25 -23
- package/dist/hooks/useTable/index.d.ts.map +1 -1
- package/dist/hooks/useTelemetryData/index.d.cts +3 -0
- package/dist/hooks/useTelemetryData/index.d.cts.map +1 -0
- package/dist/hooks/useTelemetryData/index.d.mts +3 -0
- package/dist/hooks/useTelemetryData/index.d.mts.map +1 -0
- package/dist/hooks/useTelemetryData/index.d.ts +1 -1
- package/dist/hooks/useTelemetryData/index.d.ts.map +1 -1
- package/dist/index.cjs +72 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +24 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +24 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +17 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +72 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +25 -10
- package/refine.config.js +97 -102
- package/src/components/authenticated/index.tsx +159 -161
- package/src/components/autoSaveIndicator/index.tsx +52 -29
- package/src/components/canAccess/index.tsx +89 -97
- package/src/components/containers/index.ts +1 -1
- package/src/components/containers/refine/index.tsx +185 -375
- package/src/components/gh-banner/index.tsx +235 -242
- package/src/components/gh-banner/styles.ts +5 -5
- package/src/components/index.ts +1 -1
- package/src/components/layoutWrapper/defaultLayout/index.tsx +2 -2
- package/src/components/layoutWrapper/index.tsx +89 -88
- package/src/components/pages/auth/components/forgotPassword/index.tsx +86 -98
- package/src/components/pages/auth/components/login/index.tsx +170 -185
- package/src/components/pages/auth/components/register/index.tsx +144 -161
- package/src/components/pages/auth/components/updatePassword/index.tsx +81 -90
- package/src/components/pages/auth/index.tsx +29 -29
- package/src/components/pages/auth/types.tsx +228 -0
- package/src/components/pages/config-error/index.tsx +422 -422
- package/src/components/pages/config-success/index.tsx +249 -260
- package/src/components/pages/error/index.tsx +48 -48
- package/src/components/pages/login/index.tsx +59 -73
- package/src/components/pages/ready/index.tsx +21 -29
- package/src/components/pages/welcome/index.tsx +7 -7
- package/src/components/routeChangeHandler/index.tsx +7 -7
- package/src/components/telemetry/index.tsx +32 -32
- package/src/components/telemetry/types.ts +15 -0
- package/src/components/undoableQueue/index.tsx +53 -51
- package/src/contexts/accessControl/index.tsx +36 -40
- package/src/contexts/accessControl/types.ts +93 -0
- package/src/contexts/auditLog/index.tsx +8 -10
- package/src/contexts/auditLog/types.ts +45 -0
- package/src/contexts/auth/index.tsx +169 -172
- package/src/contexts/auth/types.ts +115 -0
- package/src/contexts/data/index.tsx +31 -26
- package/src/contexts/data/types.ts +490 -0
- package/src/contexts/i18n/index.tsx +23 -0
- package/src/contexts/i18n/types.ts +22 -0
- package/src/contexts/live/index.tsx +11 -11
- package/src/contexts/live/types.ts +113 -0
- package/src/contexts/notification/index.tsx +8 -10
- package/src/contexts/notification/types.ts +47 -0
- package/src/contexts/refine/index.tsx +85 -83
- package/src/contexts/refine/types.ts +323 -0
- package/src/contexts/resource/index.tsx +12 -22
- package/src/contexts/resource/types.ts +205 -0
- package/src/contexts/router/index.tsx +12 -11
- package/src/contexts/router/legacy/index.tsx +41 -0
- package/src/contexts/router/legacy/types.ts +50 -0
- package/src/contexts/router/picker/index.tsx +21 -0
- package/src/contexts/router/types.ts +79 -0
- package/src/contexts/undoableQueue/index.tsx +82 -0
- package/src/contexts/undoableQueue/types.ts +22 -0
- package/src/contexts/unsavedWarn/index.tsx +10 -10
- package/src/contexts/unsavedWarn/types.ts +4 -0
- package/src/definitions/helpers/async-debounce/index.ts +67 -0
- package/src/definitions/helpers/check-router-prop-misuse/index.ts +22 -21
- package/src/definitions/helpers/defer-execution/index.ts +10 -0
- package/src/definitions/helpers/downloadInBrowser/index.ts +19 -20
- package/src/definitions/helpers/flatten-object-keys/index.ts +26 -29
- package/src/definitions/helpers/generateDocumentTitle/index.ts +47 -52
- package/src/definitions/helpers/handleMultiple/index.ts +4 -4
- package/src/definitions/helpers/handlePaginationParams/index.ts +18 -19
- package/src/definitions/helpers/handleRefineOptions/index.ts +90 -91
- package/src/definitions/helpers/handleUseParams/index.tsx +7 -7
- package/src/definitions/helpers/hasPermission/index.ts +6 -6
- package/src/definitions/helpers/humanizeString/index.ts +9 -9
- package/src/definitions/helpers/importCSVMapper/index.ts +11 -10
- package/src/definitions/helpers/index.ts +4 -2
- package/src/definitions/helpers/keys/index.ts +206 -259
- package/src/definitions/helpers/legacy-resource-transform/index.ts +13 -17
- package/src/definitions/helpers/menu/create-resource-key.ts +21 -24
- package/src/definitions/helpers/menu/create-tree.ts +62 -64
- package/src/definitions/helpers/pick-resource/index.ts +26 -26
- package/src/definitions/helpers/pickDataProvider/index.ts +16 -16
- package/src/definitions/helpers/pickNotDeprecated/index.ts +2 -2
- package/src/definitions/helpers/property-path-to-array/index.ts +3 -3
- package/src/definitions/helpers/queryKeys/index.ts +94 -95
- package/src/definitions/helpers/redirectPage/index.ts +22 -20
- package/src/definitions/helpers/routeGenerator/index.ts +17 -17
- package/src/definitions/helpers/router/__tests__/check-by-segments.ts +12 -15
- package/src/definitions/helpers/router/__tests__/compose-route.ts +48 -48
- package/src/definitions/helpers/router/__tests__/get-action-routes-from-resource.ts +152 -152
- package/src/definitions/helpers/router/__tests__/get-default-action-path.ts +39 -41
- package/src/definitions/helpers/router/__tests__/get-parent-prefix-for-resource.ts +69 -73
- package/src/definitions/helpers/router/__tests__/get-parent-resource.ts +40 -40
- package/src/definitions/helpers/router/__tests__/is-segment-counts-same.ts +11 -14
- package/src/definitions/helpers/router/__tests__/match-resource-from-route.ts +55 -55
- package/src/definitions/helpers/router/__tests__/pick-matched-route.ts +74 -74
- package/src/definitions/helpers/router/__tests__/pick-route-params.ts +12 -12
- package/src/definitions/helpers/router/__tests__/prepare-route-params.ts +18 -18
- package/src/definitions/helpers/router/__tests__/remove-leading-trailing-slashes.ts +9 -9
- package/src/definitions/helpers/router/__tests__/split-to-segments.ts +9 -9
- package/src/definitions/helpers/router/check-by-segments.ts +12 -12
- package/src/definitions/helpers/router/compose-route.ts +27 -28
- package/src/definitions/helpers/router/get-action-routes-from-resource.ts +43 -48
- package/src/definitions/helpers/router/get-default-action-path.ts +20 -20
- package/src/definitions/helpers/router/get-parent-prefix-for-resource.ts +23 -25
- package/src/definitions/helpers/router/get-parent-resource.ts +19 -19
- package/src/definitions/helpers/router/is-parameter.ts +1 -1
- package/src/definitions/helpers/router/is-segment-counts-same.ts +3 -3
- package/src/definitions/helpers/router/match-resource-from-route.ts +21 -20
- package/src/definitions/helpers/router/pick-matched-route.ts +44 -44
- package/src/definitions/helpers/router/pick-route-params.ts +7 -7
- package/src/definitions/helpers/router/prepare-route-params.ts +13 -10
- package/src/definitions/helpers/router/remove-leading-trailing-slashes.ts +1 -1
- package/src/definitions/helpers/router/split-to-segments.ts +2 -2
- package/src/definitions/helpers/safe-translate/index.ts +13 -13
- package/src/definitions/helpers/sanitize-resource/index.ts +27 -28
- package/src/definitions/helpers/sequentialPromises/index.ts +21 -21
- package/src/definitions/helpers/treeView/createTreeView/index.ts +39 -34
- package/src/definitions/helpers/useActiveAuthProvider/index.ts +18 -18
- package/src/definitions/helpers/useInfinitePagination/index.ts +17 -17
- package/src/definitions/helpers/useMediaQuery/index.ts +11 -11
- package/src/definitions/helpers/useUserFriendlyName/index.ts +11 -14
- package/src/definitions/helpers/userFriendlyResourceName/index.ts +7 -7
- package/src/definitions/helpers/userFriendlySeconds/index.ts +1 -1
- package/src/definitions/table/index.ts +134 -138
- package/src/definitions/upload/file2Base64/index.ts +15 -15
- package/src/hooks/accessControl/useCan/index.ts +59 -57
- package/src/hooks/accessControl/useCanWithoutCache.ts +32 -32
- package/src/hooks/auditLog/useLog/index.ts +129 -126
- package/src/hooks/auditLog/useLogList/index.ts +48 -46
- package/src/hooks/auth/useForgotPassword/index.ts +168 -168
- package/src/hooks/auth/useGetIdentity/index.ts +58 -59
- package/src/hooks/auth/useInvalidateAuthStore/index.ts +12 -12
- package/src/hooks/auth/useIsAuthenticated/index.ts +50 -53
- package/src/hooks/auth/useIsExistAuthentication/index.ts +3 -3
- package/src/hooks/auth/useLogin/index.ts +188 -200
- package/src/hooks/auth/useLogout/index.ts +187 -183
- package/src/hooks/auth/useOnError/index.ts +79 -78
- package/src/hooks/auth/usePermissions/index.ts +97 -64
- package/src/hooks/auth/useRegister/index.ts +176 -183
- package/src/hooks/auth/useUpdatePassword/index.ts +190 -199
- package/src/hooks/breadcrumb/index.ts +106 -112
- package/src/hooks/button/actionable-button/index.tsx +26 -0
- package/src/hooks/button/button-can-access/index.tsx +72 -0
- package/src/hooks/button/delete-button/index.tsx +101 -0
- package/src/hooks/button/index.tsx +35 -0
- package/src/hooks/button/navigation-button/index.tsx +106 -0
- package/src/hooks/button/refresh-button/index.tsx +65 -0
- package/src/hooks/data/useApiUrl.ts +7 -8
- package/src/hooks/data/useCreate.ts +245 -244
- package/src/hooks/data/useCreateMany.ts +222 -228
- package/src/hooks/data/useCustom.ts +185 -185
- package/src/hooks/data/useCustomMutation.ts +179 -178
- package/src/hooks/data/useDataProvider.tsx +35 -33
- package/src/hooks/data/useDelete.ts +451 -457
- package/src/hooks/data/useDeleteMany.ts +479 -487
- package/src/hooks/data/useInfiniteList.ts +283 -283
- package/src/hooks/data/useList.ts +283 -285
- package/src/hooks/data/useMany.ts +218 -218
- package/src/hooks/data/useOne.ts +213 -213
- package/src/hooks/data/useUpdate.ts +556 -559
- package/src/hooks/data/useUpdateMany.ts +584 -587
- package/src/hooks/deepMemo/index.tsx +5 -5
- package/src/hooks/export/index.ts +230 -221
- package/src/hooks/export/types.ts +31 -0
- package/src/hooks/form/index.ts +363 -1
- package/src/hooks/form/types.ts +249 -0
- package/src/hooks/i18n/index.ts +4 -0
- package/src/hooks/i18n/useGetLocale.ts +17 -0
- package/src/hooks/i18n/useSetLocale.ts +15 -0
- package/src/hooks/i18n/useTranslate.ts +40 -0
- package/src/hooks/i18n/useTranslation.tsx +24 -0
- package/src/hooks/import/index.tsx +268 -271
- package/src/hooks/index.ts +6 -2
- package/src/hooks/invalidate/index.tsx +79 -78
- package/src/hooks/legacy-router/useRouterContext.ts +13 -12
- package/src/hooks/live/useLiveMode/index.ts +8 -5
- package/src/hooks/live/usePublish/index.ts +4 -4
- package/src/hooks/live/useResourceSubscription/index.ts +105 -107
- package/src/hooks/live/useSubscription/index.ts +78 -78
- package/src/hooks/memoized/index.tsx +6 -6
- package/src/hooks/menu/useMenu.tsx +120 -125
- package/src/hooks/modal/useModal/index.tsx +16 -16
- package/src/hooks/navigation/index.ts +370 -398
- package/src/hooks/notification/useCancelNotification/index.tsx +6 -6
- package/src/hooks/notification/useHandleNotification/index.ts +19 -18
- package/src/hooks/notification/useNotification/index.ts +3 -3
- package/src/hooks/redirection/index.ts +45 -48
- package/src/hooks/refine/useMutationMode.ts +17 -7
- package/src/hooks/refine/useRefineContext.ts +36 -36
- package/src/hooks/refine/useSyncWithLocation.ts +4 -4
- package/src/hooks/refine/useTitle.tsx +5 -3
- package/src/hooks/refine/useWarnAboutChange/index.ts +12 -14
- package/src/hooks/resource/useResource/index.ts +151 -151
- package/src/hooks/resource/useResourceWithRoute/index.ts +16 -14
- package/src/hooks/router/use-back/index.tsx +8 -8
- package/src/hooks/router/use-get-to-path/index.ts +41 -39
- package/src/hooks/router/use-go/index.tsx +76 -74
- package/src/hooks/router/use-link/index.tsx +10 -10
- package/src/hooks/router/use-parse/index.tsx +15 -15
- package/src/hooks/router/use-parsed/index.tsx +4 -4
- package/src/hooks/router/use-router-misuse-warning/index.ts +12 -12
- package/src/hooks/router/use-to-path/index.ts +12 -11
- package/src/hooks/show/index.ts +92 -1
- package/src/hooks/show/types.ts +92 -0
- package/src/hooks/show/useShow.ts +138 -137
- package/src/hooks/use-refine-options/index.tsx +8 -0
- package/src/hooks/use-resource-params/index.ts +89 -0
- package/src/hooks/use-resource-params/use-action/index.tsx +27 -0
- package/src/hooks/use-resource-params/use-id/index.tsx +26 -0
- package/src/hooks/useKeys/index.tsx +7 -7
- package/src/hooks/useLoadingOvertime/index.ts +74 -76
- package/src/hooks/useMeta/index.ts +24 -22
- package/src/hooks/useSelect/index.ts +321 -281
- package/src/hooks/useTable/index.ts +492 -515
- package/src/hooks/useTelemetryData/index.ts +53 -53
- package/src/index.tsx +175 -132
- package/tsconfig.json +24 -25
- package/dist/contexts/accessControl/IAccessControlContext.d.ts +0 -49
- package/dist/contexts/accessControl/IAccessControlContext.d.ts.map +0 -1
- package/dist/contexts/auditLog/IAuditLogContext.d.ts +0 -29
- package/dist/contexts/auditLog/IAuditLogContext.d.ts.map +0 -1
- package/dist/contexts/auth/IAuthContext.d.ts +0 -26
- package/dist/contexts/auth/IAuthContext.d.ts.map +0 -1
- package/dist/contexts/data/IDataContext.d.ts +0 -203
- package/dist/contexts/data/IDataContext.d.ts.map +0 -1
- package/dist/contexts/legacy-router/IRouterContext.d.ts +0 -35
- package/dist/contexts/legacy-router/IRouterContext.d.ts.map +0 -1
- package/dist/contexts/legacy-router/index.d.ts +0 -9
- package/dist/contexts/legacy-router/index.d.ts.map +0 -1
- package/dist/contexts/live/ILiveContext.d.ts +0 -49
- package/dist/contexts/live/ILiveContext.d.ts.map +0 -1
- package/dist/contexts/notification/INotificationContext.d.ts +0 -14
- package/dist/contexts/notification/INotificationContext.d.ts.map +0 -1
- package/dist/contexts/refine/IRefineContext.d.ts +0 -129
- package/dist/contexts/refine/IRefineContext.d.ts.map +0 -1
- package/dist/contexts/resource/IResourceContext.d.ts +0 -49
- package/dist/contexts/resource/IResourceContext.d.ts.map +0 -1
- package/dist/contexts/router-picker/index.d.ts.map +0 -1
- package/dist/contexts/translation/ITranslationContext.d.ts +0 -11
- package/dist/contexts/translation/ITranslationContext.d.ts.map +0 -1
- package/dist/contexts/translation/index.d.ts +0 -9
- package/dist/contexts/translation/index.d.ts.map +0 -1
- package/dist/contexts/undoableQueue/IUndoableQueueContext.d.ts +0 -7
- package/dist/contexts/undoableQueue/IUndoableQueueContext.d.ts.map +0 -1
- package/dist/contexts/undoableQueue/actionTypes.d.ts +0 -6
- package/dist/contexts/undoableQueue/actionTypes.d.ts.map +0 -1
- package/dist/contexts/undoableQueue/undoableQueueContext.d.ts +0 -8
- package/dist/contexts/undoableQueue/undoableQueueContext.d.ts.map +0 -1
- package/dist/contexts/unsavedWarn/IUnsavedWarnContext.d.ts +0 -5
- package/dist/contexts/unsavedWarn/IUnsavedWarnContext.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/check-by-segments.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/check-by-segments.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/compose-route.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/compose-route.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-action-routes-from-resource.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-action-routes-from-resource.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-default-action-path.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-default-action-path.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-parent-prefix-for-resource.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-parent-prefix-for-resource.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/get-parent-resource.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/get-parent-resource.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/is-segment-counts-same.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/is-segment-counts-same.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/match-resource-from-route.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/match-resource-from-route.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/pick-matched-route.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/pick-matched-route.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/pick-route-params.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/pick-route-params.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/prepare-route-params.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/prepare-route-params.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/remove-leading-trailing-slashes.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/remove-leading-trailing-slashes.d.ts.map +0 -1
- package/dist/definitions/helpers/router/__tests__/split-to-segments.d.ts +0 -2
- package/dist/definitions/helpers/router/__tests__/split-to-segments.d.ts.map +0 -1
- package/dist/esm/index.js +0 -72
- package/dist/esm/index.js.map +0 -1
- package/dist/hooks/export/csvDownload.interface.d.ts +0 -20
- package/dist/hooks/export/csvDownload.interface.d.ts.map +0 -1
- package/dist/hooks/form/useForm.d.ts +0 -126
- package/dist/hooks/form/useForm.d.ts.map +0 -1
- package/dist/hooks/translate/index.d.ts +0 -4
- package/dist/hooks/translate/index.d.ts.map +0 -1
- package/dist/hooks/translate/useGetLocale.d.ts +0 -9
- package/dist/hooks/translate/useGetLocale.d.ts.map +0 -1
- package/dist/hooks/translate/useSetLocale.d.ts +0 -8
- package/dist/hooks/translate/useSetLocale.d.ts.map +0 -1
- package/dist/hooks/translate/useTranslate.d.ts.map +0 -1
- package/dist/iife/index.js +0 -72
- package/dist/iife/index.js.map +0 -1
- package/dist/index.js +0 -72
- package/dist/index.js.map +0 -1
- package/dist/interfaces/actions.d.ts +0 -10
- package/dist/interfaces/actions.d.ts.map +0 -1
- package/dist/interfaces/auditLog/index.d.ts +0 -2
- package/dist/interfaces/auditLog/index.d.ts.map +0 -1
- package/dist/interfaces/auditLog/logData.d.ts +0 -14
- package/dist/interfaces/auditLog/logData.d.ts.map +0 -1
- package/dist/interfaces/auth.d.ts +0 -179
- package/dist/interfaces/auth.d.ts.map +0 -1
- package/dist/interfaces/autoSave.d.ts +0 -36
- package/dist/interfaces/autoSave.d.ts.map +0 -1
- package/dist/interfaces/bindings/access-control.d.ts +0 -50
- package/dist/interfaces/bindings/access-control.d.ts.map +0 -1
- package/dist/interfaces/bindings/auth.d.ts +0 -73
- package/dist/interfaces/bindings/auth.d.ts.map +0 -1
- package/dist/interfaces/bindings/data.d.ts +0 -15
- package/dist/interfaces/bindings/data.d.ts.map +0 -1
- package/dist/interfaces/bindings/i18n.d.ts +0 -19
- package/dist/interfaces/bindings/i18n.d.ts.map +0 -1
- package/dist/interfaces/bindings/index.d.ts +0 -9
- package/dist/interfaces/bindings/index.d.ts.map +0 -1
- package/dist/interfaces/bindings/live.d.ts +0 -43
- package/dist/interfaces/bindings/live.d.ts.map +0 -1
- package/dist/interfaces/bindings/notifications.d.ts +0 -24
- package/dist/interfaces/bindings/notifications.d.ts.map +0 -1
- package/dist/interfaces/bindings/resource.d.ts +0 -150
- package/dist/interfaces/bindings/resource.d.ts.map +0 -1
- package/dist/interfaces/bindings/router.d.ts +0 -67
- package/dist/interfaces/bindings/router.d.ts.map +0 -1
- package/dist/interfaces/customComponents.d.ts +0 -26
- package/dist/interfaces/customComponents.d.ts.map +0 -1
- package/dist/interfaces/errors/HttpError.d.ts +0 -12
- package/dist/interfaces/errors/HttpError.d.ts.map +0 -1
- package/dist/interfaces/errors/RefineError.d.ts +0 -3
- package/dist/interfaces/errors/RefineError.d.ts.map +0 -1
- package/dist/interfaces/errors/index.d.ts +0 -3
- package/dist/interfaces/errors/index.d.ts.map +0 -1
- package/dist/interfaces/form-url-params.d.ts +0 -12
- package/dist/interfaces/form-url-params.d.ts.map +0 -1
- package/dist/interfaces/index.d.ts +0 -57
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/live/LiveEvent.d.ts +0 -14
- package/dist/interfaces/live/LiveEvent.d.ts.map +0 -1
- package/dist/interfaces/live/LiveModeProps.d.ts +0 -27
- package/dist/interfaces/live/LiveModeProps.d.ts.map +0 -1
- package/dist/interfaces/live/index.d.ts +0 -3
- package/dist/interfaces/live/index.d.ts.map +0 -1
- package/dist/interfaces/mapDataFn.d.ts +0 -4
- package/dist/interfaces/mapDataFn.d.ts.map +0 -1
- package/dist/interfaces/metaData/fields.d.ts +0 -3
- package/dist/interfaces/metaData/fields.d.ts.map +0 -1
- package/dist/interfaces/metaData/graphqlQueryOptions.d.ts +0 -53
- package/dist/interfaces/metaData/graphqlQueryOptions.d.ts.map +0 -1
- package/dist/interfaces/metaData/index.d.ts +0 -3
- package/dist/interfaces/metaData/index.d.ts.map +0 -1
- package/dist/interfaces/metaData/metaDataQuery.d.ts +0 -10
- package/dist/interfaces/metaData/metaDataQuery.d.ts.map +0 -1
- package/dist/interfaces/metaData/metaQuery.d.ts +0 -8
- package/dist/interfaces/metaData/metaQuery.d.ts.map +0 -1
- package/dist/interfaces/metaData/nestedField.d.ts +0 -8
- package/dist/interfaces/metaData/nestedField.d.ts.map +0 -1
- package/dist/interfaces/metaData/queryBuilderOptions.d.ts +0 -8
- package/dist/interfaces/metaData/queryBuilderOptions.d.ts.map +0 -1
- package/dist/interfaces/metaData/variableOptions.d.ts +0 -10
- package/dist/interfaces/metaData/variableOptions.d.ts.map +0 -1
- package/dist/interfaces/mutationMode.d.ts +0 -20
- package/dist/interfaces/mutationMode.d.ts.map +0 -1
- package/dist/interfaces/notification.d.ts +0 -11
- package/dist/interfaces/notification.d.ts.map +0 -1
- package/dist/interfaces/optimistic-update-map.d.ts +0 -12
- package/dist/interfaces/optimistic-update-map.d.ts.map +0 -1
- package/dist/interfaces/prettify.d.ts +0 -4
- package/dist/interfaces/prettify.d.ts.map +0 -1
- package/dist/interfaces/queryKey.d.ts +0 -17
- package/dist/interfaces/queryKey.d.ts.map +0 -1
- package/dist/interfaces/resourceErrorRouterParams.d.ts +0 -6
- package/dist/interfaces/resourceErrorRouterParams.d.ts.map +0 -1
- package/dist/interfaces/resourceRouterParams.d.ts +0 -7
- package/dist/interfaces/resourceRouterParams.d.ts.map +0 -1
- package/dist/interfaces/successErrorNotification.d.ts +0 -15
- package/dist/interfaces/successErrorNotification.d.ts.map +0 -1
- package/dist/interfaces/telemetry.d.ts +0 -16
- package/dist/interfaces/telemetry.d.ts.map +0 -1
- package/dist/interfaces/textTransformers.d.ts +0 -21
- package/dist/interfaces/textTransformers.d.ts.map +0 -1
- package/src/contexts/accessControl/IAccessControlContext.ts +0 -52
- package/src/contexts/auditLog/IAuditLogContext.ts +0 -31
- package/src/contexts/auth/IAuthContext.ts +0 -27
- package/src/contexts/data/IDataContext.ts +0 -316
- package/src/contexts/legacy-router/IRouterContext.ts +0 -37
- package/src/contexts/legacy-router/index.tsx +0 -45
- package/src/contexts/live/ILiveContext.ts +0 -56
- package/src/contexts/notification/INotificationContext.ts +0 -15
- package/src/contexts/refine/IRefineContext.ts +0 -140
- package/src/contexts/resource/IResourceContext.ts +0 -68
- package/src/contexts/router-picker/index.tsx +0 -21
- package/src/contexts/translation/ITranslationContext.ts +0 -19
- package/src/contexts/translation/index.tsx +0 -24
- package/src/contexts/undoableQueue/IUndoableQueueContext.ts +0 -6
- package/src/contexts/undoableQueue/actionTypes.ts +0 -5
- package/src/contexts/undoableQueue/index.ts +0 -5
- package/src/contexts/undoableQueue/undoableQueueContext.tsx +0 -83
- package/src/contexts/unsavedWarn/IUnsavedWarnContext.ts +0 -4
- package/src/hooks/export/csvDownload.interface.ts +0 -27
- package/src/hooks/form/useForm.ts +0 -639
- package/src/hooks/translate/index.ts +0 -3
- package/src/hooks/translate/useGetLocale.ts +0 -16
- package/src/hooks/translate/useSetLocale.ts +0 -14
- package/src/hooks/translate/useTranslate.ts +0 -40
- package/src/interfaces/actions.ts +0 -16
- package/src/interfaces/auditLog/index.ts +0 -1
- package/src/interfaces/auditLog/logData.ts +0 -15
- package/src/interfaces/auth.tsx +0 -228
- package/src/interfaces/autoSave.ts +0 -54
- package/src/interfaces/bindings/access-control.ts +0 -53
- package/src/interfaces/bindings/auth.ts +0 -82
- package/src/interfaces/bindings/data.ts +0 -18
- package/src/interfaces/bindings/i18n.ts +0 -29
- package/src/interfaces/bindings/index.ts +0 -25
- package/src/interfaces/bindings/live.ts +0 -56
- package/src/interfaces/bindings/notifications.ts +0 -25
- package/src/interfaces/bindings/resource.ts +0 -178
- package/src/interfaces/bindings/router.ts +0 -78
- package/src/interfaces/customComponents.ts +0 -28
- package/src/interfaces/errors/HttpError.ts +0 -13
- package/src/interfaces/errors/RefineError.ts +0 -3
- package/src/interfaces/errors/index.ts +0 -2
- package/src/interfaces/form-url-params.ts +0 -8
- package/src/interfaces/index.ts +0 -98
- package/src/interfaces/live/LiveEvent.ts +0 -14
- package/src/interfaces/live/LiveModeProps.ts +0 -28
- package/src/interfaces/live/index.ts +0 -2
- package/src/interfaces/mapDataFn.ts +0 -3
- package/src/interfaces/metaData/fields.ts +0 -3
- package/src/interfaces/metaData/graphqlQueryOptions.ts +0 -53
- package/src/interfaces/metaData/index.ts +0 -2
- package/src/interfaces/metaData/metaDataQuery.ts +0 -10
- package/src/interfaces/metaData/metaQuery.ts +0 -9
- package/src/interfaces/metaData/nestedField.ts +0 -8
- package/src/interfaces/metaData/queryBuilderOptions.ts +0 -8
- package/src/interfaces/metaData/variableOptions.ts +0 -9
- package/src/interfaces/mutationMode.ts +0 -32
- package/src/interfaces/notification.ts +0 -10
- package/src/interfaces/optimistic-update-map.ts +0 -49
- package/src/interfaces/prettify.ts +0 -3
- package/src/interfaces/queryKey.ts +0 -23
- package/src/interfaces/resourceErrorRouterParams.ts +0 -6
- package/src/interfaces/resourceRouterParams.ts +0 -7
- package/src/interfaces/successErrorNotification.ts +0 -33
- package/src/interfaces/telemetry.ts +0 -15
- package/src/interfaces/textTransformers.ts +0 -20
- /package/dist/contexts/{router-picker/index.d.ts → router/picker/index.d.cts} +0 -0
- /package/dist/hooks/{translate/useTranslate.d.ts → i18n/useTranslate.d.cts} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type ITelemetryData = {
|
|
2
|
+
providers: {
|
|
3
|
+
auth?: boolean;
|
|
4
|
+
data?: boolean;
|
|
5
|
+
router?: boolean;
|
|
6
|
+
notification?: boolean;
|
|
7
|
+
live?: boolean;
|
|
8
|
+
auditLog?: boolean;
|
|
9
|
+
i18n?: boolean;
|
|
10
|
+
accessControl?: boolean;
|
|
11
|
+
};
|
|
12
|
+
version: string;
|
|
13
|
+
resourceCount: number;
|
|
14
|
+
projectId?: string;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/telemetry/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,EAAE;QACT,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,aAAa,CAAC,EAAE,OAAO,CAAC;KACzB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type ITelemetryData = {
|
|
2
|
+
providers: {
|
|
3
|
+
auth?: boolean;
|
|
4
|
+
data?: boolean;
|
|
5
|
+
router?: boolean;
|
|
6
|
+
notification?: boolean;
|
|
7
|
+
live?: boolean;
|
|
8
|
+
auditLog?: boolean;
|
|
9
|
+
i18n?: boolean;
|
|
10
|
+
accessControl?: boolean;
|
|
11
|
+
};
|
|
12
|
+
version: string;
|
|
13
|
+
resourceCount: number;
|
|
14
|
+
projectId?: string;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/telemetry/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,EAAE;QACT,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,aAAa,CAAC,EAAE,OAAO,CAAC;KACzB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/undoableQueue/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,EAEL,cAAc,EACf,MAAM,oCAAoC,CAAC;AAE5C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IACnC,YAAY,EAAE,cAAc,CAAC;CAC9B,CAyDA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/undoableQueue/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,EAEL,cAAc,EACf,MAAM,oCAAoC,CAAC;AAE5C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IACnC,YAAY,EAAE,cAAc,CAAC;CAC9B,CAyDA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/undoableQueue/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/undoableQueue/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,EAEL,cAAc,EACf,MAAM,oCAAoC,CAAC;AAE5C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IACnC,YAAY,EAAE,cAAc,CAAC;CAC9B,CAyDA,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
|
+
import { IAccessControlContext, IAccessControlContextReturnType } from "./types";
|
|
3
|
+
/** @deprecated default value for access control context has no use and is an empty object. */
|
|
4
|
+
export declare const defaultAccessControlContext: IAccessControlContext;
|
|
5
|
+
export declare const AccessControlContext: React.Context<IAccessControlContextReturnType>;
|
|
6
|
+
export declare const AccessControlContextProvider: React.FC<PropsWithChildren<IAccessControlContext>>;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/accessControl/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAChC,MAAM,SAAS,CAAC;AAEjB,8FAA8F;AAC9F,eAAO,MAAM,2BAA2B,uBAA8B,CAAC;AAEvE,eAAO,MAAM,oBAAoB,gDAK7B,CAAC;AAEL,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CACjD,iBAAiB,CAAC,qBAAqB,CAAC,CA2BzC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
|
+
import { IAccessControlContext, IAccessControlContextReturnType } from "./types";
|
|
3
|
+
/** @deprecated default value for access control context has no use and is an empty object. */
|
|
4
|
+
export declare const defaultAccessControlContext: IAccessControlContext;
|
|
5
|
+
export declare const AccessControlContext: React.Context<IAccessControlContextReturnType>;
|
|
6
|
+
export declare const AccessControlContextProvider: React.FC<PropsWithChildren<IAccessControlContext>>;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/accessControl/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAChC,MAAM,SAAS,CAAC;AAEjB,8FAA8F;AAC9F,eAAO,MAAM,2BAA2B,uBAA8B,CAAC;AAEvE,eAAO,MAAM,oBAAoB,gDAK7B,CAAC;AAEL,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CACjD,iBAAiB,CAAC,qBAAqB,CAAC,CA2BzC,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IAccessControlContext, IAccessControlContextReturnType } from "./
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
|
+
import { IAccessControlContext, IAccessControlContextReturnType } from "./types";
|
|
3
3
|
/** @deprecated default value for access control context has no use and is an empty object. */
|
|
4
4
|
export declare const defaultAccessControlContext: IAccessControlContext;
|
|
5
5
|
export declare const AccessControlContext: React.Context<IAccessControlContextReturnType>;
|
|
6
|
-
export
|
|
7
|
-
export declare const AccessControlContextProvider: React.FC<IAccessControlContext & {
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
}>;
|
|
6
|
+
export declare const AccessControlContextProvider: React.FC<PropsWithChildren<IAccessControlContext>>;
|
|
10
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/accessControl/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/accessControl/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAChC,MAAM,SAAS,CAAC;AAEjB,8FAA8F;AAC9F,eAAO,MAAM,2BAA2B,uBAA8B,CAAC;AAEvE,eAAO,MAAM,oBAAoB,gDAK7B,CAAC;AAEL,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CACjD,iBAAiB,CAAC,qBAAqB,CAAC,CA2BzC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author aliemir
|
|
3
|
+
*
|
|
4
|
+
* `AccessControlProvider` interface, used to define the access control bindings of refine.
|
|
5
|
+
*
|
|
6
|
+
* Currently, there's no change in the interface, but only in the `params.resource` property.
|
|
7
|
+
*
|
|
8
|
+
* This also had `{ children?: ITreeMenu[] }` type extension but we can remove it now.
|
|
9
|
+
*
|
|
10
|
+
* There's an error behind this extension, since we're using `Tanstack Query` to check the `can` function,
|
|
11
|
+
* params are stringified and Nodes can't be stringified properly, which throws an error.
|
|
12
|
+
*
|
|
13
|
+
* These kinds of errors should be handled by the user of the `can` function, not by the `can` function itself.
|
|
14
|
+
*
|
|
15
|
+
* In this case, its the `CanAccess` component, which wraps the `can` function and is used in the `Sider` components.
|
|
16
|
+
* `Sider` should sanitize the `params.resource` property and remove the `children` property (if exists).
|
|
17
|
+
*
|
|
18
|
+
* This may also apply to `resource.icon` property.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
22
|
+
import { BaseKey } from "../data/types";
|
|
23
|
+
import { IResourceItem, ITreeMenu } from "../resource/types";
|
|
24
|
+
export type CanResponse = {
|
|
25
|
+
can: boolean;
|
|
26
|
+
reason?: string;
|
|
27
|
+
[key: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
export type CanParams = {
|
|
30
|
+
/**
|
|
31
|
+
* Resource name for API data interactions
|
|
32
|
+
*/
|
|
33
|
+
resource?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Intended action on resource
|
|
36
|
+
*/
|
|
37
|
+
action: string;
|
|
38
|
+
/**
|
|
39
|
+
* Parameters associated with the resource
|
|
40
|
+
* @type {
|
|
41
|
+
* resource?: [IResourceItem](https://refine.dev/docs/api-reference/core/interfaceReferences/#canparams),
|
|
42
|
+
* id?: [BaseKey](https://refine.dev/docs/api-reference/core/interfaceReferences/#basekey), [key: string]: any
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
params?: {
|
|
46
|
+
resource?: IResourceItem & {
|
|
47
|
+
children?: ITreeMenu[];
|
|
48
|
+
};
|
|
49
|
+
id?: BaseKey;
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export type CanReturnType = {
|
|
54
|
+
can: boolean;
|
|
55
|
+
reason?: string;
|
|
56
|
+
};
|
|
57
|
+
export type CanFunction = ({ resource, action, params, }: CanParams) => Promise<CanReturnType>;
|
|
58
|
+
type AccessControlOptions = {
|
|
59
|
+
buttons?: {
|
|
60
|
+
enableAccessControl?: boolean;
|
|
61
|
+
hideIfUnauthorized?: boolean;
|
|
62
|
+
};
|
|
63
|
+
queryOptions?: UseQueryOptions<CanReturnType>;
|
|
64
|
+
};
|
|
65
|
+
export interface IAccessControlContext {
|
|
66
|
+
can?: CanFunction;
|
|
67
|
+
options?: AccessControlOptions;
|
|
68
|
+
}
|
|
69
|
+
export type IAccessControlContextReturnType = {
|
|
70
|
+
can?: CanFunction;
|
|
71
|
+
options: {
|
|
72
|
+
buttons: {
|
|
73
|
+
enableAccessControl: boolean;
|
|
74
|
+
hideIfUnauthorized: boolean;
|
|
75
|
+
};
|
|
76
|
+
queryOptions?: UseQueryOptions<CanReturnType>;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export type AccessControlProvider = {
|
|
80
|
+
can: CanFunction;
|
|
81
|
+
options?: AccessControlOptions;
|
|
82
|
+
};
|
|
83
|
+
export {};
|
|
84
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/contexts/accessControl/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QACP,QAAQ,CAAC,EAAE,aAAa,GAAG;YAAE,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAA;SAAE,CAAC;QACtD,EAAE,CAAC,EAAE,OAAO,CAAC;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,EACzB,QAAQ,EACR,MAAM,EACN,MAAM,GACP,EAAE,SAAS,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;AAExC,KAAK,oBAAoB,GAAG;IAC1B,OAAO,CAAC,EAAE;QACR,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,CAAC;IACF,YAAY,CAAC,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;CAC/C,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,MAAM,MAAM,+BAA+B,GAAG;IAC5C,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE;QACP,OAAO,EAAE;YACP,mBAAmB,EAAE,OAAO,CAAC;YAC7B,kBAAkB,EAAE,OAAO,CAAC;SAC7B,CAAC;QACF,YAAY,CAAC,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;KAC/C,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,WAAW,CAAC;IACjB,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author aliemir
|
|
3
|
+
*
|
|
4
|
+
* `AccessControlProvider` interface, used to define the access control bindings of refine.
|
|
5
|
+
*
|
|
6
|
+
* Currently, there's no change in the interface, but only in the `params.resource` property.
|
|
7
|
+
*
|
|
8
|
+
* This also had `{ children?: ITreeMenu[] }` type extension but we can remove it now.
|
|
9
|
+
*
|
|
10
|
+
* There's an error behind this extension, since we're using `Tanstack Query` to check the `can` function,
|
|
11
|
+
* params are stringified and Nodes can't be stringified properly, which throws an error.
|
|
12
|
+
*
|
|
13
|
+
* These kinds of errors should be handled by the user of the `can` function, not by the `can` function itself.
|
|
14
|
+
*
|
|
15
|
+
* In this case, its the `CanAccess` component, which wraps the `can` function and is used in the `Sider` components.
|
|
16
|
+
* `Sider` should sanitize the `params.resource` property and remove the `children` property (if exists).
|
|
17
|
+
*
|
|
18
|
+
* This may also apply to `resource.icon` property.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
22
|
+
import { BaseKey } from "../data/types";
|
|
23
|
+
import { IResourceItem, ITreeMenu } from "../resource/types";
|
|
24
|
+
export type CanResponse = {
|
|
25
|
+
can: boolean;
|
|
26
|
+
reason?: string;
|
|
27
|
+
[key: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
export type CanParams = {
|
|
30
|
+
/**
|
|
31
|
+
* Resource name for API data interactions
|
|
32
|
+
*/
|
|
33
|
+
resource?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Intended action on resource
|
|
36
|
+
*/
|
|
37
|
+
action: string;
|
|
38
|
+
/**
|
|
39
|
+
* Parameters associated with the resource
|
|
40
|
+
* @type {
|
|
41
|
+
* resource?: [IResourceItem](https://refine.dev/docs/api-reference/core/interfaceReferences/#canparams),
|
|
42
|
+
* id?: [BaseKey](https://refine.dev/docs/api-reference/core/interfaceReferences/#basekey), [key: string]: any
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
params?: {
|
|
46
|
+
resource?: IResourceItem & {
|
|
47
|
+
children?: ITreeMenu[];
|
|
48
|
+
};
|
|
49
|
+
id?: BaseKey;
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export type CanReturnType = {
|
|
54
|
+
can: boolean;
|
|
55
|
+
reason?: string;
|
|
56
|
+
};
|
|
57
|
+
export type CanFunction = ({ resource, action, params, }: CanParams) => Promise<CanReturnType>;
|
|
58
|
+
type AccessControlOptions = {
|
|
59
|
+
buttons?: {
|
|
60
|
+
enableAccessControl?: boolean;
|
|
61
|
+
hideIfUnauthorized?: boolean;
|
|
62
|
+
};
|
|
63
|
+
queryOptions?: UseQueryOptions<CanReturnType>;
|
|
64
|
+
};
|
|
65
|
+
export interface IAccessControlContext {
|
|
66
|
+
can?: CanFunction;
|
|
67
|
+
options?: AccessControlOptions;
|
|
68
|
+
}
|
|
69
|
+
export type IAccessControlContextReturnType = {
|
|
70
|
+
can?: CanFunction;
|
|
71
|
+
options: {
|
|
72
|
+
buttons: {
|
|
73
|
+
enableAccessControl: boolean;
|
|
74
|
+
hideIfUnauthorized: boolean;
|
|
75
|
+
};
|
|
76
|
+
queryOptions?: UseQueryOptions<CanReturnType>;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export type AccessControlProvider = {
|
|
80
|
+
can: CanFunction;
|
|
81
|
+
options?: AccessControlOptions;
|
|
82
|
+
};
|
|
83
|
+
export {};
|
|
84
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/contexts/accessControl/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QACP,QAAQ,CAAC,EAAE,aAAa,GAAG;YAAE,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAA;SAAE,CAAC;QACtD,EAAE,CAAC,EAAE,OAAO,CAAC;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,EACzB,QAAQ,EACR,MAAM,EACN,MAAM,GACP,EAAE,SAAS,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;AAExC,KAAK,oBAAoB,GAAG;IAC1B,OAAO,CAAC,EAAE;QACR,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,CAAC;IACF,YAAY,CAAC,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;CAC/C,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,MAAM,MAAM,+BAA+B,GAAG;IAC5C,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE;QACP,OAAO,EAAE;YACP,mBAAmB,EAAE,OAAO,CAAC;YAC7B,kBAAkB,EAAE,OAAO,CAAC;SAC7B,CAAC;QACF,YAAY,CAAC,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;KAC/C,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,WAAW,CAAC;IACjB,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author aliemir
|
|
3
|
+
*
|
|
4
|
+
* `AccessControlProvider` interface, used to define the access control bindings of refine.
|
|
5
|
+
*
|
|
6
|
+
* Currently, there's no change in the interface, but only in the `params.resource` property.
|
|
7
|
+
*
|
|
8
|
+
* This also had `{ children?: ITreeMenu[] }` type extension but we can remove it now.
|
|
9
|
+
*
|
|
10
|
+
* There's an error behind this extension, since we're using `Tanstack Query` to check the `can` function,
|
|
11
|
+
* params are stringified and Nodes can't be stringified properly, which throws an error.
|
|
12
|
+
*
|
|
13
|
+
* These kinds of errors should be handled by the user of the `can` function, not by the `can` function itself.
|
|
14
|
+
*
|
|
15
|
+
* In this case, its the `CanAccess` component, which wraps the `can` function and is used in the `Sider` components.
|
|
16
|
+
* `Sider` should sanitize the `params.resource` property and remove the `children` property (if exists).
|
|
17
|
+
*
|
|
18
|
+
* This may also apply to `resource.icon` property.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
22
|
+
import { BaseKey } from "../data/types";
|
|
23
|
+
import { IResourceItem, ITreeMenu } from "../resource/types";
|
|
24
|
+
export type CanResponse = {
|
|
25
|
+
can: boolean;
|
|
26
|
+
reason?: string;
|
|
27
|
+
[key: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
export type CanParams = {
|
|
30
|
+
/**
|
|
31
|
+
* Resource name for API data interactions
|
|
32
|
+
*/
|
|
33
|
+
resource?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Intended action on resource
|
|
36
|
+
*/
|
|
37
|
+
action: string;
|
|
38
|
+
/**
|
|
39
|
+
* Parameters associated with the resource
|
|
40
|
+
* @type {
|
|
41
|
+
* resource?: [IResourceItem](https://refine.dev/docs/api-reference/core/interfaceReferences/#canparams),
|
|
42
|
+
* id?: [BaseKey](https://refine.dev/docs/api-reference/core/interfaceReferences/#basekey), [key: string]: any
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
params?: {
|
|
46
|
+
resource?: IResourceItem & {
|
|
47
|
+
children?: ITreeMenu[];
|
|
48
|
+
};
|
|
49
|
+
id?: BaseKey;
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export type CanReturnType = {
|
|
54
|
+
can: boolean;
|
|
55
|
+
reason?: string;
|
|
56
|
+
};
|
|
57
|
+
export type CanFunction = ({ resource, action, params, }: CanParams) => Promise<CanReturnType>;
|
|
58
|
+
type AccessControlOptions = {
|
|
59
|
+
buttons?: {
|
|
60
|
+
enableAccessControl?: boolean;
|
|
61
|
+
hideIfUnauthorized?: boolean;
|
|
62
|
+
};
|
|
63
|
+
queryOptions?: UseQueryOptions<CanReturnType>;
|
|
64
|
+
};
|
|
65
|
+
export interface IAccessControlContext {
|
|
66
|
+
can?: CanFunction;
|
|
67
|
+
options?: AccessControlOptions;
|
|
68
|
+
}
|
|
69
|
+
export type IAccessControlContextReturnType = {
|
|
70
|
+
can?: CanFunction;
|
|
71
|
+
options: {
|
|
72
|
+
buttons: {
|
|
73
|
+
enableAccessControl: boolean;
|
|
74
|
+
hideIfUnauthorized: boolean;
|
|
75
|
+
};
|
|
76
|
+
queryOptions?: UseQueryOptions<CanReturnType>;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export type AccessControlProvider = {
|
|
80
|
+
can: CanFunction;
|
|
81
|
+
options?: AccessControlOptions;
|
|
82
|
+
};
|
|
83
|
+
export {};
|
|
84
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/contexts/accessControl/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QACP,QAAQ,CAAC,EAAE,aAAa,GAAG;YAAE,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAA;SAAE,CAAC;QACtD,EAAE,CAAC,EAAE,OAAO,CAAC;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,EACzB,QAAQ,EACR,MAAM,EACN,MAAM,GACP,EAAE,SAAS,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;AAExC,KAAK,oBAAoB,GAAG;IAC1B,OAAO,CAAC,EAAE;QACR,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;KAC9B,CAAC;IACF,YAAY,CAAC,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;CAC/C,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,MAAM,MAAM,+BAA+B,GAAG;IAC5C,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE;QACP,OAAO,EAAE;YACP,mBAAmB,EAAE,OAAO,CAAC;YAC7B,kBAAkB,EAAE,OAAO,CAAC;SAC7B,CAAC;QACF,YAAY,CAAC,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;KAC/C,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,WAAW,CAAC;IACjB,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
|
+
import { IAuditLogContext } from "./types";
|
|
3
|
+
export declare const AuditLogContext: React.Context<IAuditLogContext>;
|
|
4
|
+
export declare const AuditLogContextProvider: React.FC<PropsWithChildren<IAuditLogContext>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/auditLog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,eAAe,iCAA4C,CAAC;AAEzE,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAC5C,iBAAiB,CAAC,gBAAgB,CAAC,CAOpC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
|
+
import { IAuditLogContext } from "./types";
|
|
3
|
+
export declare const AuditLogContext: React.Context<IAuditLogContext>;
|
|
4
|
+
export declare const AuditLogContextProvider: React.FC<PropsWithChildren<IAuditLogContext>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/auditLog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,eAAe,iCAA4C,CAAC;AAEzE,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAC5C,iBAAiB,CAAC,gBAAgB,CAAC,CAOpC,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IAuditLogContext } from "./
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
|
+
import { IAuditLogContext } from "./types";
|
|
3
3
|
export declare const AuditLogContext: React.Context<IAuditLogContext>;
|
|
4
|
-
export declare const AuditLogContextProvider: React.FC<IAuditLogContext
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}>;
|
|
4
|
+
export declare const AuditLogContextProvider: React.FC<PropsWithChildren<IAuditLogContext>>;
|
|
7
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/auditLog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/auditLog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,eAAe,iCAA4C,CAAC;AAEzE,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAC5C,iBAAiB,CAAC,gBAAgB,CAAC,CAOpC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { BaseKey, MetaDataQuery } from "../data/types";
|
|
2
|
+
export type ILog<TData = any> = {
|
|
3
|
+
id: BaseKey;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
author?: Record<number | string, any>;
|
|
6
|
+
name?: string;
|
|
7
|
+
data: TData;
|
|
8
|
+
previousData: TData;
|
|
9
|
+
resource: string;
|
|
10
|
+
action: string;
|
|
11
|
+
meta?: Record<number | string, any>;
|
|
12
|
+
};
|
|
13
|
+
export type ILogData<TData = any> = ILog<TData>[];
|
|
14
|
+
export type LogParams = {
|
|
15
|
+
resource: string;
|
|
16
|
+
action: string;
|
|
17
|
+
data?: any;
|
|
18
|
+
author?: {
|
|
19
|
+
name?: string;
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
previousData?: any;
|
|
23
|
+
meta: Record<number | string, any>;
|
|
24
|
+
};
|
|
25
|
+
export type IAuditLogContext = {
|
|
26
|
+
create?: (params: LogParams) => Promise<any>;
|
|
27
|
+
get?: (params: {
|
|
28
|
+
resource: string;
|
|
29
|
+
action?: string;
|
|
30
|
+
meta?: Record<number | string, any>;
|
|
31
|
+
author?: Record<number | string, any>;
|
|
32
|
+
metaData?: MetaDataQuery;
|
|
33
|
+
}) => Promise<any>;
|
|
34
|
+
update?: (params: {
|
|
35
|
+
id: BaseKey;
|
|
36
|
+
name: string;
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}) => Promise<any>;
|
|
39
|
+
};
|
|
40
|
+
export type AuditLogProvider = Required<IAuditLogContext>;
|
|
41
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/contexts/auditLog/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,MAAM,IAAI,CAAC,KAAK,GAAG,GAAG,IAAI;IAC9B,EAAE,EAAE,OAAO,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,EAAE,KAAK,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,QAAQ,CAAC,KAAK,GAAG,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AAElD,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC7C,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;QACpC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;QACtC,QAAQ,CAAC,EAAE,aAAa,CAAC;KAC1B,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACnB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE;QAChB,EAAE,EAAE,OAAO,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { BaseKey, MetaDataQuery } from "../data/types";
|
|
2
|
+
export type ILog<TData = any> = {
|
|
3
|
+
id: BaseKey;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
author?: Record<number | string, any>;
|
|
6
|
+
name?: string;
|
|
7
|
+
data: TData;
|
|
8
|
+
previousData: TData;
|
|
9
|
+
resource: string;
|
|
10
|
+
action: string;
|
|
11
|
+
meta?: Record<number | string, any>;
|
|
12
|
+
};
|
|
13
|
+
export type ILogData<TData = any> = ILog<TData>[];
|
|
14
|
+
export type LogParams = {
|
|
15
|
+
resource: string;
|
|
16
|
+
action: string;
|
|
17
|
+
data?: any;
|
|
18
|
+
author?: {
|
|
19
|
+
name?: string;
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
previousData?: any;
|
|
23
|
+
meta: Record<number | string, any>;
|
|
24
|
+
};
|
|
25
|
+
export type IAuditLogContext = {
|
|
26
|
+
create?: (params: LogParams) => Promise<any>;
|
|
27
|
+
get?: (params: {
|
|
28
|
+
resource: string;
|
|
29
|
+
action?: string;
|
|
30
|
+
meta?: Record<number | string, any>;
|
|
31
|
+
author?: Record<number | string, any>;
|
|
32
|
+
metaData?: MetaDataQuery;
|
|
33
|
+
}) => Promise<any>;
|
|
34
|
+
update?: (params: {
|
|
35
|
+
id: BaseKey;
|
|
36
|
+
name: string;
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}) => Promise<any>;
|
|
39
|
+
};
|
|
40
|
+
export type AuditLogProvider = Required<IAuditLogContext>;
|
|
41
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/contexts/auditLog/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,MAAM,IAAI,CAAC,KAAK,GAAG,GAAG,IAAI;IAC9B,EAAE,EAAE,OAAO,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,EAAE,KAAK,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,QAAQ,CAAC,KAAK,GAAG,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AAElD,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC7C,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;QACpC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;QACtC,QAAQ,CAAC,EAAE,aAAa,CAAC;KAC1B,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACnB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE;QAChB,EAAE,EAAE,OAAO,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { BaseKey, MetaDataQuery } from "../data/types";
|
|
2
|
+
export type ILog<TData = any> = {
|
|
3
|
+
id: BaseKey;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
author?: Record<number | string, any>;
|
|
6
|
+
name?: string;
|
|
7
|
+
data: TData;
|
|
8
|
+
previousData: TData;
|
|
9
|
+
resource: string;
|
|
10
|
+
action: string;
|
|
11
|
+
meta?: Record<number | string, any>;
|
|
12
|
+
};
|
|
13
|
+
export type ILogData<TData = any> = ILog<TData>[];
|
|
14
|
+
export type LogParams = {
|
|
15
|
+
resource: string;
|
|
16
|
+
action: string;
|
|
17
|
+
data?: any;
|
|
18
|
+
author?: {
|
|
19
|
+
name?: string;
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
previousData?: any;
|
|
23
|
+
meta: Record<number | string, any>;
|
|
24
|
+
};
|
|
25
|
+
export type IAuditLogContext = {
|
|
26
|
+
create?: (params: LogParams) => Promise<any>;
|
|
27
|
+
get?: (params: {
|
|
28
|
+
resource: string;
|
|
29
|
+
action?: string;
|
|
30
|
+
meta?: Record<number | string, any>;
|
|
31
|
+
author?: Record<number | string, any>;
|
|
32
|
+
metaData?: MetaDataQuery;
|
|
33
|
+
}) => Promise<any>;
|
|
34
|
+
update?: (params: {
|
|
35
|
+
id: BaseKey;
|
|
36
|
+
name: string;
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}) => Promise<any>;
|
|
39
|
+
};
|
|
40
|
+
export type AuditLogProvider = Required<IAuditLogContext>;
|
|
41
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/contexts/auditLog/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,MAAM,IAAI,CAAC,KAAK,GAAG,GAAG,IAAI;IAC9B,EAAE,EAAE,OAAO,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,EAAE,KAAK,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,QAAQ,CAAC,KAAK,GAAG,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AAElD,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IAC7C,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;QACpC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;QACtC,QAAQ,CAAC,EAAE,aAAa,CAAC;KAC1B,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACnB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE;QAChB,EAAE,EAAE,OAAO,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
|
+
import { IAuthContext, ILegacyAuthContext } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated `LegacyAuthContext` is deprecated with refine@4, use `AuthBindingsContext` instead, however, we still support `LegacyAuthContext` for backward compatibility.
|
|
5
|
+
*/
|
|
6
|
+
export declare const LegacyAuthContext: React.Context<ILegacyAuthContext>;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated `LegacyAuthContextProvider` is deprecated with refine@4, use `AuthBindingsContextProvider` instead, however, we still support `LegacyAuthContextProvider` for backward compatibility.
|
|
9
|
+
*/
|
|
10
|
+
export declare const LegacyAuthContextProvider: React.FC<PropsWithChildren<ILegacyAuthContext>>;
|
|
11
|
+
export declare const AuthBindingsContext: React.Context<Partial<IAuthContext>>;
|
|
12
|
+
export declare const AuthBindingsContextProvider: React.FC<PropsWithChildren<IAuthContext>>;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated `useLegacyAuthContext` is deprecated with refine@4, use `useAuthBindingsContext` instead, however, we still support `useLegacyAuthContext` for backward compatibility.
|
|
15
|
+
*/
|
|
16
|
+
export declare const useLegacyAuthContext: () => ILegacyAuthContext;
|
|
17
|
+
export declare const useAuthBindingsContext: () => Partial<IAuthContext>;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/auth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,iBAAiB,mCAA8C,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAC9C,iBAAiB,CAAC,kBAAkB,CAAC,CA6DtC,CAAC;AAEF,eAAO,MAAM,mBAAmB,sCAE/B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAChD,iBAAiB,CAAC,YAAY,CAAC,CAqGhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,0BAIhC,CAAC;AAEF,eAAO,MAAM,sBAAsB,6BAIlC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
|
+
import { IAuthContext, ILegacyAuthContext } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated `LegacyAuthContext` is deprecated with refine@4, use `AuthBindingsContext` instead, however, we still support `LegacyAuthContext` for backward compatibility.
|
|
5
|
+
*/
|
|
6
|
+
export declare const LegacyAuthContext: React.Context<ILegacyAuthContext>;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated `LegacyAuthContextProvider` is deprecated with refine@4, use `AuthBindingsContextProvider` instead, however, we still support `LegacyAuthContextProvider` for backward compatibility.
|
|
9
|
+
*/
|
|
10
|
+
export declare const LegacyAuthContextProvider: React.FC<PropsWithChildren<ILegacyAuthContext>>;
|
|
11
|
+
export declare const AuthBindingsContext: React.Context<Partial<IAuthContext>>;
|
|
12
|
+
export declare const AuthBindingsContextProvider: React.FC<PropsWithChildren<IAuthContext>>;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated `useLegacyAuthContext` is deprecated with refine@4, use `useAuthBindingsContext` instead, however, we still support `useLegacyAuthContext` for backward compatibility.
|
|
15
|
+
*/
|
|
16
|
+
export declare const useLegacyAuthContext: () => ILegacyAuthContext;
|
|
17
|
+
export declare const useAuthBindingsContext: () => Partial<IAuthContext>;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/auth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,iBAAiB,mCAA8C,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAC9C,iBAAiB,CAAC,kBAAkB,CAAC,CA6DtC,CAAC;AAEF,eAAO,MAAM,mBAAmB,sCAE/B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAChD,iBAAiB,CAAC,YAAY,CAAC,CAqGhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,0BAIhC,CAAC;AAEF,eAAO,MAAM,sBAAsB,6BAIlC,CAAC"}
|