diff options
| author | Autumn <git@autumnfo.rest> | 2026-05-11 17:59:12 +0100 |
|---|---|---|
| committer | Autumn <git@autumnfo.rest> | 2026-05-11 17:59:12 +0100 |
| commit | 91dec87c2f0bc218160915e43ca27ce49105939d (patch) | |
| tree | f5ba0bed770168614c37d437f6dd47b1cd59cd95 /src/lib/config/devices.types.ts | |
| parent | 951844836fca55b5321999a4d4637d1b56fdb448 (diff) | |
[config] added basic device config loader
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 +} |
