Move cluster related types and function into seperate files (#3530)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-08-03 10:36:14 -04:00
1 parent 2893ad956d
commit a6e91fc34a
49 files changed
+435 -258

No files matched your search

@@ -25,8 +25,9 @@ import { Select, SelectOption } from "../../select/select";
import { Icon } from "../../icon/icon";
import { Button } from "../../button/button";
import { SubTitle } from "../../layout/sub-title";
import { Cluster, ClusterMetricsResourceType } from "../../../../main/cluster";
import type { Cluster } from "../../../../main/cluster";
import { observable, reaction, makeObservable } from "mobx";
import { ClusterMetricsResourceType } from "../../../../common/cluster-types";
interface Props {
cluster: Cluster;
@@ -26,7 +26,7 @@ import React from "react";
import { Input } from "../../input/input";
import { disposeOnUnmount, observer } from "mobx-react";
import { Icon } from "../../icon/icon";
import { initialNodeShellImage } from "../../../../common/cluster-store";
import { initialNodeShellImage } from "../../../../common/cluster-types";
interface Props {
cluster: Cluster;