HOW IT WORKS · CONFIG V2
Device configs are now computed, not stored.
INPUT
Device snapshot
OUTPUT
Config
THE FUNCTION
buildConfig()
1export function buildConfig(
2 snap: DeviceSnapshot
3): DeviceConfig
Pure function:
same input → same output
database
history
touches neither