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