1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.DefaultControllerType = void 0;
|
4 | exports.isSerializableController = isSerializableController;
|
5 |
|
6 |
|
7 |
|
8 | var DefaultControllerType;
|
9 | (function (DefaultControllerType) {
|
10 | DefaultControllerType["CAMERA"] = "camera";
|
11 | DefaultControllerType["REMOTE"] = "remote";
|
12 | DefaultControllerType["TV"] = "tv";
|
13 | DefaultControllerType["ROUTER"] = "router";
|
14 | DefaultControllerType["LOCK"] = "lock";
|
15 | DefaultControllerType["CHARACTERISTIC_TRANSITION"] = "characteristic-transition";
|
16 | })(DefaultControllerType || (exports.DefaultControllerType = DefaultControllerType = {}));
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | function isSerializableController(controller) {
|
22 | return "serialize" in controller && "deserialize" in controller && "setupStateChangeDelegate" in controller;
|
23 | }
|
24 |
|
\ | No newline at end of file |