core/config/lib/controller.pkl

17 lines
258 B
Text
Raw Normal View History

import "./common.pkl"
server: common.ServerConfig
database: String
permissions: common.PermissionsConfig
logging: common.LoggingConfig
class RelayConfig {
2024-04-27 23:38:57 +00:00
driver: "null"|"gpio"|"piface"
pin: Number
inverted: Boolean
}
relays: Listing<RelayConfig>