@ovh-ux/manager-pci-common 0.11.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 +459 -0
- package/README.md +6 -0
- package/dist/index.js +41234 -0
- package/dist/index.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/types/api/data/api-schema.d.ts +14 -0
- package/dist/types/api/data/availability.d.ts +27 -0
- package/dist/types/api/data/availability.spec.d.ts +1 -0
- package/dist/types/api/data/catalog.d.ts +154 -0
- package/dist/types/api/data/catalog.spec.d.ts +1 -0
- package/dist/types/api/data/dbaas-logs.d.ts +62 -0
- package/dist/types/api/data/dbaas-logs.spec.d.ts +1 -0
- package/dist/types/api/data/flavors.d.ts +39 -0
- package/dist/types/api/data/flavors.spec.d.ts +1 -0
- package/dist/types/api/data/index.d.ts +9 -0
- package/dist/types/api/data/instance.d.ts +30 -0
- package/dist/types/api/data/instance.spec.d.ts +1 -0
- package/dist/types/api/data/logs.d.ts +43 -0
- package/dist/types/api/data/operation.d.ts +19 -0
- package/dist/types/api/data/project.d.ts +73 -0
- package/dist/types/api/data/project.spec.d.ts +1 -0
- package/dist/types/api/data/regions.d.ts +13 -0
- package/dist/types/api/data/regions.spec.d.ts +1 -0
- package/dist/types/api/hook/index.d.ts +10 -0
- package/dist/types/api/hook/useApiSchema.d.ts +1 -0
- package/dist/types/api/hook/useAvailability.d.ts +6 -0
- package/dist/types/api/hook/useAvailability.spec.d.ts +1 -0
- package/dist/types/api/hook/useCatalog.d.ts +5 -0
- package/dist/types/api/hook/useCatalog.spec.d.ts +1 -0
- package/dist/types/api/hook/useDbaasLogs.d.ts +177 -0
- package/dist/types/api/hook/useDbaasLogs.spec.d.ts +1 -0
- package/dist/types/api/hook/useFlavors.d.ts +190 -0
- package/dist/types/api/hook/useFlavors.spec.d.ts +1 -0
- package/dist/types/api/hook/useInstance.d.ts +6 -0
- package/dist/types/api/hook/useLogs.d.ts +124 -0
- package/dist/types/api/hook/useOperation.d.ts +5 -0
- package/dist/types/api/hook/useProject.d.ts +29 -0
- package/dist/types/api/hook/useProject.spec.d.ts +1 -0
- package/dist/types/api/hook/useRegions.d.ts +5 -0
- package/dist/types/components/Pricing.d.ts +8 -0
- package/dist/types/components/accordion/Accordion.component.d.ts +8 -0
- package/dist/types/components/banner/announcement-banner/PciAnnouncementBanner.d.ts +5 -0
- package/dist/types/components/banner/announcement-banner/PciAnnouncementBanner.spec.d.ts +1 -0
- package/dist/types/components/banner/announcement-banner/useAnnouncementBanner.hook.d.ts +5 -0
- package/dist/types/components/banner/discovery-banner/PciDiscoveryBanner.d.ts +7 -0
- package/dist/types/components/banner/discovery-banner/PciDiscoveryBanner.spec.d.ts +1 -0
- package/dist/types/components/banner/free-local-zones-banner/PciFreeLocalZonesBanner.d.ts +30 -0
- package/dist/types/components/banner/free-local-zones-banner/PciFreeLocalZonesBanner.spec.d.ts +0 -0
- package/dist/types/components/banner/index.d.ts +6 -0
- package/dist/types/components/banner/trusted-zone-banner/PciTrustedZoneBanner.d.ts +1 -0
- package/dist/types/components/banner/trusted-zone-banner/useTrustedZoneBanner.hook.d.ts +5 -0
- package/dist/types/components/flavor-selector/FlavorLocalzoneChip.d.ts +4 -0
- package/dist/types/components/flavor-selector/FlavorSelector.component.d.ts +9 -0
- package/dist/types/components/flavor-selector/FlavorTile.component.d.ts +32 -0
- package/dist/types/components/flavor-selector/index.d.ts +1 -0
- package/dist/types/components/logs/BlinkingCursor.component.d.ts +1 -0
- package/dist/types/components/logs/DbaasLogsAccountSelector.component.d.ts +6 -0
- package/dist/types/components/logs/LogHowTo.component.d.ts +4 -0
- package/dist/types/components/logs/LogProvider.component.d.ts +18 -0
- package/dist/types/components/logs/LogTileUnsubscribeAction.component.d.ts +7 -0
- package/dist/types/components/logs/LogTiles.component.d.ts +4 -0
- package/dist/types/components/logs/LogsView.component.d.ts +4 -0
- package/dist/types/components/logs/StreamRetention.component.d.ts +14 -0
- package/dist/types/components/logs/StreamSubscriptions.component.d.ts +7 -0
- package/dist/types/components/logs/StreamsList.component.d.ts +6 -0
- package/dist/types/components/logs/TailLogs.component.d.ts +5 -0
- package/dist/types/components/logs/index.d.ts +6 -0
- package/dist/types/components/logs/useStreamsListColumns.d.ts +10 -0
- package/dist/types/components/modal/PciModal.component.d.ts +14 -0
- package/dist/types/components/modal/PciModal.component.spec.d.ts +1 -0
- package/dist/types/components/modal/deletion-modal/DeletionModal.component.d.ts +6 -0
- package/dist/types/components/modal/deletion-modal/DeletionModal.component.spec.d.ts +1 -0
- package/dist/types/components/modal/index.d.ts +2 -0
- package/dist/types/components/quantity-selector/QuantitySelector.component.d.ts +12 -0
- package/dist/types/components/quantity-selector/QuantitySelector.component.spec.d.ts +1 -0
- package/dist/types/components/quantity-selector/index.d.ts +1 -0
- package/dist/types/components/region-selector/RegionGlobalzoneChip.component.d.ts +1 -0
- package/dist/types/components/region-selector/RegionGlobalzoneChip.component.spec.d.ts +1 -0
- package/dist/types/components/region-selector/RegionList.component.d.ts +8 -0
- package/dist/types/components/region-selector/RegionList.component.spec.d.ts +1 -0
- package/dist/types/components/region-selector/RegionLocalzoneChip.component.d.ts +1 -0
- package/dist/types/components/region-selector/RegionLocalzoneChip.component.spec.d.ts +1 -0
- package/dist/types/components/region-selector/RegionSelector.component.d.ts +8 -0
- package/dist/types/components/region-selector/RegionSummary.component.d.ts +5 -0
- package/dist/types/components/region-selector/RegionSummary.component.spec.d.ts +1 -0
- package/dist/types/components/region-selector/RegionTile.d.ts +7 -0
- package/dist/types/components/region-selector/constants.d.ts +6 -0
- package/dist/types/components/region-selector/style.constants.d.ts +3 -0
- package/dist/types/components/region-selector/useRegionSelector.d.ts +178 -0
- package/dist/types/components/region-selector/useRegions.d.ts +20 -0
- package/dist/types/components/shape-input/ShapeInput.component.d.ts +69 -0
- package/dist/types/components/shape-input/constants.d.ts +1 -0
- package/dist/types/components/shape-input/default-components/default-shape.d.ts +7 -0
- package/dist/types/components/shape-input/default-components/group-label.d.ts +6 -0
- package/dist/types/components/shape-input/default-components/item-label.d.ts +5 -0
- package/dist/types/components/shape-input/default-components/stack-label.d.ts +6 -0
- package/dist/types/components/shape-input/default-components/stack-title.d.ts +3 -0
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/constants/urls.d.ts +2 -0
- package/dist/types/hooks/bytes/useBytes.d.ts +3 -0
- package/dist/types/hooks/bytes/useBytes.spec.d.ts +1 -0
- package/dist/types/hooks/index.d.ts +3 -0
- package/dist/types/hooks/url/usePciUrl.d.ts +1 -0
- package/dist/types/hooks/usePricing.d.ts +25 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/translations/announcement-banner/Messages_de_DE.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_en_GB.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_es_ES.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_fr_CA.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_fr_FR.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_it_IT.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_pl_PL.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_pt_PT.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/index.d.ts +1 -0
- package/dist/types/translations/bytes/Messages_de_DE.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_en_GB.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_es_ES.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_fr_CA.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_fr_FR.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_it_IT.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_pl_PL.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_pt_PT.json.d.ts +22 -0
- package/dist/types/translations/bytes/index.d.ts +1 -0
- package/dist/types/translations/catalog-price/Messages_de_DE.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_en_GB.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_es_ES.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_fr_CA.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_fr_FR.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_it_IT.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_pl_PL.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_pt_PT.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/index.d.ts +1 -0
- package/dist/types/translations/common/Messages_de_DE.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_en_GB.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_es_ES.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_fr_CA.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_fr_FR.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_it_IT.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_pl_PL.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_pt_PT.json.d.ts +97 -0
- package/dist/types/translations/common/index.d.ts +1 -0
- package/dist/types/translations/discovery-banner/Messages_de_DE.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_en_GB.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_es_ES.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_fr_CA.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_fr_FR.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_it_IT.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_pl_PL.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_pt_PT.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/index.d.ts +1 -0
- package/dist/types/translations/flavor-selector/Messages_de_DE.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/Messages_en_GB.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/Messages_es_ES.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/Messages_fr_CA.json.d.ts +36 -0
- package/dist/types/translations/flavor-selector/Messages_fr_FR.json.d.ts +36 -0
- package/dist/types/translations/flavor-selector/Messages_it_IT.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/Messages_pl_PL.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/Messages_pt_PT.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/index.d.ts +1 -0
- package/dist/types/translations/free-local-zones-banner/Messages_de_DE.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_en_GB.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_es_ES.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_fr_CA.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_fr_FR.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_it_IT.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_pl_PL.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_pt_PT.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/index.d.ts +1 -0
- package/dist/types/translations/logs/Messages_de_DE.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_en_GB.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_es_ES.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_fr_CA.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_fr_FR.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_it_IT.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_pl_PL.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_pt_PT.json.d.ts +45 -0
- package/dist/types/translations/logs/index.d.ts +1 -0
- package/dist/types/translations/quantity-selector/Messages_de_DE.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_en_GB.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_es_ES.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_fr_CA.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_fr_FR.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_it_IT.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_pl_PL.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_pt_PT.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/index.d.ts +1 -0
- package/dist/types/translations/region-selector/Messages_de_DE.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_en_GB.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_es_ES.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_fr_CA.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_fr_FR.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_it_IT.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_pl_PL.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_pt_PT.json.d.ts +16 -0
- package/dist/types/translations/region-selector/index.d.ts +1 -0
- package/dist/types/translations/trusted-zone-banner/Messages_de_DE.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_en_GB.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_es_ES.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_fr_CA.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_fr_FR.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_it_IT.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_pl_PL.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_pt_PT.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/index.d.ts +1 -0
- package/dist/types/wrapperRenders.d.ts +15 -0
- package/package.json +92 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { Filter } from '@ovh-ux/manager-core-api';
|
|
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<{
|
|
6
|
+
data: import("../data/dbaas-logs").TDbaasStream[];
|
|
7
|
+
totalCount: number;
|
|
8
|
+
}, Error>;
|
|
9
|
+
export declare const useAllStreamIds: () => {
|
|
10
|
+
data: import("../data/dbaas-logs").TDbaasStream[];
|
|
11
|
+
isPending: boolean;
|
|
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>;
|
|
16
|
+
export interface CreateSubscriptionProps {
|
|
17
|
+
logsApiURL: string;
|
|
18
|
+
logsKind: string;
|
|
19
|
+
streamId: string;
|
|
20
|
+
onError: (cause: Error) => void;
|
|
21
|
+
onSuccess: () => void;
|
|
22
|
+
}
|
|
23
|
+
export type TSubscriptionOperation = {
|
|
24
|
+
operationId: string;
|
|
25
|
+
serviceName: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const useCreateSubscription: ({ logsApiURL, logsKind, streamId, onError, onSuccess, }: CreateSubscriptionProps) => {
|
|
28
|
+
data: undefined;
|
|
29
|
+
variables: undefined;
|
|
30
|
+
error: null;
|
|
31
|
+
isError: false;
|
|
32
|
+
isIdle: true;
|
|
33
|
+
isPending: false;
|
|
34
|
+
isSuccess: false;
|
|
35
|
+
status: "idle";
|
|
36
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
37
|
+
reset: () => void;
|
|
38
|
+
context: unknown;
|
|
39
|
+
failureCount: number;
|
|
40
|
+
failureReason: Error;
|
|
41
|
+
isPaused: boolean;
|
|
42
|
+
submittedAt: number;
|
|
43
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
44
|
+
create: () => void;
|
|
45
|
+
} | {
|
|
46
|
+
data: undefined;
|
|
47
|
+
variables: void;
|
|
48
|
+
error: null;
|
|
49
|
+
isError: false;
|
|
50
|
+
isIdle: false;
|
|
51
|
+
isPending: true;
|
|
52
|
+
isSuccess: false;
|
|
53
|
+
status: "pending";
|
|
54
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
55
|
+
reset: () => void;
|
|
56
|
+
context: unknown;
|
|
57
|
+
failureCount: number;
|
|
58
|
+
failureReason: Error;
|
|
59
|
+
isPaused: boolean;
|
|
60
|
+
submittedAt: number;
|
|
61
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
62
|
+
create: () => void;
|
|
63
|
+
} | {
|
|
64
|
+
data: undefined;
|
|
65
|
+
error: Error;
|
|
66
|
+
variables: void;
|
|
67
|
+
isError: true;
|
|
68
|
+
isIdle: false;
|
|
69
|
+
isPending: false;
|
|
70
|
+
isSuccess: false;
|
|
71
|
+
status: "error";
|
|
72
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
73
|
+
reset: () => void;
|
|
74
|
+
context: unknown;
|
|
75
|
+
failureCount: number;
|
|
76
|
+
failureReason: Error;
|
|
77
|
+
isPaused: boolean;
|
|
78
|
+
submittedAt: number;
|
|
79
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
80
|
+
create: () => void;
|
|
81
|
+
} | {
|
|
82
|
+
data: unknown;
|
|
83
|
+
error: null;
|
|
84
|
+
variables: void;
|
|
85
|
+
isError: false;
|
|
86
|
+
isIdle: false;
|
|
87
|
+
isPending: false;
|
|
88
|
+
isSuccess: true;
|
|
89
|
+
status: "success";
|
|
90
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
91
|
+
reset: () => void;
|
|
92
|
+
context: unknown;
|
|
93
|
+
failureCount: number;
|
|
94
|
+
failureReason: Error;
|
|
95
|
+
isPaused: boolean;
|
|
96
|
+
submittedAt: number;
|
|
97
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
98
|
+
create: () => void;
|
|
99
|
+
};
|
|
100
|
+
export interface RemoveSubscriptionProps {
|
|
101
|
+
logsApiURL: string;
|
|
102
|
+
onError: (cause: Error) => void;
|
|
103
|
+
onSuccess: () => void;
|
|
104
|
+
}
|
|
105
|
+
export declare const useRemoveSubscription: ({ logsApiURL, onError, onSuccess, }: RemoveSubscriptionProps) => {
|
|
106
|
+
data: undefined;
|
|
107
|
+
variables: undefined;
|
|
108
|
+
error: null;
|
|
109
|
+
isError: false;
|
|
110
|
+
isIdle: true;
|
|
111
|
+
isPending: false;
|
|
112
|
+
isSuccess: false;
|
|
113
|
+
status: "idle";
|
|
114
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, string, unknown>;
|
|
115
|
+
reset: () => void;
|
|
116
|
+
context: unknown;
|
|
117
|
+
failureCount: number;
|
|
118
|
+
failureReason: Error;
|
|
119
|
+
isPaused: boolean;
|
|
120
|
+
submittedAt: number;
|
|
121
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
122
|
+
remove: (id: string) => void;
|
|
123
|
+
} | {
|
|
124
|
+
data: undefined;
|
|
125
|
+
variables: string;
|
|
126
|
+
error: null;
|
|
127
|
+
isError: false;
|
|
128
|
+
isIdle: false;
|
|
129
|
+
isPending: true;
|
|
130
|
+
isSuccess: false;
|
|
131
|
+
status: "pending";
|
|
132
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, string, unknown>;
|
|
133
|
+
reset: () => void;
|
|
134
|
+
context: unknown;
|
|
135
|
+
failureCount: number;
|
|
136
|
+
failureReason: Error;
|
|
137
|
+
isPaused: boolean;
|
|
138
|
+
submittedAt: number;
|
|
139
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
140
|
+
remove: (id: string) => void;
|
|
141
|
+
} | {
|
|
142
|
+
data: undefined;
|
|
143
|
+
error: Error;
|
|
144
|
+
variables: string;
|
|
145
|
+
isError: true;
|
|
146
|
+
isIdle: false;
|
|
147
|
+
isPending: false;
|
|
148
|
+
isSuccess: false;
|
|
149
|
+
status: "error";
|
|
150
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, string, unknown>;
|
|
151
|
+
reset: () => void;
|
|
152
|
+
context: unknown;
|
|
153
|
+
failureCount: number;
|
|
154
|
+
failureReason: Error;
|
|
155
|
+
isPaused: boolean;
|
|
156
|
+
submittedAt: number;
|
|
157
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
158
|
+
remove: (id: string) => void;
|
|
159
|
+
} | {
|
|
160
|
+
data: unknown;
|
|
161
|
+
error: null;
|
|
162
|
+
variables: string;
|
|
163
|
+
isError: false;
|
|
164
|
+
isIdle: false;
|
|
165
|
+
isPending: false;
|
|
166
|
+
isSuccess: true;
|
|
167
|
+
status: "success";
|
|
168
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, string, unknown>;
|
|
169
|
+
reset: () => void;
|
|
170
|
+
context: unknown;
|
|
171
|
+
failureCount: number;
|
|
172
|
+
failureReason: Error;
|
|
173
|
+
isPaused: boolean;
|
|
174
|
+
submittedAt: number;
|
|
175
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, string, unknown>;
|
|
176
|
+
remove: (id: string) => void;
|
|
177
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { TFlavor, TQuota } from '../data';
|
|
2
|
+
export declare const FLAVOR_CATEGORIES: ({
|
|
3
|
+
category: string;
|
|
4
|
+
title: string;
|
|
5
|
+
pattern: RegExp;
|
|
6
|
+
isNew?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
category: string;
|
|
9
|
+
title: string;
|
|
10
|
+
pattern: RegExp;
|
|
11
|
+
isNew: boolean;
|
|
12
|
+
})[];
|
|
13
|
+
export declare const KUBE_FLAVOR_CATEGORIES: ({
|
|
14
|
+
category: string;
|
|
15
|
+
title: string;
|
|
16
|
+
pattern: RegExp;
|
|
17
|
+
isNew?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
category: string;
|
|
20
|
+
title: string;
|
|
21
|
+
pattern: RegExp;
|
|
22
|
+
isNew: boolean;
|
|
23
|
+
})[];
|
|
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>;
|
|
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>;
|
|
28
|
+
export declare const hasEnoughQuota: (flavor: TFlavor, quota: TQuota) => boolean;
|
|
29
|
+
export declare const useMergedKubeFlavors: (projectId: string, region: string) => {
|
|
30
|
+
mergedFlavors: {
|
|
31
|
+
blobs: {
|
|
32
|
+
tags: string[];
|
|
33
|
+
commercial?: {
|
|
34
|
+
name?: string;
|
|
35
|
+
};
|
|
36
|
+
technical: {
|
|
37
|
+
bandwidth?: {
|
|
38
|
+
guaranteed: boolean;
|
|
39
|
+
level: number;
|
|
40
|
+
max: number;
|
|
41
|
+
unit: string;
|
|
42
|
+
unlimited: boolean;
|
|
43
|
+
};
|
|
44
|
+
cpu?: {
|
|
45
|
+
boost: number;
|
|
46
|
+
brand: string;
|
|
47
|
+
cores: number;
|
|
48
|
+
customizable: boolean;
|
|
49
|
+
frequency: number;
|
|
50
|
+
maxFrequency: number;
|
|
51
|
+
model: string;
|
|
52
|
+
number: number;
|
|
53
|
+
score: number;
|
|
54
|
+
threads: number;
|
|
55
|
+
type: string;
|
|
56
|
+
};
|
|
57
|
+
gpu: {
|
|
58
|
+
brand?: string;
|
|
59
|
+
memory: {
|
|
60
|
+
customizable?: boolean;
|
|
61
|
+
ecc?: boolean;
|
|
62
|
+
frequency?: number;
|
|
63
|
+
interface?: string;
|
|
64
|
+
ramType?: string;
|
|
65
|
+
size?: number;
|
|
66
|
+
sizeUnit?: string;
|
|
67
|
+
};
|
|
68
|
+
model?: string;
|
|
69
|
+
number?: number;
|
|
70
|
+
performance?: number;
|
|
71
|
+
};
|
|
72
|
+
nvme?: {
|
|
73
|
+
disks: {
|
|
74
|
+
capacity: number;
|
|
75
|
+
number: number;
|
|
76
|
+
sizeUnit: string;
|
|
77
|
+
technology: string;
|
|
78
|
+
}[];
|
|
79
|
+
};
|
|
80
|
+
storage?: {
|
|
81
|
+
disks: {
|
|
82
|
+
capacity: number;
|
|
83
|
+
number: number;
|
|
84
|
+
sizeUnit: string;
|
|
85
|
+
technology: string;
|
|
86
|
+
}[];
|
|
87
|
+
};
|
|
88
|
+
volume?: {
|
|
89
|
+
iops: {
|
|
90
|
+
level: number;
|
|
91
|
+
max: number;
|
|
92
|
+
guaranteed: boolean;
|
|
93
|
+
unit: string;
|
|
94
|
+
maxUnit: string;
|
|
95
|
+
};
|
|
96
|
+
capacity: {
|
|
97
|
+
max: number;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
name: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
compatibility: {
|
|
104
|
+
localzone: boolean;
|
|
105
|
+
globalzone: boolean;
|
|
106
|
+
};
|
|
107
|
+
pricingsHourly: {
|
|
108
|
+
commitment: number;
|
|
109
|
+
description: string;
|
|
110
|
+
interval: number;
|
|
111
|
+
intervalUnit: "day" | "hour" | "month" | "none";
|
|
112
|
+
mode: string;
|
|
113
|
+
phase: number;
|
|
114
|
+
price: number;
|
|
115
|
+
quantity: {
|
|
116
|
+
min: number;
|
|
117
|
+
max?: number;
|
|
118
|
+
};
|
|
119
|
+
mustBeCompleted: boolean;
|
|
120
|
+
promotions: {
|
|
121
|
+
name: string;
|
|
122
|
+
description: string;
|
|
123
|
+
}[];
|
|
124
|
+
repeat: {
|
|
125
|
+
min: number;
|
|
126
|
+
max?: number;
|
|
127
|
+
};
|
|
128
|
+
strategy: string;
|
|
129
|
+
tax: number;
|
|
130
|
+
type: string;
|
|
131
|
+
capacities: string[];
|
|
132
|
+
};
|
|
133
|
+
pricingsMonthly: {
|
|
134
|
+
commitment: number;
|
|
135
|
+
description: string;
|
|
136
|
+
interval: number;
|
|
137
|
+
intervalUnit: "day" | "hour" | "month" | "none";
|
|
138
|
+
mode: string;
|
|
139
|
+
phase: number;
|
|
140
|
+
price: number;
|
|
141
|
+
quantity: {
|
|
142
|
+
min: number;
|
|
143
|
+
max?: number;
|
|
144
|
+
};
|
|
145
|
+
mustBeCompleted: boolean;
|
|
146
|
+
promotions: {
|
|
147
|
+
name: string;
|
|
148
|
+
description: string;
|
|
149
|
+
}[];
|
|
150
|
+
repeat: {
|
|
151
|
+
min: number;
|
|
152
|
+
max?: number;
|
|
153
|
+
};
|
|
154
|
+
strategy: string;
|
|
155
|
+
tax: number;
|
|
156
|
+
type: string;
|
|
157
|
+
capacities: string[];
|
|
158
|
+
};
|
|
159
|
+
isNew: boolean;
|
|
160
|
+
flavorCategory: string;
|
|
161
|
+
isFlex: boolean;
|
|
162
|
+
isLegacy: boolean;
|
|
163
|
+
hasEnoughQuota: boolean;
|
|
164
|
+
category: string;
|
|
165
|
+
gpus: number;
|
|
166
|
+
name: string;
|
|
167
|
+
ram: number;
|
|
168
|
+
state: "available" | "unavailable";
|
|
169
|
+
vCPUs: number;
|
|
170
|
+
available: boolean;
|
|
171
|
+
capabilities: {
|
|
172
|
+
name: string;
|
|
173
|
+
enabled: boolean;
|
|
174
|
+
}[];
|
|
175
|
+
disk: number;
|
|
176
|
+
id: string;
|
|
177
|
+
inboundBandwidth?: number;
|
|
178
|
+
osType: string;
|
|
179
|
+
outboundBandwidth?: number;
|
|
180
|
+
planCodes: {
|
|
181
|
+
hourly?: string;
|
|
182
|
+
monthly?: string;
|
|
183
|
+
};
|
|
184
|
+
quota: number;
|
|
185
|
+
region: string;
|
|
186
|
+
type: string;
|
|
187
|
+
vcpus: number;
|
|
188
|
+
}[];
|
|
189
|
+
isPending: boolean;
|
|
190
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const useInstance: (projectId: string, instanceId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/instance").TInstance, Error>;
|
|
2
|
+
export declare const getInstancesQuery: (projectId: string, region?: string) => {
|
|
3
|
+
queryKey: string[];
|
|
4
|
+
queryFn: () => Promise<import("../data/instance").TInstance[]>;
|
|
5
|
+
};
|
|
6
|
+
export declare const useInstances: (projectId: string, region?: string) => import("@tanstack/react-query").UseQueryResult<import("../data/instance").TInstance[], Error>;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { Filter } from '@ovh-ux/manager-core-api';
|
|
2
|
+
import { PaginationState } from '@ovh-ux/manager-react-components';
|
|
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<{
|
|
7
|
+
data: import("../data/logs").TDbaasStream[];
|
|
8
|
+
totalCount: number;
|
|
9
|
+
}, Error>;
|
|
10
|
+
export declare const useAllStreamIds: () => {
|
|
11
|
+
data: import("../data/logs").TDbaasStream[];
|
|
12
|
+
isPending: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const pollLogOperation: (serviceName: string, operationId: string, intervalMs?: number) => Promise<unknown>;
|
|
15
|
+
export interface RemoveSubscriptionProps {
|
|
16
|
+
logsApiURL: string;
|
|
17
|
+
subscriptionId: string;
|
|
18
|
+
onError: (cause: Error) => void;
|
|
19
|
+
onSuccess: () => void;
|
|
20
|
+
}
|
|
21
|
+
export interface LogOperationResponse {
|
|
22
|
+
serviceName: string;
|
|
23
|
+
operationId: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const useRemoveSubscription: ({ logsApiURL, subscriptionId, onError, onSuccess, }: RemoveSubscriptionProps) => {
|
|
26
|
+
data: undefined;
|
|
27
|
+
variables: undefined;
|
|
28
|
+
error: null;
|
|
29
|
+
isError: false;
|
|
30
|
+
isIdle: true;
|
|
31
|
+
isPending: false;
|
|
32
|
+
isSuccess: false;
|
|
33
|
+
status: "idle";
|
|
34
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
35
|
+
reset: () => void;
|
|
36
|
+
context: unknown;
|
|
37
|
+
failureCount: number;
|
|
38
|
+
failureReason: Error;
|
|
39
|
+
isPaused: boolean;
|
|
40
|
+
submittedAt: number;
|
|
41
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
42
|
+
remove: () => void;
|
|
43
|
+
} | {
|
|
44
|
+
data: undefined;
|
|
45
|
+
variables: void;
|
|
46
|
+
error: null;
|
|
47
|
+
isError: false;
|
|
48
|
+
isIdle: false;
|
|
49
|
+
isPending: true;
|
|
50
|
+
isSuccess: false;
|
|
51
|
+
status: "pending";
|
|
52
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
53
|
+
reset: () => void;
|
|
54
|
+
context: unknown;
|
|
55
|
+
failureCount: number;
|
|
56
|
+
failureReason: Error;
|
|
57
|
+
isPaused: boolean;
|
|
58
|
+
submittedAt: number;
|
|
59
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
60
|
+
remove: () => void;
|
|
61
|
+
} | {
|
|
62
|
+
data: undefined;
|
|
63
|
+
error: Error;
|
|
64
|
+
variables: void;
|
|
65
|
+
isError: true;
|
|
66
|
+
isIdle: false;
|
|
67
|
+
isPending: false;
|
|
68
|
+
isSuccess: false;
|
|
69
|
+
status: "error";
|
|
70
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
71
|
+
reset: () => void;
|
|
72
|
+
context: unknown;
|
|
73
|
+
failureCount: number;
|
|
74
|
+
failureReason: Error;
|
|
75
|
+
isPaused: boolean;
|
|
76
|
+
submittedAt: number;
|
|
77
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
78
|
+
remove: () => void;
|
|
79
|
+
} | {
|
|
80
|
+
data: unknown;
|
|
81
|
+
error: null;
|
|
82
|
+
variables: void;
|
|
83
|
+
isError: false;
|
|
84
|
+
isIdle: false;
|
|
85
|
+
isPending: false;
|
|
86
|
+
isSuccess: true;
|
|
87
|
+
status: "success";
|
|
88
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<unknown, Error, void, unknown>;
|
|
89
|
+
reset: () => void;
|
|
90
|
+
context: unknown;
|
|
91
|
+
failureCount: number;
|
|
92
|
+
failureReason: Error;
|
|
93
|
+
isPaused: boolean;
|
|
94
|
+
submittedAt: number;
|
|
95
|
+
mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<unknown, Error, void, unknown>;
|
|
96
|
+
remove: () => void;
|
|
97
|
+
};
|
|
98
|
+
export declare const useSubscribedLogs: (logsApiURL: string, kind: string) => import("@tanstack/react-query").UseQueryResult<TSubscription[], Error>;
|
|
99
|
+
export declare const useLogsDetails: (logsApiURL: string, logsKind: string) => {
|
|
100
|
+
data: {
|
|
101
|
+
data: import("../data/logs").TDbaasLog;
|
|
102
|
+
stream: import("../data/logs").TDbaasStream;
|
|
103
|
+
streamURL: import("../data/logs").TStreamURL;
|
|
104
|
+
log: TSubscription;
|
|
105
|
+
}[];
|
|
106
|
+
isPending: boolean;
|
|
107
|
+
};
|
|
108
|
+
export declare const LEVEL_LABELS: {
|
|
109
|
+
0: string;
|
|
110
|
+
1: string;
|
|
111
|
+
2: string;
|
|
112
|
+
3: string;
|
|
113
|
+
4: string;
|
|
114
|
+
5: string;
|
|
115
|
+
6: string;
|
|
116
|
+
7: string;
|
|
117
|
+
};
|
|
118
|
+
export declare function useTailLogs(logsApiURL: string, logsKind: string, logsKeys: string[]): {
|
|
119
|
+
isError: boolean;
|
|
120
|
+
isPolling: boolean;
|
|
121
|
+
setIsPolling: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
122
|
+
clearLogs: () => void;
|
|
123
|
+
messages: any[];
|
|
124
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { QueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { TProject, TQuota } from '../data/project';
|
|
3
|
+
export interface ResponseAPIError {
|
|
4
|
+
message: string;
|
|
5
|
+
stack: string;
|
|
6
|
+
name: string;
|
|
7
|
+
code: string;
|
|
8
|
+
response?: {
|
|
9
|
+
headers?: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
'x-ovh-queryid': string;
|
|
12
|
+
};
|
|
13
|
+
data?: {
|
|
14
|
+
message?: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export declare const getProjectQuery: (projectId: string) => {
|
|
19
|
+
queryKey: string[];
|
|
20
|
+
queryFn: () => Promise<TProject>;
|
|
21
|
+
};
|
|
22
|
+
export declare const useProject: (projectId?: string, options?: QueryOptions<TProject, ResponseAPIError>) => import("@tanstack/react-query").UseQueryResult<TProject, ResponseAPIError>;
|
|
23
|
+
export declare const getProjectQuotaQuery: (projectId: string) => {
|
|
24
|
+
queryKey: string[];
|
|
25
|
+
queryFn: () => Promise<TQuota[]>;
|
|
26
|
+
};
|
|
27
|
+
export declare const useProjectQuota: (projectId?: string, filter?: {
|
|
28
|
+
region: string;
|
|
29
|
+
}, options?: QueryOptions<TQuota[], ResponseAPIError>) => import("@tanstack/react-query").UseQueryResult<TQuota[], ResponseAPIError>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const useGetProjectRegionsQuery: (projectId: string) => {
|
|
2
|
+
queryKey: string[];
|
|
3
|
+
queryFn: () => Promise<import("../data/regions").TRegion[]>;
|
|
4
|
+
};
|
|
5
|
+
export declare const useGetProjectRegions: (projectId: string) => import("@tanstack/react-query").UseQueryResult<import("../data/regions").TRegion[], Error>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TPricing } from '../api/data';
|
|
2
|
+
import { PriceFormattingOptions } from '../hooks/usePricing';
|
|
3
|
+
interface PricingProps {
|
|
4
|
+
pricing: TPricing;
|
|
5
|
+
options?: PriceFormattingOptions;
|
|
6
|
+
}
|
|
7
|
+
export declare function Pricing({ pricing, options }: Readonly<PricingProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare const AccordionComponent: ({ title, children, isOpen, onToggle, className, ...props }: {
|
|
3
|
+
title: ReactNode;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
onToggle?: (isOpen: boolean) => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TProject } from '../../../api/data';
|
|
2
|
+
export declare const isDiscoveryProject: (project: TProject) => boolean;
|
|
3
|
+
export interface PciDiscoveryBannerProps {
|
|
4
|
+
project: TProject;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function PciDiscoveryBanner({ project, className, }: Readonly<PciDiscoveryBannerProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare const URLs: {
|
|
3
|
+
DEFAULT: string;
|
|
4
|
+
ASIA: string;
|
|
5
|
+
AU: string;
|
|
6
|
+
CA: string;
|
|
7
|
+
DE: string;
|
|
8
|
+
ES: string;
|
|
9
|
+
FR: string;
|
|
10
|
+
GB: string;
|
|
11
|
+
IE: string;
|
|
12
|
+
IN: string;
|
|
13
|
+
IT: string;
|
|
14
|
+
MA: string;
|
|
15
|
+
NL: string;
|
|
16
|
+
PL: string;
|
|
17
|
+
PT: string;
|
|
18
|
+
QC: string;
|
|
19
|
+
SG: string;
|
|
20
|
+
SN: string;
|
|
21
|
+
TN: string;
|
|
22
|
+
WE: string;
|
|
23
|
+
WS: string;
|
|
24
|
+
US: string;
|
|
25
|
+
};
|
|
26
|
+
export interface PciFreeLocalZonesBannerProps {
|
|
27
|
+
ovhSubsidiary: string;
|
|
28
|
+
showConfirm: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare function PciFreeLocalZonesBanner({ ovhSubsidiary, showConfirm, }: Readonly<PciFreeLocalZonesBannerProps>): ReactNode;
|
package/dist/types/components/banner/free-local-zones-banner/PciFreeLocalZonesBanner.spec.d.ts
ADDED
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { PciDiscoveryBanner, isDiscoveryProject, } from './discovery-banner/PciDiscoveryBanner';
|
|
2
|
+
export { PciAnnouncementBanner } from './announcement-banner/PciAnnouncementBanner';
|
|
3
|
+
export { useAnnouncementBanner } from './announcement-banner/useAnnouncementBanner.hook';
|
|
4
|
+
export { PciFreeLocalZonesBanner } from './free-local-zones-banner/PciFreeLocalZonesBanner';
|
|
5
|
+
export { PciTrustedZoneBanner } from './trusted-zone-banner/PciTrustedZoneBanner';
|
|
6
|
+
export { useTrustedZoneBanner } from './trusted-zone-banner/useTrustedZoneBanner.hook';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function PciTrustedZoneBanner(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { useMergedKubeFlavors } from '../../api/hook/useFlavors';
|
|
2
|
+
export type KubeFlavor = ReturnType<typeof useMergedKubeFlavors>['mergedFlavors'][0];
|
|
3
|
+
interface FlavorSelectorProps {
|
|
4
|
+
projectId: string;
|
|
5
|
+
region: string;
|
|
6
|
+
onSelect?: (flavor: KubeFlavor) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function FlavorSelector({ projectId, region, onSelect, }: Readonly<FlavorSelectorProps>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|