From 20e5f4cd989fbe345d949c96f73009901fdfd041 Mon Sep 17 00:00:00 2001 From: "sean.zhou" Date: Mon, 12 Dec 2022 22:48:46 +0800 Subject: [PATCH] update device-firmware.ts --- src/types/device-firmware.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/types/device-firmware.ts b/src/types/device-firmware.ts index bff2e1a..aa16037 100644 --- a/src/types/device-firmware.ts +++ b/src/types/device-firmware.ts @@ -10,6 +10,12 @@ export interface Firmware { firmware_status: boolean } +export enum FirmwareStatusEnum { + NONE = 'All', + FALSE = 'Disabled', + TRUE = 'Available' +} + export interface FirmwareQueryParam { product_version: string device_name: string @@ -22,12 +28,6 @@ export interface FirmwareUploadParam { status: boolean } -export enum FirmwareStatusEnum { - NONE = 'All', - FALSE = 'Disabled', - TRUE = 'Available' -} - export enum DeviceNameEnum { DJI_DOCK = 'DJI Dock', MATRICE_30 = 'Matrice 30'