import * as types from "app/store/state/types";

import { Selector } from "./selector";

/* eslint-disable max-len */
export const addClusterGetNodeName: Selector<types.addCluster.NodeName> = state =>
  state.addExistingCluster.nodeName;

export const addClusterGetStepAuthState: Selector<types.addCluster.AUTH_STATE> = state =>
  state.addExistingCluster.stepAuthState;

export const addClusterGetAuthProcessId: Selector<types.addCluster.AuthProcessId> = state =>
  state.addExistingCluster.authProcessId;

export const addClusterGetStepAddState: Selector<types.addCluster.ADD_STATE> = state =>
  state.addExistingCluster.stepAddState;

export const addClusterGetStateError: Selector<types.addCluster.StateError> = state =>
  state.addExistingCluster.stateError;
