import { RPCClientError } from '@loafer/ng-rpc';

import { Infra } from '@overflow/commons-typescript/model/infra';

export interface State {
  error: RPCClientError | null;
  isPending: boolean;
  infra: Infra | null;
}

export const initialState: State = {
  error: null,
  isPending: false,
  infra: null,
};