diff options
Diffstat (limited to 'src/lib/config/devices.types.ts')
| -rw-r--r-- | src/lib/config/devices.types.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/config/devices.types.ts b/src/lib/config/devices.types.ts new file mode 100644 index 0000000..d960f7e --- /dev/null +++ b/src/lib/config/devices.types.ts @@ -0,0 +1,14 @@ +// +// ~~~ device config types +// + +// individual device configs +export interface DeviceConfig { + name: string, + mqtt: string +} + +// global device config +export default interface DevicesConfig { + [ index: string ]: DeviceConfig +} |
