Cleanup part III
parent
c3c4750749
commit
d6e2758406
|
@ -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;
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue