@ovh-ux/manager-pci-common 2.3.3 → 2.4.1
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 +21 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2034 -2032
- package/dist/index.esm.js.map +1 -1
- package/dist/types/api/hook/index.d.ts +1 -0
- package/dist/types/api/hook/useApiSchema.d.ts +1 -1
- package/dist/types/api/hook/useAvailability.d.ts +1 -1
- package/dist/types/api/hook/useCatalog.d.ts +1 -1
- package/dist/types/api/hook/useDbaasLogs.d.ts +22 -22
- package/dist/types/api/hook/useFlavors.d.ts +2 -2
- package/dist/types/api/hook/useImage.d.ts +1 -1
- package/dist/types/api/hook/useInstance.d.ts +2 -2
- package/dist/types/api/hook/useLogs.d.ts +12 -12
- package/dist/types/api/hook/useProject.d.ts +10 -10
- package/dist/types/api/hook/useRegions.d.ts +29 -29
- package/dist/types/api/hook/useVolume.d.ts +1 -1
- package/dist/types/components/region-selector/RegionList.component.d.ts +0 -1
- package/dist/types/components/region-selector/RegionSelector.component.d.ts +0 -1
- package/dist/types/components/region-selector/style.constants.d.ts +1 -1
- package/dist/types/components/region-selector/useRegionSelector.d.ts +10 -10
- package/dist/types/components/region-selector/useRegions.d.ts +2 -2
- package/dist/types/components/shape-input/ShapeInput.component.d.ts +0 -1
- package/dist/types/components/tabs-panel/TabsPanel.component.d.ts +0 -1
- package/dist/types/components/tiles-input-choice/TilesInputChoice.component.d.ts +0 -1
- package/dist/types/wrapperRenders.d.ts +1 -1
- package/package.json +4 -4
|
@@ -36,8 +36,8 @@ export declare function useRegionSelector({ projectId, onSelectRegion, regionFil
|
|
|
36
36
|
isPlaceholderData: boolean;
|
|
37
37
|
isRefetching: boolean;
|
|
38
38
|
isStale: boolean;
|
|
39
|
-
refetch: (options?: import("@tanstack/query
|
|
40
|
-
fetchStatus: import("@tanstack/query
|
|
39
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("./useRegions").ProjectLocalisation, Error>>;
|
|
40
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
41
41
|
} | {
|
|
42
42
|
regions: TLocalisation[];
|
|
43
43
|
continents: import("./useRegions").TContinent[];
|
|
@@ -70,8 +70,8 @@ export declare function useRegionSelector({ projectId, onSelectRegion, regionFil
|
|
|
70
70
|
isPlaceholderData: boolean;
|
|
71
71
|
isRefetching: boolean;
|
|
72
72
|
isStale: boolean;
|
|
73
|
-
refetch: (options?: import("@tanstack/query
|
|
74
|
-
fetchStatus: import("@tanstack/query
|
|
73
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("./useRegions").ProjectLocalisation, Error>>;
|
|
74
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
75
75
|
} | {
|
|
76
76
|
regions: TLocalisation[];
|
|
77
77
|
continents: import("./useRegions").TContinent[];
|
|
@@ -104,8 +104,8 @@ export declare function useRegionSelector({ projectId, onSelectRegion, regionFil
|
|
|
104
104
|
isPlaceholderData: boolean;
|
|
105
105
|
isRefetching: boolean;
|
|
106
106
|
isStale: boolean;
|
|
107
|
-
refetch: (options?: import("@tanstack/query
|
|
108
|
-
fetchStatus: import("@tanstack/query
|
|
107
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("./useRegions").ProjectLocalisation, Error>>;
|
|
108
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
109
109
|
} | {
|
|
110
110
|
regions: TLocalisation[];
|
|
111
111
|
continents: import("./useRegions").TContinent[];
|
|
@@ -138,8 +138,8 @@ export declare function useRegionSelector({ projectId, onSelectRegion, regionFil
|
|
|
138
138
|
isPlaceholderData: boolean;
|
|
139
139
|
isRefetching: boolean;
|
|
140
140
|
isStale: boolean;
|
|
141
|
-
refetch: (options?: import("@tanstack/query
|
|
142
|
-
fetchStatus: import("@tanstack/query
|
|
141
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("./useRegions").ProjectLocalisation, Error>>;
|
|
142
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
143
143
|
} | {
|
|
144
144
|
regions: TLocalisation[];
|
|
145
145
|
continents: import("./useRegions").TContinent[];
|
|
@@ -172,7 +172,7 @@ export declare function useRegionSelector({ projectId, onSelectRegion, regionFil
|
|
|
172
172
|
isPlaceholderData: boolean;
|
|
173
173
|
isRefetching: boolean;
|
|
174
174
|
isStale: boolean;
|
|
175
|
-
refetch: (options?: import("@tanstack/query
|
|
176
|
-
fetchStatus: import("@tanstack/query
|
|
175
|
+
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("./useRegions").ProjectLocalisation, Error>>;
|
|
176
|
+
fetchStatus: import("@tanstack/react-query").FetchStatus;
|
|
177
177
|
};
|
|
178
178
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TRegion } from '../../api/data/regions';
|
|
2
|
-
export declare const useProjectRegions: (projectId: string) => import("@tanstack/react-query
|
|
2
|
+
export declare const useProjectRegions: (projectId: string) => import("@tanstack/react-query").UseQueryResult<TRegion[], Error>;
|
|
3
3
|
export interface TContinent {
|
|
4
4
|
id: string;
|
|
5
5
|
code: string;
|
|
@@ -17,4 +17,4 @@ export interface ProjectLocalisation {
|
|
|
17
17
|
regions: TLocalisation[];
|
|
18
18
|
continents: TContinent[];
|
|
19
19
|
}
|
|
20
|
-
export declare const useProjectLocalisation: (projectId: string) => import("@tanstack/react-query
|
|
20
|
+
export declare const useProjectLocalisation: (projectId: string) => import("@tanstack/react-query").UseQueryResult<ProjectLocalisation, Error>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ovh-ux/manager-pci-common",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Public Cloud Common components",
|
|
6
6
|
"homepage": "https://github.com/ovh/manager/blob/master/packages/manager/modules/manager-pci-common/README.md",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@ovh-ux/manager-core-api": "^0.10.1",
|
|
45
|
-
"@ovh-ux/manager-react-components": "^2.
|
|
45
|
+
"@ovh-ux/manager-react-components": "^2.16.0",
|
|
46
46
|
"@ovh-ux/manager-react-shell-client": "^0.8.5",
|
|
47
|
-
"@ovh-ux/manager-vite-config": "^0.9.
|
|
47
|
+
"@ovh-ux/manager-vite-config": "^0.9.3",
|
|
48
48
|
"@ovhcloud/ods-components": "^18.4.1",
|
|
49
49
|
"@ovhcloud/ods-themes": "^18.4.1",
|
|
50
50
|
"@tanstack/react-query": "^5.51.21",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@types/react": "^18.2.55",
|
|
56
56
|
"@types/react-dom": "^18.2.19",
|
|
57
57
|
"@vitejs/plugin-react": "^4.2.1",
|
|
58
|
-
"@vitest/coverage-v8": "^1.
|
|
58
|
+
"@vitest/coverage-v8": "^2.1.9",
|
|
59
59
|
"element-internals-polyfill": "^1.3.11",
|
|
60
60
|
"i18next": "^23.8.2",
|
|
61
61
|
"react": "^18.2.0",
|