@openshift-assisted/ui-lib 2.9.10-cim → 2.9.12-cim
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/build/@types/cim/index.d.ts +1 -0
- package/build/@types/cim/index.d.ts.map +1 -1
- package/build/@types/common/api/utils.d.ts +1 -1
- package/build/@types/common/api/utils.d.ts.map +1 -1
- package/build/@types/common/index.d.ts +1 -0
- package/build/@types/common/index.d.ts.map +1 -1
- package/build/@types/common/types/index.d.ts +0 -8
- package/build/@types/common/types/index.d.ts.map +1 -1
- package/build/@types/common/types/resource-ui-state.d.ts +9 -0
- package/build/@types/common/types/resource-ui-state.d.ts.map +1 -0
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/DeleteHostModal.d.ts.map +1 -1
- package/build/@types/ocm/config/external-features.d.ts +8 -0
- package/build/@types/ocm/config/external-features.d.ts.map +1 -0
- package/build/@types/ocm/config/index.d.ts +1 -1
- package/build/@types/ocm/config/{routeBaseBath.d.ts → routeBasePath.d.ts} +1 -1
- package/build/@types/ocm/config/routeBasePath.d.ts.map +1 -0
- package/build/@types/ocm/hooks/use-feature-detection.d.ts +3 -0
- package/build/@types/ocm/hooks/use-feature-detection.d.ts.map +1 -0
- package/build/@types/ocm/services/ClustersService.d.ts +3 -3
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/InfraEnvIdsCacheService.d.ts +2 -2
- package/build/@types/ocm/services/InfraEnvIdsCacheService.d.ts.map +1 -1
- package/build/@types/ocm/store/hooks.d.ts +17 -5
- package/build/@types/ocm/store/hooks.d.ts.map +1 -1
- package/build/@types/ocm/store/index.d.ts +1 -3
- package/build/@types/ocm/store/index.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts +6 -3
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/clusters/slice.d.ts +2 -2
- package/build/@types/ocm/store/slices/clusters/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +4 -3
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-user/slice.d.ts +46 -0
- package/build/@types/ocm/store/slices/current-user/slice.d.ts.map +1 -0
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +18 -4
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/feature-flags/slice.d.ts +26 -5
- package/build/@types/ocm/store/slices/feature-flags/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts +2 -1
- package/build/@types/ocm/store/slices/infra-envs/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/store-day1.d.ts +4 -2
- package/build/@types/ocm/store/store-day1.d.ts.map +1 -1
- package/build/@types/ocm/store/types/state-slice.d.ts +16 -0
- package/build/@types/ocm/store/types/state-slice.d.ts.map +1 -0
- package/build/cjs/cim/index.js +3 -1
- package/build/cjs/cim/index.js.map +1 -1
- package/build/cjs/common/index.js +3 -0
- package/build/cjs/common/index.js.map +1 -1
- package/build/cjs/common/types/index.js +0 -10
- package/build/cjs/common/types/index.js.map +1 -1
- package/build/cjs/common/types/resource-ui-state.js +13 -0
- package/build/cjs/common/types/resource-ui-state.js.map +1 -0
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js +2 -2
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js.map +1 -1
- package/build/cjs/ocm/components/Routes.js +3 -5
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/hosts/DeleteHostModal.js +8 -7
- package/build/cjs/ocm/components/hosts/DeleteHostModal.js.map +1 -1
- package/build/cjs/ocm/config/external-features.js +10 -0
- package/build/cjs/ocm/config/external-features.js.map +1 -0
- package/build/cjs/ocm/config/index.js +1 -1
- package/build/cjs/ocm/config/{routeBaseBath.js → routeBasePath.js} +1 -1
- package/build/cjs/ocm/config/routeBasePath.js.map +1 -0
- package/build/cjs/ocm/hooks/use-feature-detection.js +14 -0
- package/build/cjs/ocm/hooks/use-feature-detection.js.map +1 -0
- package/build/cjs/ocm/services/ClustersService.js +19 -19
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/InfraEnvIdsCacheService.js +5 -5
- package/build/cjs/ocm/services/InfraEnvIdsCacheService.js.map +1 -1
- package/build/cjs/ocm/store/hooks.js +2 -4
- package/build/cjs/ocm/store/hooks.js.map +1 -1
- package/build/cjs/ocm/store/index.js +1 -5
- package/build/cjs/ocm/store/index.js.map +1 -1
- package/build/cjs/ocm/store/slices/clusters/slice.js +9 -8
- package/build/cjs/ocm/store/slices/clusters/slice.js.map +1 -1
- package/build/cjs/ocm/store/slices/current-cluster/slice.js +14 -13
- package/build/cjs/ocm/store/slices/current-cluster/slice.js.map +1 -1
- package/build/cjs/ocm/store/slices/current-user/slice.js +109 -0
- package/build/cjs/ocm/store/slices/current-user/slice.js.map +1 -0
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js +1 -4
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js.map +1 -1
- package/build/cjs/ocm/store/slices/feature-flags/slice.js +79 -6
- package/build/cjs/ocm/store/slices/feature-flags/slice.js.map +1 -1
- package/build/cjs/ocm/store/slices/infra-envs/thunks.js +1 -1
- package/build/cjs/ocm/store/slices/infra-envs/thunks.js.map +1 -1
- package/build/cjs/ocm/store/store-day1.js +2 -4
- package/build/cjs/ocm/store/store-day1.js.map +1 -1
- package/build/cjs/ocm/store/types/state-slice.js +3 -0
- package/build/cjs/ocm/store/types/state-slice.js.map +1 -0
- package/lib/@types/assets.d.ts +1 -1
- package/lib/@types/global.d.ts +1 -0
- package/lib/_test-helpers/mock-container.ts +42 -0
- package/lib/_test-helpers/mock-server.ts +26 -0
- package/lib/_test-helpers/vitest-setup.ts +17 -0
- package/lib/cim/index.ts +1 -0
- package/lib/common/api/utils.ts +1 -1
- package/lib/common/index.ts +1 -0
- package/lib/common/types/index.ts +0 -9
- package/lib/common/types/resource-ui-state.ts +8 -0
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.tsx +2 -2
- package/lib/ocm/components/Routes.tsx +3 -5
- package/lib/ocm/components/hosts/DeleteHostModal.tsx +28 -23
- package/lib/ocm/config/external-features.ts +12 -0
- package/lib/ocm/config/index.ts +1 -1
- package/lib/ocm/hooks/_use-feature-detection.test.tsx +125 -0
- package/lib/ocm/hooks/use-feature-detection.ts +17 -0
- package/lib/ocm/services/ClustersService.ts +9 -9
- package/lib/ocm/services/InfraEnvIdsCacheService.ts +2 -2
- package/lib/ocm/store/hooks.ts +1 -4
- package/lib/ocm/store/index.ts +1 -3
- package/lib/ocm/store/slices/clusters/slice.ts +5 -4
- package/lib/ocm/store/slices/current-cluster/slice.ts +9 -15
- package/lib/ocm/store/slices/current-user/slice.ts +129 -0
- package/lib/ocm/store/slices/feature-flags/selectors.ts +6 -7
- package/lib/ocm/store/slices/feature-flags/slice.ts +102 -7
- package/lib/ocm/store/slices/infra-envs/thunks.ts +1 -1
- package/lib/ocm/store/store-day1.ts +2 -4
- package/lib/ocm/store/types/state-slice.ts +16 -0
- package/package.json +12 -10
- package/build/@types/ocm/config/routeBaseBath.d.ts.map +0 -1
- package/build/@types/ocm/store/store-day2.d.ts +0 -10
- package/build/@types/ocm/store/store-day2.d.ts.map +0 -1
- package/build/cjs/ocm/config/routeBaseBath.js.map +0 -1
- package/build/cjs/ocm/store/store-day2.js +0 -20
- package/build/cjs/ocm/store/store-day2.js.map +0 -1
- package/lib/ocm/store/store-day2.ts +0 -19
- /package/lib/cim/components/ClusterDeployment/{wizardTransition.test.ts → _wizardTransition.test.ts} +0 -0
- /package/lib/common/components/ui/formik/{validationSchemas.test.ts → _validationSchemas.test.ts} +0 -0
- /package/lib/ocm/components/clusterWizard/{wizardTransition.test.ts → _wizardTransition.test.ts} +0 -0
- /package/lib/ocm/config/{routeBaseBath.ts → routeBasePath.ts} +0 -0
|
@@ -11,4 +11,5 @@ export * from '../common/components/clusterWizard/types';
|
|
|
11
11
|
export * from '../common/components/clusterDetail';
|
|
12
12
|
export * from '../common/components/clusterConfiguration';
|
|
13
13
|
export * from '../common/types/clusters';
|
|
14
|
+
export { ResourceUIState } from '../common';
|
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/cim/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAG7B,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0CAA0C,CAAC;AACzD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/cim/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAG7B,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0CAA0C,CAAC;AACzD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
2
|
import * as Sentry from '@sentry/browser';
|
|
3
|
-
import { Error as APIError, InfraError } from '@openshift-assisted/types/assisted-installer-service';
|
|
3
|
+
import type { Error as APIError, InfraError } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
4
|
export declare const FETCH_ABORTED_ERROR_CODE = "ERR_CANCELED";
|
|
5
5
|
export declare const FETCH_CONNECTIVITY_ERROR_CODE = "CONNECTIVITY_ERROR";
|
|
6
6
|
export declare const SERVER_ERROR_CODE = "SERVER_ERROR";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../lib/common/api/utils.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAE1C,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../lib/common/api/utils.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAE1C,OAAO,KAAK,EACV,KAAK,IAAI,QAAQ,EACjB,UAAU,EACX,MAAM,sDAAsD,CAAC;AAK9D,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;AACvD,eAAO,MAAM,6BAA6B,uBAAuB,CAAC;AAClE,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAChD,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAEhD,KAAK,OAAO,GAAG,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;AAEvC,eAAO,MAAM,cAAc,UAAW,OAAO,YAAY,OAAO,KAAG,IAgClE,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAAW,OAAO,KAAG,MAKnD,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAAW,KAAK,KAAG,OAEnD,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,KAAK,GAAG,UAAU,KAAG,MAAM,GAAG,MAyBpE,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,QAAQ,CAAC;AAClD,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;AAExE,eAAO,MAAM,UAAU,UAAW,OAAO,8BAKxC,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAEpB,GAAG,YACA,MAAM,aACN,OAAO,QAAQ,SAU1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,0BAAsD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,cAAc,CAAC;AACtB,OAAO,SAAS,CAAC;AAEjB,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,cAAc,CAAC;AACtB,OAAO,SAAS,CAAC;AAEjB,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/common/types/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/common/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-ui-state.d.ts","sourceRoot":"","sources":["../../../../lib/common/types/resource-ui-state.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Routes.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/components/Routes.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Routes.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/components/Routes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAMzE,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,kBAAkB,EAAE,eAAe,CAAA;CAAE,CAoBpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteHostModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/hosts/DeleteHostModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeleteHostModal.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/components/hosts/DeleteHostModal.tsx"],"names":[],"mappings":"AAIA,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,eAAe,4CAA6C,oBAAoB,gBA0BrF,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { FeatureListType } from '../../common/features/featureGate';
|
|
2
|
+
type FeatureMapping = {
|
|
3
|
+
featureId: keyof FeatureListType;
|
|
4
|
+
capabilityId: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const externalFeaturesMappings: Array<FeatureMapping>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=external-features.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-features.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/config/external-features.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEzE,KAAK,cAAc,GAAG;IACpB,SAAS,EAAE,MAAM,eAAe,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,cAAc,CAK1D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routeBasePath.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/config/routeBasePath.ts"],"names":[],"mappings":"AAAA,eAAO,IAAI,aAAa,QAAK,CAAC;AAE9B,eAAO,MAAM,gBAAgB,aAAc,MAAM,SAEhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-feature-detection.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/hooks/use-feature-detection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAKzE,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,eAAe,CAAC,EAC9F,SAAS,GAAE,CAAC,GAAG,IAAW,QAU3B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ClusterCreateParamsWithStaticNetworking } from './types';
|
|
2
|
-
import { CustomManifestValues, ListManifestsExtended } from '../components/clusterConfiguration/manifestsConfiguration/data/dataTypes';
|
|
3
|
-
import { Cluster, Host, UpdateManifestParams, V2ClusterUpdateParams } from '@openshift-assisted/types/assisted-installer-service';
|
|
1
|
+
import type { ClusterCreateParamsWithStaticNetworking } from './types';
|
|
2
|
+
import type { CustomManifestValues, ListManifestsExtended } from '../components/clusterConfiguration/manifestsConfiguration/data/dataTypes';
|
|
3
|
+
import type { Cluster, Host, UpdateManifestParams, V2ClusterUpdateParams } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
4
|
declare const ClustersService: {
|
|
5
5
|
findHost(hosts: Cluster['hosts'], hostId: Host['id']): Host | undefined;
|
|
6
6
|
create(params: ClusterCreateParamsWithStaticNetworking): Promise<Cluster>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClustersService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/ClustersService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ClustersService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/ClustersService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,0EAA0E,CAAC;AAClF,OAAO,KAAK,EACV,OAAO,EACP,IAAI,EAEJ,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,sDAAsD,CAAC;AAQ9D,QAAA,MAAM,eAAe;oBACH,OAAO,CAAC,OAAO,CAAC,UAAe,IAAI,CAAC,IAAI,CAAC;mBAIpC,uCAAuC;sBAoBpC,OAAO,CAAC,IAAI,CAAC;4BAWP,OAAO,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC;;;;sBAO9C,OAAO,CAAC,IAAI,CAAC,eAAe,OAAO,CAAC,MAAM,CAAC,UAAU,qBAAqB;uBAQnE,OAAO,CAAC,IAAI,CAAC,eAAe,OAAO,CAAC,MAAM,CAAC;mCAYrD,OAAO,CAAC,MAAM,CAAC,UACpB,qBAAqB,GAC5B,qBAAqB;mBAWH,OAAO,CAAC,IAAI,CAAC;wCAKE,oBAAoB;;;;;8CASpC,oBAAoB,mBACrB,oBAAoB,GACpC,oBAAoB;sCAUW,oBAAoB,EAAE,aAAa,OAAO,CAAC,IAAI,CAAC;8EAOR,OAAO,CAAC,IAAI,CAAC;2CAYnE,oBAAoB,mBACrB,oBAAoB,aAC1B,OAAO,CAAC,IAAI,CAAC;CAO3B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { InfraEnv } from '@openshift-assisted/types/assisted-installer-service';
|
|
2
|
+
import { CpuArchitecture } from '../../common//types/cpuArchitecture';
|
|
3
3
|
type InfraEnvStorage = Omit<Storage, 'getItem' | 'removeItem' | 'setItem'> & {
|
|
4
4
|
getInfraEnvId(clusterId: string, cpuArchitecture: CpuArchitecture): string | Error;
|
|
5
5
|
removeInfraEnvId(clusterId: string, cpuArchitecture: CpuArchitecture): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfraEnvIdsCacheService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/InfraEnvIdsCacheService.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"InfraEnvIdsCacheService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/InfraEnvIdsCacheService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAC9F,OAAO,EAAE,eAAe,EAA0B,MAAM,qCAAqC,CAAC;AAsB9F,KAAK,eAAe,GAAG,IAAI,CAAC,OAAO,EAAE,SAAS,GAAG,YAAY,GAAG,SAAS,CAAC,GAAG;IAC3E,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,GAAG,MAAM,GAAG,KAAK,CAAC;IACnF,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC;IAC5E,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;CACjE,CAAC;AAEF,QAAA,MAAM,uBAAuB,EAAE,eAqF9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import type { TypedUseSelectorHook } from 'react-redux';
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import type { RootStateDay1 } from './store-day1';
|
|
3
|
+
export declare const useDispatchDay1: () => import("redux-thunk").ThunkDispatch<{
|
|
4
|
+
clusters: {
|
|
5
|
+
data: import("@openshift-assisted/types/./assisted-installer-service").Cluster[];
|
|
6
|
+
uiState: import("../../common").ResourceUIState;
|
|
7
|
+
};
|
|
8
|
+
currentCluster: {
|
|
9
|
+
data?: import("@openshift-assisted/types/./assisted-installer-service").Cluster | undefined;
|
|
10
|
+
uiState: import("../../common").ResourceUIState;
|
|
11
|
+
isReloadScheduled: number;
|
|
12
|
+
permissions: import("../../common").AssistedInstallerPermissionTypesListType;
|
|
13
|
+
errorDetail?: import("./slices/current-cluster/slice").FetchErrorType | undefined;
|
|
14
|
+
};
|
|
15
|
+
infraEnvs: import("@openshift-assisted/types/./assisted-installer-service").InfraEnv[];
|
|
16
|
+
featureFlags: import("./slices/feature-flags/slice").FeatureFlagsState;
|
|
17
|
+
currentUser: import("./slices/current-user/slice").CurrentUserState;
|
|
18
|
+
}, undefined, import("redux").AnyAction> & import("redux").Dispatch<import("redux").AnyAction>;
|
|
5
19
|
export declare const useSelectorDay1: TypedUseSelectorHook<RootStateDay1>;
|
|
6
|
-
export declare const useDispatchDay2: () => DispatchDay2;
|
|
7
|
-
export declare const useSelectorDay2: TypedUseSelectorHook<RootStateDay2>;
|
|
8
20
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/store/hooks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/store/hooks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAgB,aAAa,EAAE,MAAM,cAAc,CAAC;AAEhE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;8FAA4B,CAAC;AACzD,eAAO,MAAM,eAAe,EAAE,oBAAoB,CAAC,aAAa,CAAe,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export { storeDay1 } from './store-day1';
|
|
2
|
-
export { storeDay2 } from './store-day2';
|
|
3
2
|
export type { RootStateDay1, DispatchDay1 } from './store-day1';
|
|
4
|
-
export
|
|
5
|
-
export { useSelectorDay1, useSelectorDay2, useDispatchDay1, useDispatchDay2 } from './hooks';
|
|
3
|
+
export { useSelectorDay1, useDispatchDay1 } from './hooks';
|
|
6
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/store/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/store/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -16,7 +16,8 @@ export declare const selectClustersUIState: ((state: {
|
|
|
16
16
|
errorDetail?: import("../current-cluster/slice").FetchErrorType | undefined;
|
|
17
17
|
};
|
|
18
18
|
infraEnvs: import("@openshift-assisted/types/assisted-installer-service").InfraEnv[];
|
|
19
|
-
featureFlags: import("
|
|
19
|
+
featureFlags: import("../feature-flags/slice").FeatureFlagsState;
|
|
20
|
+
currentUser: import("../current-user/slice").CurrentUserState;
|
|
20
21
|
}) => ResourceUIState) & import("reselect").OutputSelectorFields<(args_0: Cluster[], args_1: ResourceUIState) => ResourceUIState, {
|
|
21
22
|
clearCache: () => void;
|
|
22
23
|
}> & {
|
|
@@ -41,7 +42,8 @@ export declare const selectClusterTableRows: (t: TFunction) => ((state: {
|
|
|
41
42
|
errorDetail?: import("../current-cluster/slice").FetchErrorType | undefined;
|
|
42
43
|
};
|
|
43
44
|
infraEnvs: import("@openshift-assisted/types/assisted-installer-service").InfraEnv[];
|
|
44
|
-
featureFlags: import("
|
|
45
|
+
featureFlags: import("../feature-flags/slice").FeatureFlagsState;
|
|
46
|
+
currentUser: import("../current-user/slice").CurrentUserState;
|
|
45
47
|
}) => ClusterTableRows) & import("reselect").OutputSelectorFields<(args_0: Cluster[]) => ClusterTableRows, {
|
|
46
48
|
clearCache: () => void;
|
|
47
49
|
}> & {
|
|
@@ -60,7 +62,8 @@ export declare const selectClusterNames: ((state: {
|
|
|
60
62
|
errorDetail?: import("../current-cluster/slice").FetchErrorType | undefined;
|
|
61
63
|
};
|
|
62
64
|
infraEnvs: import("@openshift-assisted/types/assisted-installer-service").InfraEnv[];
|
|
63
|
-
featureFlags: import("
|
|
65
|
+
featureFlags: import("../feature-flags/slice").FeatureFlagsState;
|
|
66
|
+
currentUser: import("../current-user/slice").CurrentUserState;
|
|
64
67
|
}) => (string | undefined)[]) & import("reselect").OutputSelectorFields<(args_0: Cluster[]) => (string | undefined)[], {
|
|
65
68
|
clearCache: () => void;
|
|
66
69
|
}> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/clusters/selectors.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAOL,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAI9E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAKpF,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/clusters/selectors.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAOL,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAI9E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAKpF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;CAMjC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AA0DF,eAAO,MAAM,yBAAyB,YAAa,QAAQ,sBACjB,CAAC;AAE3C,eAAO,MAAM,sBAAsB,MAAO,SAAS;;;;;;;;;;;;;;;;;;;CAKlD,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;CAE9B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PayloadAction, ThunkDispatch, AnyAction, Dispatch } from '@reduxjs/toolkit';
|
|
2
|
-
import { ResourceUIState } from '../../../../common';
|
|
3
|
-
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
2
|
+
import { ResourceUIState } from '../../../../common/types/resource-ui-state';
|
|
3
|
+
import type { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
4
|
export declare const fetchClustersAsync: import("@reduxjs/toolkit").AsyncThunk<void | Cluster[], void, {
|
|
5
5
|
state?: unknown;
|
|
6
6
|
dispatch?: Dispatch<AnyAction> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/clusters/slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,aAAa,EACb,aAAa,EACb,SAAS,EACT,QAAQ,EACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/clusters/slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,aAAa,EACb,aAAa,EACb,SAAS,EACT,QAAQ,EACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAG7E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAGpF,eAAO,MAAM,kBAAkB;;;;;;;;;EAU9B,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,kBAAkB,EAAE,SAAS,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC;AAIlG,eAAO,MAAM,aAAa;oGAIS,cAAc,OAAO,CAAC,IAAI,CAAC,CAAC;;iBAXpD,eAAe;;cAiCxB,CAAC;AAGH,eAAO,MAAQ,aAAa,uFAAY,CAAC;AACzC,eAAO,MAAM,eAAe,wDAAU,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { AnyAction, Dispatch, PayloadAction, ThunkDispatch } from '@reduxjs/toolkit';
|
|
2
|
-
import { Cluster, Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
3
|
-
import { AssistedInstallerPermissionTypesListType
|
|
1
|
+
import type { AnyAction, Dispatch, PayloadAction, ThunkDispatch } from '@reduxjs/toolkit';
|
|
2
|
+
import type { Cluster, Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
3
|
+
import type { AssistedInstallerPermissionTypesListType } from '../../../../common/features/featureGate';
|
|
4
|
+
import { ResourceUIState } from '../../../../common/types/resource-ui-state';
|
|
4
5
|
export type FetchErrorType = {
|
|
5
6
|
code: string | number;
|
|
6
7
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/current-cluster/slice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/current-cluster/slice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC1F,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,yCAAyC,CAAC;AAOxG,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAG7E,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,eAAe,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,wCAAwC,CAAC;IACtD,WAAW,CAAC,EAAE,cAAc,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,wBAAwB,EAAE,SAAS,EAAE,SAAS,CAAC,GACzF,QAAQ,CAAC;AAEX,eAAO,MAAM,iBAAiB;iBAIb,cAAc;;;;;;;;EAc7B,CAAC;AAUH,eAAO,MAAM,mBAAmB;8GAIO,cAAc,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAzClD,eAAe;2BACL,MAAM;;;;0GA6CQ,cAAc,OAAO,CAAC;;iBA9C9C,eAAe;2BACL,MAAM;;;;uGAgDK,cAAc,IAAI,CAAC;;;;2BAhD9B,MAAM;;;;;;;;iBADhB,eAAe;;;;;;;iBAAf,eAAe;;;;qHAuEZ,cAAc,wCAAwC,CAAC;;;iBAvE1D,eAAe;2BACL,MAAM;;;oBA+GzB,CAAC;AAGH,eAAO,MACL,aAAa,gGACb,iBAAiB,oGACjB,UAAU,0FACV,oBAAoB,iGACpB,YAAY,yFACZ,WAAW,wFACX,iBAAiB,8FACjB,wBAAwB,0IACf,CAAC;AACZ,eAAO,MAAM,qBAAqB,8DAAU,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { PayloadAction, SerializedError } from '@reduxjs/toolkit';
|
|
2
|
+
import type { Account, Capability } from '@openshift-assisted/types/accounts-management-service';
|
|
3
|
+
import type { StateSliceWithMeta } from '../../types/state-slice';
|
|
4
|
+
declare const currentUserAsyncActions: {
|
|
5
|
+
getAccountAsync: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
getUserOrganizationWithCapabilitiesAsync: import("@reduxjs/toolkit").AsyncThunk<void, string, {
|
|
16
|
+
state?: unknown;
|
|
17
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
18
|
+
extra?: unknown;
|
|
19
|
+
rejectValue?: unknown;
|
|
20
|
+
serializedErrorType?: unknown;
|
|
21
|
+
pendingMeta?: unknown;
|
|
22
|
+
fulfilledMeta?: unknown;
|
|
23
|
+
rejectedMeta?: unknown;
|
|
24
|
+
}>;
|
|
25
|
+
getCapabilitiesAsync: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
26
|
+
state?: unknown;
|
|
27
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
28
|
+
extra?: unknown;
|
|
29
|
+
rejectValue?: unknown;
|
|
30
|
+
serializedErrorType?: unknown;
|
|
31
|
+
pendingMeta?: unknown;
|
|
32
|
+
fulfilledMeta?: unknown;
|
|
33
|
+
rejectedMeta?: unknown;
|
|
34
|
+
}>;
|
|
35
|
+
};
|
|
36
|
+
type AsyncThunkActions = (typeof currentUserAsyncActions)[keyof typeof currentUserAsyncActions];
|
|
37
|
+
type CurrentUserAsyncThunkActionCreators = ReturnType<AsyncThunkActions['pending']> | ReturnType<AsyncThunkActions['fulfilled']> | ReturnType<AsyncThunkActions['rejected']>;
|
|
38
|
+
export type CurrentUserState = StateSliceWithMeta<Omit<Account, 'capabilities'> | null, SerializedError | null>;
|
|
39
|
+
declare const currentUserActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
40
|
+
setMeta: (state: import("immer/dist/internal").WritableDraft<CurrentUserState>, action: PayloadAction<CurrentUserAsyncThunkActionCreators>) => import("immer/dist/internal").WritableDraft<CurrentUserState>;
|
|
41
|
+
setAccount: (state: import("immer/dist/internal").WritableDraft<CurrentUserState>, action: PayloadAction<Account>) => import("immer/dist/internal").WritableDraft<CurrentUserState>;
|
|
42
|
+
setOrganizationCapabilities: (state: import("immer/dist/internal").WritableDraft<CurrentUserState>, action: PayloadAction<Capability[]>) => import("immer/dist/internal").WritableDraft<CurrentUserState>;
|
|
43
|
+
}, "currentUser">;
|
|
44
|
+
declare const currentUserReducer: import("redux").Reducer<CurrentUserState, import("redux").AnyAction>;
|
|
45
|
+
export { currentUserAsyncActions, currentUserActions, currentUserReducer };
|
|
46
|
+
//# sourceMappingURL=slice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/current-user/slice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAMlE,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6C5B,CAAC;AAEF,KAAK,iBAAiB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAChG,KAAK,mCAAmC,GACpC,UAAU,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,GACxC,UAAU,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,GAC1C,UAAU,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,CAC/C,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,IAAI,EACpC,eAAe,GAAG,IAAI,CACvB,CAAC;AA6DF,QAAA,MAAM,kBAAkB;4FA/CK,cAAc,mCAAmC,CAAC;+FAM/C,cAAc,OAAO,CAAC;gHAML,cAAc,UAAU,EAAE,CAAC;iBAmCzB,CAAC;AACpD,QAAA,MAAM,kBAAkB,sEAA2B,CAAC;AAEpD,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
|
|
1
|
+
import type { RootStateDay1 } from '../../store-day1';
|
|
2
|
+
export declare const selectFeatureFlagsSlice: (state: RootStateDay1) => import("./slice").FeatureFlagsState;
|
|
3
|
+
export declare const isFeatureEnabled: ((state: {
|
|
4
|
+
clusters: {
|
|
5
|
+
data: import("@openshift-assisted/types/./assisted-installer-service").Cluster[];
|
|
6
|
+
uiState: import("../../../../common").ResourceUIState;
|
|
7
|
+
};
|
|
8
|
+
currentCluster: {
|
|
9
|
+
data?: import("@openshift-assisted/types/./assisted-installer-service").Cluster | undefined;
|
|
10
|
+
uiState: import("../../../../common").ResourceUIState;
|
|
11
|
+
isReloadScheduled: number;
|
|
12
|
+
permissions: import("../../../../common/features/featureGate").AssistedInstallerPermissionTypesListType;
|
|
13
|
+
errorDetail?: import("../current-cluster/slice").FetchErrorType | undefined;
|
|
14
|
+
};
|
|
15
|
+
infraEnvs: import("@openshift-assisted/types/./assisted-installer-service").InfraEnv[];
|
|
16
|
+
featureFlags: import("./slice").FeatureFlagsState;
|
|
17
|
+
currentUser: import("../current-user/slice").CurrentUserState;
|
|
18
|
+
} & import("./slice").FeatureFlagsState, featureId: import("../../../../common/features/featureGate").AssistedInstallerFeatureType) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: import("./slice").FeatureFlagsState, args_1: import("../../../../common/features/featureGate").AssistedInstallerFeatureType) => boolean | undefined, {
|
|
5
19
|
clearCache: () => void;
|
|
6
20
|
}> & {
|
|
7
21
|
clearCache: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/feature-flags/selectors.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/feature-flags/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,eAAO,MAAM,uBAAuB,UAAW,aAAa,wCAAuB,CAAC;AAEpF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;CAK5B,CAAC"}
|
|
@@ -1,7 +1,28 @@
|
|
|
1
|
-
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import type { PayloadAction, SerializedError } from '@reduxjs/toolkit';
|
|
2
|
+
import type { StateSliceWithMeta } from '../../types/state-slice';
|
|
3
|
+
import type { FeatureListType } from '../../../../common/features/featureGate';
|
|
4
|
+
declare const featureFlagsAsyncActions: {
|
|
5
|
+
detectFeaturesAsync: import("@reduxjs/toolkit").AsyncThunk<void, FeatureListType | null, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
type AsyncThunkActions = (typeof featureFlagsAsyncActions)[keyof typeof featureFlagsAsyncActions];
|
|
17
|
+
type FeatureFlagsAsyncThunkActionCreators = ReturnType<AsyncThunkActions['pending']> | ReturnType<AsyncThunkActions['fulfilled']> | ReturnType<AsyncThunkActions['rejected']>;
|
|
18
|
+
export type FeatureFlagsState = StateSliceWithMeta<FeatureListType, SerializedError | null>;
|
|
19
|
+
declare const featureFlagsActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
20
|
+
setMeta: (state: import("immer/dist/internal").WritableDraft<FeatureFlagsState>, action: PayloadAction<FeatureFlagsAsyncThunkActionCreators>) => import("immer/dist/internal").WritableDraft<FeatureFlagsState>;
|
|
21
|
+
setFeatureFlag: (state: import("immer/dist/internal").WritableDraft<FeatureFlagsState>, action: PayloadAction<{
|
|
22
|
+
featureId: keyof FeatureListType;
|
|
23
|
+
isEnabled: boolean;
|
|
24
|
+
}>) => import("immer/dist/internal").WritableDraft<FeatureFlagsState>;
|
|
5
25
|
}, "featureFlags">;
|
|
6
|
-
|
|
26
|
+
declare const featureFlagsReducer: import("redux").Reducer<FeatureFlagsState, import("redux").AnyAction>;
|
|
27
|
+
export { featureFlagsAsyncActions, featureFlagsActions, featureFlagsReducer };
|
|
7
28
|
//# sourceMappingURL=slice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/feature-flags/slice.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/feature-flags/slice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAO/E,QAAA,MAAM,wBAAwB;;;;;;;;;;;CA+B7B,CAAC;AAEF,KAAK,iBAAiB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAClG,KAAK,oCAAoC,GACrC,UAAU,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,GACxC,UAAU,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,GAC1C,UAAU,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,CAAC;AAE9C,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC,CAAC;AA0D5F,QAAA,MAAM,mBAAmB;6FA1CI,cAAc,oCAAoC,CAAC;oGAQlE,cAAc;QAAE,SAAS,EAAE,MAAM,eAAe,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC;kBAkChC,CAAC;AACtD,QAAA,MAAM,mBAAmB,uEAA4B,CAAC;AAEtD,OAAO,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -14,7 +14,8 @@ export declare const selectInfraEnvByCpuArchitecture: ((state: {
|
|
|
14
14
|
errorDetail?: import("../current-cluster/slice").FetchErrorType | undefined;
|
|
15
15
|
};
|
|
16
16
|
infraEnvs: import("@openshift-assisted/types/./assisted-installer-service").InfraEnv[];
|
|
17
|
-
featureFlags: import("
|
|
17
|
+
featureFlags: import("../feature-flags/slice").FeatureFlagsState;
|
|
18
|
+
currentUser: import("../current-user/slice").CurrentUserState;
|
|
18
19
|
}, cpuArchitecture: CpuArchitecture) => import("@openshift-assisted/types/./assisted-installer-service").InfraEnv | undefined) & import("reselect").OutputSelectorFields<(args_0: import("@openshift-assisted/types/./assisted-installer-service").InfraEnv[], args_1: CpuArchitecture) => import("@openshift-assisted/types/./assisted-installer-service").InfraEnv | undefined, {
|
|
19
20
|
clearCache: () => void;
|
|
20
21
|
}> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infra-envs/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,oBAAoB,UAAW,aAAa,gFAAoB,CAAC;AAC9E,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/store/slices/infra-envs/selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,oBAAoB,UAAW,aAAa,gFAAoB,CAAC;AAC9E,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;CAI3C,CAAC"}
|
|
@@ -11,7 +11,8 @@ export declare const storeDay1: import("@reduxjs/toolkit/dist/configureStore").T
|
|
|
11
11
|
errorDetail?: import("./slices/current-cluster/slice").FetchErrorType | undefined;
|
|
12
12
|
};
|
|
13
13
|
infraEnvs: import("@openshift-assisted/types/./assisted-installer-service").InfraEnv[];
|
|
14
|
-
featureFlags: import("
|
|
14
|
+
featureFlags: import("./slices/feature-flags/slice").FeatureFlagsState;
|
|
15
|
+
currentUser: import("./slices/current-user/slice").CurrentUserState;
|
|
15
16
|
}, import("redux").AnyAction, [import("@reduxjs/toolkit").ThunkMiddleware<{
|
|
16
17
|
clusters: {
|
|
17
18
|
data: import("@openshift-assisted/types/./assisted-installer-service").Cluster[];
|
|
@@ -25,7 +26,8 @@ export declare const storeDay1: import("@reduxjs/toolkit/dist/configureStore").T
|
|
|
25
26
|
errorDetail?: import("./slices/current-cluster/slice").FetchErrorType | undefined;
|
|
26
27
|
};
|
|
27
28
|
infraEnvs: import("@openshift-assisted/types/./assisted-installer-service").InfraEnv[];
|
|
28
|
-
featureFlags: import("
|
|
29
|
+
featureFlags: import("./slices/feature-flags/slice").FeatureFlagsState;
|
|
30
|
+
currentUser: import("./slices/current-user/slice").CurrentUserState;
|
|
29
31
|
}, import("redux").AnyAction, undefined>]>;
|
|
30
32
|
export type RootStateDay1 = ReturnType<typeof storeDay1.getState>;
|
|
31
33
|
export type DispatchDay1 = typeof storeDay1.dispatch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-day1.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/store/store-day1.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"store-day1.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/store/store-day1.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAWpB,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,QAAQ,CAAC,CAAC;AAClE,MAAM,MAAM,YAAY,GAAG,OAAO,SAAS,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface StateSliceMeta {
|
|
2
|
+
/** @default idle */
|
|
3
|
+
status: 'idle' | 'pending' | 'fulfilled' | 'rejected';
|
|
4
|
+
/** @default null */
|
|
5
|
+
updatedAt?: string | null;
|
|
6
|
+
/** @default null */
|
|
7
|
+
currentRequestId?: string | null;
|
|
8
|
+
}
|
|
9
|
+
export interface StateSlice<D = unknown, E = unknown> {
|
|
10
|
+
data: D;
|
|
11
|
+
error: E;
|
|
12
|
+
}
|
|
13
|
+
export interface StateSliceWithMeta<D = unknown, E = unknown> extends StateSlice<D, E> {
|
|
14
|
+
meta: StateSliceMeta;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=state-slice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state-slice.d.ts","sourceRoot":"","sources":["../../../../../lib/ocm/store/types/state-slice.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,oBAAoB;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IACtD,oBAAoB;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,oBAAoB;IACpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO;IAClD,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,CAAC,CAAC;CACV;AACD,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,CAAE,SAAQ,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC;IACpF,IAAI,EAAE,cAAc,CAAC;CACtB"}
|
package/build/cjs/cim/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Reducers = void 0;
|
|
3
|
+
exports.ResourceUIState = exports.Reducers = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
// without namespace
|
|
6
6
|
tslib_1.__exportStar(require("./types"), exports);
|
|
@@ -17,4 +17,6 @@ tslib_1.__exportStar(require("../common/components/clusterWizard/types"), export
|
|
|
17
17
|
tslib_1.__exportStar(require("../common/components/clusterDetail"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("../common/components/clusterConfiguration"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("../common/types/clusters"), exports);
|
|
20
|
+
var common_1 = require("../common");
|
|
21
|
+
Object.defineProperty(exports, "ResourceUIState", { enumerable: true, get: function () { return common_1.ResourceUIState; } });
|
|
20
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/cim/index.ts"],"names":[],"mappings":";;;;AAAA,oBAAoB;AACpB,kDAAwB;AACxB,uDAA6B;AAE7B,iCAAiC;AACjC,uEAA+C;AAC/C,wDAA8B;AAC9B,0DAAgC;AAChC,6DAAmC;AAEnC,kEAAwC;AACxC,qFAA2D;AAC3D,qEAA2C;AAC3C,mFAAyD;AACzD,6EAAmD;AACnD,oFAA0D;AAC1D,mEAAyC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/cim/index.ts"],"names":[],"mappings":";;;;AAAA,oBAAoB;AACpB,kDAAwB;AACxB,uDAA6B;AAE7B,iCAAiC;AACjC,uEAA+C;AAC/C,wDAA8B;AAC9B,0DAAgC;AAChC,6DAAmC;AAEnC,kEAAwC;AACxC,qFAA2D;AAC3D,qEAA2C;AAC3C,mFAAyD;AACzD,6EAAmD;AACnD,oFAA0D;AAC1D,mEAAyC;AACzC,oCAA4C;AAAnC,yGAAA,eAAe,OAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceUIState = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
require("./configurations");
|
|
5
6
|
require("./styles.css");
|
|
@@ -11,4 +12,6 @@ tslib_1.__exportStar(require("./config"), exports);
|
|
|
11
12
|
tslib_1.__exportStar(require("./features"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./reducers"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./selectors"), exports);
|
|
15
|
+
var resource_ui_state_1 = require("./types/resource-ui-state");
|
|
16
|
+
Object.defineProperty(exports, "ResourceUIState", { enumerable: true, get: function () { return resource_ui_state_1.ResourceUIState; } });
|
|
14
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/common/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/common/index.ts"],"names":[],"mappings":";;;;AAAA,4BAA0B;AAC1B,wBAAsB;AACtB,mBAAiB;AAEjB,uDAA6B;AAC7B,gDAAsB;AACtB,kDAAwB;AACxB,mDAAyB;AACzB,qDAA2B;AAC3B,qDAA2B;AAC3B,sDAA4B;AAC5B,+DAA4D;AAAnD,oHAAA,eAAe,OAAA"}
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceUIState = void 0;
|
|
4
3
|
const tslib_1 = require("tslib");
|
|
5
|
-
var ResourceUIState;
|
|
6
|
-
(function (ResourceUIState) {
|
|
7
|
-
ResourceUIState["LOADING"] = "LOADING";
|
|
8
|
-
ResourceUIState["RELOADING"] = "RELOADING";
|
|
9
|
-
ResourceUIState["EMPTY"] = "EMPTY";
|
|
10
|
-
ResourceUIState["LOADED"] = "LOADED";
|
|
11
|
-
ResourceUIState["POLLING_ERROR"] = "POLLING_ERROR";
|
|
12
|
-
ResourceUIState["UPDATE_ERROR"] = "UPDATE_ERROR";
|
|
13
|
-
})(ResourceUIState = exports.ResourceUIState || (exports.ResourceUIState = {}));
|
|
14
4
|
tslib_1.__exportStar(require("./versions"), exports);
|
|
15
5
|
tslib_1.__exportStar(require("./events"), exports);
|
|
16
6
|
tslib_1.__exportStar(require("./clusters"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/common/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/common/types/index.ts"],"names":[],"mappings":";;;AAIA,qDAA2B;AAC3B,mDAAyB;AACzB,qDAA2B;AAC3B,4DAAkC;AAClC,gEAAsC;AACtC,iEAAuC;AACvC,8DAAoC;AACpC,sDAA4B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceUIState = void 0;
|
|
4
|
+
var ResourceUIState;
|
|
5
|
+
(function (ResourceUIState) {
|
|
6
|
+
ResourceUIState["LOADING"] = "LOADING";
|
|
7
|
+
ResourceUIState["RELOADING"] = "RELOADING";
|
|
8
|
+
ResourceUIState["EMPTY"] = "EMPTY";
|
|
9
|
+
ResourceUIState["LOADED"] = "LOADED";
|
|
10
|
+
ResourceUIState["POLLING_ERROR"] = "POLLING_ERROR";
|
|
11
|
+
ResourceUIState["UPDATE_ERROR"] = "UPDATE_ERROR";
|
|
12
|
+
})(ResourceUIState = exports.ResourceUIState || (exports.ResourceUIState = {}));
|
|
13
|
+
//# sourceMappingURL=resource-ui-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-ui-state.js","sourceRoot":"","sources":["../../../../lib/common/types/resource-ui-state.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,kCAAe,CAAA;IACf,oCAAiB,CAAA;IACjB,kDAA+B,CAAA;IAC/B,gDAA6B,CAAA;AAC/B,CAAC,EAPW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO1B"}
|
|
@@ -7,9 +7,9 @@ const ui_1 = require("../ui");
|
|
|
7
7
|
const common_1 = require("../../../common");
|
|
8
8
|
const HostsClusterDetailTabContent_1 = require("./HostsClusterDetailTabContent");
|
|
9
9
|
const store_1 = require("../../store");
|
|
10
|
-
const
|
|
10
|
+
const use_feature_detection_1 = require("../../hooks/use-feature-detection");
|
|
11
11
|
const HostsClusterDetailTab = (props) => {
|
|
12
|
-
|
|
12
|
+
(0, use_feature_detection_1.useFeatureDetection)();
|
|
13
13
|
return (react_1.default.createElement(react_redux_1.Provider, { store: store_1.storeDay1 },
|
|
14
14
|
react_1.default.createElement(ui_1.AssistedUILibVersion, null),
|
|
15
15
|
react_1.default.createElement(common_1.FeatureGateContextProvider, { features: props.allEnabledFeatures },
|