controller/config/lib/controller.pkl

17 lines
250 B
Text
Raw Normal View History

import "./common.pkl"
server: common.ServerConfig
database: String
permissions: common.PermissionsConfig
logging: common.LoggingConfig
class RelayConfig {
driver: "gpio" | "piface"
pin: Number
inverted: Boolean
}
relays: Listing<RelayConfig>