@refinedev/core 4.46.3-alpha.0 → 4.47.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 +22 -0
- package/README.md +3 -3
- package/dist/components/authenticated/index.d.ts +3 -3
- package/dist/components/authenticated/index.d.ts.map +1 -1
- package/dist/components/canAccess/index.d.ts +8 -5
- package/dist/components/canAccess/index.d.ts.map +1 -1
- package/dist/components/containers/refine/index.d.ts +1 -1
- package/dist/components/containers/refine/index.d.ts.map +1 -1
- package/dist/components/gh-banner/index.d.ts +2 -2
- package/dist/components/gh-banner/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/login/index.d.ts +1 -1
- package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/register/index.d.ts +1 -1
- package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.ts +1 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/index.d.ts +3 -3
- package/dist/components/pages/auth/index.d.ts.map +1 -1
- package/dist/components/pages/config-error/index.d.ts +3 -0
- package/dist/components/pages/config-error/index.d.ts.map +1 -0
- package/dist/components/pages/config-success/index.d.ts +6 -0
- package/dist/components/pages/config-success/index.d.ts.map +1 -0
- package/dist/components/pages/welcome/index.d.ts +2 -5
- package/dist/components/pages/welcome/index.d.ts.map +1 -1
- package/dist/components/routeChangeHandler/index.d.ts +1 -0
- package/dist/components/routeChangeHandler/index.d.ts.map +1 -1
- package/dist/contexts/accessControl/IAccessControlContext.d.ts +6 -3
- package/dist/contexts/accessControl/IAccessControlContext.d.ts.map +1 -1
- package/dist/contexts/accessControl/index.d.ts.map +1 -1
- package/dist/contexts/auditLog/IAuditLogContext.d.ts +3 -3
- package/dist/contexts/auditLog/IAuditLogContext.d.ts.map +1 -1
- package/dist/contexts/auth/IAuthContext.d.ts +5 -5
- package/dist/contexts/auth/IAuthContext.d.ts.map +1 -1
- package/dist/contexts/data/IDataContext.d.ts +9 -9
- package/dist/contexts/data/IDataContext.d.ts.map +1 -1
- package/dist/contexts/data/index.d.ts +5 -49
- package/dist/contexts/data/index.d.ts.map +1 -1
- package/dist/contexts/legacy-router/IRouterContext.d.ts +1 -1
- package/dist/contexts/legacy-router/IRouterContext.d.ts.map +1 -1
- package/dist/contexts/live/ILiveContext.d.ts +3 -2
- package/dist/contexts/live/ILiveContext.d.ts.map +1 -1
- package/dist/contexts/notification/INotificationContext.d.ts +1 -1
- package/dist/contexts/notification/INotificationContext.d.ts.map +1 -1
- package/dist/contexts/refine/IRefineContext.d.ts +2 -0
- package/dist/contexts/refine/IRefineContext.d.ts.map +1 -1
- package/dist/contexts/refine/index.d.ts.map +1 -1
- package/dist/contexts/resource/IResourceContext.d.ts +5 -5
- package/dist/contexts/resource/IResourceContext.d.ts.map +1 -1
- package/dist/contexts/translation/ITranslationContext.d.ts +2 -2
- package/dist/contexts/translation/ITranslationContext.d.ts.map +1 -1
- package/dist/contexts/undoableQueue/IUndoableQueueContext.d.ts +1 -0
- package/dist/contexts/undoableQueue/IUndoableQueueContext.d.ts.map +1 -1
- package/dist/definitions/helpers/downloadInBrowser/index.d.ts +2 -0
- package/dist/definitions/helpers/downloadInBrowser/index.d.ts.map +1 -0
- package/dist/definitions/helpers/handlePaginationParams/index.d.ts +1 -1
- package/dist/definitions/helpers/handlePaginationParams/index.d.ts.map +1 -1
- package/dist/definitions/helpers/handleRefineOptions/index.d.ts +2 -2
- package/dist/definitions/helpers/handleRefineOptions/index.d.ts.map +1 -1
- package/dist/definitions/helpers/index.d.ts +1 -0
- package/dist/definitions/helpers/index.d.ts.map +1 -1
- package/dist/definitions/helpers/keys/index.d.ts +10 -10
- package/dist/definitions/helpers/keys/index.d.ts.map +1 -1
- package/dist/definitions/helpers/menu/create-tree.d.ts +2 -2
- package/dist/definitions/helpers/menu/create-tree.d.ts.map +1 -1
- package/dist/definitions/helpers/redirectPage/index.d.ts +1 -1
- package/dist/definitions/helpers/redirectPage/index.d.ts.map +1 -1
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts +1 -1
- package/dist/definitions/helpers/router/get-action-routes-from-resource.d.ts.map +1 -1
- package/dist/definitions/helpers/sequentialPromises/index.d.ts +2 -2
- package/dist/definitions/helpers/sequentialPromises/index.d.ts.map +1 -1
- package/dist/esm/index.js +26 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/hooks/accessControl/useCan/index.d.ts +2 -2
- package/dist/hooks/accessControl/useCan/index.d.ts.map +1 -1
- package/dist/hooks/auditLog/useLog/index.d.ts +3 -3
- package/dist/hooks/auditLog/useLog/index.d.ts.map +1 -1
- package/dist/hooks/auditLog/useLogList/index.d.ts +1 -1
- package/dist/hooks/auditLog/useLogList/index.d.ts.map +1 -1
- package/dist/hooks/auth/useForgotPassword/index.d.ts +6 -6
- package/dist/hooks/auth/useForgotPassword/index.d.ts.map +1 -1
- package/dist/hooks/auth/useGetIdentity/index.d.ts +6 -6
- package/dist/hooks/auth/useGetIdentity/index.d.ts.map +1 -1
- package/dist/hooks/auth/useIsAuthenticated/index.d.ts +6 -6
- package/dist/hooks/auth/useIsAuthenticated/index.d.ts.map +1 -1
- package/dist/hooks/auth/useLogin/index.d.ts +6 -6
- package/dist/hooks/auth/useLogin/index.d.ts.map +1 -1
- package/dist/hooks/auth/useLogout/index.d.ts +7 -7
- package/dist/hooks/auth/useLogout/index.d.ts.map +1 -1
- package/dist/hooks/auth/useOnError/index.d.ts +6 -6
- package/dist/hooks/auth/useOnError/index.d.ts.map +1 -1
- package/dist/hooks/auth/usePermissions/index.d.ts +6 -6
- package/dist/hooks/auth/usePermissions/index.d.ts.map +1 -1
- package/dist/hooks/auth/useRegister/index.d.ts +6 -6
- package/dist/hooks/auth/useRegister/index.d.ts.map +1 -1
- package/dist/hooks/auth/useUpdatePassword/index.d.ts +6 -6
- package/dist/hooks/auth/useUpdatePassword/index.d.ts.map +1 -1
- package/dist/hooks/breadcrumb/index.d.ts +3 -3
- package/dist/hooks/breadcrumb/index.d.ts.map +1 -1
- package/dist/hooks/data/useCreate.d.ts +3 -3
- package/dist/hooks/data/useCreate.d.ts.map +1 -1
- package/dist/hooks/data/useCreateMany.d.ts +3 -3
- package/dist/hooks/data/useCreateMany.d.ts.map +1 -1
- package/dist/hooks/data/useCustom.d.ts +1 -1
- package/dist/hooks/data/useCustom.d.ts.map +1 -1
- package/dist/hooks/data/useCustomMutation.d.ts +3 -3
- package/dist/hooks/data/useCustomMutation.d.ts.map +1 -1
- package/dist/hooks/data/useDataProvider.d.ts.map +1 -1
- package/dist/hooks/data/useDelete.d.ts +3 -3
- package/dist/hooks/data/useDelete.d.ts.map +1 -1
- package/dist/hooks/data/useDeleteMany.d.ts +3 -3
- package/dist/hooks/data/useDeleteMany.d.ts.map +1 -1
- package/dist/hooks/data/useInfiniteList.d.ts +2 -2
- package/dist/hooks/data/useInfiniteList.d.ts.map +1 -1
- package/dist/hooks/data/useList.d.ts +2 -2
- package/dist/hooks/data/useList.d.ts.map +1 -1
- package/dist/hooks/data/useMany.d.ts +1 -1
- package/dist/hooks/data/useMany.d.ts.map +1 -1
- package/dist/hooks/data/useOne.d.ts +1 -1
- package/dist/hooks/data/useOne.d.ts.map +1 -1
- package/dist/hooks/data/useUpdate.d.ts +3 -3
- package/dist/hooks/data/useUpdate.d.ts.map +1 -1
- package/dist/hooks/data/useUpdateMany.d.ts +3 -3
- package/dist/hooks/data/useUpdateMany.d.ts.map +1 -1
- package/dist/hooks/export/csvDownload.interface.d.ts +4 -4
- package/dist/hooks/export/csvDownload.interface.d.ts.map +1 -1
- package/dist/hooks/export/index.d.ts +29 -6
- package/dist/hooks/export/index.d.ts.map +1 -1
- package/dist/hooks/form/useForm.d.ts +4 -4
- package/dist/hooks/form/useForm.d.ts.map +1 -1
- package/dist/hooks/import/index.d.ts +10 -9
- package/dist/hooks/import/index.d.ts.map +1 -1
- package/dist/hooks/invalidate/index.d.ts +1 -1
- package/dist/hooks/invalidate/index.d.ts.map +1 -1
- package/dist/hooks/legacy-router/useRouterContext.d.ts +1 -0
- package/dist/hooks/legacy-router/useRouterContext.d.ts.map +1 -1
- package/dist/hooks/live/useResourceSubscription/index.d.ts +2 -2
- package/dist/hooks/live/useResourceSubscription/index.d.ts.map +1 -1
- package/dist/hooks/live/useSubscription/index.d.ts +1 -1
- package/dist/hooks/live/useSubscription/index.d.ts.map +1 -1
- package/dist/hooks/menu/useMenu.d.ts +3 -3
- package/dist/hooks/menu/useMenu.d.ts.map +1 -1
- 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.ts +1 -1
- package/dist/hooks/navigation/index.d.ts.map +1 -1
- package/dist/hooks/notification/useCancelNotification/index.d.ts +2 -1
- package/dist/hooks/notification/useCancelNotification/index.d.ts.map +1 -1
- package/dist/hooks/redirection/index.d.ts +1 -1
- package/dist/hooks/redirection/index.d.ts.map +1 -1
- package/dist/hooks/refine/useMutationMode.d.ts +1 -1
- package/dist/hooks/refine/useMutationMode.d.ts.map +1 -1
- package/dist/hooks/refine/useRefineContext.d.ts +2 -0
- package/dist/hooks/refine/useRefineContext.d.ts.map +1 -1
- package/dist/hooks/refine/useSyncWithLocation.d.ts +1 -1
- package/dist/hooks/refine/useSyncWithLocation.d.ts.map +1 -1
- package/dist/hooks/refine/useTitle.d.ts +1 -0
- package/dist/hooks/refine/useTitle.d.ts.map +1 -1
- package/dist/hooks/refine/useWarnAboutChange/index.d.ts +1 -1
- package/dist/hooks/refine/useWarnAboutChange/index.d.ts.map +1 -1
- package/dist/hooks/resource/useResource/index.d.ts +5 -5
- package/dist/hooks/resource/useResource/index.d.ts.map +1 -1
- package/dist/hooks/resource/useResourceWithRoute/index.d.ts +1 -1
- package/dist/hooks/resource/useResourceWithRoute/index.d.ts.map +1 -1
- package/dist/hooks/router/use-get-to-path/index.d.ts +2 -2
- package/dist/hooks/router/use-get-to-path/index.d.ts.map +1 -1
- package/dist/hooks/router/use-go/index.d.ts +4 -4
- package/dist/hooks/router/use-go/index.d.ts.map +1 -1
- package/dist/hooks/router/use-parse/index.d.ts +1 -1
- package/dist/hooks/router/use-parse/index.d.ts.map +1 -1
- package/dist/hooks/router/use-to-path/index.d.ts +1 -1
- package/dist/hooks/router/use-to-path/index.d.ts.map +1 -1
- package/dist/hooks/show/useShow.d.ts +2 -2
- package/dist/hooks/show/useShow.d.ts.map +1 -1
- package/dist/hooks/translate/useGetLocale.d.ts +1 -1
- package/dist/hooks/translate/useGetLocale.d.ts.map +1 -1
- package/dist/hooks/useLoadingOvertime/index.d.ts +6 -6
- package/dist/hooks/useLoadingOvertime/index.d.ts.map +1 -1
- package/dist/hooks/useSelect/index.d.ts +2 -2
- package/dist/hooks/useSelect/index.d.ts.map +1 -1
- package/dist/hooks/useTable/index.d.ts +5 -5
- package/dist/hooks/useTable/index.d.ts.map +1 -1
- package/dist/iife/index.js +26 -7
- package/dist/iife/index.js.map +1 -1
- package/dist/index.js +26 -7
- package/dist/index.js.map +1 -1
- package/dist/interfaces/actions.d.ts +6 -6
- package/dist/interfaces/actions.d.ts.map +1 -1
- package/dist/interfaces/auditLog/logData.d.ts +1 -1
- package/dist/interfaces/auditLog/logData.d.ts.map +1 -1
- package/dist/interfaces/auth.d.ts +6 -6
- package/dist/interfaces/auth.d.ts.map +1 -1
- package/dist/interfaces/autoSave.d.ts +4 -4
- package/dist/interfaces/autoSave.d.ts.map +1 -1
- package/dist/interfaces/bindings/access-control.d.ts +3 -3
- package/dist/interfaces/bindings/access-control.d.ts.map +1 -1
- package/dist/interfaces/bindings/auth.d.ts +12 -7
- package/dist/interfaces/bindings/auth.d.ts.map +1 -1
- package/dist/interfaces/bindings/data.d.ts +3 -3
- package/dist/interfaces/bindings/data.d.ts.map +1 -1
- package/dist/interfaces/bindings/i18n.d.ts +4 -4
- package/dist/interfaces/bindings/i18n.d.ts.map +1 -1
- package/dist/interfaces/bindings/live.d.ts +5 -5
- package/dist/interfaces/bindings/live.d.ts.map +1 -1
- package/dist/interfaces/bindings/notifications.d.ts +1 -1
- package/dist/interfaces/bindings/notifications.d.ts.map +1 -1
- package/dist/interfaces/bindings/resource.d.ts +7 -7
- package/dist/interfaces/bindings/resource.d.ts.map +1 -1
- package/dist/interfaces/bindings/router.d.ts +8 -7
- package/dist/interfaces/bindings/router.d.ts.map +1 -1
- package/dist/interfaces/customComponents.d.ts +3 -3
- package/dist/interfaces/customComponents.d.ts.map +1 -1
- package/dist/interfaces/errors/RefineError.d.ts +1 -1
- package/dist/interfaces/errors/RefineError.d.ts.map +1 -1
- package/dist/interfaces/form-url-params.d.ts +1 -1
- package/dist/interfaces/form-url-params.d.ts.map +1 -1
- package/dist/interfaces/index.d.ts +5 -5
- package/dist/interfaces/index.d.ts.map +1 -1
- package/dist/interfaces/live/LiveEvent.d.ts +1 -1
- package/dist/interfaces/live/LiveEvent.d.ts.map +1 -1
- package/dist/interfaces/live/LiveModeProps.d.ts +2 -2
- package/dist/interfaces/live/LiveModeProps.d.ts.map +1 -1
- package/dist/interfaces/metaData/fields.d.ts +1 -1
- package/dist/interfaces/metaData/fields.d.ts.map +1 -1
- package/dist/interfaces/metaData/graphqlQueryOptions.d.ts +1 -1
- package/dist/interfaces/metaData/graphqlQueryOptions.d.ts.map +1 -1
- package/dist/interfaces/metaData/metaDataQuery.d.ts +1 -1
- package/dist/interfaces/metaData/metaDataQuery.d.ts.map +1 -1
- package/dist/interfaces/metaData/metaQuery.d.ts +1 -1
- package/dist/interfaces/metaData/metaQuery.d.ts.map +1 -1
- package/dist/interfaces/metaData/nestedField.d.ts +1 -1
- package/dist/interfaces/metaData/nestedField.d.ts.map +1 -1
- package/dist/interfaces/metaData/variableOptions.d.ts +1 -1
- package/dist/interfaces/metaData/variableOptions.d.ts.map +1 -1
- package/dist/interfaces/mutationMode.d.ts +6 -6
- package/dist/interfaces/mutationMode.d.ts.map +1 -1
- package/dist/interfaces/optimistic-update-map.d.ts +2 -2
- package/dist/interfaces/optimistic-update-map.d.ts.map +1 -1
- package/dist/interfaces/prettify.d.ts +1 -1
- package/dist/interfaces/prettify.d.ts.map +1 -1
- package/dist/interfaces/resourceErrorRouterParams.d.ts +1 -1
- package/dist/interfaces/resourceErrorRouterParams.d.ts.map +1 -1
- package/dist/interfaces/resourceRouterParams.d.ts +1 -1
- package/dist/interfaces/resourceRouterParams.d.ts.map +1 -1
- package/dist/interfaces/successErrorNotification.d.ts +1 -1
- package/dist/interfaces/successErrorNotification.d.ts.map +1 -1
- package/dist/interfaces/telemetry.d.ts +1 -1
- package/dist/interfaces/telemetry.d.ts.map +1 -1
- package/dist/interfaces/textTransformers.d.ts +1 -1
- package/dist/interfaces/textTransformers.d.ts.map +1 -1
- package/package.json +1 -2
- package/src/components/canAccess/index.tsx +6 -0
- package/src/components/containers/refine/index.tsx +1 -1
- package/src/components/pages/config-error/index.tsx +444 -0
- package/src/components/pages/config-success/index.tsx +294 -0
- package/src/components/pages/welcome/index.tsx +10 -289
- package/src/contexts/accessControl/IAccessControlContext.ts +3 -0
- package/src/contexts/accessControl/index.tsx +1 -0
- package/src/contexts/data/index.tsx +9 -24
- package/src/contexts/refine/IRefineContext.ts +2 -0
- package/src/contexts/refine/index.tsx +1 -0
- package/src/definitions/helpers/downloadInBrowser/index.ts +25 -0
- package/src/definitions/helpers/index.ts +1 -0
- package/src/hooks/accessControl/useCan/index.ts +12 -5
- package/src/hooks/auth/useForgotPassword/index.ts +17 -1
- package/src/hooks/auth/useLogin/index.ts +22 -1
- package/src/hooks/auth/useLogout/index.ts +17 -1
- package/src/hooks/auth/useRegister/index.ts +22 -1
- package/src/hooks/auth/useUpdatePassword/index.ts +17 -1
- package/src/hooks/data/useDataProvider.tsx +3 -2
- package/src/hooks/export/index.ts +90 -9
- package/src/hooks/refine/useRefineContext.ts +2 -0
- package/src/interfaces/bindings/auth.ts +6 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions, UseQueryResult } from "@tanstack/react-query";
|
|
2
2
|
import { CanParams, CanReturnType } from "../../../interfaces";
|
|
3
|
-
export type UseCanProps = CanParams & {
|
|
3
|
+
export declare type UseCanProps = CanParams & {
|
|
4
4
|
/**
|
|
5
5
|
* react-query's [useQuery](https://tanstack.com/query/v4/docs/reference/useQuery) options
|
|
6
6
|
*/
|
|
@@ -14,5 +14,5 @@ export type UseCanProps = CanParams & {
|
|
|
14
14
|
* @typeParam CanReturnType {@link https://refine.dev/docs/core/interfaceReferences#canreturntype}
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
export declare const useCan: ({ action, resource, params, queryOptions, }: UseCanProps) => UseQueryResult<CanReturnType>;
|
|
17
|
+
export declare const useCan: ({ action, resource, params, queryOptions: hookQueryOptions, }: UseCanProps) => UseQueryResult<CanReturnType>;
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/accessControl/useCan/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,eAAe,EACf,cAAc,EACjB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAI/D,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/accessControl/useCan/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,eAAe,EACf,cAAc,EACjB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAI/D,oBAAY,WAAW,GAAG,SAAS,GAAG;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;CACjD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,kEAKhB,WAAW,KAAG,eAAe,aAAa,CAkD5C,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
2
|
import { BaseKey, LogParams } from "../../../interfaces";
|
|
3
|
-
type LogRenameData = {
|
|
3
|
+
declare type LogRenameData = {
|
|
4
4
|
resource?: string;
|
|
5
5
|
} | undefined;
|
|
6
|
-
export type UseLogReturnType<TLogData, TLogRenameData> = {
|
|
6
|
+
export declare type UseLogReturnType<TLogData, TLogRenameData> = {
|
|
7
7
|
log: UseMutationResult<TLogData, Error, LogParams>;
|
|
8
8
|
rename: UseMutationResult<TLogRenameData, Error, {
|
|
9
9
|
id: BaseKey;
|
|
10
10
|
name: string;
|
|
11
11
|
}>;
|
|
12
12
|
};
|
|
13
|
-
export type UseLogMutationProps<TLogData, TLogRenameData extends LogRenameData = LogRenameData> = {
|
|
13
|
+
export declare type UseLogMutationProps<TLogData, TLogRenameData extends LogRenameData = LogRenameData> = {
|
|
14
14
|
logMutationOptions?: Omit<UseMutationOptions<TLogData, Error, LogParams, unknown>, "mutationFn">;
|
|
15
15
|
renameMutationOptions?: Omit<UseMutationOptions<TLogRenameData, Error, {
|
|
16
16
|
id: BaseKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auditLog/useLog/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EAEpB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAOzD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auditLog/useLog/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EAEpB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAOzD,aAAK,aAAa,GACZ;IACI,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,GACD,SAAS,CAAC;AAEhB,oBAAY,gBAAgB,CAAC,QAAQ,EAAE,cAAc,IAAI;IACrD,GAAG,EAAE,iBAAiB,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;IACnD,MAAM,EAAE,iBAAiB,CACrB,cAAc,EACd,KAAK,EACL;QACI,EAAE,EAAE,OAAO,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;KAChB,CACJ,CAAC;CACL,CAAC;AAEF,oBAAY,mBAAmB,CAC3B,QAAQ,EACR,cAAc,SAAS,aAAa,GAAG,aAAa,IACpD;IACA,kBAAkB,CAAC,EAAE,IAAI,CACrB,kBAAkB,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,EACvD,YAAY,CACf,CAAC;IACF,qBAAqB,CAAC,EAAE,IAAI,CACxB,kBAAkB,CACd,cAAc,EACd,KAAK,EACL;QAAE,EAAE,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAC7B,OAAO,CACV,EACD,YAAY,GAAG,WAAW,CAC7B,CAAC;CACL,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,MAAM,gNA8FlB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseQueryResult, UseQueryOptions } from "@tanstack/react-query";
|
|
2
2
|
import { HttpError, MetaQuery } from "../../../interfaces";
|
|
3
|
-
export type UseLogProps<TQueryFnData, TError, TData> = {
|
|
3
|
+
export declare type UseLogProps<TQueryFnData, TError, TData> = {
|
|
4
4
|
resource: string;
|
|
5
5
|
action?: string;
|
|
6
6
|
meta?: Record<number | string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auditLog/useLogList/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,cAAc,EACd,eAAe,EAClB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAI3D,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auditLog/useLogList/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,cAAc,EACd,eAAe,EAClB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAI3D,oBAAY,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI;IACnD,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;IACtC,YAAY,CAAC,EAAE,eAAe,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;IAC5D,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,2NAwCtB,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
2
|
import { AuthActionResponse, RefineError, TForgotPasswordData } from "../../../interfaces";
|
|
3
|
-
export type UseForgotPasswordLegacyProps<TVariables> = {
|
|
3
|
+
export declare type UseForgotPasswordLegacyProps<TVariables> = {
|
|
4
4
|
v3LegacyAuthProviderCompatible: true;
|
|
5
5
|
mutationOptions?: Omit<UseMutationOptions<TForgotPasswordData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
6
6
|
};
|
|
7
|
-
export type UseForgotPasswordProps<TVariables> = {
|
|
7
|
+
export declare type UseForgotPasswordProps<TVariables> = {
|
|
8
8
|
v3LegacyAuthProviderCompatible?: false;
|
|
9
9
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
10
10
|
};
|
|
11
|
-
export type UseForgotPasswordCombinedProps<TVariables> = {
|
|
11
|
+
export declare type UseForgotPasswordCombinedProps<TVariables> = {
|
|
12
12
|
v3LegacyAuthProviderCompatible: boolean;
|
|
13
13
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TForgotPasswordData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
14
14
|
};
|
|
15
|
-
export type UseForgotPasswordLegacyReturnType<TVariables> = UseMutationResult<TForgotPasswordData, Error | RefineError, TVariables, unknown>;
|
|
16
|
-
export type UseForgotPasswordReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
17
|
-
export type UseForgotPasswordCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TForgotPasswordData, Error | RefineError, TVariables, unknown>;
|
|
15
|
+
export declare type UseForgotPasswordLegacyReturnType<TVariables> = UseMutationResult<TForgotPasswordData, Error | RefineError, TVariables, unknown>;
|
|
16
|
+
export declare type UseForgotPasswordReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
17
|
+
export declare type UseForgotPasswordCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TForgotPasswordData, Error | RefineError, TVariables, unknown>;
|
|
18
18
|
export declare function useForgotPassword<TVariables = {}>(props: UseForgotPasswordLegacyProps<TVariables>): UseForgotPasswordLegacyReturnType<TVariables>;
|
|
19
19
|
export declare function useForgotPassword<TVariables = {}>(props?: UseForgotPasswordProps<TVariables>): UseForgotPasswordReturnType<TVariables>;
|
|
20
20
|
export declare function useForgotPassword<TVariables = {}>(props?: UseForgotPasswordCombinedProps<TVariables>): UseForgotPasswordCombinedReturnType<TVariables>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useForgotPassword/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useForgotPassword/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,EACH,kBAAkB,EAClB,WAAW,EAEX,mBAAmB,EACtB,MAAM,qBAAqB,CAAC;AAG7B,oBAAY,4BAA4B,CAAC,UAAU,IAAI;IACnD,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CAClB,kBAAkB,CACd,mBAAmB,EACnB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,EACD,YAAY,GAAG,SAAS,GAAG,WAAW,CACzC,CAAC;CACL,CAAC;AAEF,oBAAY,sBAAsB,CAAC,UAAU,IAAI;IAC7C,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,IAAI,CAClB,kBAAkB,CACd,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,EACD,YAAY,CACf,CAAC;CACL,CAAC;AAEF,oBAAY,8BAA8B,CAAC,UAAU,IAAI;IACrD,8BAA8B,EAAE,OAAO,CAAC;IACxC,eAAe,CAAC,EAAE,IAAI,CAClB,kBAAkB,CACd,kBAAkB,GAAG,mBAAmB,EACxC,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,EACD,YAAY,CACf,CAAC;CACL,CAAC;AAEF,oBAAY,iCAAiC,CAAC,UAAU,IAAI,iBAAiB,CACzE,mBAAmB,EACnB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,CAAC;AAEF,oBAAY,2BAA2B,CAAC,UAAU,IAAI,iBAAiB,CACnE,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,CAAC;AAEF,oBAAY,mCAAmC,CAAC,UAAU,IAAI,iBAAiB,CAC3E,kBAAkB,GAAG,mBAAmB,EACxC,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,UAAU,GAAG,EAAE,EAC7C,KAAK,EAAE,4BAA4B,CAAC,UAAU,CAAC,GAChD,iCAAiC,CAAC,UAAU,CAAC,CAAC;AAEjD,wBAAgB,iBAAiB,CAAC,UAAU,GAAG,EAAE,EAC7C,KAAK,CAAC,EAAE,sBAAsB,CAAC,UAAU,CAAC,GAC3C,2BAA2B,CAAC,UAAU,CAAC,CAAC;AAE3C,wBAAgB,iBAAiB,CAAC,UAAU,GAAG,EAAE,EAC7C,KAAK,CAAC,EAAE,8BAA8B,CAAC,UAAU,CAAC,GACnD,mCAAmC,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { UseQueryResult, UseQueryOptions } from "@tanstack/react-query";
|
|
2
2
|
import { IdentityResponse } from "../../../interfaces";
|
|
3
|
-
export type UseGetIdentityLegacyProps<TData> = {
|
|
3
|
+
export declare type UseGetIdentityLegacyProps<TData> = {
|
|
4
4
|
v3LegacyAuthProviderCompatible: true;
|
|
5
5
|
queryOptions?: UseQueryOptions<TData>;
|
|
6
6
|
};
|
|
7
|
-
export type UseGetIdentityProps<TData = IdentityResponse> = {
|
|
7
|
+
export declare type UseGetIdentityProps<TData = IdentityResponse> = {
|
|
8
8
|
v3LegacyAuthProviderCompatible?: false;
|
|
9
9
|
queryOptions?: UseQueryOptions<TData>;
|
|
10
10
|
};
|
|
11
|
-
export type UseGetIdentityCombinedProps<TData = any> = {
|
|
11
|
+
export declare type UseGetIdentityCombinedProps<TData = any> = {
|
|
12
12
|
v3LegacyAuthProviderCompatible: boolean;
|
|
13
13
|
queryOptions?: UseQueryOptions<TData> | UseQueryOptions<IdentityResponse>;
|
|
14
14
|
};
|
|
15
|
-
export type UseGetIdentityLegacyReturnType<TData> = UseQueryResult<TData, unknown>;
|
|
16
|
-
export type UseGetIdentityReturnType<TData = IdentityResponse> = UseQueryResult<TData, unknown>;
|
|
17
|
-
export type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<IdentityResponse, unknown>;
|
|
15
|
+
export declare type UseGetIdentityLegacyReturnType<TData> = UseQueryResult<TData, unknown>;
|
|
16
|
+
export declare type UseGetIdentityReturnType<TData = IdentityResponse> = UseQueryResult<TData, unknown>;
|
|
17
|
+
export declare type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<IdentityResponse, unknown>;
|
|
18
18
|
export declare function useGetIdentity<TData = any>(props: UseGetIdentityLegacyProps<TData>): UseGetIdentityLegacyReturnType<TData>;
|
|
19
19
|
export declare function useGetIdentity<TData = IdentityResponse>(props?: UseGetIdentityProps<TData>): UseGetIdentityReturnType<TData>;
|
|
20
20
|
export declare function useGetIdentity<TData = any>(props?: UseGetIdentityCombinedProps<TData>): UsePermissionsCombinedReturnType<TData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useGetIdentity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,cAAc,EACd,eAAe,EAClB,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useGetIdentity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,cAAc,EACd,eAAe,EAClB,MAAM,uBAAuB,CAAC;AAI/B,OAA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CAAC,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { UseQueryResult } from "@tanstack/react-query";
|
|
2
2
|
import { CheckResponse } from "../../../interfaces";
|
|
3
|
-
export type UseIsAuthenticatedLegacyProps = {
|
|
3
|
+
export declare type UseIsAuthenticatedLegacyProps = {
|
|
4
4
|
v3LegacyAuthProviderCompatible: true;
|
|
5
5
|
params?: any;
|
|
6
6
|
};
|
|
7
|
-
export type UseIsAuthenticatedProps = {
|
|
7
|
+
export declare type UseIsAuthenticatedProps = {
|
|
8
8
|
v3LegacyAuthProviderCompatible?: false;
|
|
9
9
|
params?: any;
|
|
10
10
|
};
|
|
11
|
-
export type UseIsAuthenticatedCombinedProps = {
|
|
11
|
+
export declare type UseIsAuthenticatedCombinedProps = {
|
|
12
12
|
v3LegacyAuthProviderCompatible: boolean;
|
|
13
13
|
params?: any;
|
|
14
14
|
};
|
|
15
|
-
export type UseIsAuthenticatedLegacyReturnType = UseQueryResult<any, any>;
|
|
16
|
-
export type UseIsAuthenticatedReturnType = UseQueryResult<CheckResponse, any>;
|
|
17
|
-
export type UseIsAuthenticatedCombinedReturnType = UseQueryResult<CheckResponse | any, any>;
|
|
15
|
+
export declare type UseIsAuthenticatedLegacyReturnType = UseQueryResult<any, any>;
|
|
16
|
+
export declare type UseIsAuthenticatedReturnType = UseQueryResult<CheckResponse, any>;
|
|
17
|
+
export declare type UseIsAuthenticatedCombinedReturnType = UseQueryResult<CheckResponse | any, any>;
|
|
18
18
|
export declare function useIsAuthenticated(props: UseIsAuthenticatedLegacyProps): UseIsAuthenticatedLegacyReturnType;
|
|
19
19
|
export declare function useIsAuthenticated(props?: UseIsAuthenticatedProps): UseIsAuthenticatedReturnType;
|
|
20
20
|
export declare function useIsAuthenticated(props?: UseIsAuthenticatedCombinedProps): UseIsAuthenticatedCombinedReturnType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useIsAuthenticated/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAIjE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGpD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useIsAuthenticated/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAIjE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGpD,oBAAY,6BAA6B,GAAG;IACxC,8BAA8B,EAAE,IAAI,CAAC;IACrC,MAAM,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,oBAAY,uBAAuB,GAAG;IAClC,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,MAAM,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,oBAAY,+BAA+B,GAAG;IAC1C,8BAA8B,EAAE,OAAO,CAAC;IACxC,MAAM,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,oBAAY,kCAAkC,GAAG,cAAc,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAE1E,oBAAY,4BAA4B,GAAG,cAAc,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC;AAE9E,oBAAY,oCAAoC,GAAG,cAAc,CAC7D,aAAa,GAAG,GAAG,EACnB,GAAG,CACN,CAAC;AAEF,wBAAgB,kBAAkB,CAC9B,KAAK,EAAE,6BAA6B,GACrC,kCAAkC,CAAC;AAEtC,wBAAgB,kBAAkB,CAC9B,KAAK,CAAC,EAAE,uBAAuB,GAChC,4BAA4B,CAAC;AAEhC,wBAAgB,kBAAkB,CAC9B,KAAK,CAAC,EAAE,+BAA+B,GACxC,oCAAoC,CAAC;AAmDxC;;GAEG;AACH,eAAO,MAAM,gBAAgB,2BAAqB,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
2
|
import { RefineError, TLoginData } from "../../../interfaces";
|
|
3
3
|
import { AuthActionResponse } from "src/interfaces/bindings/auth";
|
|
4
|
-
export type UseLoginLegacyProps<TVariables> = {
|
|
4
|
+
export declare type UseLoginLegacyProps<TVariables> = {
|
|
5
5
|
v3LegacyAuthProviderCompatible: true;
|
|
6
6
|
mutationOptions?: Omit<UseMutationOptions<TLoginData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
7
7
|
};
|
|
8
|
-
export type UseLoginProps<TVariables> = {
|
|
8
|
+
export declare type UseLoginProps<TVariables> = {
|
|
9
9
|
v3LegacyAuthProviderCompatible?: false;
|
|
10
10
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
11
11
|
};
|
|
12
|
-
export type UseLoginCombinedProps<TVariables> = {
|
|
12
|
+
export declare type UseLoginCombinedProps<TVariables> = {
|
|
13
13
|
v3LegacyAuthProviderCompatible: boolean;
|
|
14
14
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
15
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>;
|
|
16
|
+
export declare type UseLoginLegacyReturnType<TVariables> = UseMutationResult<TLoginData, Error | RefineError, TVariables, unknown>;
|
|
17
|
+
export declare type UseLoginReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
18
|
+
export declare 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":"AACA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,EACH,WAAW,EAEX,UAAU,EACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogin/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,EACH,WAAW,EAEX,UAAU,EACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAKlE,oBAAY,mBAAmB,CAAC,UAAU,IAAI;IAC1C,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CAClB,kBAAkB,CACd,UAAU,EACV,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,EACD,YAAY,GAAG,SAAS,GAAG,WAAW,CACzC,CAAC;CACL,CAAC;AAEF,oBAAY,aAAa,CAAC,UAAU,IAAI;IACpC,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,IAAI,CAClB,kBAAkB,CACd,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,EACD,YAAY,CACf,CAAC;CACL,CAAC;AAEF,oBAAY,qBAAqB,CAAC,UAAU,IAAI;IAC5C,8BAA8B,EAAE,OAAO,CAAC;IACxC,eAAe,CAAC,EAAE,IAAI,CAClB,kBAAkB,CACd,kBAAkB,GAAG,UAAU,EAC/B,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,EACD,YAAY,CACf,CAAC;CACL,CAAC;AAEF,oBAAY,wBAAwB,CAAC,UAAU,IAAI,iBAAiB,CAChE,UAAU,EACV,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,CAAC;AAEF,oBAAY,kBAAkB,CAAC,UAAU,IAAI,iBAAiB,CAC1D,kBAAkB,EAClB,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,CAAC;AAEF,oBAAY,0BAA0B,CAAC,UAAU,IAAI,iBAAiB,CAClE,kBAAkB,GAAG,UAAU,EAC/B,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,CAAC;AAEF,wBAAgB,QAAQ,CAAC,UAAU,GAAG,EAAE,EACpC,KAAK,EAAE,mBAAmB,CAAC,UAAU,CAAC,GACvC,wBAAwB,CAAC,UAAU,CAAC,CAAC;AAExC,wBAAgB,QAAQ,CAAC,UAAU,GAAG,EAAE,EACpC,KAAK,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,GAClC,kBAAkB,CAAC,UAAU,CAAC,CAAC;AAElC,wBAAgB,QAAQ,CAAC,UAAU,GAAG,EAAE,EACpC,KAAK,CAAC,EAAE,qBAAqB,CAAC,UAAU,CAAC,GAC1C,0BAA0B,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
2
|
import { RefineError, TLogoutData } from "../../../interfaces";
|
|
3
3
|
import { AuthActionResponse } from "src/interfaces/bindings/auth";
|
|
4
|
-
type Variables = {
|
|
4
|
+
declare type Variables = {
|
|
5
5
|
redirectPath?: string | false;
|
|
6
6
|
};
|
|
7
|
-
export type UseLogoutLegacyProps<TVariables> = {
|
|
7
|
+
export declare 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 type UseLogoutProps<TVariables> = {
|
|
11
|
+
export declare type UseLogoutProps<TVariables> = {
|
|
12
12
|
v3LegacyAuthProviderCompatible?: false;
|
|
13
13
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>, "mutationFn">;
|
|
14
14
|
};
|
|
15
|
-
export type UseLogoutCombinedProps<TVariables> = {
|
|
15
|
+
export declare 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 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>;
|
|
19
|
+
export declare type UseLogoutLegacyReturnType<TVariables> = UseMutationResult<TLogoutData, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
20
|
+
export declare type UseLogoutReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, (TVariables & Variables) | void, unknown>;
|
|
21
|
+
export declare 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":"AAAA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EACH,WAAW,EAEX,WAAW,EACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useLogout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EACH,WAAW,EAEX,WAAW,EACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAKlE,aAAK,SAAS,GAAG;IACb,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CACjC,CAAC;AAEF,oBAAY,oBAAoB,CAAC,UAAU,IAAI;IAC3C,8BAA8B,EAAE,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,IAAI,CAClB,kBAAkB,CACd,WAAW,EACX,KAAK,GAAG,WAAW,EACnB,CAAC,UAAU,GAAG,SAAS,CAAC,GAAG,IAAI,EAC/B,OAAO,CACV,EACD,YAAY,GAAG,SAAS,G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,EAAE,cAAc,CAAC,UAAU,CAAC,GACnC,mBAAmB,CAAC,UAAU,CAAC,CAAC;AAEnC,wBAAgB,SAAS,CAAC,UAAU,GAAG,EAAE,EACrC,KAAK,CAAC,EAAE,sBAAsB,CAAC,UAAU,CAAC,GAC3C,2BAA2B,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { UseMutationResult } from "@tanstack/react-query";
|
|
2
2
|
import { OnErrorResponse } from "../../../interfaces";
|
|
3
|
-
export type UseOnErrorLegacyProps = {
|
|
3
|
+
export declare type UseOnErrorLegacyProps = {
|
|
4
4
|
v3LegacyAuthProviderCompatible: true;
|
|
5
5
|
};
|
|
6
|
-
export type UseOnErrorProps = {
|
|
6
|
+
export declare type UseOnErrorProps = {
|
|
7
7
|
v3LegacyAuthProviderCompatible?: false;
|
|
8
8
|
};
|
|
9
|
-
export type UseOnErrorCombinedProps = {
|
|
9
|
+
export declare type UseOnErrorCombinedProps = {
|
|
10
10
|
v3LegacyAuthProviderCompatible: boolean;
|
|
11
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>;
|
|
12
|
+
export declare type UseOnErrorLegacyReturnType = UseMutationResult<void, string | undefined, any, unknown>;
|
|
13
|
+
export declare type UseOnErrorReturnType = UseMutationResult<OnErrorResponse, unknown, unknown, unknown>;
|
|
14
|
+
export declare 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":"AAAA,OAAO,EAAe,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAIvE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useOnError/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAIvE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,oBAAY,qBAAqB,GAAG;IAChC,8BAA8B,EAAE,IAAI,CAAC;CACxC,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC1B,8BAA8B,CAAC,EAAE,KAAK,CAAC;CAC1C,CAAC;AAEF,oBAAY,uBAAuB,GAAG;IAClC,8BAA8B,EAAE,OAAO,CAAC;CAC3C,CAAC;AAEF,oBAAY,0BAA0B,GAAG,iBAAiB,CACtD,IAAI,EACJ,MAAM,GAAG,SAAS,EAClB,GAAG,EACH,OAAO,CACV,CAAC;AAEF,oBAAY,oBAAoB,GAAG,iBAAiB,CAChD,eAAe,EACf,OAAO,EACP,OAAO,EACP,OAAO,CACV,CAAC;AACF,oBAAY,4BAA4B,GAAG,iBAAiB,CACxD,eAAe,GAAG,IAAI,EACtB,OAAO,EACP,OAAO,EACP,OAAO,CACV,CAAC;AAEF,wBAAgB,UAAU,CACtB,KAAK,EAAE,qBAAqB,GAC7B,0BAA0B,CAAC;AAE9B,wBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,oBAAoB,CAAC;AAE1E,wBAAgB,UAAU,CACtB,KAAK,CAAC,EAAE,uBAAuB,GAChC,4BAA4B,CAAC;AAuEhC;;GAEG;AACH,eAAO,MAAM,aAAa,mBAAa,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { UseQueryResult, UseQueryOptions } from "@tanstack/react-query";
|
|
2
2
|
import { PermissionResponse } from "../../../interfaces";
|
|
3
|
-
export type UsePermissionsLegacyProps<TData = any> = {
|
|
3
|
+
export declare type UsePermissionsLegacyProps<TData = any> = {
|
|
4
4
|
v3LegacyAuthProviderCompatible: true;
|
|
5
5
|
options?: UseQueryOptions<TData>;
|
|
6
6
|
};
|
|
7
|
-
export type UsePermissionsProps<TData = PermissionResponse> = {
|
|
7
|
+
export declare type UsePermissionsProps<TData = PermissionResponse> = {
|
|
8
8
|
v3LegacyAuthProviderCompatible?: false;
|
|
9
9
|
options?: UseQueryOptions<TData>;
|
|
10
10
|
};
|
|
11
|
-
export type UsePermissionsCombinedProps<TData = any> = {
|
|
11
|
+
export declare type UsePermissionsCombinedProps<TData = any> = {
|
|
12
12
|
v3LegacyAuthProviderCompatible: boolean;
|
|
13
13
|
options?: UseQueryOptions<TData> | UseQueryOptions<PermissionResponse>;
|
|
14
14
|
};
|
|
15
|
-
export type UsePermissionsLegacyReturnType<TData = any> = UseQueryResult<TData, unknown>;
|
|
16
|
-
export type UsePermissionsReturnType<TData = PermissionResponse> = UseQueryResult<TData, unknown>;
|
|
17
|
-
export type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<PermissionResponse, unknown>;
|
|
15
|
+
export declare type UsePermissionsLegacyReturnType<TData = any> = UseQueryResult<TData, unknown>;
|
|
16
|
+
export declare type UsePermissionsReturnType<TData = PermissionResponse> = UseQueryResult<TData, unknown>;
|
|
17
|
+
export declare type UsePermissionsCombinedReturnType<TData = any> = UseQueryResult<TData, unknown> | UseQueryResult<PermissionResponse, unknown>;
|
|
18
18
|
export declare function usePermissions<TData = any>(props: UsePermissionsLegacyProps<TData>): UsePermissionsLegacyReturnType<TData>;
|
|
19
19
|
export declare function usePermissions<TData = PermissionResponse>(props?: UsePermissionsProps<TData>): UsePermissionsReturnType<TData>;
|
|
20
20
|
export declare function usePermissions<TData = any>(props?: UsePermissionsCombinedProps<TData>): UsePermissionsCombinedReturnType<TData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/usePermissions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,cAAc,EACd,eAAe,EAClB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/usePermissions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,cAAc,EACd,eAAe,EAClB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,oBAAY,yBAAyB,CAAC,KAAK,GAAG,GAAG,IAAI;IACjD,8BAA8B,EAAE,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;CACpC,CAAC;AAEF,oBAAY,mBAAmB,CAAC,KAAK,GAAG,kBAAkB,IAAI;IAC1D,8BAA8B,CAAC,EAAE,KAAK,CAAC;IACvC,OAAO,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC;CACpC,CAAC;AAEF,oBAAY,2BAA2B,CAAC,KAAK,GAAG,GAAG,IAAI;IACnD,8BAA8B,EAAE,OAAO,CAAC;IACxC,OAAO,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;CAC1E,CAAC;AAEF,oBAAY,8BAA8B,CAAC,KAAK,GAAG,GAAG,IAAI,cAAc,CACpE,KAAK,EACL,OAAO,CACV,CAAC;AAEF,oBAAY,wBAAwB,CAAC,KAAK,GAAG,kBAAkB,IAC3D,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AAEnC,oBAAY,gCAAgC,CAAC,KAAK,GAAG,GAAG,IAClD,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,GAC9B,cAAc,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;AAElD,wBAAgB,cAAc,CAAC,KAAK,GAAG,GAAG,EACtC,KAAK,EAAE,yBAAyB,CAAC,KAAK,CAAC,GACxC,8BAA8B,CAAC,KAAK,CAAC,CAAC;AAEzC,wBAAgB,cAAc,CAAC,KAAK,GAAG,kBAAkB,EACrD,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,GACnC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAEnC,wBAAgB,cAAc,CAAC,KAAK,GAAG,GAAG,EACtC,KAAK,CAAC,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAC3C,gCAAgC,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
2
|
import { AuthActionResponse, RefineError, TLoginData, TRegisterData } from "../../../interfaces";
|
|
3
|
-
export type UseRegisterLegacyProps<TVariables> = {
|
|
3
|
+
export declare type UseRegisterLegacyProps<TVariables> = {
|
|
4
4
|
v3LegacyAuthProviderCompatible: true;
|
|
5
5
|
mutationOptions?: Omit<UseMutationOptions<TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
6
6
|
};
|
|
7
|
-
export type UseRegisterProps<TVariables> = {
|
|
7
|
+
export declare type UseRegisterProps<TVariables> = {
|
|
8
8
|
v3LegacyAuthProviderCompatible?: false;
|
|
9
9
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
10
10
|
};
|
|
11
|
-
export type UseRegisterCombinedProps<TVariables> = {
|
|
11
|
+
export declare type UseRegisterCombinedProps<TVariables> = {
|
|
12
12
|
v3LegacyAuthProviderCompatible: boolean;
|
|
13
13
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TRegisterData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
14
14
|
};
|
|
15
|
-
export type UseRegisterLegacyReturnType<TVariables> = UseMutationResult<TRegisterData, Error | RefineError, TVariables, unknown>;
|
|
16
|
-
export type UseRegisterReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
17
|
-
export type UseRegisterCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>;
|
|
15
|
+
export declare type UseRegisterLegacyReturnType<TVariables> = UseMutationResult<TRegisterData, Error | RefineError, TVariables, unknown>;
|
|
16
|
+
export declare type UseRegisterReturnType<TVariables> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
17
|
+
export declare type UseRegisterCombinedReturnType<TVariables> = UseMutationResult<AuthActionResponse | TLoginData, Error | RefineError, TVariables, unknown>;
|
|
18
18
|
export declare function useRegister<TVariables = {}>(props: UseRegisterLegacyProps<TVariables>): UseRegisterLegacyReturnType<TVariables>;
|
|
19
19
|
export declare function useRegister<TVariables = {}>(props?: UseRegisterProps<TVariables>): UseRegisterReturnType<TVariables>;
|
|
20
20
|
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":"AAAA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useRegister/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,EACH,kBAAkB,EAClB,WAAW,EAEX,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E3C,wBAAgB,WAAW,CAAC,UAAU,GAAG,EAAE,EACvC,KAAK,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,GACrC,qBAAqB,CAAC,UAAU,CAAC,CAAC;AAErC,wBAAgB,WAAW,CAAC,UAAU,GAAG,EAAE,EACvC,KAAK,CAAC,EAAE,wBAAwB,CAAC,UAAU,CAAC,GAC7C,6BAA6B,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
2
|
import { AuthActionResponse, RefineError, TUpdatePasswordData, UpdatePasswordFormTypes } from "../../../interfaces";
|
|
3
|
-
export type UseUpdatePasswordLegacyProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
3
|
+
export declare type UseUpdatePasswordLegacyProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
4
4
|
v3LegacyAuthProviderCompatible: true;
|
|
5
5
|
mutationOptions?: Omit<UseMutationOptions<TUpdatePasswordData, Error | RefineError, TVariables, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
6
6
|
};
|
|
7
|
-
export type UseUpdatePasswordProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
7
|
+
export declare type UseUpdatePasswordProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
8
8
|
v3LegacyAuthProviderCompatible?: false;
|
|
9
9
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
10
10
|
};
|
|
11
|
-
export type UseUpdatePasswordCombinedProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
11
|
+
export declare type UseUpdatePasswordCombinedProps<TVariables extends UpdatePasswordFormTypes> = {
|
|
12
12
|
v3LegacyAuthProviderCompatible: boolean;
|
|
13
13
|
mutationOptions?: Omit<UseMutationOptions<AuthActionResponse | TUpdatePasswordData, Error | RefineError, TVariables, unknown>, "mutationFn">;
|
|
14
14
|
};
|
|
15
|
-
export type UseUpdatePasswordLegacyReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<TUpdatePasswordData, Error | RefineError, TVariables, unknown>;
|
|
16
|
-
export type UseUpdatePasswordReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
17
|
-
export type UseUpdatePasswordCombinedReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<AuthActionResponse | TUpdatePasswordData, Error | RefineError, TVariables, unknown>;
|
|
15
|
+
export declare type UseUpdatePasswordLegacyReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<TUpdatePasswordData, Error | RefineError, TVariables, unknown>;
|
|
16
|
+
export declare type UseUpdatePasswordReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<AuthActionResponse, Error | RefineError, TVariables, unknown>;
|
|
17
|
+
export declare type UseUpdatePasswordCombinedReturnType<TVariables extends UpdatePasswordFormTypes> = UseMutationResult<AuthActionResponse | TUpdatePasswordData, Error | RefineError, TVariables, unknown>;
|
|
18
18
|
export declare function useUpdatePassword<TVariables extends UpdatePasswordFormTypes>(props: UseUpdatePasswordLegacyProps<TVariables>): UseUpdatePasswordLegacyReturnType<TVariables>;
|
|
19
19
|
export declare function useUpdatePassword<TVariables extends UpdatePasswordFormTypes>(props?: UseUpdatePasswordProps<TVariables>): UseUpdatePasswordReturnType<TVariables>;
|
|
20
20
|
export declare function useUpdatePassword<TVariables extends UpdatePasswordFormTypes>(props?: UseUpdatePasswordCombinedProps<TVariables>): UseUpdatePasswordCombinedReturnType<TVariables>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/auth/useUpdatePassword/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hoo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AAU,SAAS,uBAAuB,IAC1C,iBAAiB,CACjB,kBAAkB,GAAG,mBAAmB,EACxC,KAAK,GAAG,WAAW,EACnB,UAAU,EACV,OAAO,CACV,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,UAAU,SAAS,uBAAuB,EACxE,KAAK,EAAE,4BAA4B,CAAC,UAAU,CAAC,GAChD,iCAAiC,CAAC,UAAU,CAAC,CAAC;AAEjD,wBAAgB,iBAAiB,CAAC,UAAU,SAAS,uBAAuB,EACxE,KAAK,CAAC,EAAE,sBAAsB,CAAC,UAAU,CAAC,GAC3C,2BAA2B,CAAC,UAAU,CAAC,CAAC;AAE3C,wBAAgB,iBAAiB,CAAC,UAAU,SAAS,uBAAuB,EACxE,KAAK,CAAC,EAAE,8BAA8B,CAAC,UAAU,CAAC,GACnD,mCAAmC,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export type BreadcrumbsType = {
|
|
2
|
+
export declare type BreadcrumbsType = {
|
|
3
3
|
label: string;
|
|
4
4
|
href?: string;
|
|
5
5
|
icon?: React.ReactNode;
|
|
6
6
|
};
|
|
7
|
-
type UseBreadcrumbReturnType = {
|
|
7
|
+
declare type UseBreadcrumbReturnType = {
|
|
8
8
|
breadcrumbs: BreadcrumbsType[];
|
|
9
9
|
};
|
|
10
|
-
type UseBreadcrumbProps = {
|
|
10
|
+
declare type UseBreadcrumbProps = {
|
|
11
11
|
/**
|
|
12
12
|
* Additional params to be used in the route generation process.
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/breadcrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAc1C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/breadcrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAc1C,oBAAY,eAAe,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,aAAK,uBAAuB,GAAG;IAC3B,WAAW,EAAE,eAAe,EAAE,CAAC;CAClC,CAAC;AAEF,aAAK,kBAAkB,GAAG;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,aAAa,8BAEvB,kBAAkB,KAAQ,uBAqG5B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
2
|
import { BaseRecord, CreateResponse, HttpError, IQueryKeys, MetaQuery, SuccessErrorNotification } from "../../interfaces";
|
|
3
3
|
import { UseLoadingOvertimeOptionsProps, UseLoadingOvertimeReturnType } from "../useLoadingOvertime";
|
|
4
|
-
type useCreateParams<TData, TError, TVariables> = {
|
|
4
|
+
declare type useCreateParams<TData, TError, TVariables> = {
|
|
5
5
|
/**
|
|
6
6
|
* Resource name for API data interactions
|
|
7
7
|
*/
|
|
@@ -28,8 +28,8 @@ type useCreateParams<TData, TError, TVariables> = {
|
|
|
28
28
|
*/
|
|
29
29
|
invalidates?: Array<keyof IQueryKeys>;
|
|
30
30
|
} & SuccessErrorNotification<CreateResponse<TData>, TError, TVariables>;
|
|
31
|
-
export type UseCreateReturnType<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = UseMutationResult<CreateResponse<TData>, TError, useCreateParams<TData, TError, TVariables>, unknown>;
|
|
32
|
-
export type UseCreateProps<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = {
|
|
31
|
+
export declare type UseCreateReturnType<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = UseMutationResult<CreateResponse<TData>, TError, useCreateParams<TData, TError, TVariables>, unknown>;
|
|
32
|
+
export declare type UseCreateProps<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = {
|
|
33
33
|
mutationOptions?: Omit<UseMutationOptions<CreateResponse<TData>, TError, useCreateParams<TData, TError, TVariables>, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
34
34
|
} & UseLoadingOvertimeOptionsProps;
|
|
35
35
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreate.d.ts","sourceRoot":"","sources":["../../../src/hooks/data/useCreate.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAe/B,OAAO,EACH,UAAU,EACV,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACT,wBAAwB,EAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAEH,8BAA8B,EAC9B,4BAA4B,EAC/B,MAAM,uBAAuB,CAAC;AAE/B,
|
|
1
|
+
{"version":3,"file":"useCreate.d.ts","sourceRoot":"","sources":["../../../src/hooks/data/useCreate.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAe/B,OAAO,EACH,UAAU,EACV,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACT,wBAAwB,EAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAEH,8BAA8B,EAC9B,4BAA4B,EAC/B,MAAM,uBAAuB,CAAC;AAE/B,aAAK,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,IAAI;IAC9C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,UAAU,CAAC,CAAC;CACzC,GAAG,wBAAwB,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AAExE,oBAAY,mBAAmB,CAC3B,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,IACf,iBAAiB,CACjB,cAAc,CAAC,KAAK,CAAC,EACrB,MAAM,EACN,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAC1C,OAAO,CACV,CAAC;AAEF,oBAAY,cAAc,CACtB,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,IACf;IACA,eAAe,CAAC,EAAE,IAAI,CAClB,kBAAkB,CACd,cAAc,CAAC,KAAK,CAAC,EACrB,MAAM,EACN,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAC1C,OAAO,CACV,EACD,YAAY,GAAG,SAAS,GAAG,WAAW,CACzC,CAAC;CACL,GAAG,8BAA8B,CAAC;AAEnC;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,SAAS,oQAiMrB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query";
|
|
2
2
|
import { BaseRecord, CreateManyResponse, HttpError, IQueryKeys, MetaQuery, SuccessErrorNotification } from "../../interfaces";
|
|
3
3
|
import { UseLoadingOvertimeOptionsProps, UseLoadingOvertimeReturnType } from "../useLoadingOvertime";
|
|
4
|
-
type useCreateManyParams<TData, TError, TVariables> = {
|
|
4
|
+
declare type useCreateManyParams<TData, TError, TVariables> = {
|
|
5
5
|
resource: string;
|
|
6
6
|
values: TVariables[];
|
|
7
7
|
meta?: MetaQuery;
|
|
@@ -9,8 +9,8 @@ type useCreateManyParams<TData, TError, TVariables> = {
|
|
|
9
9
|
dataProviderName?: string;
|
|
10
10
|
invalidates?: Array<keyof IQueryKeys>;
|
|
11
11
|
} & SuccessErrorNotification<CreateManyResponse<TData>, TError, TVariables[]>;
|
|
12
|
-
export type UseCreateManyReturnType<TData extends BaseRecord = BaseRecord, TError = HttpError, TVariables = {}> = UseMutationResult<CreateManyResponse<TData>, TError, useCreateManyParams<TData, TError, TVariables>, unknown>;
|
|
13
|
-
export type UseCreateManyProps<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = {
|
|
12
|
+
export declare type UseCreateManyReturnType<TData extends BaseRecord = BaseRecord, TError = HttpError, TVariables = {}> = UseMutationResult<CreateManyResponse<TData>, TError, useCreateManyParams<TData, TError, TVariables>, unknown>;
|
|
13
|
+
export declare type UseCreateManyProps<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = {
|
|
14
14
|
mutationOptions?: Omit<UseMutationOptions<CreateManyResponse<TData>, TError, useCreateManyParams<TData, TError, TVariables>>, "mutationFn" | "onError" | "onSuccess">;
|
|
15
15
|
} & UseLoadingOvertimeOptionsProps;
|
|
16
16
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateMany.d.ts","sourceRoot":"","sources":["../../../src/hooks/data/useCreateMany.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAmB/B,OAAO,EACH,UAAU,EACV,kBAAkB,EAClB,SAAS,EACT,UAAU,EACV,SAAS,EACT,wBAAwB,EAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAEH,8BAA8B,EAC9B,4BAA4B,EAC/B,MAAM,uBAAuB,CAAC;AAE/B,
|
|
1
|
+
{"version":3,"file":"useCreate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EACD,YAAY,GAAG,SAAS,GAAG,WAAW,CACzC,CAAC;CACL,GAAG,8BAA8B,CAAC;AAEnC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,4QAsMzB,CAAC"}
|
|
@@ -12,7 +12,7 @@ interface UseCustomConfig<TQuery, TPayload> {
|
|
|
12
12
|
payload?: TPayload;
|
|
13
13
|
headers?: {};
|
|
14
14
|
}
|
|
15
|
-
export type UseCustomProps<TQueryFnData, TError, TQuery, TPayload, TData> = {
|
|
15
|
+
export declare type UseCustomProps<TQueryFnData, TError, TQuery, TPayload, TData> = {
|
|
16
16
|
/**
|
|
17
17
|
* request's URL
|
|
18
18
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCustom.d.ts","sourceRoot":"","sources":["../../../src/hooks/data/useCustom.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mBAAmB,EAEnB,eAAe,EAClB,MAAM,uBAAuB,CAAC;AAW/B,OAAO,EACH,UAAU,EACV,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,EACT,SAAS,EACT,QAAQ,EACR,wBAAwB,EAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAEH,8BAA8B,EAC9B,4BAA4B,EAC/B,MAAM,uBAAuB,CAAC;AAG/B,UAAU,eAAe,CAAC,MAAM,EAAE,QAAQ;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,EAAE,CAAC;CAChB;AAED,
|
|
1
|
+
{"version":3,"file":"useCustom.d.ts","sourceRoot":"","sources":["../../../src/hooks/data/useCustom.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mBAAmB,EAEnB,eAAe,EAClB,MAAM,uBAAuB,CAA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8BAA8B,CAAC;AAEnC;;;;;;;;;;;;;GAaG;AAEH,eAAO,MAAM,SAAS,4bAmIrB,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { UseLoadingOvertimeOptionsProps, UseLoadingOvertimeReturnType } from "..
|
|
|
4
4
|
interface UseCustomMutationConfig {
|
|
5
5
|
headers?: {};
|
|
6
6
|
}
|
|
7
|
-
type useCustomMutationParams<TData, TError, TVariables> = {
|
|
7
|
+
declare type useCustomMutationParams<TData, TError, TVariables> = {
|
|
8
8
|
url: string;
|
|
9
9
|
method: "post" | "put" | "patch" | "delete";
|
|
10
10
|
values: TVariables;
|
|
@@ -20,8 +20,8 @@ type useCustomMutationParams<TData, TError, TVariables> = {
|
|
|
20
20
|
dataProviderName?: string;
|
|
21
21
|
config?: UseCustomMutationConfig;
|
|
22
22
|
} & SuccessErrorNotification<CreateResponse<TData>, TError, Prettify<UseCustomMutationConfig & MetaQuery>>;
|
|
23
|
-
export type UseCustomMutationReturnType<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = UseMutationResult<CreateResponse<TData>, TError, useCustomMutationParams<TData, TError, TVariables>, unknown>;
|
|
24
|
-
export type UseCustomMutationProps<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = {
|
|
23
|
+
export declare type UseCustomMutationReturnType<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = UseMutationResult<CreateResponse<TData>, TError, useCustomMutationParams<TData, TError, TVariables>, unknown>;
|
|
24
|
+
export declare type UseCustomMutationProps<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = {
|
|
25
25
|
mutationOptions?: Omit<UseMutationOptions<CreateResponse<TData>, TError, useCustomMutationParams<TData, TError, TVariables>, unknown>, "mutationFn" | "onError" | "onSuccess">;
|
|
26
26
|
} & UseLoadingOvertimeOptionsProps;
|
|
27
27
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCustomMutation.d.ts","sourceRoot":"","sources":["../../../src/hooks/data/useCustomMutation.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAU/B,OAAO,EACH,cAAc,EACd,UAAU,EACV,SAAS,EACT,wBAAwB,EACxB,SAAS,EACT,QAAQ,EACX,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAEH,8BAA8B,EAC9B,4BAA4B,EAC/B,MAAM,uBAAuB,CAAC;AAG/B,UAAU,uBAAuB;IAC7B,OAAO,CAAC,EAAE,EAAE,CAAC;CAChB;AAED,
|
|
1
|
+
{"version":3,"file":"useCustomMutation.d.ts","sourceRoot":"","sources":["../../../src/hooks/data/useCustomMutation.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,kBAAkB,EAClB,iBAAiB,EACpB,MAAM,uBAAuB,CAAC;AAU/B,OAAO,EACH,cAAc,EACd,UAAU,EACV,SAAS,EACT,wBAAwB,EACxB,SAAS,EACT,QAAQ,EACX,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAEH,8BAA8B,EAC9B,4BAA4B,EAC/B,MAAM,uBAAuB,CAAC;AAG/B,UAAU,uBAAuB;IAC7B,OAAO,CAAC,EAAE,EAAE,CAAC;CAChB;AAED,aAAK,uBAAuB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,IAAI;IACtD,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC5C,MAAM,EAAE,UAAU,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,uBAAuB,CAAC;CACpC,GAAG,wBAAwB,CACxB,cAAc,CAAC,KAAK,CAAC,EACrB,MAAM,EACN,QAAQ,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAChD,CAAC;AAEF,oBAAY,2BAA2B,CACnC,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,IACf,iBAAiB,CACjB,cAAc,CAAC,KAAK,CAAC,EACrB,MAAM,EACN,uBAAuB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAClD,OAAO,CACV,CAAC;AAEF,oBAAY,sBAAsB,CAC9B,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,IACf;IACA,eAAe,CAAC,EAAE,IAAI,CAClB,kBAAkB,CACd,cAAc,CAAC,KAAK,CAAC,EACrB,MAAM,EACN,uBAAuB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAClD,OAAO,CACV,EACD,YAAY,GAAG,SAAS,GAAG,WAAW,CACzC,CAAC;CACL,GAAG,8BAA8B,CAAC;AAEnC;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,iBAAiB,oRA+H7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataProvider.d.ts","sourceRoot":"","sources":["../../../src/hooks/data/useDataProvider.tsx"],"names":[],"mappings":"AAGA,OAAO,EACH,oBAAoB,EAEvB,MAAM,kBAAkB,CAAC;AAE1B,eAAO,MAAM,eAAe,4BAIL,MAAM,KACxB,
|
|
1
|
+
{"version":3,"file":"useDataProvider.d.ts","sourceRoot":"","sources":["../../../src/hooks/data/useDataProvider.tsx"],"names":[],"mappings":"AAGA,OAAO,EACH,oBAAoB,EAEvB,MAAM,kBAAkB,CAAC;AAE1B,eAAO,MAAM,eAAe,4BAIL,MAAM,KACxB,oBA0BJ,CAAC"}
|