Skip to content

Commit 3145285

Browse files
committed
fix: export FwTypes
1 parent 490dd32 commit 3145285

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

src/api/devices.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@ const ProvisionDevice = Type.Object({
1717
bulkOpsRequestId: Type.String(),
1818
})
1919

20-
type FwType =
21-
| 'APP'
22-
| 'MODEM'
23-
| 'BOOT'
24-
| 'SOFTDEVICE'
25-
| 'BOOTLOADER'
26-
| 'MDM_FULL'
20+
/**
21+
* firmware types supported by a device for FOTA
22+
*/
23+
enum FwType {
24+
APP = 'APP',
25+
MODEM = 'MODEM',
26+
BOOT = 'BOOT',
27+
SOFTDEVICE = 'SOFTDEVICE',
28+
BOOTLOADER = 'BOOTLOADER',
29+
MDM_FULL = 'MDM_FULL',
30+
}
2731

2832
export const devices = (
2933
{

0 commit comments

Comments
 (0)