common/config/lib/controller.pkl
2024-04-28 01:38:57 +02:00

16 lines
258 B
Text

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