@openshift-assisted/ui-lib 2.9.9-cim → 2.9.11-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/components/ClusterDeployment/ScaleUpForm.d.ts +1 -0
- package/build/@types/cim/components/ClusterDeployment/ScaleUpForm.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/utils.d.ts.map +1 -1
- package/build/@types/cim/components/modals/ScaleUpModal.d.ts +1 -0
- package/build/@types/cim/components/modals/ScaleUpModal.d.ts.map +1 -1
- package/build/@types/cim/index.d.ts +1 -0
- package/build/@types/cim/index.d.ts.map +1 -1
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +1 -1
- package/build/@types/cim/types/k8s/agent-cluster-install.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/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.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/ClusterDetailsService.d.ts.map +1 -1
- 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/components/ClusterDeployment/ScaleUpForm.js +7 -4
- package/build/cjs/cim/components/ClusterDeployment/ScaleUpForm.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/utils.js +6 -6
- package/build/cjs/cim/components/InfraEnv/utils.js.map +1 -1
- package/build/cjs/cim/components/modals/ScaleUpModal.js +2 -2
- package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
- 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/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +4 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +5 -2
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.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/ClusterDetailsService.js +0 -3
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- 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/components/ClusterDeployment/ScaleUpForm.tsx +11 -5
- package/lib/cim/components/InfraEnv/utils.ts +7 -6
- package/lib/cim/components/modals/ScaleUpModal.tsx +3 -0
- package/lib/cim/index.ts +1 -0
- package/lib/cim/types/k8s/agent-cluster-install.ts +4 -7
- 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/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +7 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +6 -1
- 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/ClusterDetailsService.ts +0 -4
- 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 +17 -5
- 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
|
@@ -5,6 +5,7 @@ type ScaleUpFormProps = {
|
|
|
5
5
|
agents: AgentK8sResource[];
|
|
6
6
|
onEditHost: AgentTableActions['onEditHost'];
|
|
7
7
|
onSetInstallationDiskId: AgentTableActions['onSetInstallationDiskId'];
|
|
8
|
+
isNutanix: boolean;
|
|
8
9
|
};
|
|
9
10
|
declare const ScaleUpForm: React.FC<ScaleUpFormProps>;
|
|
10
11
|
export default ScaleUpForm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScaleUpForm.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ScaleUpForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAKzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D,KAAK,gBAAgB,GAAG;IACtB,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,UAAU,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;IAC5C,uBAAuB,EAAE,iBAAiB,CAAC,yBAAyB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ScaleUpForm.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/ClusterDeployment/ScaleUpForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAKzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/D,KAAK,gBAAgB,GAAG;IACtB,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,UAAU,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;IAC5C,uBAAuB,EAAE,iBAAiB,CAAC,yBAAyB,CAAC,CAAC;IACtE,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsD3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/InfraEnv/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,4BAA4B,EAC5B,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAI/D,eAAO,MAAM,SAAS,WAAY,yBAAyB,2BAKzB,CAAC;AAGnC,eAAO,MAAM,+BAA+B,mBAC1B,MAAM,aACX,MAAM,UACT,yBAAyB,KAChC,4BAOC,CAAC;AAEL,KAAK,2BAA2B,GAAG;IACjC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,yBAAyB,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,kDAIhC,2BAA2B,KAAG,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/InfraEnv/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,4BAA4B,EAC5B,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAI/D,eAAO,MAAM,SAAS,WAAY,yBAAyB,2BAKzB,CAAC;AAGnC,eAAO,MAAM,+BAA+B,mBAC1B,MAAM,aACX,MAAM,UACT,yBAAyB,KAChC,4BAOC,CAAC;AAEL,KAAK,2BAA2B,GAAG;IACjC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,yBAAyB,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,kDAIhC,2BAA2B,KAAG,8BA0ChC,CAAC;AAEF,eAAO,MAAM,SAAS,cACT,MAAM,UACT,yBAAyB,KAChC,iBAWD,CAAC;AAEH,eAAO,MAAM,WAAW,cACX,MAAM,UACT,yBAAyB,KAChC,mBA0CF,CAAC"}
|
|
@@ -10,6 +10,7 @@ type ScaleUpModalProps = {
|
|
|
10
10
|
agents: AgentK8sResource[];
|
|
11
11
|
onChangeHostname: (agent: AgentK8sResource, hostname: string) => Promise<AgentK8sResource>;
|
|
12
12
|
onSetInstallationDiskId: AgentTableActions['onSetInstallationDiskId'];
|
|
13
|
+
isNutanix: boolean;
|
|
13
14
|
};
|
|
14
15
|
declare const ScaleUpModal: React.FC<ScaleUpModalProps>;
|
|
15
16
|
export default ScaleUpModal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScaleUpModal.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/modals/ScaleUpModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAMlF,OAAO,EAAE,iBAAiB,EAAqB,MAAM,4BAA4B,CAAC;AA8BlF,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,YAAY,CAAC;IACtB,iBAAiB,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE,iBAAiB,EAAE,4BAA4B,CAAC;IAChD,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,gBAAgB,EAAE,CAAC,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC3F,uBAAuB,EAAE,iBAAiB,CAAC,yBAAyB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ScaleUpModal.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/components/modals/ScaleUpModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAMlF,OAAO,EAAE,iBAAiB,EAAqB,MAAM,4BAA4B,CAAC;AA8BlF,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,YAAY,CAAC;IACtB,iBAAiB,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE,iBAAiB,EAAE,4BAA4B,CAAC;IAChD,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,gBAAgB,EAAE,CAAC,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC3F,uBAAuB,EAAE,iBAAiB,CAAC,yBAAyB,CAAC,CAAC;IACtE,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA2H7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-cluster-install.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/types/k8s/agent-cluster-install.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,sCAAsC,GAC9C,YAAY,GACZ,WAAW,GACX,iBAAiB,GACjB,WAAW,GACX,QAAQ,GACR,SAAS,CAAC;AAEd,MAAM,MAAM,kCAAkC,GAC5C,eAAe,CAAC,sCAAsC,CAAC,CAAC;AAE1D,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,GAAG;IAC/D,IAAI,CAAC,EAAE;QACL,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"agent-cluster-install.d.ts","sourceRoot":"","sources":["../../../../../lib/cim/types/k8s/agent-cluster-install.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,sCAAsC,GAC9C,YAAY,GACZ,WAAW,GACX,iBAAiB,GACjB,WAAW,GACX,QAAQ,GACR,SAAS,CAAC;AAEd,MAAM,MAAM,kCAAkC,GAC5C,eAAe,CAAC,sCAAsC,CAAC,CAAC;AAE1D,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,GAAG;IAC/D,IAAI,CAAC,EAAE;QACL,oBAAoB,CAAC,EAAE;YACrB,IAAI,EAAE,MAAM,CAAC;YACb,SAAS,EAAE,MAAM,CAAC;SACnB,CAAC;QACF,eAAe,CAAC,EAAE;YAChB,wBAAwB,CAAC,EAAE;gBACzB,IAAI,EAAE,MAAM,CAAC;aACd,CAAC;YACF,sBAAsB,CAAC,EAAE;gBACvB,IAAI,EAAE,MAAM,CAAC;aACd,CAAC;YACF,SAAS,CAAC,EAAE,MAAM,CAAC;SACpB,CAAC;QACF,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE;YACZ,IAAI,CAAC,EAAE,MAAM,CAAC;SACf,CAAC;QACF,KAAK,CAAC,EAAE;YACN,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,OAAO,CAAC,EAAE,MAAM,CAAC;SAClB,CAAC;QACF,qBAAqB,EAAE;YACrB,kBAAkB,EAAE,MAAM,CAAC;YAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;SACvB,CAAC;QACF,UAAU,EAAE;YACV,cAAc,CAAC,EAAE;gBACf,IAAI,EAAE,MAAM,CAAC;gBACb,UAAU,EAAE,MAAM,CAAC;aACpB,EAAE,CAAC;YACJ,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;YAC1B,cAAc,CAAC,EAAE;gBACf,IAAI,EAAE,MAAM,CAAC;aACd,EAAE,CAAC;YACJ,qBAAqB,CAAC,EAAE,OAAO,CAAC;YAChC,WAAW,CAAC,EAAE,cAAc,GAAG,eAAe,CAAC;SAChD,CAAC;QACF,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,MAAM,CAAC,EAAE;QACP,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,0BAA0B,CAAC,EAAE,MAAM,CAAC;QACpC,UAAU,CAAC,EAAE,kCAAkC,EAAE,CAAC;QAClD,QAAQ,CAAC,EAAE;YACT,eAAe,EAAE,MAAM,CAAC;SACzB,CAAC;QACF,SAAS,CAAC,EAAE;YACV,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,KAAK,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;YAC1B,SAAS,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;SACnC,CAAC;QACF,eAAe,CAAC,EAAE,eAAe,CAAC;QAClC,cAAc,CAAC,EAAE;YACf,IAAI,EAAE,MAAM,CAAC;SACd,EAAE,CAAC;KACL,CAAC;CACH,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":"NetworkConfigurationForm.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx"],"names":[],"mappings":"AA0CA,OAAO,EACL,OAAO,EAIR,MAAM,sDAAsD,CAAC;
|
|
1
|
+
{"version":3,"file":"NetworkConfigurationForm.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx"],"names":[],"mappings":"AA0CA,OAAO,EACL,OAAO,EAIR,MAAM,sDAAsD,CAAC;AAwF9D,QAAA,MAAM,wBAAwB;aAA4B,OAAO;iBAsIhE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Yup from 'yup';
|
|
2
2
|
import { HostSubnets, NetworkConfigurationValues } from '../../../../common';
|
|
3
3
|
import { Cluster, ClusterDefaultConfig } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
|
-
export declare const getNetworkInitialValues: (cluster: Cluster, defaultNetworkValues: Pick<ClusterDefaultConfig, 'clusterNetworksIpv4' | 'clusterNetworksDualstack' | 'serviceNetworksIpv4' | 'serviceNetworksDualstack'
|
|
4
|
+
export declare const getNetworkInitialValues: (cluster: Cluster, defaultNetworkValues: Pick<ClusterDefaultConfig, 'clusterNetworksIpv4' | 'clusterNetworksDualstack' | 'serviceNetworksIpv4' | 'serviceNetworksDualstack'>, isClusterManagedNetworkingUnsupported: boolean) => NetworkConfigurationValues;
|
|
5
5
|
export declare const getNetworkConfigurationValidationSchema: (initialValues: NetworkConfigurationValues, hostSubnets: HostSubnets) => Yup.Lazy;
|
|
6
6
|
//# sourceMappingURL=networkConfigurationValidation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkConfigurationValidation.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAIL,WAAW,EAIX,0BAA0B,EAO3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,OAAO,EACP,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAE9D,eAAO,MAAM,uBAAuB,YACzB,OAAO,wBACM,KACpB,oBAAoB,EAClB,qBAAqB,GACrB,0BAA0B,GAC1B,qBAAqB,GACrB,0BAA0B,CAC7B,
|
|
1
|
+
{"version":3,"file":"networkConfigurationValidation.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAIL,WAAW,EAIX,0BAA0B,EAO3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,OAAO,EACP,oBAAoB,EAErB,MAAM,sDAAsD,CAAC;AAE9D,eAAO,MAAM,uBAAuB,YACzB,OAAO,wBACM,KACpB,oBAAoB,EAClB,qBAAqB,GACrB,0BAA0B,GAC1B,qBAAqB,GACrB,0BAA0B,CAC7B,yCACsC,OAAO,KAC7C,0BA4BF,CAAC;AAEF,eAAO,MAAM,uCAAuC,kBACnC,0BAA0B,uCAwCxC,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterDetailsService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/ClusterDetailsService.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,0BAA0B,EAG3B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,uCAAuC,EACvC,0BAA0B,EAE1B,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAIjB,OAAO,EACL,OAAO,EACP,QAAQ,EACR,aAAa,EACb,YAAY,EACb,MAAM,sDAAsD,CAAC;AAY9D,QAAA,MAAM,qBAAqB;mCACM,uBAAuB,GAAG,uCAAuC;
|
|
1
|
+
{"version":3,"file":"ClusterDetailsService.d.ts","sourceRoot":"","sources":["../../../../lib/ocm/services/ClusterDetailsService.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,0BAA0B,EAG3B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,uCAAuC,EACvC,0BAA0B,EAE1B,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAIjB,OAAO,EACL,OAAO,EACP,QAAQ,EACR,aAAa,EACb,YAAY,EACb,MAAM,sDAAsD,CAAC;AAY9D,QAAA,MAAM,qBAAqB;mCACM,uBAAuB,GAAG,uCAAuC;mCA8BtF,uBAAuB,YACrB,YAAY,GACrB,0BAA0B;;;;;wBA6BX,aAAa,EAAE;qBAClB,0BAA0B,EAAE;yBACxB,MAAM;;QAErB,uBAAuB;CAsB5B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -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"}
|