Cleanup part III

pull/692/head
Rick Carlino 2018-03-02 09:12:47 -06:00
parent c3c4750749
commit d6e2758406
2 changed files with 3 additions and 14 deletions

View File

@ -5,12 +5,12 @@ import { Xyz, BotPosition } from "./devices/interfaces";
import { McuParams } from "farmbot";
import { getDevice } from "./device";
export interface State {
interface State {
isOpen: boolean;
stepSize: number;
}
export interface Props {
interface Props {
dispatch: Function;
axisInversion: Record<Xyz, boolean>;
botPosition: BotPosition;

View File

@ -12,19 +12,8 @@ export let METHOD_MAP: Dictionary<DataChangeType> = {
};
export let METHODS = ["post", "put", "patch", "delete"];
export let RESOURCES: ResourceName[] = [
"Point",
"Regimen",
"Peripheral",
"Log",
"Sequence",
"FarmEvent",
"Point",
"Device"
];
/** Temporary stub until auto_sync rollout. TODO: Remove */
export const RESOURNCE_NAME_IN_URL = [
const RESOURNCE_NAME_IN_URL = [
"device",
"farm_events",
"logs",