2026-09-21 17:38:45 -07:00
|
|
|
type Request=record {url:string;text:string;version:int32;};
|
|
|
|
|
interface DeviceController id "device-controller" revision "device-controller@1" {
|
2026-09-28 20:29:21 -07:00
|
|
|
queryable portable value enabled id "controller:enabled" : bool {get id "controller:enabled:get" execution snapshot;}
|
|
|
|
|
operation snapshot id "device:snapshot" : unit -> optional<Request> {call id "device:snapshot:call" execution snapshot;}
|
2026-09-21 17:38:45 -07:00
|
|
|
operation apply id "device:apply" : optional<Request> -> unit {call id "device:apply:call" execution remote;}
|
|
|
|
|
}
|