@openxiot/xiot-core-spec-ts 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ const DeviceType_1 = require("../../typedef/definition/urn/DeviceType");
|
|
|
6
6
|
const DescriptionCodec_1 = require("../definition/DescriptionCodec");
|
|
7
7
|
const Spec_1 = require("../../typedef/constant/Spec");
|
|
8
8
|
const ServiceTemplateCodec_1 = require("./ServiceTemplateCodec");
|
|
9
|
-
const Lifecycle_1 = require("
|
|
9
|
+
const Lifecycle_1 = require("../../typedef/lifecycle/Lifecycle");
|
|
10
10
|
class DeviceTemplateCodec {
|
|
11
11
|
static decode(o) {
|
|
12
12
|
const lifecycle = (0, Lifecycle_1.LifeCycleFromString)(o.lifecycle || '');
|