@ovh-ux/manager-pci-common 1.0.4 → 1.0.5
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 +8 -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 +2 -2
- package/dist/types/api/hook/useRegions.d.ts +1 -1
- package/dist/types/api/hook/useVolume.d.ts +1 -1
- package/dist/types/components/region-selector/RegionList.component.d.ts +1 -0
- package/dist/types/components/region-selector/RegionSelector.component.d.ts +1 -0
- 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 +1 -0
- package/dist/types/wrapperRenders.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.5](https://github.com/ovh/manager/compare/@ovh-ux/manager-pci-common@1.0.4...@ovh-ux/manager-pci-common@1.0.5) (2025-01-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @ovh-ux/manager-pci-common
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.0.4](https://github.com/ovh/manager/compare/@ovh-ux/manager-pci-common@1.0.3...@ovh-ux/manager-pci-common@1.0.4) (2025-01-08)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useGetApiSchema: () => import("@tanstack/react-query").UseQueryResult<import("../data/api-schema").TApiSchemaResponse, Error>;
|
|
1
|
+
export declare const useGetApiSchema: () => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/api-schema").TApiSchemaResponse, Error>;
|
|
@@ -3,4 +3,4 @@ export declare const getProductAvailabilityQuery: (projectId: string, ovhSubsidi
|
|
|
3
3
|
queryKey: (string | ProductAvailabilityFilter)[];
|
|
4
4
|
queryFn: () => Promise<import("../data/availability").TProductAvailability>;
|
|
5
5
|
};
|
|
6
|
-
export declare const useProductAvailability: (projectId: string, filter?: ProductAvailabilityFilter) => import("@tanstack/react-query").UseQueryResult<import("../data/availability").TProductAvailability, Error>;
|
|
6
|
+
export declare const useProductAvailability: (projectId: string, filter?: ProductAvailabilityFilter) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/availability").TProductAvailability, Error>;
|
|
@@ -2,4 +2,4 @@ export declare const getCatalogQuery: (ovhSubsidiary: string) => {
|
|
|
2
2
|
queryKey: string[];
|
|
3
3
|
queryFn: () => Promise<import("../data/catalog").TCatalog>;
|
|
4
4
|
};
|
|
5
|
-
export declare const useCatalog: () => import("@tanstack/react-query").UseQueryResult<import("../data/catalog").TCatalog, Error>;
|
|
5
|
+
export declare const useCatalog: () => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/catalog").TCatalog, Error>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Filter } from '@ovh-ux/manager-core-api';
|
|
2
2
|
import { PaginationState } from '@ovh-ux/manager-react-components';
|
|
3
|
-
export declare const useLogs: () => import("@tanstack/react-query").UseQueryResult<import("../data/dbaas-logs").TDbaasLog[], Error>;
|
|
4
|
-
export declare const useStream: (serviceName: string, streamId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/dbaas-logs").TDbaasStream, Error>;
|
|
5
|
-
export declare const useStreams: (serviceName: string, pagination: PaginationState, filters: Filter[]) => import("@tanstack/react-query").UseQueryResult<{
|
|
3
|
+
export declare const useLogs: () => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/dbaas-logs").TDbaasLog[], Error>;
|
|
4
|
+
export declare const useStream: (serviceName: string, streamId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/dbaas-logs").TDbaasStream, Error>;
|
|
5
|
+
export declare const useStreams: (serviceName: string, pagination: PaginationState, filters: Filter[]) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
6
6
|
data: import("../data/dbaas-logs").TDbaasStream[];
|
|
7
7
|
totalCount: number;
|
|
8
8
|
}, Error>;
|
|
@@ -10,9 +10,9 @@ export declare const useAllStreamIds: () => {
|
|
|
10
10
|
data: import("../data/dbaas-logs").TDbaasStream[];
|
|
11
11
|
isPending: boolean;
|
|
12
12
|
};
|
|
13
|
-
export declare const useStreamURL: (serviceName: string, streamId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/dbaas-logs").TStreamURL[], Error>;
|
|
14
|
-
export declare const useRetention: (serviceName: string, clusterId: string, retentionId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/dbaas-logs").TRetention, Error>;
|
|
15
|
-
export declare const useSubscriptions: (serviceName: string, streamId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/dbaas-logs").TSubscription[], Error>;
|
|
13
|
+
export declare const useStreamURL: (serviceName: string, streamId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/dbaas-logs").TStreamURL[], Error>;
|
|
14
|
+
export declare const useRetention: (serviceName: string, clusterId: string, retentionId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/dbaas-logs").TRetention, Error>;
|
|
15
|
+
export declare const useSubscriptions: (serviceName: string, streamId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/dbaas-logs").TSubscription[], Error>;
|
|
16
16
|
export interface CreateSubscriptionProps {
|
|
17
17
|
logsApiURL: string;
|
|
18
18
|
logsKind: string;
|
|
@@ -33,14 +33,14 @@ export declare const useCreateSubscription: ({ logsApiURL, logsKind, streamId, o
|
|
|
33
33
|
isPending: false;
|
|
34
34
|
isSuccess: false;
|
|
35
35
|
status: "idle";
|
|
36
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
36
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, void, unknown>;
|
|
37
37
|
reset: () => void;
|
|
38
38
|
context: unknown;
|
|
39
39
|
failureCount: number;
|
|
40
40
|
failureReason: Error;
|
|
41
41
|
isPaused: boolean;
|
|
42
42
|
submittedAt: number;
|
|
43
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
43
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
44
44
|
create: () => void;
|
|
45
45
|
} | {
|
|
46
46
|
data: undefined;
|
|
@@ -51,14 +51,14 @@ export declare const useCreateSubscription: ({ logsApiURL, logsKind, streamId, o
|
|
|
51
51
|
isPending: true;
|
|
52
52
|
isSuccess: false;
|
|
53
53
|
status: "pending";
|
|
54
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
54
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, void, unknown>;
|
|
55
55
|
reset: () => void;
|
|
56
56
|
context: unknown;
|
|
57
57
|
failureCount: number;
|
|
58
58
|
failureReason: Error;
|
|
59
59
|
isPaused: boolean;
|
|
60
60
|
submittedAt: number;
|
|
61
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
61
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
62
62
|
create: () => void;
|
|
63
63
|
} | {
|
|
64
64
|
data: undefined;
|
|
@@ -69,14 +69,14 @@ export declare const useCreateSubscription: ({ logsApiURL, logsKind, streamId, o
|
|
|
69
69
|
isPending: false;
|
|
70
70
|
isSuccess: false;
|
|
71
71
|
status: "error";
|
|
72
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
72
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, void, unknown>;
|
|
73
73
|
reset: () => void;
|
|
74
74
|
context: unknown;
|
|
75
75
|
failureCount: number;
|
|
76
76
|
failureReason: Error;
|
|
77
77
|
isPaused: boolean;
|
|
78
78
|
submittedAt: number;
|
|
79
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
79
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
80
80
|
create: () => void;
|
|
81
81
|
} | {
|
|
82
82
|
data: unknown;
|
|
@@ -87,14 +87,14 @@ export declare const useCreateSubscription: ({ logsApiURL, logsKind, streamId, o
|
|
|
87
87
|
isPending: false;
|
|
88
88
|
isSuccess: true;
|
|
89
89
|
status: "success";
|
|
90
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
90
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, void, unknown>;
|
|
91
91
|
reset: () => void;
|
|
92
92
|
context: unknown;
|
|
93
93
|
failureCount: number;
|
|
94
94
|
failureReason: Error;
|
|
95
95
|
isPaused: boolean;
|
|
96
96
|
submittedAt: number;
|
|
97
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
97
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
98
98
|
create: () => void;
|
|
99
99
|
};
|
|
100
100
|
export interface RemoveSubscriptionProps {
|
|
@@ -111,14 +111,14 @@ export declare const useRemoveSubscription: ({ logsApiURL, onError, onSuccess, }
|
|
|
111
111
|
isPending: false;
|
|
112
112
|
isSuccess: false;
|
|
113
113
|
status: "idle";
|
|
114
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, string, unknown>;
|
|
114
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, string, unknown>;
|
|
115
115
|
reset: () => void;
|
|
116
116
|
context: unknown;
|
|
117
117
|
failureCount: number;
|
|
118
118
|
failureReason: Error;
|
|
119
119
|
isPaused: boolean;
|
|
120
120
|
submittedAt: number;
|
|
121
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
121
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
122
122
|
remove: (id: string) => void;
|
|
123
123
|
} | {
|
|
124
124
|
data: undefined;
|
|
@@ -129,14 +129,14 @@ export declare const useRemoveSubscription: ({ logsApiURL, onError, onSuccess, }
|
|
|
129
129
|
isPending: true;
|
|
130
130
|
isSuccess: false;
|
|
131
131
|
status: "pending";
|
|
132
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, string, unknown>;
|
|
132
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, string, unknown>;
|
|
133
133
|
reset: () => void;
|
|
134
134
|
context: unknown;
|
|
135
135
|
failureCount: number;
|
|
136
136
|
failureReason: Error;
|
|
137
137
|
isPaused: boolean;
|
|
138
138
|
submittedAt: number;
|
|
139
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
139
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
140
140
|
remove: (id: string) => void;
|
|
141
141
|
} | {
|
|
142
142
|
data: undefined;
|
|
@@ -147,14 +147,14 @@ export declare const useRemoveSubscription: ({ logsApiURL, onError, onSuccess, }
|
|
|
147
147
|
isPending: false;
|
|
148
148
|
isSuccess: false;
|
|
149
149
|
status: "error";
|
|
150
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, string, unknown>;
|
|
150
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, string, unknown>;
|
|
151
151
|
reset: () => void;
|
|
152
152
|
context: unknown;
|
|
153
153
|
failureCount: number;
|
|
154
154
|
failureReason: Error;
|
|
155
155
|
isPaused: boolean;
|
|
156
156
|
submittedAt: number;
|
|
157
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
157
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
158
158
|
remove: (id: string) => void;
|
|
159
159
|
} | {
|
|
160
160
|
data: unknown;
|
|
@@ -165,13 +165,13 @@ export declare const useRemoveSubscription: ({ logsApiURL, onError, onSuccess, }
|
|
|
165
165
|
isPending: false;
|
|
166
166
|
isSuccess: true;
|
|
167
167
|
status: "success";
|
|
168
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, string, unknown>;
|
|
168
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, string, unknown>;
|
|
169
169
|
reset: () => void;
|
|
170
170
|
context: unknown;
|
|
171
171
|
failureCount: number;
|
|
172
172
|
failureReason: Error;
|
|
173
173
|
isPaused: boolean;
|
|
174
174
|
submittedAt: number;
|
|
175
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
175
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
176
176
|
remove: (id: string) => void;
|
|
177
177
|
};
|
|
@@ -22,9 +22,9 @@ export declare const KUBE_FLAVOR_CATEGORIES: ({
|
|
|
22
22
|
isNew: boolean;
|
|
23
23
|
})[];
|
|
24
24
|
export declare const getFlavorsQueryKey: (projectId: string, region: string) => string[];
|
|
25
|
-
export declare const useFlavors: (projectId: string, region: string) => import("@tanstack/react-query").UseQueryResult<TFlavor[], Error>;
|
|
25
|
+
export declare const useFlavors: (projectId: string, region: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TFlavor[], Error>;
|
|
26
26
|
export declare const getKubeFlavorsQueryKey: (projectId: string, region: string) => string[];
|
|
27
|
-
export declare const useKubeFlavors: (projectId: string, region: string) => import("@tanstack/react-query").UseQueryResult<import("../data").TKubeFlavor[], Error>;
|
|
27
|
+
export declare const useKubeFlavors: (projectId: string, region: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data").TKubeFlavor[], Error>;
|
|
28
28
|
export declare const hasEnoughQuota: (flavor: TFlavor, quota: TQuota) => boolean;
|
|
29
29
|
export declare const useMergedKubeFlavors: (projectId: string, region: string) => {
|
|
30
30
|
mergedFlavors: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useImages: (projectId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/image").TImage[], Error>;
|
|
1
|
+
export declare const useImages: (projectId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/image").TImage[], Error>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const useInstance: (projectId: string, instanceId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/instance").TInstance, Error>;
|
|
1
|
+
export declare const useInstance: (projectId: string, instanceId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/instance").TInstance, Error>;
|
|
2
2
|
export declare const getInstancesQuery: (projectId: string, region?: string) => {
|
|
3
3
|
queryKey: string[];
|
|
4
4
|
queryFn: () => Promise<import("../data/instance").TInstance[]>;
|
|
5
5
|
};
|
|
6
|
-
export declare const useInstances: (projectId: string, region?: string) => import("@tanstack/react-query").UseQueryResult<import("../data/instance").TInstance[], Error>;
|
|
6
|
+
export declare const useInstances: (projectId: string, region?: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/instance").TInstance[], Error>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Filter } from '@ovh-ux/manager-core-api';
|
|
2
2
|
import { PaginationState } from '@ovh-ux/manager-react-components';
|
|
3
3
|
import { TSubscription } from '../data/dbaas-logs';
|
|
4
|
-
export declare const useDbaasLogs: () => import("@tanstack/react-query").UseQueryResult<import("../data/logs").TDbaasLog[], Error>;
|
|
5
|
-
export declare const useStream: (serviceName: string, streamId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/logs").TDbaasStream, Error>;
|
|
6
|
-
export declare const useStreams: (serviceName: string, pagination: PaginationState, filters: Filter[]) => import("@tanstack/react-query").UseQueryResult<{
|
|
4
|
+
export declare const useDbaasLogs: () => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/logs").TDbaasLog[], Error>;
|
|
5
|
+
export declare const useStream: (serviceName: string, streamId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/logs").TDbaasStream, Error>;
|
|
6
|
+
export declare const useStreams: (serviceName: string, pagination: PaginationState, filters: Filter[]) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
7
7
|
data: import("../data/logs").TDbaasStream[];
|
|
8
8
|
totalCount: number;
|
|
9
9
|
}, Error>;
|
|
@@ -31,14 +31,14 @@ export declare const useRemoveSubscription: ({ logsApiURL, subscriptionId, onErr
|
|
|
31
31
|
isPending: false;
|
|
32
32
|
isSuccess: false;
|
|
33
33
|
status: "idle";
|
|
34
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
34
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, void, unknown>;
|
|
35
35
|
reset: () => void;
|
|
36
36
|
context: unknown;
|
|
37
37
|
failureCount: number;
|
|
38
38
|
failureReason: Error;
|
|
39
39
|
isPaused: boolean;
|
|
40
40
|
submittedAt: number;
|
|
41
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
41
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
42
42
|
remove: () => void;
|
|
43
43
|
} | {
|
|
44
44
|
data: undefined;
|
|
@@ -49,14 +49,14 @@ export declare const useRemoveSubscription: ({ logsApiURL, subscriptionId, onErr
|
|
|
49
49
|
isPending: true;
|
|
50
50
|
isSuccess: false;
|
|
51
51
|
status: "pending";
|
|
52
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
52
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, void, unknown>;
|
|
53
53
|
reset: () => void;
|
|
54
54
|
context: unknown;
|
|
55
55
|
failureCount: number;
|
|
56
56
|
failureReason: Error;
|
|
57
57
|
isPaused: boolean;
|
|
58
58
|
submittedAt: number;
|
|
59
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
59
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
60
60
|
remove: () => void;
|
|
61
61
|
} | {
|
|
62
62
|
data: undefined;
|
|
@@ -67,14 +67,14 @@ export declare const useRemoveSubscription: ({ logsApiURL, subscriptionId, onErr
|
|
|
67
67
|
isPending: false;
|
|
68
68
|
isSuccess: false;
|
|
69
69
|
status: "error";
|
|
70
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
70
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, void, unknown>;
|
|
71
71
|
reset: () => void;
|
|
72
72
|
context: unknown;
|
|
73
73
|
failureCount: number;
|
|
74
74
|
failureReason: Error;
|
|
75
75
|
isPaused: boolean;
|
|
76
76
|
submittedAt: number;
|
|
77
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
77
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
78
78
|
remove: () => void;
|
|
79
79
|
} | {
|
|
80
80
|
data: unknown;
|
|
@@ -85,17 +85,17 @@ export declare const useRemoveSubscription: ({ logsApiURL, subscriptionId, onErr
|
|
|
85
85
|
isPending: false;
|
|
86
86
|
isSuccess: true;
|
|
87
87
|
status: "success";
|
|
88
|
-
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
88
|
+
mutate: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, void, unknown>;
|
|
89
89
|
reset: () => void;
|
|
90
90
|
context: unknown;
|
|
91
91
|
failureCount: number;
|
|
92
92
|
failureReason: Error;
|
|
93
93
|
isPaused: boolean;
|
|
94
94
|
submittedAt: number;
|
|
95
|
-
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
95
|
+
mutateAsync: import("@tanstack/react-query/build/legacy/types").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
96
96
|
remove: () => void;
|
|
97
97
|
};
|
|
98
|
-
export declare const useSubscribedLogs: (logsApiURL: string, kind: string) => import("@tanstack/react-query").UseQueryResult<TSubscription[], Error>;
|
|
98
|
+
export declare const useSubscribedLogs: (logsApiURL: string, kind: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TSubscription[], Error>;
|
|
99
99
|
export declare const useLogsDetails: (logsApiURL: string, logsKind: string) => {
|
|
100
100
|
data: {
|
|
101
101
|
data: import("../data/logs").TDbaasLog;
|
|
@@ -19,11 +19,11 @@ export declare const getProjectQuery: (projectId: string) => {
|
|
|
19
19
|
queryKey: string[];
|
|
20
20
|
queryFn: () => Promise<TProject>;
|
|
21
21
|
};
|
|
22
|
-
export declare const useProject: (projectId?: string, options?: QueryOptions<TProject, ResponseAPIError>) => import("@tanstack/react-query").UseQueryResult<TProject, ResponseAPIError>;
|
|
22
|
+
export declare const useProject: (projectId?: string, options?: QueryOptions<TProject, ResponseAPIError>) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TProject, ResponseAPIError>;
|
|
23
23
|
export declare const getProjectQuotaQuery: (projectId: string) => {
|
|
24
24
|
queryKey: string[];
|
|
25
25
|
queryFn: () => Promise<TQuota[]>;
|
|
26
26
|
};
|
|
27
27
|
export declare const useProjectQuota: (projectId?: string, filter?: {
|
|
28
28
|
region: string;
|
|
29
|
-
}, options?: QueryOptions<TQuota[], ResponseAPIError>) => import("@tanstack/react-query").UseQueryResult<TQuota[], ResponseAPIError>;
|
|
29
|
+
}, options?: QueryOptions<TQuota[], ResponseAPIError>) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TQuota[], ResponseAPIError>;
|
|
@@ -2,4 +2,4 @@ export declare const useGetProjectRegionsQuery: (projectId: string) => {
|
|
|
2
2
|
queryKey: string[];
|
|
3
3
|
queryFn: () => Promise<import("../data/regions").TRegion[]>;
|
|
4
4
|
};
|
|
5
|
-
export declare const useGetProjectRegions: (projectId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/regions").TRegion[], Error>;
|
|
5
|
+
export declare const useGetProjectRegions: (projectId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/regions").TRegion[], Error>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useVolumes: (projectId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/volume").TVolume[], Error>;
|
|
1
|
+
export declare const useVolumes: (projectId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("../data/volume").TVolume[], Error>;
|
|
@@ -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/
|
|
40
|
-
fetchStatus: import("@tanstack/
|
|
39
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("./useRegions").ProjectLocalisation, Error>>;
|
|
40
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
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/
|
|
74
|
-
fetchStatus: import("@tanstack/
|
|
73
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("./useRegions").ProjectLocalisation, Error>>;
|
|
74
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
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/
|
|
108
|
-
fetchStatus: import("@tanstack/
|
|
107
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("./useRegions").ProjectLocalisation, Error>>;
|
|
108
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
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/
|
|
142
|
-
fetchStatus: import("@tanstack/
|
|
141
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("./useRegions").ProjectLocalisation, Error>>;
|
|
142
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
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/
|
|
176
|
-
fetchStatus: import("@tanstack/
|
|
175
|
+
refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").ad) => Promise<import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").at<import("./useRegions").ProjectLocalisation, Error>>;
|
|
176
|
+
fetchStatus: import("@tanstack/query-core/build/legacy/hydration-zFr_7WN8").al;
|
|
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").UseQueryResult<TRegion[], Error>;
|
|
2
|
+
export declare const useProjectRegions: (projectId: string) => import("@tanstack/react-query/build/legacy/types").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").UseQueryResult<ProjectLocalisation, Error>;
|
|
20
|
+
export declare const useProjectLocalisation: (projectId: string) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<ProjectLocalisation, Error>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ovh-ux/manager-pci-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
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.9.0",
|
|
45
|
-
"@ovh-ux/manager-react-components": "^2.6.
|
|
45
|
+
"@ovh-ux/manager-react-components": "^2.6.1",
|
|
46
46
|
"@ovh-ux/manager-react-shell-client": "^0.8.5",
|
|
47
|
-
"@ovh-ux/manager-vite-config": "^0.
|
|
47
|
+
"@ovh-ux/manager-vite-config": "^0.9.0",
|
|
48
48
|
"@ovhcloud/ods-components": "^18.4.1",
|
|
49
49
|
"@ovhcloud/ods-themes": "^18.4.1",
|
|
50
50
|
"@tanstack/react-query": "^5.51.21",
|