core/config/lib/controller.pkl

18 lines
297 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
2024-04-29 02:19:02 +00:00
pulse: Number(this >= 0)|Null = null
}
relays: Listing<RelayConfig>