// tslint:disable:max-line-length import { HostRecord } from "@nteract/types"; import { Action, HasHost, makeActionFunction } from "../utils"; export const ADD_HOST = "CORE/ADD_HOST"; export const REMOVE_HOST = "CORE/REMOVE_HOST"; export const SET_APP_HOST = "SET_APP_HOST"; export type AddHost = Action; export type RemoveHost = Action; export type SetAppHostAction = Action; export const addHost = makeActionFunction (ADD_HOST); export const removeHost = makeActionFunction (REMOVE_HOST); export const setAppHost = makeActionFunction(SET_APP_HOST);