@zimyo/manage 0.2.25 → 0.2.26

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.
@@ -22,7 +22,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
22
22
  isPreviousData: boolean;
23
23
  isRefetching: boolean;
24
24
  isStale: boolean;
25
- refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
25
+ refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
26
26
  remove: () => void;
27
27
  rq_data: any;
28
28
  } | {
@@ -46,7 +46,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
46
46
  isPreviousData: boolean;
47
47
  isRefetching: boolean;
48
48
  isStale: boolean;
49
- refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
49
+ refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
50
50
  remove: () => void;
51
51
  rq_data: any;
52
52
  } | {
@@ -70,7 +70,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
70
70
  isPreviousData: boolean;
71
71
  isRefetching: boolean;
72
72
  isStale: boolean;
73
- refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
73
+ refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
74
74
  remove: () => void;
75
75
  rq_data: any;
76
76
  } | {
@@ -94,7 +94,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
94
94
  isPreviousData: boolean;
95
95
  isRefetching: boolean;
96
96
  isStale: boolean;
97
- refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
97
+ refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
98
98
  remove: () => void;
99
99
  rq_data: any;
100
100
  } | {
@@ -118,7 +118,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
118
118
  isPreviousData: boolean;
119
119
  isRefetching: boolean;
120
120
  isStale: boolean;
121
- refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
121
+ refetch: <TPageData>(options?: (import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("react-query").QueryObserverResult<any, any>>;
122
122
  remove: () => void;
123
123
  rq_data: any;
124
124
  };
@@ -5,7 +5,7 @@ export declare class util {
5
5
  }, value: string) => any;
6
6
  static getFullDateVar: (ip: any) => any;
7
7
  static isDateValid(date: Date): boolean;
8
- static getFormatedDate: (timestamp?: any, format?: string, checkFormatList?: boolean) => string;
8
+ static getFormatedDate: (timestamp?: any, format?: string, checkFormatList?: boolean) => string | null;
9
9
  static validateDataType(value: unknown, type: string): boolean;
10
10
  static convertFormMasterTypeToDynamicFormType: (type: string) => any;
11
11
  static convertToFormData(data: any): FormData;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zimyo/manage",
3
3
  "private": false,
4
- "version": "0.2.25",
4
+ "version": "0.2.26",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -39,7 +39,7 @@
39
39
  "axios": "^1.7.2",
40
40
  "dayjs": "^1.11.11",
41
41
  "lodash": "^4.17.21",
42
- "react": "17.0.1",
42
+ "react": "^18.3.1",
43
43
  "react-dom": "17.0.1",
44
44
  "react-icons": "^5.2.1",
45
45
  "react-if": "^4.1.5",
@@ -60,4 +60,4 @@
60
60
  "vite": "^5.3.1",
61
61
  "vite-plugin-dts": "^3.9.1"
62
62
  }
63
- }
63
+ }