aq-fe-framework 0.1.289 → 0.1.290
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.
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
2
|
import React$1, { ReactNode, ComponentProps } from 'react';
|
3
3
|
import { MantineSize, ActionIconProps, ButtonProps, ModalProps, useModalsStack, CheckboxProps, SelectProps, NumberFormatterProps, FieldsetProps, FileInputProps, NumberInputProps, TextareaProps, InputWrapperProps, TextInputProps, ContainerProps, FlexProps, GroupProps, TypographyStylesProviderProps, TabsProps, SkeletonProps } from '@mantine/core';
|
4
|
-
import { M as MyApiResponse } from '../createBaseApi-
|
4
|
+
import { M as MyApiResponse } from '../createBaseApi-CzcqS7Mo.mjs';
|
5
5
|
import { AxiosResponse } from 'axios';
|
6
6
|
import { useDisclosure, useListState } from '@mantine/hooks';
|
7
7
|
import { UseFormReturnType, useForm } from '@mantine/form';
|
@@ -10,7 +10,7 @@ interface MyApiResponse<IRes> {
|
|
10
10
|
declare function createBaseApi<T>(baseUrl: string, axiosInstance: AxiosInstance): {
|
11
11
|
get: ({ params }?: {
|
12
12
|
params?: string;
|
13
|
-
}) => Promise<axios.AxiosResponse<MyApiResponse<T>, any>>;
|
13
|
+
}) => Promise<axios.AxiosResponse<MyApiResponse<T | T[]>, any>>;
|
14
14
|
getAll: ({ params }?: {
|
15
15
|
params?: string;
|
16
16
|
}) => Promise<axios.AxiosResponse<MyApiResponse<T[]>, any>>;
|
package/dist/hooks/index.d.mts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { M as MyApiResponse } from '../createBaseApi-
|
2
|
-
export { c as createBaseApi } from '../createBaseApi-
|
1
|
+
import { M as MyApiResponse } from '../createBaseApi-CzcqS7Mo.mjs';
|
2
|
+
export { c as createBaseApi } from '../createBaseApi-CzcqS7Mo.mjs';
|
3
3
|
import { AxiosInstance, AxiosResponse } from 'axios';
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
5
5
|
import { UseMutationOptions, QueryKey, UseQueryOptions } from '@tanstack/react-query';
|