@openshift-assisted/ui-lib 2.7.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.
Files changed (599) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +99 -0
  3. package/dist/cim/index.css +2 -0
  4. package/dist/cim/index.css.map +7 -0
  5. package/dist/cim/index.js +25 -0
  6. package/dist/cim/index.js.map +7 -0
  7. package/dist/index.css +2 -0
  8. package/dist/index.css.map +7 -0
  9. package/dist/index.js +37 -0
  10. package/dist/index.js.map +7 -0
  11. package/dist/locales/en/translation.json +763 -0
  12. package/dist/locales/ja/translation.json +763 -0
  13. package/dist/locales/ko/translation.json +763 -0
  14. package/dist/locales/zh/translation.json +763 -0
  15. package/dist/ocm/index.css +2 -0
  16. package/dist/ocm/index.css.map +7 -0
  17. package/dist/ocm/index.js +34 -0
  18. package/dist/ocm/index.js.map +7 -0
  19. package/dist/src/cim/components/Agent/AgentStatus.d.ts +14 -0
  20. package/dist/src/cim/components/Agent/AgentTable.d.ts +12 -0
  21. package/dist/src/cim/components/Agent/AgentsSelectionHostCountAlerts.d.ts +8 -0
  22. package/dist/src/cim/components/Agent/AgentsSelectionHostCountLabelIcon.d.ts +2 -0
  23. package/dist/src/cim/components/Agent/AgentsSelectionTable.d.ts +16 -0
  24. package/dist/src/cim/components/Agent/AgentsSelectionUtils.d.ts +7 -0
  25. package/dist/src/cim/components/Agent/BMCForm.d.ts +4 -0
  26. package/dist/src/cim/components/Agent/BMHStatus.d.ts +7 -0
  27. package/dist/src/cim/components/Agent/MinimalHWRequirements.d.ts +15 -0
  28. package/dist/src/cim/components/Agent/NoAgentsAlert.d.ts +5 -0
  29. package/dist/src/cim/components/Agent/index.d.ts +3 -0
  30. package/dist/src/cim/components/Agent/tableUtils.d.ts +51 -0
  31. package/dist/src/cim/components/Agent/types.d.ts +36 -0
  32. package/dist/src/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts +23 -0
  33. package/dist/src/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.d.ts +2 -0
  34. package/dist/src/cim/components/ClusterDeployment/ArmCheckbox.d.ts +7 -0
  35. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts +9 -0
  36. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentCredentials.d.ts +13 -0
  37. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetails.d.ts +13 -0
  38. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts +13 -0
  39. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts +19 -0
  40. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.d.ts +10 -0
  41. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts +4 -0
  42. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts +14 -0
  43. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts +4 -0
  44. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +4 -0
  45. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.d.ts +10 -0
  46. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.d.ts +4 -0
  47. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.d.ts +15 -0
  48. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.d.ts +8 -0
  49. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.d.ts +10 -0
  50. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts +20 -0
  51. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts +4 -0
  52. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentProgress.d.ts +13 -0
  53. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts +13 -0
  54. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.d.ts +9 -0
  55. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts +4 -0
  56. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +10 -0
  57. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts +12 -0
  58. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts +3 -0
  59. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts +6 -0
  60. package/dist/src/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts +16 -0
  61. package/dist/src/cim/components/ClusterDeployment/ClusterInstallationError.d.ts +7 -0
  62. package/dist/src/cim/components/ClusterDeployment/ClusterScaleUpAutoHostsSelection.d.ts +7 -0
  63. package/dist/src/cim/components/ClusterDeployment/LabelsSelector.d.ts +13 -0
  64. package/dist/src/cim/components/ClusterDeployment/LocationsSelector.d.ts +6 -0
  65. package/dist/src/cim/components/ClusterDeployment/LogsDownloadButton.d.ts +11 -0
  66. package/dist/src/cim/components/ClusterDeployment/NetworkConfiguration.d.ts +9 -0
  67. package/dist/src/cim/components/ClusterDeployment/ScaleUpForm.d.ts +9 -0
  68. package/dist/src/cim/components/ClusterDeployment/ShortCapacitySummary.d.ts +9 -0
  69. package/dist/src/cim/components/ClusterDeployment/constants.d.ts +14 -0
  70. package/dist/src/cim/components/ClusterDeployment/helpers.d.ts +23 -0
  71. package/dist/src/cim/components/ClusterDeployment/index.d.ts +17 -0
  72. package/dist/src/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +5 -0
  73. package/dist/src/cim/components/ClusterDeployment/types.d.ts +174 -0
  74. package/dist/src/cim/components/ClusterDeployment/use-networking-formik.d.ts +39 -0
  75. package/dist/src/cim/components/ClusterDeployment/validationSchemas.d.ts +3 -0
  76. package/dist/src/cim/components/ClusterDeployment/wizardTransition.d.ts +10 -0
  77. package/dist/src/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts +21 -0
  78. package/dist/src/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts +11 -0
  79. package/dist/src/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts +7 -0
  80. package/dist/src/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.d.ts +8 -0
  81. package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolStatus.d.ts +8 -0
  82. package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts +18 -0
  83. package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +25 -0
  84. package/dist/src/cim/components/Hypershift/DetailsPage/index.d.ts +2 -0
  85. package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts +4 -0
  86. package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.d.ts +4 -0
  87. package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/index.d.ts +1 -0
  88. package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +35 -0
  89. package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts +4 -0
  90. package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts +4 -0
  91. package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts +11 -0
  92. package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/index.d.ts +1 -0
  93. package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +30 -0
  94. package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.d.ts +5 -0
  95. package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.d.ts +4 -0
  96. package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/index.d.ts +2 -0
  97. package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/types.d.ts +23 -0
  98. package/dist/src/cim/components/Hypershift/HostedClusterWizard/index.d.ts +3 -0
  99. package/dist/src/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts +10 -0
  100. package/dist/src/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts +3 -0
  101. package/dist/src/cim/components/Hypershift/hooks/useTemptiflySync.d.ts +6 -0
  102. package/dist/src/cim/components/Hypershift/index.d.ts +4 -0
  103. package/dist/src/cim/components/Hypershift/modals/AddNodePoolModal.d.ts +12 -0
  104. package/dist/src/cim/components/Hypershift/modals/ManageHostsModal.d.ts +16 -0
  105. package/dist/src/cim/components/Hypershift/modals/NodePoolForm.d.ts +18 -0
  106. package/dist/src/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts +8 -0
  107. package/dist/src/cim/components/Hypershift/types.d.ts +195 -0
  108. package/dist/src/cim/components/Hypershift/utils/index.d.ts +3 -0
  109. package/dist/src/cim/components/Hypershift/utils/labels.d.ts +10 -0
  110. package/dist/src/cim/components/Hypershift/utils/nodepool.d.ts +3 -0
  111. package/dist/src/cim/components/Hypershift/utils/status.d.ts +10 -0
  112. package/dist/src/cim/components/InfraEnv/AddHostDropdown.d.ts +4 -0
  113. package/dist/src/cim/components/InfraEnv/AgentAlerts.d.ts +9 -0
  114. package/dist/src/cim/components/InfraEnv/EnvironmentDetails.d.ts +16 -0
  115. package/dist/src/cim/components/InfraEnv/EnvironmentErrors.d.ts +9 -0
  116. package/dist/src/cim/components/InfraEnv/InfraEnvAgentTable.d.ts +4 -0
  117. package/dist/src/cim/components/InfraEnv/InfraEnvFormPage.d.ts +31 -0
  118. package/dist/src/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts +8 -0
  119. package/dist/src/cim/components/InfraEnv/InfraTableToolbar.d.ts +16 -0
  120. package/dist/src/cim/components/InfraEnv/index.d.ts +8 -0
  121. package/dist/src/cim/components/InfraEnv/types.d.ts +12 -0
  122. package/dist/src/cim/components/InfraEnv/utils.d.ts +13 -0
  123. package/dist/src/cim/components/YamlPreview/YamlPreview.d.ts +8 -0
  124. package/dist/src/cim/components/YamlPreview/index.d.ts +2 -0
  125. package/dist/src/cim/components/YamlPreview/useYAMLPreview.d.ts +14 -0
  126. package/dist/src/cim/components/common/InfoAndTroubleshootingNotification.d.ts +7 -0
  127. package/dist/src/cim/components/common/ResourceAlerts.d.ts +7 -0
  128. package/dist/src/cim/components/common/SpecSyncErrAlert.d.ts +5 -0
  129. package/dist/src/cim/components/common/ValidationsRunningAlert.d.ts +2 -0
  130. package/dist/src/cim/components/common/constants.d.ts +10 -0
  131. package/dist/src/cim/components/common/index.d.ts +2 -0
  132. package/dist/src/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts +8 -0
  133. package/dist/src/cim/components/featureSupportLevels/featureStateUtils.d.ts +4 -0
  134. package/dist/src/cim/components/featureSupportLevels/index.d.ts +1 -0
  135. package/dist/src/cim/components/helpers/agentClusterInstall.d.ts +3 -0
  136. package/dist/src/cim/components/helpers/agentStatus.d.ts +3 -0
  137. package/dist/src/cim/components/helpers/agents.d.ts +15 -0
  138. package/dist/src/cim/components/helpers/clusterDeployment.d.ts +38 -0
  139. package/dist/src/cim/components/helpers/conditions.d.ts +9 -0
  140. package/dist/src/cim/components/helpers/index.d.ts +11 -0
  141. package/dist/src/cim/components/helpers/labels.d.ts +3 -0
  142. package/dist/src/cim/components/helpers/network.d.ts +6 -0
  143. package/dist/src/cim/components/helpers/proxy.d.ts +1 -0
  144. package/dist/src/cim/components/helpers/status.d.ts +26 -0
  145. package/dist/src/cim/components/helpers/storage.d.ts +1 -0
  146. package/dist/src/cim/components/helpers/toAssisted.d.ts +12 -0
  147. package/dist/src/cim/components/helpers/units.d.ts +50 -0
  148. package/dist/src/cim/components/helpers/versions.d.ts +7 -0
  149. package/dist/src/cim/components/index.d.ts +8 -0
  150. package/dist/src/cim/components/modals/AddBmcHostModal.d.ts +4 -0
  151. package/dist/src/cim/components/modals/AddBmcHostYamlForm.d.ts +5 -0
  152. package/dist/src/cim/components/modals/AddBmcHostYamlModal.d.ts +4 -0
  153. package/dist/src/cim/components/modals/AddHostModal.d.ts +4 -0
  154. package/dist/src/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.d.ts +4 -0
  155. package/dist/src/cim/components/modals/CimConfiguration/CimConfigProgressAlert.d.ts +4 -0
  156. package/dist/src/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts +4 -0
  157. package/dist/src/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts +4 -0
  158. package/dist/src/cim/components/modals/CimConfiguration/CimIsMissingAlert.d.ts +2 -0
  159. package/dist/src/cim/components/modals/CimConfiguration/CimStorageMissingAlert.d.ts +5 -0
  160. package/dist/src/cim/components/modals/CimConfiguration/constants.d.ts +4 -0
  161. package/dist/src/cim/components/modals/CimConfiguration/index.d.ts +6 -0
  162. package/dist/src/cim/components/modals/CimConfiguration/persist.d.ts +23 -0
  163. package/dist/src/cim/components/modals/CimConfiguration/types.d.ts +43 -0
  164. package/dist/src/cim/components/modals/CimConfiguration/utils.d.ts +15 -0
  165. package/dist/src/cim/components/modals/EditAgentModal.d.ts +4 -0
  166. package/dist/src/cim/components/modals/EditBMHModal.d.ts +4 -0
  167. package/dist/src/cim/components/modals/EditNtpSourcesModal.d.ts +11 -0
  168. package/dist/src/cim/components/modals/EditPullSecretModal.d.ts +19 -0
  169. package/dist/src/cim/components/modals/EditSSHKeyModal.d.ts +13 -0
  170. package/dist/src/cim/components/modals/MassApproveAction.d.ts +8 -0
  171. package/dist/src/cim/components/modals/MassApproveAgentModal.d.ts +10 -0
  172. package/dist/src/cim/components/modals/MassDeleteAgentModal.d.ts +13 -0
  173. package/dist/src/cim/components/modals/ScaleUpModal.d.ts +13 -0
  174. package/dist/src/cim/components/modals/constants.d.ts +63 -0
  175. package/dist/src/cim/components/modals/index.d.ts +10 -0
  176. package/dist/src/cim/components/modals/types.d.ts +45 -0
  177. package/dist/src/cim/components/modals/utils.d.ts +28 -0
  178. package/dist/src/cim/config/constants.d.ts +9 -0
  179. package/dist/src/cim/index.d.ts +13 -0
  180. package/dist/src/cim/types/fromOCP/index.d.ts +1 -0
  181. package/dist/src/cim/types/fromOCP/k8sTypes.d.ts +46 -0
  182. package/dist/src/cim/types/index.d.ts +4 -0
  183. package/dist/src/cim/types/k8s/agent-cluster-install.d.ts +68 -0
  184. package/dist/src/cim/types/k8s/agent-service-config.d.ts +23 -0
  185. package/dist/src/cim/types/k8s/agent.d.ts +48 -0
  186. package/dist/src/cim/types/k8s/bare-metal-host.d.ts +31 -0
  187. package/dist/src/cim/types/k8s/cluster-deployment.d.ts +41 -0
  188. package/dist/src/cim/types/k8s/cluster-image-set.d.ts +6 -0
  189. package/dist/src/cim/types/k8s/cluster-version.d.ts +45 -0
  190. package/dist/src/cim/types/k8s/index.d.ts +12 -0
  191. package/dist/src/cim/types/k8s/infra-env-k8s-resource.d.ts +36 -0
  192. package/dist/src/cim/types/k8s/infrastructure.d.ts +22 -0
  193. package/dist/src/cim/types/k8s/nm-state.d.ts +10 -0
  194. package/dist/src/cim/types/k8s/shared.d.ts +13 -0
  195. package/dist/src/cim/types/k8s/storage-class.d.ts +8 -0
  196. package/dist/src/cim/types/metal3.d.ts +86 -0
  197. package/dist/src/cim/types/resources.d.ts +44 -0
  198. package/dist/src/cim/utils.d.ts +2 -0
  199. package/dist/src/common/api/index.d.ts +2 -0
  200. package/dist/src/common/api/types.d.ts +2241 -0
  201. package/dist/src/common/api/utils.d.ts +2 -0
  202. package/dist/src/common/components/AddHosts/AddHostsContext.d.ts +9 -0
  203. package/dist/src/common/components/AddHosts/index.d.ts +1 -0
  204. package/dist/src/common/components/AlertsContextProvider.d.ts +10 -0
  205. package/dist/src/common/components/ErrorHandling/ErrorMonitorContext.d.ts +12 -0
  206. package/dist/src/common/components/ErrorHandling/WithErrorBoundary.d.ts +5 -0
  207. package/dist/src/common/components/clusterConfiguration/AdvancedNetworkFields.d.ts +7 -0
  208. package/dist/src/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts +16 -0
  209. package/dist/src/common/components/clusterConfiguration/DiscoveryImageCpuArchitectureControlGroup.d.ts +8 -0
  210. package/dist/src/common/components/clusterConfiguration/DiscoveryImageTypeControlGroup.d.ts +2 -0
  211. package/dist/src/common/components/clusterConfiguration/DiscoveryInstructions.d.ts +6 -0
  212. package/dist/src/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts +13 -0
  213. package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts +8 -0
  214. package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts +6 -0
  215. package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts +11 -0
  216. package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts +3 -0
  217. package/dist/src/common/components/clusterConfiguration/DownloadIso.d.ts +10 -0
  218. package/dist/src/common/components/clusterConfiguration/DownloadIsoModal.d.ts +7 -0
  219. package/dist/src/common/components/clusterConfiguration/FormatDiskWarning.d.ts +5 -0
  220. package/dist/src/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts +7 -0
  221. package/dist/src/common/components/clusterConfiguration/ProxyFields.d.ts +5 -0
  222. package/dist/src/common/components/clusterConfiguration/SNOControlGroup.d.ts +8 -0
  223. package/dist/src/common/components/clusterConfiguration/SNODisclaimer.d.ts +8 -0
  224. package/dist/src/common/components/clusterConfiguration/SecurityFields.d.ts +12 -0
  225. package/dist/src/common/components/clusterConfiguration/UploadSSH.d.ts +6 -0
  226. package/dist/src/common/components/clusterConfiguration/index.d.ts +13 -0
  227. package/dist/src/common/components/clusterConfiguration/utils.d.ts +20 -0
  228. package/dist/src/common/components/clusterDetail/ClusterCredentials.d.ts +12 -0
  229. package/dist/src/common/components/clusterDetail/ClusterProgress.d.ts +9 -0
  230. package/dist/src/common/components/clusterDetail/ClusterProgressItem.d.ts +6 -0
  231. package/dist/src/common/components/clusterDetail/ClusterProgressItems.d.ts +11 -0
  232. package/dist/src/common/components/clusterDetail/ClusterPropertiesList.d.ts +11 -0
  233. package/dist/src/common/components/clusterDetail/ConsoleModal.d.ts +20 -0
  234. package/dist/src/common/components/clusterDetail/FinalizingProgress.d.ts +14 -0
  235. package/dist/src/common/components/clusterDetail/KubeconfigDownload.d.ts +10 -0
  236. package/dist/src/common/components/clusterDetail/OperatorsProgressItem.d.ts +13 -0
  237. package/dist/src/common/components/clusterDetail/ProgressBarTexts.d.ts +7 -0
  238. package/dist/src/common/components/clusterDetail/index.d.ts +4 -0
  239. package/dist/src/common/components/clusterWizard/ClusterWizardStep.d.ts +8 -0
  240. package/dist/src/common/components/clusterWizard/ClusterWizardStepHeader.d.ts +3 -0
  241. package/dist/src/common/components/clusterWizard/ClusterWizardStepValidationsAlert.d.ts +15 -0
  242. package/dist/src/common/components/clusterWizard/ReviewHostsInventory.d.ts +6 -0
  243. package/dist/src/common/components/clusterWizard/ReviewValidations.d.ts +3 -0
  244. package/dist/src/common/components/clusterWizard/clusterDetailsValidation.d.ts +24 -0
  245. package/dist/src/common/components/clusterWizard/index.d.ts +8 -0
  246. package/dist/src/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +9 -0
  247. package/dist/src/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.d.ts +5 -0
  248. package/dist/src/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.d.ts +5 -0
  249. package/dist/src/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.d.ts +4 -0
  250. package/dist/src/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts +8 -0
  251. package/dist/src/common/components/clusterWizard/networkingSteps/index.d.ts +8 -0
  252. package/dist/src/common/components/clusterWizard/types.d.ts +62 -0
  253. package/dist/src/common/components/clusterWizard/validationsInfoUtils.d.ts +35 -0
  254. package/dist/src/common/components/clusters/PullSecret.d.ts +7 -0
  255. package/dist/src/common/components/clusters/index.d.ts +1 -0
  256. package/dist/src/common/components/constants.d.ts +2 -0
  257. package/dist/src/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts +8 -0
  258. package/dist/src/common/components/featureSupportLevels/FeatureSupportLevelContext.d.ts +15 -0
  259. package/dist/src/common/components/featureSupportLevels/index.d.ts +2 -0
  260. package/dist/src/common/components/featureSupportLevels/utils.d.ts +5 -0
  261. package/dist/src/common/components/fetching/EventListFetch.d.ts +3 -0
  262. package/dist/src/common/components/fetching/index.d.ts +1 -0
  263. package/dist/src/common/components/hosts/AITable.d.ts +51 -0
  264. package/dist/src/common/components/hosts/AdditionalNTPSourcesDialog.d.ts +12 -0
  265. package/dist/src/common/components/hosts/DiskLimitations.d.ts +7 -0
  266. package/dist/src/common/components/hosts/DiskRole.d.ts +14 -0
  267. package/dist/src/common/components/hosts/EditHostForm.d.ts +13 -0
  268. package/dist/src/common/components/hosts/EditHostModal.d.ts +15 -0
  269. package/dist/src/common/components/hosts/FormatDiskCheckbox.d.ts +16 -0
  270. package/dist/src/common/components/hosts/HostProgress.d.ts +5 -0
  271. package/dist/src/common/components/hosts/HostPropertyValidationPopover.d.ts +12 -0
  272. package/dist/src/common/components/hosts/HostRequirements.d.ts +15 -0
  273. package/dist/src/common/components/hosts/HostRowDetail.d.ts +13 -0
  274. package/dist/src/common/components/hosts/HostStatus.d.ts +4 -0
  275. package/dist/src/common/components/hosts/HostToolbarActions.d.ts +10 -0
  276. package/dist/src/common/components/hosts/HostValidationGroups.d.ts +20 -0
  277. package/dist/src/common/components/hosts/Hostname.d.ts +13 -0
  278. package/dist/src/common/components/hosts/HostsCount.d.ts +9 -0
  279. package/dist/src/common/components/hosts/HostsTable.d.ts +19 -0
  280. package/dist/src/common/components/hosts/HostsTableDetailContext.d.ts +11 -0
  281. package/dist/src/common/components/hosts/MassChangeHostnameModal.d.ts +14 -0
  282. package/dist/src/common/components/hosts/MassDeleteHostModal.d.ts +10 -0
  283. package/dist/src/common/components/hosts/NtpValidationStatus.d.ts +9 -0
  284. package/dist/src/common/components/hosts/OcpConsoleNodesSectionLink.d.ts +6 -0
  285. package/dist/src/common/components/hosts/RoleCell.d.ts +13 -0
  286. package/dist/src/common/components/hosts/RoleDropdown.d.ts +11 -0
  287. package/dist/src/common/components/hosts/TableToolbar.d.ts +18 -0
  288. package/dist/src/common/components/hosts/VMRebootConfigurationInfo.d.ts +3 -0
  289. package/dist/src/common/components/hosts/hardwareInfo.d.ts +19 -0
  290. package/dist/src/common/components/hosts/index.d.ts +16 -0
  291. package/dist/src/common/components/hosts/status.d.ts +3 -0
  292. package/dist/src/common/components/hosts/tableUtils.d.ts +22 -0
  293. package/dist/src/common/components/hosts/types.d.ts +72 -0
  294. package/dist/src/common/components/hosts/usePagination.d.ts +9 -0
  295. package/dist/src/common/components/hosts/utils.d.ts +36 -0
  296. package/dist/src/common/components/index.d.ts +11 -0
  297. package/dist/src/common/components/storage/DisksTable.d.ts +13 -0
  298. package/dist/src/common/components/storage/StorageDetail.d.ts +11 -0
  299. package/dist/src/common/components/storage/StorageTable.d.ts +11 -0
  300. package/dist/src/common/components/storage/StorageUtils.d.ts +6 -0
  301. package/dist/src/common/components/ui/Alerts.d.ts +5 -0
  302. package/dist/src/common/components/ui/BorderedIcon/BorderedIcon.d.ts +10 -0
  303. package/dist/src/common/components/ui/ClusterEventsList.d.ts +9 -0
  304. package/dist/src/common/components/ui/ClusterEventsToolbar.d.ts +12 -0
  305. package/dist/src/common/components/ui/ConfirmationModal.d.ts +13 -0
  306. package/dist/src/common/components/ui/DetailList.d.ts +21 -0
  307. package/dist/src/common/components/ui/EventsList.d.ts +8 -0
  308. package/dist/src/common/components/ui/ExternalLink.d.ts +8 -0
  309. package/dist/src/common/components/ui/GridGap.d.ts +7 -0
  310. package/dist/src/common/components/ui/ModalProgress.d.ts +10 -0
  311. package/dist/src/common/components/ui/OpenShiftVersionDropown.d.ts +17 -0
  312. package/dist/src/common/components/ui/PopoverIcon.d.ts +14 -0
  313. package/dist/src/common/components/ui/PreviewBadge.d.ts +14 -0
  314. package/dist/src/common/components/ui/PrismCode.d.ts +11 -0
  315. package/dist/src/common/components/ui/RenderIf.d.ts +6 -0
  316. package/dist/src/common/components/ui/SectionTitle.d.ts +6 -0
  317. package/dist/src/common/components/ui/SimpleDropdown.d.ts +15 -0
  318. package/dist/src/common/components/ui/StaticTextField.d.ts +23 -0
  319. package/dist/src/common/components/ui/Toolbar/ToolbarButton.d.ts +4 -0
  320. package/dist/src/common/components/ui/Toolbar/ToolbarProgress.d.ts +4 -0
  321. package/dist/src/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts +3 -0
  322. package/dist/src/common/components/ui/Toolbar/ToolbarText.d.ts +4 -0
  323. package/dist/src/common/components/ui/Toolbar/index.d.ts +4 -0
  324. package/dist/src/common/components/ui/ViewClusterEventsButton.d.ts +8 -0
  325. package/dist/src/common/components/ui/WizardFooter.d.ts +22 -0
  326. package/dist/src/common/components/ui/WizardNavItem.d.ts +7 -0
  327. package/dist/src/common/components/ui/eventsModal.d.ts +29 -0
  328. package/dist/src/common/components/ui/formik/AddButton.d.ts +7 -0
  329. package/dist/src/common/components/ui/formik/AdditionalNTPSourcesField.d.ts +10 -0
  330. package/dist/src/common/components/ui/formik/CheckboxField.d.ts +4 -0
  331. package/dist/src/common/components/ui/formik/CodeField.d.ts +3 -0
  332. package/dist/src/common/components/ui/formik/FormikAutoSave.d.ts +7 -0
  333. package/dist/src/common/components/ui/formik/HelperText.d.ts +11 -0
  334. package/dist/src/common/components/ui/formik/InputField.d.ts +8 -0
  335. package/dist/src/common/components/ui/formik/LabelField.d.ts +13 -0
  336. package/dist/src/common/components/ui/formik/MultiSelectField.d.ts +4 -0
  337. package/dist/src/common/components/ui/formik/NumberInputField.d.ts +4 -0
  338. package/dist/src/common/components/ui/formik/PencilEditField.d.ts +8 -0
  339. package/dist/src/common/components/ui/formik/PullSecretField.d.ts +12 -0
  340. package/dist/src/common/components/ui/formik/RadioField.d.ts +3 -0
  341. package/dist/src/common/components/ui/formik/RadioFieldWithTooltip.d.ts +7 -0
  342. package/dist/src/common/components/ui/formik/RemovableField.d.ts +10 -0
  343. package/dist/src/common/components/ui/formik/RichInputField.d.ts +17 -0
  344. package/dist/src/common/components/ui/formik/SelectField.d.ts +4 -0
  345. package/dist/src/common/components/ui/formik/SingleNodeCheckbox.d.ts +8 -0
  346. package/dist/src/common/components/ui/formik/SwitchField.d.ts +4 -0
  347. package/dist/src/common/components/ui/formik/TextAreaField.d.ts +4 -0
  348. package/dist/src/common/components/ui/formik/TextAreaSecretField.d.ts +4 -0
  349. package/dist/src/common/components/ui/formik/UploadField.d.ts +4 -0
  350. package/dist/src/common/components/ui/formik/constants.d.ts +50 -0
  351. package/dist/src/common/components/ui/formik/index.d.ts +25 -0
  352. package/dist/src/common/components/ui/formik/types.d.ts +117 -0
  353. package/dist/src/common/components/ui/formik/utils.d.ts +24 -0
  354. package/dist/src/common/components/ui/formik/validationSchemas.d.ts +33 -0
  355. package/dist/src/common/components/ui/index.d.ts +23 -0
  356. package/dist/src/common/components/ui/table/index.d.ts +2 -0
  357. package/dist/src/common/components/ui/table/utils.d.ts +17 -0
  358. package/dist/src/common/components/ui/table/wrappable.d.ts +8 -0
  359. package/dist/src/common/components/ui/uiState/EmptyState.d.ts +11 -0
  360. package/dist/src/common/components/ui/uiState/ErrorState.d.ts +14 -0
  361. package/dist/src/common/components/ui/uiState/LoadingState.d.ts +8 -0
  362. package/dist/src/common/components/ui/uiState/index.d.ts +3 -0
  363. package/dist/src/common/components/ui/utils.d.ts +2 -0
  364. package/dist/src/common/config/constants.d.ts +204 -0
  365. package/dist/src/common/config/index.d.ts +1 -0
  366. package/dist/src/common/features/featureGate.d.ts +25 -0
  367. package/dist/src/common/features/index.d.ts +1 -0
  368. package/dist/src/common/hacks.d.ts +1 -0
  369. package/dist/src/common/hooks/index.d.ts +2 -0
  370. package/dist/src/common/hooks/use-translation-wrapper.d.ts +1 -0
  371. package/dist/src/common/hooks/useDeepCompareMemoize.d.ts +2 -0
  372. package/dist/src/common/hooks/useFieldErrorMsg.d.ts +8 -0
  373. package/dist/src/common/hooks/useFormikHelpers.d.ts +6 -0
  374. package/dist/src/common/hooks/useStateSafely.d.ts +3 -0
  375. package/dist/src/common/index.d.ts +10 -0
  376. package/dist/src/common/reducers/alertsSlice.d.ts +18 -0
  377. package/dist/src/common/reducers/dialogsSlice.d.ts +9 -0
  378. package/dist/src/common/reducers/index.d.ts +2 -0
  379. package/dist/src/common/selectors/clusterSelectors.d.ts +28 -0
  380. package/dist/src/common/selectors/index.d.ts +1 -0
  381. package/dist/src/common/sevices/DateAndTime.d.ts +2 -0
  382. package/dist/src/common/types/clusters.d.ts +53 -0
  383. package/dist/src/common/types/events.d.ts +22 -0
  384. package/dist/src/common/types/featureSupportLevel.d.ts +23 -0
  385. package/dist/src/common/types/hosts.d.ts +19 -0
  386. package/dist/src/common/types/index.d.ts +16 -0
  387. package/dist/src/common/types/proxyFields.d.ts +7 -0
  388. package/dist/src/common/types/typescriptExtensions.d.ts +9 -0
  389. package/dist/src/common/types/versions.d.ts +10 -0
  390. package/dist/src/common/utils.d.ts +2 -0
  391. package/dist/src/index.d.ts +2 -0
  392. package/dist/src/ocm/api/axiosClient.d.ts +6 -0
  393. package/dist/src/ocm/api/axiosExtensions.d.ts +2 -0
  394. package/dist/src/ocm/api/index.d.ts +2 -0
  395. package/dist/src/ocm/api/types.d.ts +5 -0
  396. package/dist/src/ocm/api/utils.d.ts +8 -0
  397. package/dist/src/ocm/components/AddHosts/AddHosts.d.ts +1 -0
  398. package/dist/src/ocm/components/AddHosts/InventoryAddHost.d.ts +5 -0
  399. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.d.ts +2 -0
  400. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2DiscoveryImageModalButton.d.ts +5 -0
  401. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2DownloadISO.d.ts +2 -0
  402. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2GenerateISO.d.ts +2 -0
  403. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2StaticIP.d.ts +2 -0
  404. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts +2 -0
  405. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2Wizard.d.ts +2 -0
  406. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardContext.d.ts +21 -0
  407. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.d.ts +8 -0
  408. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardNav.d.ts +2 -0
  409. package/dist/src/ocm/components/AddHosts/day2Wizard/constants.d.ts +6 -0
  410. package/dist/src/ocm/components/AddHosts/index.d.ts +2 -0
  411. package/dist/src/ocm/components/AddHosts/types.d.ts +46 -0
  412. package/dist/src/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts +3 -0
  413. package/dist/src/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts +2 -0
  414. package/dist/src/ocm/components/HostsClusterDetailTab/index.d.ts +2 -0
  415. package/dist/src/ocm/components/HostsClusterDetailTab/types.d.ts +6 -0
  416. package/dist/src/ocm/components/HostsClusterDetailTab/utils.d.ts +4 -0
  417. package/dist/src/ocm/components/Router.d.ts +8 -0
  418. package/dist/src/ocm/components/SentryErrorMonitorContextProvider.d.ts +2 -0
  419. package/dist/src/ocm/components/SingleCluster.d.ts +2 -0
  420. package/dist/src/ocm/components/clusterConfiguration/ArmCheckbox.d.ts +7 -0
  421. package/dist/src/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts +8 -0
  422. package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts +9 -0
  423. package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts +11 -0
  424. package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageSummary.d.ts +11 -0
  425. package/dist/src/ocm/components/clusterConfiguration/HostInventory.d.ts +5 -0
  426. package/dist/src/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.d.ts +4 -0
  427. package/dist/src/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts +5 -0
  428. package/dist/src/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts +13 -0
  429. package/dist/src/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts +7 -0
  430. package/dist/src/ocm/components/clusterConfiguration/ReviewCluster.d.ts +6 -0
  431. package/dist/src/ocm/components/clusterConfiguration/ReviewStep.d.ts +6 -0
  432. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts +2 -0
  433. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts +8 -0
  434. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts +9 -0
  435. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts +5 -0
  436. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTable.d.ts +3 -0
  437. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts +18 -0
  438. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts +8 -0
  439. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts +6 -0
  440. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +4 -0
  441. package/dist/src/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +3 -0
  442. package/dist/src/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts +5 -0
  443. package/dist/src/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts +3 -0
  444. package/dist/src/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts +5 -0
  445. package/dist/src/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts +4 -0
  446. package/dist/src/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegration.d.ts +5 -0
  447. package/dist/src/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationVsphere.d.ts +2 -0
  448. package/dist/src/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts +11 -0
  449. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.d.ts +11 -0
  450. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.d.ts +3 -0
  451. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.d.ts +5 -0
  452. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts +5 -0
  453. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.d.ts +3 -0
  454. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts +6 -0
  455. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts +13 -0
  456. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts +3 -0
  457. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts +19 -0
  458. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts +4 -0
  459. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.d.ts +8 -0
  460. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts +6 -0
  461. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.d.ts +3 -0
  462. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.d.ts +1 -0
  463. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts +3 -0
  464. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts +28 -0
  465. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/dataTypes.d.ts +53 -0
  466. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/dummyData.d.ts +20 -0
  467. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/emptyData.d.ts +9 -0
  468. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.d.ts +3 -0
  469. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts +4 -0
  470. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.d.ts +13 -0
  471. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/machineNetwork.d.ts +2 -0
  472. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts +60 -0
  473. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts +16 -0
  474. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.d.ts +8 -0
  475. package/dist/src/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts +8 -0
  476. package/dist/src/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts +7 -0
  477. package/dist/src/ocm/components/clusterDetail/CancelInstallationModal.d.ts +3 -0
  478. package/dist/src/ocm/components/clusterDetail/ClusterDetail.d.ts +7 -0
  479. package/dist/src/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts +8 -0
  480. package/dist/src/ocm/components/clusterDetail/ClusterDetailStatusVarieties.d.ts +18 -0
  481. package/dist/src/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts +7 -0
  482. package/dist/src/ocm/components/clusterDetail/ClusterInstallationProgressCard.d.ts +6 -0
  483. package/dist/src/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts +2 -0
  484. package/dist/src/ocm/components/clusterDetail/ClusterProperties.d.ts +7 -0
  485. package/dist/src/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts +5 -0
  486. package/dist/src/ocm/components/clusterDetail/ProgressBarAlerts.d.ts +15 -0
  487. package/dist/src/ocm/components/clusterDetail/ResetClusterModal.d.ts +3 -0
  488. package/dist/src/ocm/components/clusterDetail/getProgressBarAlerts.d.ts +3 -0
  489. package/dist/src/ocm/components/clusterDetail/index.d.ts +5 -0
  490. package/dist/src/ocm/components/clusterDetail/utils.d.ts +7 -0
  491. package/dist/src/ocm/components/clusterWizard/ClusterDetails.d.ts +8 -0
  492. package/dist/src/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +17 -0
  493. package/dist/src/ocm/components/clusterWizard/ClusterPlatformIntegrationHint.d.ts +8 -0
  494. package/dist/src/ocm/components/clusterWizard/ClusterWizard.d.ts +8 -0
  495. package/dist/src/ocm/components/clusterWizard/ClusterWizardContext.d.ts +16 -0
  496. package/dist/src/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts +8 -0
  497. package/dist/src/ocm/components/clusterWizard/ClusterWizardFooter.d.ts +11 -0
  498. package/dist/src/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts +5 -0
  499. package/dist/src/ocm/components/clusterWizard/HostDiscovery.d.ts +5 -0
  500. package/dist/src/ocm/components/clusterWizard/NewClusterWizard.d.ts +3 -0
  501. package/dist/src/ocm/components/clusterWizard/Operators.d.ts +6 -0
  502. package/dist/src/ocm/components/clusterWizard/OperatorsStep.d.ts +2 -0
  503. package/dist/src/ocm/components/clusterWizard/StaticIp.d.ts +7 -0
  504. package/dist/src/ocm/components/clusterWizard/Storage.d.ts +5 -0
  505. package/dist/src/ocm/components/clusterWizard/constants.d.ts +6 -0
  506. package/dist/src/ocm/components/clusterWizard/index.d.ts +1 -0
  507. package/dist/src/ocm/components/clusterWizard/wizardTransition.d.ts +19 -0
  508. package/dist/src/ocm/components/clusters/ClusterBreadcrumbs.d.ts +7 -0
  509. package/dist/src/ocm/components/clusters/ClusterLoading.d.ts +2 -0
  510. package/dist/src/ocm/components/clusters/ClusterPage.d.ts +7 -0
  511. package/dist/src/ocm/components/clusters/ClusterPageErrors.d.ts +2 -0
  512. package/dist/src/ocm/components/clusters/ClusterStatus.d.ts +15 -0
  513. package/dist/src/ocm/components/clusters/ClusterToolbar.d.ts +7 -0
  514. package/dist/src/ocm/components/clusters/Clusters.d.ts +4 -0
  515. package/dist/src/ocm/components/clusters/ClustersListToolbar.d.ts +12 -0
  516. package/dist/src/ocm/components/clusters/ClustersTable.d.ts +8 -0
  517. package/dist/src/ocm/components/clusters/DeleteClusterModal.d.ts +8 -0
  518. package/dist/src/ocm/components/clusters/NewClusterPage.d.ts +2 -0
  519. package/dist/src/ocm/components/clusters/clusterPolling.d.ts +17 -0
  520. package/dist/src/ocm/components/clusters/index.d.ts +5 -0
  521. package/dist/src/ocm/components/clusters/utils.d.ts +11 -0
  522. package/dist/src/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts +11 -0
  523. package/dist/src/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts +13 -0
  524. package/dist/src/ocm/components/featureSupportLevels/featureStateUtils.d.ts +6 -0
  525. package/dist/src/ocm/components/featureSupportLevels/index.d.ts +2 -0
  526. package/dist/src/ocm/components/fetching/fetchEvents.d.ts +2 -0
  527. package/dist/src/ocm/components/hosts/AdditionaNTPSourceDialogToggle.d.ts +1 -0
  528. package/dist/src/ocm/components/hosts/ClusterHostsTable.d.ts +9 -0
  529. package/dist/src/ocm/components/hosts/DeleteHostModal.d.ts +8 -0
  530. package/dist/src/ocm/components/hosts/HardwareStatus.d.ts +21 -0
  531. package/dist/src/ocm/components/hosts/HostRequirementsContent.d.ts +8 -0
  532. package/dist/src/ocm/components/hosts/HostsDiscoveryTable.d.ts +6 -0
  533. package/dist/src/ocm/components/hosts/HostsDiscoveryTroubleshootingInfoLinkWithModal.d.ts +5 -0
  534. package/dist/src/ocm/components/hosts/HostsStorageTable.d.ts +7 -0
  535. package/dist/src/ocm/components/hosts/HostsTableEmptyState.d.ts +5 -0
  536. package/dist/src/ocm/components/hosts/ModalDialogsContext.d.ts +53 -0
  537. package/dist/src/ocm/components/hosts/NetworkingStatus.d.ts +4 -0
  538. package/dist/src/ocm/components/hosts/OdfDisksManualFormattingHint.d.ts +2 -0
  539. package/dist/src/ocm/components/hosts/ResetHostModal.d.ts +9 -0
  540. package/dist/src/ocm/components/hosts/StorageAlerts.d.ts +5 -0
  541. package/dist/src/ocm/components/hosts/UpdateDay2ApiVipDialogToggle.d.ts +2 -0
  542. package/dist/src/ocm/components/hosts/UpdateDay2ApiVipForm.d.ts +11 -0
  543. package/dist/src/ocm/components/hosts/UpdateDay2ApiVipModal.d.ts +7 -0
  544. package/dist/src/ocm/components/hosts/use-hosts-table.d.ts +39 -0
  545. package/dist/src/ocm/components/hosts/utils.d.ts +4 -0
  546. package/dist/src/ocm/components/index.d.ts +7 -0
  547. package/dist/src/ocm/components/ui/AssistedUILibVersion.d.ts +2 -0
  548. package/dist/src/ocm/components/ui/InfoLinkWithModal.d.ts +11 -0
  549. package/dist/src/ocm/components/ui/OcmFormFields.d.ts +22 -0
  550. package/dist/src/ocm/components/ui/index.d.ts +1 -0
  551. package/dist/src/ocm/config/constants.d.ts +8 -0
  552. package/dist/src/ocm/config/index.d.ts +2 -0
  553. package/dist/src/ocm/config/routeBaseBath.d.ts +2 -0
  554. package/dist/src/ocm/hooks/index.d.ts +7 -0
  555. package/dist/src/ocm/hooks/useClusterPreflightRequirements.d.ts +7 -0
  556. package/dist/src/ocm/hooks/useClusterSupportedPlatforms.d.ts +10 -0
  557. package/dist/src/ocm/hooks/useInfraEnv.d.ts +7 -0
  558. package/dist/src/ocm/hooks/useInfraEnvId.d.ts +5 -0
  559. package/dist/src/ocm/hooks/useInfraEnvImageUrl.d.ts +9 -0
  560. package/dist/src/ocm/hooks/useManagedDomains.d.ts +2 -0
  561. package/dist/src/ocm/hooks/useOpenshiftVersions.d.ts +15 -0
  562. package/dist/src/ocm/hooks/usePullSecret.d.ts +1 -0
  563. package/dist/src/ocm/hooks/useSetClusterPermissions.d.ts +2 -0
  564. package/dist/src/ocm/hooks/useUsedClusterNames.d.ts +4 -0
  565. package/dist/src/ocm/index.d.ts +11 -0
  566. package/dist/src/ocm/reducers/clusters/clustersSlice.d.ts +25 -0
  567. package/dist/src/ocm/reducers/clusters/currentClusterSlice.d.ts +130 -0
  568. package/dist/src/ocm/reducers/clusters/index.d.ts +2 -0
  569. package/dist/src/ocm/selectors/clusters.d.ts +61 -0
  570. package/dist/src/ocm/selectors/currentCluster.d.ts +13 -0
  571. package/dist/src/ocm/selectors/index.d.ts +2 -0
  572. package/dist/src/ocm/sentry.d.ts +2 -0
  573. package/dist/src/ocm/services/ClusterDetailsService.d.ts +14 -0
  574. package/dist/src/ocm/services/ClustersService.d.ts +16 -0
  575. package/dist/src/ocm/services/CpuArchitectureService.d.ts +14 -0
  576. package/dist/src/ocm/services/Day2ClusterService.d.ts +87 -0
  577. package/dist/src/ocm/services/DiscoveryImageFormService.d.ts +9 -0
  578. package/dist/src/ocm/services/DiskEncryptionService.d.ts +6 -0
  579. package/dist/src/ocm/services/HostDiscoveryService.d.ts +6 -0
  580. package/dist/src/ocm/services/HostsService.d.ts +20 -0
  581. package/dist/src/ocm/services/InfraEnvIdsCacheService.d.ts +9 -0
  582. package/dist/src/ocm/services/InfraEnvsService.d.ts +13 -0
  583. package/dist/src/ocm/services/OperatorsService.d.ts +11 -0
  584. package/dist/src/ocm/services/apis/ClustersAPI.d.ts +35 -0
  585. package/dist/src/ocm/services/apis/ComponentVersionsAPI.d.ts +6 -0
  586. package/dist/src/ocm/services/apis/EventsAPI.d.ts +7 -0
  587. package/dist/src/ocm/services/apis/FeatureSupportLevelsAPI.d.ts +6 -0
  588. package/dist/src/ocm/services/apis/HostsAPI.d.ts +14 -0
  589. package/dist/src/ocm/services/apis/InfraEnvsAPI.d.ts +17 -0
  590. package/dist/src/ocm/services/apis/ManagedDomainsAPI.d.ts +6 -0
  591. package/dist/src/ocm/services/apis/SupportedOpenshiftVersionsAPI.d.ts +6 -0
  592. package/dist/src/ocm/services/apis/index.d.ts +8 -0
  593. package/dist/src/ocm/services/apis/types.d.ts +13 -0
  594. package/dist/src/ocm/services/index.d.ts +10 -0
  595. package/dist/src/ocm/services/types.d.ts +11 -0
  596. package/dist/src/ocm/store/index.d.ts +36 -0
  597. package/dist/src/ocm/store/slices/infraEnvs/slice.d.ts +3 -0
  598. package/dist/src/ocm/types.d.ts +5 -0
  599. package/package.json +148 -0
@@ -0,0 +1,22 @@
1
+ import * as React from 'react';
2
+ import { CheckboxProps, RadioProps } from '@patternfly/react-core';
3
+ import { CheckboxFieldProps, CodeFieldProps, RadioFieldProps, SelectFieldProps, SwitchFieldProps } from '../../../common/components/ui/formik/types';
4
+ import { RichInputFieldPropsProps } from '../../../common/components/ui/formik/RichInputField';
5
+ declare type DisableableField = {
6
+ isDisabled?: boolean;
7
+ };
8
+ export declare function RefFormFieldDisabler<T extends DisableableField>(FormComponent: React.ComponentType<T>): React.ForwardRefExoticComponent<React.PropsWithoutRef<T> & React.RefAttributes<unknown>>;
9
+ declare const OcmInputField: (props: React.PropsWithChildren<import("../../../common/components/ui/formik/types").InputFieldProps & {
10
+ inputError?: string | undefined;
11
+ description?: React.ReactNode;
12
+ labelInfo?: string | undefined;
13
+ }>) => JSX.Element;
14
+ declare const OcmSelectField: (props: SelectFieldProps) => JSX.Element;
15
+ declare const OcmCheckboxField: (props: CheckboxFieldProps) => JSX.Element;
16
+ declare const OcmSwitchField: (props: SwitchFieldProps) => JSX.Element;
17
+ declare const OcmRadioField: (props: RadioFieldProps) => JSX.Element;
18
+ declare const OcmCodeField: (props: CodeFieldProps) => JSX.Element;
19
+ declare const OcmCheckbox: (props: CheckboxProps) => JSX.Element;
20
+ declare const OcmRadio: (props: RadioProps) => JSX.Element;
21
+ declare const OcmRichInputField: React.ForwardRefExoticComponent<Pick<RichInputFieldPropsProps, "name" | "onBlur" | "onChange" | "label" | "max" | "min" | "placeholder" | "type" | "className" | "style" | "isDisabled" | "validate" | "noDefaultOnChange" | "showErrorMessage" | "labelIcon" | "helperText" | "isRequired" | "isReadOnly" | "disableDeleteRow" | "disableAddRow" | "groupClassName" | "idPostfix" | "callFormikOnChange" | "richValidationMessages"> & React.RefAttributes<unknown>>;
22
+ export { OcmInputField, OcmRichInputField, OcmSelectField, OcmCheckbox, OcmCheckboxField, OcmCodeField, OcmSwitchField, OcmRadioField, OcmRadio, };
@@ -0,0 +1 @@
1
+ export * from './AssistedUILibVersion';
@@ -0,0 +1,8 @@
1
+ import { AssistedInstallerOCMPermissionTypesListType, AssistedInstallerPermissionTypesListType, Cluster } from '../../common';
2
+ export declare const isSingleClusterMode: () => boolean;
3
+ export declare type ExtendedCluster = Cluster & {
4
+ permissions: AssistedInstallerOCMPermissionTypesListType;
5
+ };
6
+ export declare const getBasePermissions: (cluster: ExtendedCluster) => AssistedInstallerPermissionTypesListType;
7
+ export declare const ocmPermissionsToAIPermissions: (ocmPermissions: AssistedInstallerOCMPermissionTypesListType) => Partial<AssistedInstallerPermissionTypesListType>;
8
+ export declare const OCM_CLUSTER_LIST_LINK = "/openshift";
@@ -0,0 +1,2 @@
1
+ export * from './routeBaseBath';
2
+ export * from './constants';
@@ -0,0 +1,2 @@
1
+ export declare let routeBasePath: string;
2
+ export declare const setRouteBasePath: (basePath: string) => void;
@@ -0,0 +1,7 @@
1
+ export { default as useOpenshiftVersions } from './useOpenshiftVersions';
2
+ export { default as useClusterSupportedPlatforms } from './useClusterSupportedPlatforms';
3
+ export { default as useManagedDomains } from './useManagedDomains';
4
+ export { default as useUsedClusterNames } from './useUsedClusterNames';
5
+ export { default as useInfraEnvId } from './useInfraEnvId';
6
+ export { default as usePullSecret } from './usePullSecret';
7
+ export { default as useClusterPreflightRequirements } from './useClusterPreflightRequirements';
@@ -0,0 +1,7 @@
1
+ import { Cluster, PreflightHardwareRequirements } from '../../common/api/types';
2
+ declare const useClusterPreflightRequirements: (clusterId: Cluster['id']) => {
3
+ preflightRequirements: PreflightHardwareRequirements | undefined;
4
+ error: string;
5
+ isLoading: boolean;
6
+ };
7
+ export default useClusterPreflightRequirements;
@@ -0,0 +1,10 @@
1
+ import { AxiosError } from 'axios';
2
+ import { SupportedPlatformType } from '../../common';
3
+ import { APIErrorMixin } from '../api/types';
4
+ export declare type SupportedPlatformIntegrationType = 'no-active-integrations' | SupportedPlatformType;
5
+ export default function useClusterSupportedPlatforms(clusterId: string): {
6
+ isPlatformIntegrationSupported: boolean;
7
+ supportedPlatformIntegration: SupportedPlatformIntegrationType;
8
+ isLoading: boolean;
9
+ error: AxiosError<APIErrorMixin, any> | undefined;
10
+ };
@@ -0,0 +1,7 @@
1
+ import { Cluster, CpuArchitecture, InfraEnv, InfraEnvUpdateParams } from '../../common';
2
+ export default function useInfraEnv(clusterId: Cluster['id'], cpuArchitecture: CpuArchitecture): {
3
+ infraEnv: InfraEnv | undefined;
4
+ error: string;
5
+ isLoading: boolean;
6
+ updateInfraEnv: (infraEnvUpdateParams: InfraEnvUpdateParams) => Promise<InfraEnv>;
7
+ };
@@ -0,0 +1,5 @@
1
+ import { Cluster, CpuArchitecture } from '../../common';
2
+ export default function useInfraEnvId(clusterId: Cluster['id'], cpuArchitecture: CpuArchitecture): {
3
+ infraEnvId: string | undefined;
4
+ error: string;
5
+ };
@@ -0,0 +1,9 @@
1
+ import { Cluster, CpuArchitecture, PresignedUrl } from '../../common';
2
+ declare type ImgUrl = {
3
+ url: PresignedUrl['url'];
4
+ error: string;
5
+ };
6
+ export default function useInfraEnvImageUrl(): {
7
+ getIsoImageUrl: (clusterId: Cluster['id'], cpuArchitecture: CpuArchitecture) => Promise<ImgUrl>;
8
+ };
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import { ManagedDomain } from '../../common';
2
+ export default function useManagedDomains(): ManagedDomain[] | undefined;
@@ -0,0 +1,15 @@
1
+ import { Cluster, CpuArchitecture, ImportClusterParams, OpenshiftVersionOptionType } from '../../common';
2
+ declare type OpenShiftVersion = Cluster['openshiftVersion'];
3
+ declare type UseOpenshiftVersionsType = {
4
+ versions: OpenshiftVersionOptionType[];
5
+ normalizeClusterVersion: (version: OpenShiftVersion) => ImportClusterParams['openshiftVersion'];
6
+ isSupportedOpenShiftVersion: (version: OpenShiftVersion) => boolean;
7
+ getCpuArchitectures: (version: OpenShiftVersion) => CpuArchitecture[];
8
+ error?: {
9
+ title: string;
10
+ message: string;
11
+ };
12
+ loading: boolean;
13
+ };
14
+ export default function useOpenshiftVersions(): UseOpenshiftVersionsType;
15
+ export {};
@@ -0,0 +1 @@
1
+ export default function usePullSecret(): string | undefined;
@@ -0,0 +1,2 @@
1
+ import { AssistedInstallerOCMPermissionTypesListType, Cluster } from '../../common';
2
+ export default function useSetClusterPermissions(): (cluster?: Cluster | undefined, ocmPermissions?: AssistedInstallerOCMPermissionTypesListType | undefined) => void;
@@ -0,0 +1,4 @@
1
+ import { Cluster } from '../../common';
2
+ export default function useUsedClusterNames(clusterId: Cluster['id']): {
3
+ usedClusterNames: string[] | undefined;
4
+ };
@@ -0,0 +1,11 @@
1
+ export * as Api from './api';
2
+ export * as Store from './store';
3
+ export * as Selectors from './selectors';
4
+ export * as Config from './config';
5
+ export * as Services from './services';
6
+ export * from './components';
7
+ export * as Features from '../common/features';
8
+ export * as Constants from '../common/config';
9
+ export * as Reducers from '../common/reducers';
10
+ export * from '../common/components/ui';
11
+ export * from '../common/api';
@@ -0,0 +1,25 @@
1
+ import { PayloadAction } from '@reduxjs/toolkit';
2
+ import { Cluster, ResourceUIState } from '../../../common';
3
+ export declare const fetchClustersAsync: import("@reduxjs/toolkit").AsyncThunk<void | Cluster[], void, {
4
+ state?: unknown;
5
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
6
+ extra?: unknown;
7
+ rejectValue?: unknown;
8
+ serializedErrorType?: unknown;
9
+ pendingMeta?: unknown;
10
+ fulfilledMeta?: unknown;
11
+ rejectedMeta?: unknown;
12
+ }>;
13
+ declare type ClustersStateSlice = {
14
+ data: Cluster[];
15
+ uiState: ResourceUIState;
16
+ };
17
+ export declare const clustersSlice: import("@reduxjs/toolkit").Slice<ClustersStateSlice, {
18
+ deleteCluster: (state: import("immer/dist/internal").WritableDraft<ClustersStateSlice>, action: PayloadAction<Cluster['id']>) => {
19
+ data: import("immer/dist/internal").WritableDraft<Cluster>[];
20
+ uiState: ResourceUIState;
21
+ };
22
+ }, "clusters">;
23
+ export declare const deleteCluster: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, any>;
24
+ declare const _default: import("redux").Reducer<ClustersStateSlice, import("redux").AnyAction>;
25
+ export default _default;
@@ -0,0 +1,130 @@
1
+ import { PayloadAction } from '@reduxjs/toolkit';
2
+ import { AssistedInstallerPermissionTypesListType, Cluster, Host, ResourceUIState } from '../../../common';
3
+ export declare type FetchErrorType = {
4
+ code: string | number;
5
+ message: string;
6
+ };
7
+ declare type CurrentClusterStateSlice = {
8
+ data?: Cluster;
9
+ uiState: ResourceUIState;
10
+ isReloadScheduled: number;
11
+ permissions: AssistedInstallerPermissionTypesListType;
12
+ errorDetail?: FetchErrorType;
13
+ };
14
+ export declare const fetchClusterAsync: import("@reduxjs/toolkit").AsyncThunk<void | Cluster, string, {
15
+ rejectValue: FetchErrorType;
16
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
17
+ state?: unknown;
18
+ extra?: unknown;
19
+ serializedErrorType?: unknown;
20
+ pendingMeta?: unknown;
21
+ fulfilledMeta?: unknown;
22
+ rejectedMeta?: unknown;
23
+ }>;
24
+ export declare const currentClusterSlice: import("@reduxjs/toolkit").Slice<CurrentClusterStateSlice, {
25
+ updateClusterBase: (state: import("immer/dist/internal").WritableDraft<CurrentClusterStateSlice>, action: PayloadAction<Cluster>) => {
26
+ data: {
27
+ hosts: import("immer/dist/internal").WritableDraft<Host>[];
28
+ kind: "Cluster" | "AddHostsCluster";
29
+ highAvailabilityMode?: "Full" | "None" | undefined;
30
+ id: string;
31
+ href: string;
32
+ name?: string | undefined;
33
+ userName?: string | undefined;
34
+ orgId?: string | undefined;
35
+ emailDomain?: string | undefined;
36
+ openshiftVersion?: string | undefined;
37
+ ocpReleaseImage?: string | undefined;
38
+ openshiftClusterId?: string | undefined;
39
+ imageInfo: import("../../../common").ImageInfo;
40
+ platform?: import("../../../common").Platform | undefined;
41
+ baseDnsDomain?: string | undefined;
42
+ clusterNetworkCidr?: string | undefined;
43
+ clusterNetworkHostPrefix?: number | undefined;
44
+ serviceNetworkCidr?: string | undefined;
45
+ apiVip?: string | undefined;
46
+ apiVipDnsName?: string | undefined;
47
+ machineNetworkCidr?: string | undefined;
48
+ ingressVip?: string | undefined;
49
+ sshPublicKey?: string | undefined;
50
+ httpProxy?: string | undefined;
51
+ httpsProxy?: string | undefined;
52
+ noProxy?: string | undefined;
53
+ status: "insufficient" | "ready" | "error" | "preparing-for-installation" | "pending-for-input" | "installing" | "finalizing" | "installed" | "adding-hosts" | "cancelled" | "installing-pending-user-action";
54
+ statusInfo: string;
55
+ statusUpdatedAt?: string | undefined;
56
+ progress?: import("../../../common").ClusterProgressInfo | undefined;
57
+ diskEncryption?: import("../../../common").DiskEncryption | undefined;
58
+ readyHostCount?: number | undefined;
59
+ enabledHostCount?: number | undefined;
60
+ totalHostCount?: number | undefined;
61
+ schedulableMasters?: boolean | undefined;
62
+ schedulableMastersForcedTrue?: boolean | undefined;
63
+ updatedAt?: string | undefined;
64
+ createdAt?: string | undefined;
65
+ installStartedAt?: string | undefined;
66
+ installCompletedAt?: string | undefined;
67
+ hostNetworks?: import("../../../common").HostNetwork[] | undefined;
68
+ pullSecretSet?: boolean | undefined;
69
+ vipDhcpAllocation?: boolean | undefined;
70
+ validationsInfo?: string | undefined;
71
+ logsInfo?: "" | "requested" | "collecting" | "completed" | "timeout" | undefined;
72
+ installConfigOverrides?: string | undefined;
73
+ controllerLogsCollectedAt?: string | undefined;
74
+ controllerLogsStartedAt?: string | undefined;
75
+ connectivityMajorityGroups?: string | undefined;
76
+ deletedAt?: unknown;
77
+ userManagedNetworking?: boolean | undefined;
78
+ additionalNtpSource?: string | undefined;
79
+ monitoredOperators?: import("../../../common").MonitoredOperator[] | undefined;
80
+ amsSubscriptionId?: string | undefined;
81
+ hyperthreading?: "masters" | "workers" | "all" | "none" | undefined;
82
+ featureUsage?: string | undefined;
83
+ networkType?: "OpenShiftSDN" | "OVNKubernetes" | undefined;
84
+ clusterNetworks?: import("../../../common").ClusterNetwork[] | undefined;
85
+ serviceNetworks?: import("../../../common").ServiceNetwork[] | undefined;
86
+ machineNetworks?: import("../../../common").MachineNetwork[] | undefined;
87
+ cpuArchitecture?: string | undefined;
88
+ ignitionEndpoint?: import("../../../common").IgnitionEndpoint | undefined;
89
+ imported?: boolean | undefined;
90
+ tags?: string | undefined;
91
+ };
92
+ uiState: ResourceUIState;
93
+ isReloadScheduled: number;
94
+ permissions: import("immer/dist/internal").WritableDraft<AssistedInstallerPermissionTypesListType>;
95
+ errorDetail?: import("immer/dist/internal").WritableDraft<FetchErrorType> | undefined;
96
+ };
97
+ updateCluster: (state: import("immer/dist/internal").WritableDraft<CurrentClusterStateSlice>, action: PayloadAction<Cluster>) => {
98
+ data: Cluster;
99
+ uiState: ResourceUIState;
100
+ isReloadScheduled: number;
101
+ permissions: import("immer/dist/internal").WritableDraft<AssistedInstallerPermissionTypesListType>;
102
+ errorDetail?: import("immer/dist/internal").WritableDraft<FetchErrorType> | undefined;
103
+ };
104
+ updateHost: (state: import("immer/dist/internal").WritableDraft<CurrentClusterStateSlice>, action: PayloadAction<Host>) => import("immer/dist/internal").WritableDraft<CurrentClusterStateSlice>;
105
+ cleanCluster: () => CurrentClusterStateSlice;
106
+ forceReload: (state: import("immer/dist/internal").WritableDraft<CurrentClusterStateSlice>) => {
107
+ isReloadScheduled: number;
108
+ data?: import("immer/dist/internal").WritableDraft<Cluster> | undefined;
109
+ uiState: ResourceUIState;
110
+ permissions: import("immer/dist/internal").WritableDraft<AssistedInstallerPermissionTypesListType>;
111
+ errorDetail?: import("immer/dist/internal").WritableDraft<FetchErrorType> | undefined;
112
+ };
113
+ cancelForceReload: (state: import("immer/dist/internal").WritableDraft<CurrentClusterStateSlice>) => {
114
+ isReloadScheduled: number;
115
+ data?: import("immer/dist/internal").WritableDraft<Cluster> | undefined;
116
+ uiState: ResourceUIState;
117
+ permissions: import("immer/dist/internal").WritableDraft<AssistedInstallerPermissionTypesListType>;
118
+ errorDetail?: import("immer/dist/internal").WritableDraft<FetchErrorType> | undefined;
119
+ };
120
+ updateClusterPermissions: (state: import("immer/dist/internal").WritableDraft<CurrentClusterStateSlice>, action: PayloadAction<AssistedInstallerPermissionTypesListType>) => {
121
+ permissions: AssistedInstallerPermissionTypesListType;
122
+ data?: import("immer/dist/internal").WritableDraft<Cluster> | undefined;
123
+ uiState: ResourceUIState;
124
+ isReloadScheduled: number;
125
+ errorDetail?: import("immer/dist/internal").WritableDraft<FetchErrorType> | undefined;
126
+ };
127
+ }, "currentCluster">;
128
+ export declare const updateCluster: import("@reduxjs/toolkit").ActionCreatorWithPayload<Cluster, any>, updateClusterBase: import("@reduxjs/toolkit").ActionCreatorWithPayload<Cluster, any>, updateHost: import("@reduxjs/toolkit").ActionCreatorWithPayload<Host, any>, cleanCluster: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<any>, forceReload: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<any>, cancelForceReload: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<any>, updateClusterPermissions: import("@reduxjs/toolkit").ActionCreatorWithPayload<AssistedInstallerPermissionTypesListType, any>;
129
+ declare const _default: import("redux").Reducer<CurrentClusterStateSlice, import("redux").AnyAction>;
130
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export * from './clustersSlice';
2
+ export * from './currentClusterSlice';
@@ -0,0 +1,61 @@
1
+ import { IRowData } from '@patternfly/react-table';
2
+ import { ClusterTableRows } from '../../common/types/clusters';
3
+ import { Cluster, HumanizedSortable, ResourceUIState } from '../../common';
4
+ import { TFunction } from 'i18next';
5
+ export declare const selectClustersUIState: import("reselect/*").OutputSelector<{
6
+ clusters: {
7
+ data: Cluster[];
8
+ uiState: ResourceUIState;
9
+ };
10
+ currentCluster: {
11
+ data?: Cluster | undefined;
12
+ uiState: ResourceUIState;
13
+ isReloadScheduled: number;
14
+ permissions: import("../../common").AssistedInstallerPermissionTypesListType;
15
+ errorDetail?: import("../reducers/clusters").FetchErrorType | undefined;
16
+ };
17
+ infraEnvs: import("../../common").InfraEnv[];
18
+ }, ResourceUIState, (res1: Cluster[], res2: ResourceUIState) => ResourceUIState>;
19
+ export declare const getClusterTableStatusCell: (rowData: IRowData) => HumanizedSortable;
20
+ export declare const selectClusterTableRows: (t: TFunction) => import("reselect/*").OutputSelector<{
21
+ clusters: {
22
+ data: Cluster[];
23
+ uiState: ResourceUIState;
24
+ };
25
+ currentCluster: {
26
+ data?: Cluster | undefined;
27
+ uiState: ResourceUIState;
28
+ isReloadScheduled: number;
29
+ permissions: import("../../common").AssistedInstallerPermissionTypesListType;
30
+ errorDetail?: import("../reducers/clusters").FetchErrorType | undefined;
31
+ };
32
+ infraEnvs: import("../../common").InfraEnv[];
33
+ }, ClusterTableRows, (res: Cluster[]) => ClusterTableRows>;
34
+ export declare const selectClusterNames: import("reselect/*").OutputSelector<{
35
+ clusters: {
36
+ data: Cluster[];
37
+ uiState: ResourceUIState;
38
+ };
39
+ currentCluster: {
40
+ data?: Cluster | undefined;
41
+ uiState: ResourceUIState;
42
+ isReloadScheduled: number;
43
+ permissions: import("../../common").AssistedInstallerPermissionTypesListType;
44
+ errorDetail?: import("../reducers/clusters").FetchErrorType | undefined;
45
+ };
46
+ infraEnvs: import("../../common").InfraEnv[];
47
+ }, (string | undefined)[], (res: Cluster[]) => (string | undefined)[]>;
48
+ export declare const selectClusterNamesButCurrent: import("reselect/*").OutputSelector<{
49
+ clusters: {
50
+ data: Cluster[];
51
+ uiState: ResourceUIState;
52
+ };
53
+ currentCluster: {
54
+ data?: Cluster | undefined;
55
+ uiState: ResourceUIState;
56
+ isReloadScheduled: number;
57
+ permissions: import("../../common").AssistedInstallerPermissionTypesListType;
58
+ errorDetail?: import("../reducers/clusters").FetchErrorType | undefined;
59
+ };
60
+ infraEnvs: import("../../common").InfraEnv[];
61
+ }, (string | undefined)[], (res1: (string | undefined)[], res2: string | undefined) => (string | undefined)[]>;
@@ -0,0 +1,13 @@
1
+ import { AssistedInstallerPermissionTypesListType } from '../../common';
2
+ import { RootState } from '../store';
3
+ export declare const selectCurrentClusterState: (state: RootState) => {
4
+ data?: import("../../common").Cluster | undefined;
5
+ uiState: import("../../common").ResourceUIState;
6
+ isReloadScheduled: number;
7
+ permissions: AssistedInstallerPermissionTypesListType;
8
+ errorDetail?: import("../reducers/clusters").FetchErrorType | undefined;
9
+ };
10
+ export declare const selectCurrentCluster: (state: RootState) => import("../../common").Cluster | undefined;
11
+ export declare const selectCurrentClusterUIState: (state: RootState) => import("../../common").ResourceUIState;
12
+ export declare const selectIsCurrentClusterSNO: (state: RootState) => boolean;
13
+ export declare const selectCurrentClusterPermissionsState: (state: RootState) => AssistedInstallerPermissionTypesListType;
@@ -0,0 +1,2 @@
1
+ export * from './currentCluster';
2
+ export * from './clusters';
@@ -0,0 +1,2 @@
1
+ import * as Sentry from '@sentry/browser';
2
+ export declare const captureException: (error: any, message?: string | undefined, severity?: Sentry.Severity) => void;
@@ -0,0 +1,14 @@
1
+ import { Cluster, InfraEnv, ManagedDomain, OpenshiftVersionOptionType } from '../../common';
2
+ import { ClusterCreateParamsWithStaticNetworking, OcmClusterDetailsValues } from './types';
3
+ declare const ClusterDetailsService: {
4
+ getClusterCreateParams(values: OcmClusterDetailsValues): ClusterCreateParamsWithStaticNetworking;
5
+ getClusterDetailsInitialValues({ cluster, infraEnv, urlSearchParams, ...args }: {
6
+ cluster?: Cluster | undefined;
7
+ infraEnv?: InfraEnv | undefined;
8
+ pullSecret?: string | undefined;
9
+ managedDomains: ManagedDomain[];
10
+ ocpVersions: OpenshiftVersionOptionType[];
11
+ urlSearchParams: string;
12
+ }): OcmClusterDetailsValues;
13
+ };
14
+ export default ClusterDetailsService;
@@ -0,0 +1,16 @@
1
+ import { Cluster, Host, V2ClusterUpdateParams } from '../../common';
2
+ import { ClusterCreateParamsWithStaticNetworking } from './types';
3
+ declare const ClustersService: {
4
+ findHost(hosts: Cluster['hosts'], hostId: Host['id']): Host | undefined;
5
+ create(params: ClusterCreateParamsWithStaticNetworking): Promise<Cluster>;
6
+ remove(clusterId: Cluster['id']): Promise<void>;
7
+ downloadLogs(clusterId: Cluster['id'], hostId?: string | undefined): Promise<{
8
+ data: Blob;
9
+ fileName: string | undefined;
10
+ }>;
11
+ update(clusterId: Cluster['id'], clusterTags: Cluster['tags'], params: V2ClusterUpdateParams): Promise<import("axios").AxiosResponse<Cluster, any>>;
12
+ install(clusterId: Cluster['id'], clusterTags: Cluster['tags']): Promise<import("axios").AxiosResponse<Cluster, any>>;
13
+ updateClusterTags(clusterTags: Cluster['tags'], params: V2ClusterUpdateParams): V2ClusterUpdateParams;
14
+ get(clusterId: Cluster['id']): Promise<Cluster>;
15
+ };
16
+ export default ClustersService;
@@ -0,0 +1,14 @@
1
+ import { Cluster, CpuArchitecture, OcmCpuArchitecture } from '../../common';
2
+ declare const mapOcmArchToCpuArchitecture: (ocmArch: OcmCpuArchitecture | string) => CpuArchitecture;
3
+ /**
4
+ * Takes the cluster.cpuArchitecture value and maps it to
5
+ * a valid infraEnv cpuArchitecture value (currently either x86 or AMD).
6
+ *
7
+ * As of 2022-10-27, cluster's cpuArchitecture can be:
8
+ * - For an AI cluster: CpuArchitecture.x86, CpuArchitecture.ARM or the value "multi"
9
+ * - For an OCM cluster: values as defined in OcmCpuArchitecture
10
+ *
11
+ * @param clusterCpuArchitecture the cluster's cpuArchitecture value
12
+ */
13
+ declare const mapClusterCpuArchToInfraEnvCpuArch: (clusterCpuArchitecture: Cluster['cpuArchitecture'] | OcmCpuArchitecture) => CpuArchitecture;
14
+ export { mapOcmArchToCpuArchitecture, mapClusterCpuArchToInfraEnvCpuArch };
@@ -0,0 +1,87 @@
1
+ import { Cluster, CpuArchitecture, OcmCpuArchitecture } from '../../common';
2
+ import { OcmClusterExtraInfo, OcmClusterType } from '../components/AddHosts/types';
3
+ export declare const getApiVipDnsName: (ocmCluster: OcmClusterType) => {
4
+ apiVipDnsname: string;
5
+ errorType: string;
6
+ };
7
+ declare const Day2ClusterService: {
8
+ getOpenshiftClusterId(ocmCluster?: OcmClusterType | undefined): string | undefined;
9
+ fetchCluster(ocmCluster: OcmClusterType, pullSecret: string, openshiftVersion: string, extraInfo: OcmClusterExtraInfo): Promise<Cluster | undefined>;
10
+ fetchClusterById(clusterId: Cluster['id']): Promise<Cluster>;
11
+ getDay2ClusterId(openshiftClusterId: OcmClusterType['external_id']): Promise<string | undefined>;
12
+ createCluster(openshiftClusterId: OcmClusterType['external_id'], clusterName: string, apiVipDnsname: string, pullSecret: string, openshiftVersion: string, cpuArchitectures: CpuArchitecture[]): Promise<Cluster>;
13
+ /**
14
+ * Complete the day2Cluster coming from AI polling with the data in the OCM cluster
15
+ * @param day2Cluster Day2 cluster
16
+ * @param ocmCluster OCM cluster
17
+ * @param extraInfo Extra information coming from OCM
18
+ */
19
+ completeAiClusterWithOcmCluster: (day2Cluster: Cluster | undefined, ocmCluster: OcmClusterType | undefined, extraInfo: OcmClusterExtraInfo) => Cluster | {
20
+ openshiftVersion: string;
21
+ cpuArchitecture: OcmCpuArchitecture;
22
+ canSelectCpuArch: boolean;
23
+ kind: "Cluster" | "AddHostsCluster";
24
+ highAvailabilityMode?: "Full" | "None" | undefined;
25
+ id: string;
26
+ href: string;
27
+ name?: string | undefined;
28
+ userName?: string | undefined;
29
+ orgId?: string | undefined;
30
+ emailDomain?: string | undefined;
31
+ ocpReleaseImage?: string | undefined;
32
+ openshiftClusterId?: string | undefined;
33
+ imageInfo: import("../../common").ImageInfo;
34
+ platform?: import("../../common").Platform | undefined;
35
+ baseDnsDomain?: string | undefined;
36
+ clusterNetworkCidr?: string | undefined;
37
+ clusterNetworkHostPrefix?: number | undefined;
38
+ serviceNetworkCidr?: string | undefined;
39
+ apiVip?: string | undefined;
40
+ apiVipDnsName?: string | undefined;
41
+ machineNetworkCidr?: string | undefined;
42
+ ingressVip?: string | undefined;
43
+ sshPublicKey?: string | undefined;
44
+ httpProxy?: string | undefined;
45
+ httpsProxy?: string | undefined;
46
+ noProxy?: string | undefined;
47
+ status: "insufficient" | "ready" | "error" | "preparing-for-installation" | "pending-for-input" | "installing" | "finalizing" | "installed" | "adding-hosts" | "cancelled" | "installing-pending-user-action";
48
+ statusInfo: string;
49
+ statusUpdatedAt?: string | undefined;
50
+ progress?: import("../../common").ClusterProgressInfo | undefined;
51
+ diskEncryption?: import("../../common").DiskEncryption | undefined;
52
+ hosts?: import("../../common").Host[] | undefined;
53
+ readyHostCount?: number | undefined;
54
+ enabledHostCount?: number | undefined;
55
+ totalHostCount?: number | undefined;
56
+ schedulableMasters?: boolean | undefined;
57
+ schedulableMastersForcedTrue?: boolean | undefined;
58
+ updatedAt?: string | undefined;
59
+ createdAt?: string | undefined;
60
+ installStartedAt?: string | undefined;
61
+ installCompletedAt?: string | undefined;
62
+ hostNetworks?: import("../../common").HostNetwork[] | undefined;
63
+ pullSecretSet?: boolean | undefined;
64
+ vipDhcpAllocation?: boolean | undefined;
65
+ validationsInfo?: string | undefined;
66
+ logsInfo?: "" | "requested" | "collecting" | "completed" | "timeout" | undefined;
67
+ installConfigOverrides?: string | undefined;
68
+ controllerLogsCollectedAt?: string | undefined;
69
+ controllerLogsStartedAt?: string | undefined;
70
+ connectivityMajorityGroups?: string | undefined;
71
+ deletedAt?: unknown;
72
+ userManagedNetworking?: boolean | undefined;
73
+ additionalNtpSource?: string | undefined;
74
+ monitoredOperators?: import("../../common").MonitoredOperator[] | undefined;
75
+ amsSubscriptionId?: string | undefined;
76
+ hyperthreading?: "masters" | "workers" | "all" | "none" | undefined;
77
+ featureUsage?: string | undefined;
78
+ networkType?: "OpenShiftSDN" | "OVNKubernetes" | undefined;
79
+ clusterNetworks?: import("../../common").ClusterNetwork[] | undefined;
80
+ serviceNetworks?: import("../../common").ServiceNetwork[] | undefined;
81
+ machineNetworks?: import("../../common").MachineNetwork[] | undefined;
82
+ ignitionEndpoint?: import("../../common").IgnitionEndpoint | undefined;
83
+ imported?: boolean | undefined;
84
+ tags?: string | undefined;
85
+ } | undefined;
86
+ };
87
+ export default Day2ClusterService;
@@ -0,0 +1,9 @@
1
+ import { Cluster, InfraEnv } from '../../common/api/types';
2
+ import { DiscoveryImageFormValues } from '../../common/components/clusterConfiguration';
3
+ declare const DiscoveryImageFormService: {
4
+ update(clusterId: Cluster['id'], clusterTags: Cluster['tags'], infraEnvId: InfraEnv['id'], formValues: DiscoveryImageFormValues, ocmPullSecret?: string | undefined): Promise<{
5
+ updatedCluster: Cluster;
6
+ updatedInfraEnv: InfraEnv;
7
+ }>;
8
+ };
9
+ export default DiscoveryImageFormService;
@@ -0,0 +1,6 @@
1
+ import { ClusterCreateParams, ClusterDetailsValues, DiskEncryption } from '../../common';
2
+ declare const DiskEncryptionService: {
3
+ diskEncryptionEnableOn(isEnableOnMasters: boolean, isEnableOnWorkers: boolean): DiskEncryption['enableOn'];
4
+ getDiskEncryptionParams(values: ClusterDetailsValues): ClusterCreateParams['diskEncryption'];
5
+ };
6
+ export default DiskEncryptionService;
@@ -0,0 +1,6 @@
1
+ import { Cluster, V2ClusterUpdateParams, HostDiscoveryValues, SupportedPlatformType } from '../../common';
2
+ declare const HostDiscoveryService: {
3
+ setPlatform(params: V2ClusterUpdateParams, platformToIntegrate: SupportedPlatformType | undefined, userManagedNetworking: boolean | undefined): void;
4
+ setSchedulableMasters(params: V2ClusterUpdateParams, values: HostDiscoveryValues, cluster: Cluster): void;
5
+ };
6
+ export default HostDiscoveryService;
@@ -0,0 +1,20 @@
1
+ import { Disk, DiskRole, Host, HostUpdateParams } from '../../common';
2
+ declare const HostsService: {
3
+ /**
4
+ * Removes all the hosts in the list assuming
5
+ * all of them have a valid infraEnvId value.
6
+ * @param hosts
7
+ */
8
+ removeAll(hosts: Host[]): Promise<import("axios").AxiosResponse<void, any>[]>;
9
+ update(host: Host, params: HostUpdateParams): Promise<import("axios").AxiosResponse<Host, any>>;
10
+ updateHostName(host: Host, newHostName: HostUpdateParams['hostName']): Promise<import("axios").AxiosResponse<Host, any>>;
11
+ updateRole(host: Host, newHostRole: HostUpdateParams['hostRole']): Promise<import("axios").AxiosResponse<Host, any>>;
12
+ updateHostODF(host: Host, newNodeLabels: HostUpdateParams['nodeLabels']): Promise<import("axios").AxiosResponse<Host, any>>;
13
+ updateDiskRole(host: Host, diskId: Required<Disk>['id'], newDiskRole: DiskRole): Promise<import("axios").AxiosResponse<Host, any>>;
14
+ updateFormattingDisks(host: Host, diskIdValue: Required<Disk>['id'], shouldSkipFormat: boolean): Promise<import("axios").AxiosResponse<Host, any>>;
15
+ delete(host: Host): Promise<import("axios").AxiosResponse<void, any>>;
16
+ reset(host: Host): Promise<import("axios").AxiosResponse<Host, any>>;
17
+ install(host: Host): Promise<import("axios").AxiosResponse<Host, any>>;
18
+ installAll(hosts: Host[]): Promise<import("axios").AxiosResponse<Host, any>[]>;
19
+ };
20
+ export default HostsService;
@@ -0,0 +1,9 @@
1
+ import { CpuArchitecture, InfraEnv } from '../../common';
2
+ declare type InfraEnvStorage = Omit<Storage, 'getItem' | 'removeItem' | 'setItem'> & {
3
+ getInfraEnvId(clusterId: string, cpuArchitecture: CpuArchitecture): string | null;
4
+ removeInfraEnvId(clusterId: string, cpuArchitecture: CpuArchitecture): void;
5
+ removeInfraEnvs(clusterId: string): void;
6
+ updateInfraEnvs(clusterId: string, infraEnvs: InfraEnv[]): void;
7
+ };
8
+ declare const InfraEnvIdsCacheService: InfraEnvStorage;
9
+ export default InfraEnvIdsCacheService;
@@ -0,0 +1,13 @@
1
+ import { AxiosResponse } from 'axios';
2
+ import { Cluster, CpuArchitecture, HostStaticNetworkConfig, InfraEnv, InfraEnvCreateParams } from '../../common';
3
+ declare const InfraEnvsService: {
4
+ getInfraEnvId(clusterId: Cluster['id'], cpuArchitecture: CpuArchitecture): Promise<string>;
5
+ getInfraEnv(clusterId: Cluster['id'], cpuArchitecture: CpuArchitecture): Promise<InfraEnv>;
6
+ getAllInfraEnvIds(clusterId: Cluster['id']): Promise<string[]>;
7
+ create(params: InfraEnvCreateParams): Promise<void>;
8
+ removeAll(clusterId: Cluster['id']): Promise<AxiosResponse<void, any>[]>;
9
+ updateAllInfraEnvsToDhcp(clusterId: Cluster['id']): Promise<AxiosResponse<InfraEnv, any>[]>;
10
+ setDummyStaticConfigToInfraEnv(infraEnvId: InfraEnv['id']): Promise<InfraEnv>;
11
+ syncStaticIpConfigs(clusterId: Cluster['id'], currentInfraEnvId: InfraEnv['id'], staticNetworkConfig: HostStaticNetworkConfig[]): Promise<InfraEnv>;
12
+ };
13
+ export default InfraEnvsService;
@@ -0,0 +1,11 @@
1
+ import { Cluster, OperatorsValues, OperatorCreateParams } from '../../common';
2
+ declare const OperatorsService: {
3
+ getOLMOperators(values: OperatorsValues, cluster: Cluster): OperatorCreateParams[];
4
+ /**
5
+ * Depending on the Openshift version and certain selected operators, the
6
+ * Backend can activate some other operators.
7
+ * We need to synchronise them back to the form
8
+ */
9
+ syncOperators(uiOperators: OperatorCreateParams[], updatedOperators: Cluster['monitoredOperators']): Partial<OperatorsValues>;
10
+ };
11
+ export default OperatorsService;