@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,22 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { AuthActionResponse, TLoginData } from "../../../contexts/auth/types";
|
|
3
|
+
import { RefineError } from "../../../contexts/data/types";
|
|
4
|
+
export type UseLoginLegacyProps<TVariables> = {
|
|
5
|
+
v3LegacyAuthProviderCompatible: true;
|
|
6
|
+
mutationOptions?: Omit<UseMutationOptions<TLoginData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
7
|
+
};
|
|
8
|
+
export type UseLoginProps<TVariables> = {
|
|
9
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
10
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
11
|
+
};
|
|
12
|
+
export type UseLoginCombinedProps<TVariables> = {
|
|
13
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
14
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
15
|
+
};
|
|
16
|
+
export type UseLoginLegacyReturnType<TVariables> = UseMutationResult<TLoginData, Error | RefineError, TVariables, unknown>;
|
|
17
|
+
export type UseLoginReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
18
|
+
export type UseLoginCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>;
|
|
19
|
+
export declare function useLogin<TVariables = {}>(props: UseLoginLegacyProps<TVariables>): UseLoginLegacyReturnType<TVariables>;
|
|
20
|
+
export declare function useLogin<TVariables = {}>(props?: UseLoginProps<TVariables>): UseLoginReturnType<TVariables>;
|
|
21
|
+
export declare function useLogin<TVariables = {}>(props?: UseLoginCombinedProps<TVariables>): UseLoginCombinedReturnType<TVariables>;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogin/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,EACL,kBAAkB,EAElB,UAAU,EACX,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,MAAM,MAAM,mBAAmB,CAAC,UAAU,IAAI;IAC5C,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAAC,UAAU,EAAE,KAAK,GAAG,WAAW,EAAE,UAAU,EAAE,OAAO,CAAC,EACxE,YAAY,GAAG,SAAS,GAAG,WAAW,CACvC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,aAAa,CAAC,UAAU,IAAI;IACtC,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,EACD,YAAY,CACb,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAAC,UAAU,IAAI;IAC9C,8BAA8B,EAAE,OAAO,CAAC;IACxC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,GAAG,UAAU,EAC/B,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,EACD,YAAY,CACb,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,wBAAwB,CAAC,UAAU,IAAI,iBAAiB,CAClE,UAAU,EACV,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,UAAU,IAAI,iBAAiB,CAC5D,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,CAAC;AAEF,MAAM,MAAM,0BAA0B,CAAC,UAAU,IAAI,iBAAiB,CACpE,kBAAkB,GAAG,UAAU,EAC/B,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,CAAC;AAEF,wBAAgB,QAAQ,CAAC,UAAU,GAAG,EAAE,EACtC,KAAK,EAAE,mBAAmB,CAAC,UAAU,CAAC,GACrC,wBAAwB,CAAC,UAAU,CAAC,CAAC;AAExC,wBAAgB,QAAQ,CAAC,UAAU,GAAG,EAAE,EACtC,KAAK,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,GAChC,kBAAkB,CAAC,UAAU,CAAC,CAAC;AAElC,wBAAgB,QAAQ,CAAC,UAAU,GAAG,EAAE,EACtC,KAAK,CAAC,EAAE,qBAAqB,CAAC,UAAU,CAAC,GACxC,0BAA0B,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export
|
|
2
|
+
import { AuthActionResponse, TLoginData } from "../../../contexts/auth/types";
|
|
3
|
+
import { RefineError } from "../../../contexts/data/types";
|
|
4
|
+
export type UseLoginLegacyProps<TVariables> = {
|
|
5
5
|
v3LegacyAuthProviderCompatible: true;
|
|
6
6
|
mutationOptions?: Omit<UseMutationOptions<TLoginData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type UseLoginProps<TVariables> = {
|
|
9
9
|
v3LegacyAuthProviderCompatible?: false;
|
|
10
10
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type UseLoginCombinedProps<TVariables> = {
|
|
13
13
|
v3LegacyAuthProviderCompatible: boolean;
|
|
14
14
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
16
|
+
export type UseLoginLegacyReturnType<TVariables> = UseMutationResult<TLoginData, Error | RefineError, TVariables, unknown>;
|
|
17
|
+
export type UseLoginReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
18
|
+
export type UseLoginCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>;
|
|
19
19
|
export declare function useLogin<TVariables = {}>(props: UseLoginLegacyProps<TVariables>): UseLoginLegacyReturnType<TVariables>;
|
|
20
20
|
export declare function useLogin<TVariables = {}>(props?: UseLoginProps<TVariables>): UseLoginReturnType<TVariables>;
|
|
21
21
|
export declare function useLogin<TVariables = {}>(props?: UseLoginCombinedProps<TVariables>): UseLoginCombinedReturnType<TVariables>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogin/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","s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AAI,iBAAiB,CACpE,kBAAkB,GAAG,UAAU,EAC/B,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,CAAC;AAEF,wBAAgB,QAAQ,CAAC,UAAU,GAAG,EAAE,EACtC,KAAK,EAAE,mBAAmB,CAAC,UAAU,CAAC,GACrC,wBAAwB,CAAC,UAAU,CAAC,CAAC;AAExC,wBAAgB,QAAQ,CAAC,UAAU,GAAG,EAAE,EACtC,KAAK,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,GAChC,kBAAkB,CAAC,UAAU,CAAC,CAAC;AAElC,wBAAgB,QAAQ,CAAC,UAAU,GAAG,EAAE,EACtC,KAAK,CAAC,EAAE,qBAAqB,CAAC,UAAU,CAAC,GACxC,0BAA0B,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { AuthActionResponse, TLogoutData } from "../../../contexts/auth/types";
|
|
3
|
+
import { RefineError } from "../../../contexts/data/types";
|
|
4
|
+
type Variables = {
|
|
5
|
+
redirectPath?: string | false;
|
|
6
|
+
};
|
|
7
|
+
export type UseLogoutLegacyProps<TVariables> = {
|
|
8
|
+
v3LegacyAuthProviderCompatible: true;
|
|
9
|
+
mutationOptions?: Omit<UseMutationOptions<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
10
|
+
};
|
|
11
|
+
export type UseLogoutProps<TVariables> = {
|
|
12
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
13
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
|
|
14
|
+
};
|
|
15
|
+
export type UseLogoutCombinedProps<TVariables> = {
|
|
16
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
17
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
|
|
18
|
+
};
|
|
19
|
+
export type UseLogoutLegacyReturnType<TVariables> = UseMutationResult<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
20
|
+
export type UseLogoutReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
21
|
+
export type UseLogoutCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
22
|
+
export declare function useLogout<TVariables = {}>(props: UseLogoutLegacyProps<TVariables>): UseLogoutLegacyReturnType<TVariables>;
|
|
23
|
+
export declare function useLogout<TVariables = {}>(props?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
|
|
24
|
+
export declare function useLogout<TVariables = {}>(props?: UseLogoutCombinedProps<TVariables>): UseLogoutCombinedReturnType<TVariables>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogout/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAW/B,OAAO,EACL,kBAAkB,EAElB,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,KAAK,SAAS,GAAG;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,oBAAoB,CAAC,UAAU,IAAI;IAC7C,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,WAAW,EACX,KAAK,GAAG,WAAW,EACnB,CAAC,UAAU,GAAG,SAAS,CAAC,GAAG,IAAI,EAC/B,OAA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C,wBAAgB,SAAS,CAAC,UAAU,GAAG,EAAE,EACvC,KAAK,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,GACjC,mBAAmB,CAAC,UAAU,CAAC,CAAC;AAEnC,wBAAgB,SAAS,CAAC,UAAU,GAAG,EAAE,EACvC,KAAK,CAAC,EAAE,sBAAsB,CAAC,UAAU,CAAC,GACzC,2BAA2B,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { AuthActionResponse, TLogoutData } from "../../../contexts/auth/types";
|
|
3
|
+
import { RefineError } from "../../../contexts/data/types";
|
|
4
|
+
type Variables = {
|
|
5
|
+
redirectPath?: string | false;
|
|
6
|
+
};
|
|
7
|
+
export type UseLogoutLegacyProps<TVariables> = {
|
|
8
|
+
v3LegacyAuthProviderCompatible: true;
|
|
9
|
+
mutationOptions?: Omit<UseMutationOptions<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
10
|
+
};
|
|
11
|
+
export type UseLogoutProps<TVariables> = {
|
|
12
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
13
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
|
|
14
|
+
};
|
|
15
|
+
export type UseLogoutCombinedProps<TVariables> = {
|
|
16
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
17
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
|
|
18
|
+
};
|
|
19
|
+
export type UseLogoutLegacyReturnType<TVariables> = UseMutationResult<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
20
|
+
export type UseLogoutReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
21
|
+
export type UseLogoutCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
22
|
+
export declare function useLogout<TVariables = {}>(props: UseLogoutLegacyProps<TVariables>): UseLogoutLegacyReturnType<TVariables>;
|
|
23
|
+
export declare function useLogout<TVariables = {}>(props?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
|
|
24
|
+
export declare function useLogout<TVariables = {}>(props?: UseLogoutCombinedProps<TVariables>): UseLogoutCombinedReturnType<TVariables>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogout/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAW/B,OAAO,EACL,kBAAkB,EAElB,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,KAAK,SAAS,GAAG;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,oBAAoB,CAAC,UAAU,IAAI;IAC7C,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,WAAW,EACX,KAAK,GAAG,WAAW,EACnB,CAAC,UAAU,GAAG,SAAS,CAAC,GAAG,IAAI,EAC/B,OAAO,CACR,EACD,YAAY,GAAG,SAAS,GAAG,WAAW,CACvC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,UAAU,IAAI;IACvC,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACn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AA2B,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import { AuthActionResponse, TLogoutData } from "../../../contexts/auth/types";
|
|
3
|
+
import { RefineError } from "../../../contexts/data/types";
|
|
4
|
+
type Variables = {
|
|
5
5
|
redirectPath?: string | false;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type UseLogoutLegacyProps<TVariables> = {
|
|
8
8
|
v3LegacyAuthProviderCompatible: true;
|
|
9
9
|
mutationOptions?: Omit<UseMutationOptions<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type UseLogoutProps<TVariables> = {
|
|
12
12
|
v3LegacyAuthProviderCompatible?: false;
|
|
13
13
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type UseLogoutCombinedProps<TVariables> = {
|
|
16
16
|
v3LegacyAuthProviderCompatible: boolean;
|
|
17
17
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
19
|
+
export type UseLogoutLegacyReturnType<TVariables> = UseMutationResult<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
20
|
+
export type UseLogoutReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
21
|
+
export type UseLogoutCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
22
22
|
export declare function useLogout<TVariables = {}>(props: UseLogoutLegacyProps<TVariables>): UseLogoutLegacyReturnType<TVariables>;
|
|
23
23
|
export declare function useLogout<TVariables = {}>(props?: UseLogoutProps<TVariables>): UseLogoutReturnType<TVariables>;
|
|
24
24
|
export declare function useLogout<TVariables = {}>(props?: UseLogoutCombinedProps<TVariables>): UseLogoutCombinedReturnType<TVariables>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogout/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogout/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAW/B,OAAO,EACL,kBAAkB,EAElB,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,KAAK,SAAS,GAAG;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,oBAAoB,CAAC,UAAU,IAAI;IAC7C,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,WAAW,EACX,KAAK,GAAG,WAAW,EACnB,CAAC,UAAU,GAAG,SAAS,CAAC,GAAG,IAAI,EAC/B,OAAO,CACR,EACD,YAAY,GAAG,SAAS,GAAG,WAAW,CACvC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,UAAU,IAAI;IACvC,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,CAAC,UAAU,GAAG,SAAS,CAAC,GAAG,IAAI,EAC/B,OAAO,CACR,EACD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|
+
import { UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { OnErrorResponse } from "../../../contexts/auth/types";
|
|
3
|
+
export type UseOnErrorLegacyProps = {
|
|
4
|
+
v3LegacyAuthProviderCompatible: true;
|
|
5
|
+
};
|
|
6
|
+
export type UseOnErrorProps = {
|
|
7
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
8
|
+
};
|
|
9
|
+
export type UseOnErrorCombinedProps = {
|
|
10
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type UseOnErrorLegacyReturnType = UseMutationResult<void, string | undefined, any, unknown>;
|
|
13
|
+
export type UseOnErrorReturnType = UseMutationResult<OnErrorResponse, unknown, unknown, unknown>;
|
|
14
|
+
export type UseOnErrorCombinedReturnType = UseMutationResult<OnErrorResponse | void, unknown, unknown, unknown>;
|
|
15
|
+
export declare function useOnError(props: UseOnErrorLegacyProps): UseOnErrorLegacyReturnType;
|
|
16
|
+
export declare function useOnError(props?: UseOnErrorProps): UseOnErrorReturnType;
|
|
17
|
+
export declare function useOnError(props?: UseOnErrorCombinedProps): UseOnErrorCombinedReturnType;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated `useCheckError` is deprecated with refine@4, use `useOnError` instead, however, we still support `useCheckError` for backward compatibility.
|
|
20
|
+
*/
|
|
21
|
+
export declare const useCheckError: typeof useOnError;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useOnError/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAe,MAAM,uBAAuB,CAAC;AAMvE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,8BAA8B,EAAE,IAAI,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,8BAA8B,CAAC,EAAE,KAAK,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,8BAA8B,EAAE,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CACxD,IAAI,EACJ,MAAM,GAAG,SAAS,EAClB,GAAG,EACH,OAAO,CACR,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAClD,eAAe,EACf,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAC1D,eAAe,GAAG,IAAI,EACtB,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC;AAEF,wBAAgB,UAAU,CACxB,KAAK,EAAE,qBAAqB,GAC3B,0BAA0B,CAAC;AAE9B,wBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,oBAAoB,CAAC;AAE1E,wBAAgB,UAAU,CACxB,KAAK,CAAC,EAAE,uBAAuB,GAC9B,4BAA4B,CAAC;AAuEhC;;GAEG;AACH,eAAO,MAAM,aAAa,mBAAa,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { OnErrorResponse } from "../../../contexts/auth/types";
|
|
3
|
+
export type UseOnErrorLegacyProps = {
|
|
4
|
+
v3LegacyAuthProviderCompatible: true;
|
|
5
|
+
};
|
|
6
|
+
export type UseOnErrorProps = {
|
|
7
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
8
|
+
};
|
|
9
|
+
export type UseOnErrorCombinedProps = {
|
|
10
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type UseOnErrorLegacyReturnType = UseMutationResult<void, string | undefined, any, unknown>;
|
|
13
|
+
export type UseOnErrorReturnType = UseMutationResult<OnErrorResponse, unknown, unknown, unknown>;
|
|
14
|
+
export type UseOnErrorCombinedReturnType = UseMutationResult<OnErrorResponse | void, unknown, unknown, unknown>;
|
|
15
|
+
export declare function useOnError(props: UseOnErrorLegacyProps): UseOnErrorLegacyReturnType;
|
|
16
|
+
export declare function useOnError(props?: UseOnErrorProps): UseOnErrorReturnType;
|
|
17
|
+
export declare function useOnError(props?: UseOnErrorCombinedProps): UseOnErrorCombinedReturnType;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated `useCheckError` is deprecated with refine@4, use `useOnError` instead, however, we still support `useCheckError` for backward compatibility.
|
|
20
|
+
*/
|
|
21
|
+
export declare const useCheckError: typeof useOnError;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useOnError/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAe,MAAM,uBAAuB,CAAC;AAMvE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,8BAA8B,EAAE,IAAI,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,8BAA8B,CAAC,EAAE,KAAK,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,8BAA8B,EAAE,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CACxD,IAAI,EACJ,MAAM,GAAG,SAAS,EAClB,GAAG,EACH,OAAO,CACR,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAClD,eAAe,EACf,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAC1D,eAAe,GAAG,IAAI,EACtB,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC;AAEF,wBAAgB,UAAU,CACxB,KAAK,EAAE,qBAAqB,GAC3B,0BAA0B,CAAC;AAE9B,wBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,oBAAoB,CAAC;AAE1E,wBAAgB,UAAU,CACxB,KAAK,CAAC,EAAE,uBAAuB,GAC9B,4BAA4B,CAAC;AAuEhC;;GAEG;AACH,eAAO,MAAM,aAAa,mBAAa,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { UseMutationResult } from "@tanstack/react-query";
|
|
2
|
-
import { OnErrorResponse } from "../../../
|
|
3
|
-
export
|
|
2
|
+
import { OnErrorResponse } from "../../../contexts/auth/types";
|
|
3
|
+
export type UseOnErrorLegacyProps = {
|
|
4
4
|
v3LegacyAuthProviderCompatible: true;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type UseOnErrorProps = {
|
|
7
7
|
v3LegacyAuthProviderCompatible?: false;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type UseOnErrorCombinedProps = {
|
|
10
10
|
v3LegacyAuthProviderCompatible: boolean;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
12
|
+
export type UseOnErrorLegacyReturnType = UseMutationResult<void, string | undefined, any, unknown>;
|
|
13
|
+
export type UseOnErrorReturnType = UseMutationResult<OnErrorResponse, unknown, unknown, unknown>;
|
|
14
|
+
export type UseOnErrorCombinedReturnType = UseMutationResult<OnErrorResponse | void, unknown, unknown, unknown>;
|
|
15
15
|
export declare function useOnError(props: UseOnErrorLegacyProps): UseOnErrorLegacyReturnType;
|
|
16
16
|
export declare function useOnError(props?: UseOnErrorProps): UseOnErrorReturnType;
|
|
17
17
|
export declare function useOnError(props?: UseOnErrorCombinedProps): UseOnErrorCombinedReturnType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useOnError/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useOnError/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAe,MAAM,uBAAuB,CAAC;AAMvE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,8BAA8B,EAAE,IAAI,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,8BAA8B,CAAC,EAAE,KAAK,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,8BAA8B,EAAE,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CACxD,IAAI,EACJ,MAAM,GAAG,SAAS,EAClB,GAAG,EACH,OAAO,CACR,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAClD,eAAe,EACf,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAC1D,eAAe,GAAG,IAAI,EACtB,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC;AAEF,wBAAgB,UAAU,CACxB,KAAK,EAAE,qBAAqB,GAC3B,0BAA0B,CAAC;AAE9B,wBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,oBAAoB,CAAC;AAE1E,wBAAgB,UAAU,CACxB,KAAK,CAAC,EAAE,uBAAuB,GAC9B,4BAA4B,CAAC;AAuEhC;;GAEG;AACH,eAAO,MAAM,aAAa,mBAAa,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { PermissionResponse } from "../../../contexts/auth/types";
|
|
3
|
+
export type UsePermissionsLegacyProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
|
|
4
|
+
v3LegacyAuthProviderCompatible: true;
|
|
5
|
+
options?: UseQueryOptions<TData>;
|
|
6
|
+
params?: TParams;
|
|
7
|
+
};
|
|
8
|
+
export type UsePermissionsProps<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>> = {
|
|
9
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
10
|
+
options?: UseQueryOptions<TData>;
|
|
11
|
+
params?: TParams;
|
|
12
|
+
};
|
|
13
|
+
export type UsePermissionsCombinedProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
|
|
14
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
15
|
+
options?: UseQueryOptions<TData> | UseQueryOptions<PermissionResponse>;
|
|
16
|
+
params?: TParams;
|
|
17
|
+
};
|
|
18
|
+
export type UsePermissionsLegacyReturnType<TData = any> = UseQueryResult<TData, unknown>;
|
|
19
|
+
export type UsePermissionsReturnType<TData = PermissionResponse> = UseQueryResult<TData, unknown>;
|
|
20
|
+
export type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<PermissionResponse, unknown>;
|
|
21
|
+
export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props: UsePermissionsLegacyProps<TData, TParams>): UsePermissionsLegacyReturnType<TData>;
|
|
22
|
+
export declare function usePermissions<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
|
|
23
|
+
export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsCombinedProps<TData, TParams>): UsePermissionsCombinedReturnType<TData>;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/usePermissions/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EACf,cAAc,EAEf,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAElE,MAAM,MAAM,yBAAyB,CACnC,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,CAC5B,KAAK,GAAG,GAAG,EACX,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAEzD,KAAK,EAAE,yBAAyB,CAAC,KAAK,EAAE,OAAO,CAAC,GAC/C,8BAA8B,CAAC,KAAK,CAAC,CAAC;AAEzC,wBAAgB,cAAc,CAC5B,KAAK,GAAG,kBAAkB,EAC1B,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzD,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAEhF,wBAAgB,cAAc,CAC5B,KAAK,GAAG,GAAG,EACX,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAEzD,KAAK,CAAC,EAAE,2BAA2B,CAAC,KAAK,EAAE,OAAO,CAAC,GAClD,gCAAgC,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { PermissionResponse } from "../../../contexts/auth/types";
|
|
3
|
+
export type UsePermissionsLegacyProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
|
|
4
|
+
v3LegacyAuthProviderCompatible: true;
|
|
5
|
+
options?: UseQueryOptions<TData>;
|
|
6
|
+
params?: TParams;
|
|
7
|
+
};
|
|
8
|
+
export type UsePermissionsProps<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>> = {
|
|
9
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
10
|
+
options?: UseQueryOptions<TData>;
|
|
11
|
+
params?: TParams;
|
|
12
|
+
};
|
|
13
|
+
export type UsePermissionsCombinedProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
|
|
14
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
15
|
+
options?: UseQueryOptions<TData> | UseQueryOptions<PermissionResponse>;
|
|
16
|
+
params?: TParams;
|
|
17
|
+
};
|
|
18
|
+
export type UsePermissionsLegacyReturnType<TData = any> = UseQueryResult<TData, unknown>;
|
|
19
|
+
export type UsePermissionsReturnType<TData = PermissionResponse> = UseQueryResult<TData, unknown>;
|
|
20
|
+
export type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<PermissionResponse, unknown>;
|
|
21
|
+
export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props: UsePermissionsLegacyProps<TData, TParams>): UsePermissionsLegacyReturnType<TData>;
|
|
22
|
+
export declare function usePermissions<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
|
|
23
|
+
export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsCombinedProps<TData, TParams>): UsePermissionsCombinedReturnType<TData>;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/usePermissions/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EACf,cAAc,EAEf,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAElE,MAAM,MAAM,yBAAyB,CACnC,KAAK,GAAG,GAAG,EACX,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACvD;IACF,8BAA8B,EAAE,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAA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AK,GAAG,kBAAkB,EAC1B,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzD,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAEhF,wBAAgB,cAAc,CAC5B,KAAK,GAAG,GAAG,EACX,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAEzD,KAAK,CAAC,EAAE,2BAA2B,CAAC,KAAK,EAAE,OAAO,CAAC,GAClD,gCAAgC,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PermissionResponse } from "../../../
|
|
3
|
-
export
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { PermissionResponse } from "../../../contexts/auth/types";
|
|
3
|
+
export type UsePermissionsLegacyProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
|
|
4
4
|
v3LegacyAuthProviderCompatible: true;
|
|
5
5
|
options?: UseQueryOptions<TData>;
|
|
6
|
+
params?: TParams;
|
|
6
7
|
};
|
|
7
|
-
export
|
|
8
|
+
export type UsePermissionsProps<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>> = {
|
|
8
9
|
v3LegacyAuthProviderCompatible?: false;
|
|
9
10
|
options?: UseQueryOptions<TData>;
|
|
11
|
+
params?: TParams;
|
|
10
12
|
};
|
|
11
|
-
export
|
|
13
|
+
export type UsePermissionsCombinedProps<TData = any, TParams extends Record<string, any> = Record<string, any>> = {
|
|
12
14
|
v3LegacyAuthProviderCompatible: boolean;
|
|
13
15
|
options?: UseQueryOptions<TData> | UseQueryOptions<PermissionResponse>;
|
|
16
|
+
params?: TParams;
|
|
14
17
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export declare function usePermissions<TData = any>(props: UsePermissionsLegacyProps<TData>): UsePermissionsLegacyReturnType<TData>;
|
|
19
|
-
export declare function usePermissions<TData = PermissionResponse>(props?: UsePermissionsProps<TData>): UsePermissionsReturnType<TData>;
|
|
20
|
-
export declare function usePermissions<TData = any>(props?: UsePermissionsCombinedProps<TData>): UsePermissionsCombinedReturnType<TData>;
|
|
18
|
+
export type UsePermissionsLegacyReturnType<TData = any> = UseQueryResult<TData, unknown>;
|
|
19
|
+
export type UsePermissionsReturnType<TData = PermissionResponse> = UseQueryResult<TData, unknown>;
|
|
20
|
+
export type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<PermissionResponse, unknown>;
|
|
21
|
+
export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props: UsePermissionsLegacyProps<TData, TParams>): UsePermissionsLegacyReturnType<TData>;
|
|
22
|
+
export declare function usePermissions<TData = PermissionResponse, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsProps<TData, TParams>): UsePermissionsReturnType<TData>;
|
|
23
|
+
export declare function usePermissions<TData = any, TParams extends Record<string, any> = Record<string, any>>(props?: UsePermissionsCombinedProps<TData, TParams>): UsePermissionsCombinedReturnType<TData>;
|
|
21
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/usePermissions/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/usePermissions/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EACf,cAAc,EAEf,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAElE,MAAM,MAAM,yBAAyB,CACnC,KAAK,GAAG,GAAG,EACX,OAAO,SAAS,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O,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAEzD,KAAK,EAAE,yBAAyB,CAAC,KAAK,EAAE,OAAO,CAAC,GAC/C,8BAA8B,CAAC,KAAK,CAAC,CAAC;AAEzC,wBAAgB,cAAc,CAC5B,KAAK,GAAG,kBAAkB,EAC1B,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzD,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAEhF,wBAAgB,cAAc,CAC5B,KAAK,GAAG,GAAG,EACX,OAAO,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAEzD,KAAK,CAAC,EAAE,2BAA2B,CAAC,KAAK,EAAE,OAAO,CAAC,GAClD,gCAAgC,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { AuthActionResponse, TLoginData, TRegisterData } from "../../../contexts/auth/types";
|
|
3
|
+
import { RefineError } from "../../../contexts/data/types";
|
|
4
|
+
export type UseRegisterLegacyProps<TVariables> = {
|
|
5
|
+
v3LegacyAuthProviderCompatible: true;
|
|
6
|
+
mutationOptions?: Omit<UseMutationOptions<TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
7
|
+
};
|
|
8
|
+
export type UseRegisterProps<TVariables> = {
|
|
9
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
10
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
11
|
+
};
|
|
12
|
+
export type UseRegisterCombinedProps<TVariables> = {
|
|
13
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
14
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
15
|
+
};
|
|
16
|
+
export type UseRegisterLegacyReturnType<TVariables> = UseMutationResult<TRegisterData, Error | RefineError, TVariables, unknown>;
|
|
17
|
+
export type UseRegisterReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
18
|
+
export type UseRegisterCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>;
|
|
19
|
+
export declare function useRegister<TVariables = {}>(props: UseRegisterLegacyProps<TVariables>): UseRegisterLegacyReturnType<TVariables>;
|
|
20
|
+
export declare function useRegister<TVariables = {}>(props?: UseRegisterProps<TVariables>): UseRegisterReturnType<TVariables>;
|
|
21
|
+
export declare function useRegister<TVariables = {}>(props?: UseRegisterCombinedProps<TVariables>): UseRegisterCombinedReturnType<TVariables>;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useRegister/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAW/B,OAAO,EACL,kBAAkB,EAElB,UAAU,EACV,aAAa,EACd,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,MAAM,MAAM,sBAAsB,CAAC,UAAU,IAAI;IAC/C,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAAC,aAAa,EAAE,KAAK,GAAG,WAAW,EAAE,UAAU,EAAE,OAAO,CAAC,EAC3E,YAAY,GAAG,SAAS,GAAG,WAAW,CACvC,CAAC;C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,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { AuthActionResponse, TLoginData, TRegisterData } from "../../../contexts/auth/types";
|
|
3
|
+
import { RefineError } from "../../../contexts/data/types";
|
|
4
|
+
export type UseRegisterLegacyProps<TVariables> = {
|
|
5
|
+
v3LegacyAuthProviderCompatible: true;
|
|
6
|
+
mutationOptions?: Omit<UseMutationOptions<TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
7
|
+
};
|
|
8
|
+
export type UseRegisterProps<TVariables> = {
|
|
9
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
10
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
11
|
+
};
|
|
12
|
+
export type UseRegisterCombinedProps<TVariables> = {
|
|
13
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
14
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
15
|
+
};
|
|
16
|
+
export type UseRegisterLegacyReturnType<TVariables> = UseMutationResult<TRegisterData, Error | RefineError, TVariables, unknown>;
|
|
17
|
+
export type UseRegisterReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
18
|
+
export type UseRegisterCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>;
|
|
19
|
+
export declare function useRegister<TVariables = {}>(props: UseRegisterLegacyProps<TVariables>): UseRegisterLegacyReturnType<TVariables>;
|
|
20
|
+
export declare function useRegister<TVariables = {}>(props?: UseRegisterProps<TVariables>): UseRegisterReturnType<TVariables>;
|
|
21
|
+
export declare function useRegister<TVariables = {}>(props?: UseRegisterCombinedProps<TVariables>): UseRegisterCombinedReturnType<TVariables>;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useRegister/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAW/B,OAAO,EACL,kBAAkB,EAElB,UAAU,EACV,aAAa,EACd,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,MAAM,MAAM,sBAAsB,CAAC,UAAU,IAAI;IAC/C,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAAC,aAAa,EAAE,KAAK,GAAG,WAAW,EAAE,UAAU,EAAE,OAAO,CAAC,EAC3E,YAAY,GAAG,SAAS,GAAG,WAAW,CACvC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,UAAU,IAAI;IACzC,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,EACD,YAAY,CACb,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,wBAAwB,CAAC,UAAU,IAAI;IACjD,8BAA8B,EAAE,OAAO,CAAC;IACxC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,GAAG,aAAa,EAClC,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,EACD,YAAY,CACb,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,2BAA2B,CAAC,UAAU,IAAI,iBAAiB,CACrE,aAAa,EACb,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAAC,UAAU,IAAI,iBAAiB,CAC/D,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,CAAC;AAEF,MAAM,MAAM,6BAA6B,CAAC,UAAU,IAAI,iBAAiB,CACvE,kBAAkB,GAAG,UAAU,EAC/B,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,CAAC;AAEF,wBAAgB,WAAW,CAAC,UAAU,GAAG,EAAE,EACzC,KAAK,EAAE,sBAAsB,CAAC,UAAU,CAAC,GACxC,2BAA2B,CAAC,UAAU,CAAC,CAAC;AAE3C,wBAAgB,WAAW,CAAC,UAAU,GAAG,EAAE,EACzC,KAAK,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,GACnC,qBAAqB,CAAC,UAAU,CAAC,CAAC;AAErC,wBAAgB,WAAW,CAAC,UAAU,GAAG,EAAE,EACzC,KAAK,CAAC,EAAE,wBAAwB,CAAC,UAAU,CAAC,GAC3C,6BAA6B,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
-
import { AuthActionResponse,
|
|
3
|
-
|
|
2
|
+
import { AuthActionResponse, TLoginData, TRegisterData } from "../../../contexts/auth/types";
|
|
3
|
+
import { RefineError } from "../../../contexts/data/types";
|
|
4
|
+
export type UseRegisterLegacyProps<TVariables> = {
|
|
4
5
|
v3LegacyAuthProviderCompatible: true;
|
|
5
6
|
mutationOptions?: Omit<UseMutationOptions<TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
6
7
|
};
|
|
7
|
-
export
|
|
8
|
+
export type UseRegisterProps<TVariables> = {
|
|
8
9
|
v3LegacyAuthProviderCompatible?: false;
|
|
9
10
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
10
11
|
};
|
|
11
|
-
export
|
|
12
|
+
export type UseRegisterCombinedProps<TVariables> = {
|
|
12
13
|
v3LegacyAuthProviderCompatible: boolean;
|
|
13
14
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
14
15
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type UseRegisterLegacyReturnType<TVariables> = UseMutationResult<TRegisterData, Error | RefineError, TVariables, unknown>;
|
|
17
|
+
export type UseRegisterReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
18
|
+
export type UseRegisterCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>;
|
|
18
19
|
export declare function useRegister<TVariables = {}>(props: UseRegisterLegacyProps<TVariables>): UseRegisterLegacyReturnType<TVariables>;
|
|
19
20
|
export declare function useRegister<TVariables = {}>(props?: UseRegisterProps<TVariables>): UseRegisterReturnType<TVariables>;
|
|
20
21
|
export declare function useRegister<TVariables = {}>(props?: UseRegisterCombinedProps<TVariables>): UseRegisterCombinedReturnType<TVariables>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useRegister/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useRegister/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAW/B,OAAO,EACL,kBAAkB,EAElB,UAAU,EACV,aAAa,EACd,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAI3D,MAAM,MAAM,sBAAsB,CAAC,UAAU,IAAI;IAC/C,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAAC,aAAa,EAAE,KAAK,GAAG,WAAW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AAG,EAAE,EACzC,KAAK,CAAC,EAAE,wBAAwB,CAAC,UAAU,CAAC,GAC3C,6BAA6B,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { UpdatePasswordFormTypes } from "../../../components/pages/auth/types";
|
|
3
|
+
import { AuthActionResponse, TUpdatePasswordData } from "../../../contexts/auth/types";
|
|
4
|
+
import { RefineError } from "../../../contexts/data/types";
|
|
5
|
+
export type UseUpdatePasswordLegacyProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
6
|
+
v3LegacyAuthProviderCompatible: true;
|
|
7
|
+
mutationOptions?: Omit<UseMutationOptions<TUpdatePasswordData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
8
|
+
};
|
|
9
|
+
export type UseUpdatePasswordProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
10
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
11
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
12
|
+
};
|
|
13
|
+
export type UseUpdatePasswordCombinedProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
14
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
15
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TUpdatePasswordData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
16
|
+
};
|
|
17
|
+
export type UseUpdatePasswordLegacyReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<TUpdatePasswordData, Error | RefineError, TVariables, unknown>;
|
|
18
|
+
export type UseUpdatePasswordReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
19
|
+
export type UseUpdatePasswordCombinedReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<AuthActionResponse | TUpdatePasswordData, Error | RefineError, TVariables, unknown>;
|
|
20
|
+
export declare function useUpdatePassword<TVariables extends UpdatePasswordFormTypes>(props: UseUpdatePasswordLegacyProps<TVariables>): UseUpdatePasswordLegacyReturnType<TVariables>;
|
|
21
|
+
export declare function useUpdatePassword<TVariables extends UpdatePasswordFormTypes>(props?: UseUpdatePasswordProps<TVariables>): UseUpdatePasswordReturnType<TVariables>;
|
|
22
|
+
export declare function useUpdatePassword<TVariables extends UpdatePasswordFormTypes>(props?: UseUpdatePasswordCombinedProps<TVariables>): UseUpdatePasswordCombinedReturnType<TVariables>;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useUpdatePassword/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EACL,kBAAkB,EAElB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,MAAM,MAAM,4BAA4B,CACtC,UAAU,SAAS,uBAAuB,IACxC;IACF,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,mBAAmB,EACnB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,EACD,YAAY,GAAG,SAAS,GAAG,WAAW,CACvC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,CAAC,UAAU,SAAS,uBAAuB,IAC3E;IACE,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,EAC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swordFormTypes } from "../../../components/pages/auth/types";
|
|
3
|
+
import { AuthActionResponse, TUpdatePasswordData } from "../../../contexts/auth/types";
|
|
4
|
+
import { RefineError } from "../../../contexts/data/types";
|
|
5
|
+
export type UseUpdatePasswordLegacyProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
6
|
+
v3LegacyAuthProviderCompatible: true;
|
|
7
|
+
mutationOptions?: Omit<UseMutationOptions<TUpdatePasswordData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
8
|
+
};
|
|
9
|
+
export type UseUpdatePasswordProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
10
|
+
v3LegacyAuthProviderCompatible?: false;
|
|
11
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
12
|
+
};
|
|
13
|
+
export type UseUpdatePasswordCombinedProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
14
|
+
v3LegacyAuthProviderCompatible: boolean;
|
|
15
|
+
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TUpdatePasswordData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
16
|
+
};
|
|
17
|
+
export type UseUpdatePasswordLegacyReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<TUpdatePasswordData, Error | RefineError, TVariables, unknown>;
|
|
18
|
+
export type UseUpdatePasswordReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
19
|
+
export type UseUpdatePasswordCombinedReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<AuthActionResponse | TUpdatePasswordData, Error | RefineError, TVariables, unknown>;
|
|
20
|
+
export declare function useUpdatePassword<TVariables extends UpdatePasswordFormTypes>(props: UseUpdatePasswordLegacyProps<TVariables>): UseUpdatePasswordLegacyReturnType<TVariables>;
|
|
21
|
+
export declare function useUpdatePassword<TVariables extends UpdatePasswordFormTypes>(props?: UseUpdatePasswordProps<TVariables>): UseUpdatePasswordReturnType<TVariables>;
|
|
22
|
+
export declare function useUpdatePassword<TVariables extends UpdatePasswordFormTypes>(props?: UseUpdatePasswordCombinedProps<TVariables>): UseUpdatePasswordCombinedReturnType<TVariables>;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useUpdatePassword/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EACL,kBAAkB,EAElB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,MAAM,MAAM,4BAA4B,CACtC,UAAU,SAAS,uBAAuB,IACxC;IACF,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,mBAAmB,EACnB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,EACD,YAAY,GAAG,SAAS,GAAG,WAAW,CACvC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,CAAC,UAAU,SAAS,uBAAuB,IAC3E;IACE,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACR,EACD,YAAY,CACb,CAAC;CACH,CAAC;AAEJ,MAAM,MAAM,8BAA8B,CACxC,UAAU,SAAS,uBAAuB,IACxC;IACF,8BAA8B,EAAE,OAAO,CAAC;IACxC,eAAe,CAAC,EAAE,IAAI,CACpB,kBAAkB,CAChB,kBAAkB,GAAG,mBAAmB,EACxC,K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