@duet3d/objectmodel 3.5.0-beta.37 → 3.5.0-beta.39
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.
package/dist/package.json
CHANGED
|
@@ -30,7 +30,10 @@ export declare class ObjectModel extends ModelObject {
|
|
|
30
30
|
readonly fans: ModelCollection<Fan | null>;
|
|
31
31
|
readonly global: ModelDictionary<any>;
|
|
32
32
|
readonly heat: Heat;
|
|
33
|
-
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated Will be removed in v3.6, use sbc?.dsf.httpEndpoints instead
|
|
35
|
+
*/
|
|
36
|
+
get httpEndpoints(): ModelCollection<HttpEndpoint> | null;
|
|
34
37
|
readonly inputs: ModelCollection<InputChannel | null>;
|
|
35
38
|
readonly job: Job;
|
|
36
39
|
readonly limits: Limits;
|
package/dist/src/ObjectModel.js
CHANGED
|
@@ -36,7 +36,6 @@ class ObjectModel extends ModelObject_1.default {
|
|
|
36
36
|
this.fans = new ModelCollection_1.default(fans_1.default);
|
|
37
37
|
this.global = new ModelDictionary_1.default(false);
|
|
38
38
|
this.heat = new heat_1.default();
|
|
39
|
-
this.httpEndpoints = null;
|
|
40
39
|
this.inputs = new ModelCollection_1.default(InputChannel_1.default);
|
|
41
40
|
this.job = new job_1.default();
|
|
42
41
|
this.limits = new limits_1.default();
|
|
@@ -52,13 +51,13 @@ class ObjectModel extends ModelObject_1.default {
|
|
|
52
51
|
this.userSessions = new ModelCollection_1.default(userSessions_1.default);
|
|
53
52
|
this.volumes = new ModelCollection_1.default(volumes_1.default);
|
|
54
53
|
ModelObject_1.default.wrapModelProperty(this, "sbc", sbc_1.default);
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated Will be removed in v3.6, use sbc?.dsf.httpEndpoints instead
|
|
57
|
+
*/
|
|
58
|
+
get httpEndpoints() {
|
|
59
|
+
var _a, _b;
|
|
60
|
+
return (_b = (_a = this.sbc) === null || _a === void 0 ? void 0 : _a.dsf.httpEndpoints) !== null && _b !== void 0 ? _b : null;
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
63
|
exports.ObjectModel = ObjectModel;
|
|
@@ -35,9 +35,6 @@ export declare class State extends ModelObject {
|
|
|
35
35
|
currentTool: number;
|
|
36
36
|
deferredPowerDown: boolean | null;
|
|
37
37
|
displayMessage: string;
|
|
38
|
-
dsfVersion: string | null;
|
|
39
|
-
dsfPluginSupport: boolean;
|
|
40
|
-
dsfRootPluginSupport: boolean;
|
|
41
38
|
readonly gpOut: ModelCollection<GpOutputPort | null>;
|
|
42
39
|
laserPwm: number | null;
|
|
43
40
|
logFile: string | null;
|
package/dist/src/state/index.js
CHANGED
|
@@ -70,9 +70,6 @@ class State extends ModelObject_1.default {
|
|
|
70
70
|
this.currentTool = -1;
|
|
71
71
|
this.deferredPowerDown = null;
|
|
72
72
|
this.displayMessage = "";
|
|
73
|
-
this.dsfVersion = null; // deprecated; will be moved to separate dsf main key in v3.5
|
|
74
|
-
this.dsfPluginSupport = false; // deprecated; will be moved to separate dsf main key in v3.5
|
|
75
|
-
this.dsfRootPluginSupport = false; // deprecated; will be moved to separate dsf main key in v3.5
|
|
76
73
|
this.gpOut = new ModelCollection_1.default(GpOutputPort);
|
|
77
74
|
this.laserPwm = null;
|
|
78
75
|
this.logFile = null;
|