import { DeviceAccountSettings } from "farmbot/dist/resources/api_resources"; /** Determines if the device was forced to wait due to log flooding. */ export const deviceIsThrottled = (dev: Partial | undefined): boolean => { return !!(dev && dev.throttled_at && dev.throttled_until); };