@duet3d/objectmodel 3.6.0 → 3.7.0-alpha.1

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.
@@ -9,7 +9,8 @@ export declare enum InputChannelState {
9
9
  idle = "idle",
10
10
  executing = "executing",
11
11
  waiting = "waiting",
12
- reading = "reading"
12
+ reading = "reading",
13
+ unused = "unused"
13
14
  }
14
15
  export declare class InputChannel extends ModelObject {
15
16
  active: boolean;
@@ -15,6 +15,7 @@ var InputChannelState;
15
15
  InputChannelState["executing"] = "executing";
16
16
  InputChannelState["waiting"] = "waiting";
17
17
  InputChannelState["reading"] = "reading";
18
+ InputChannelState["unused"] = "unused";
18
19
  })(InputChannelState || (exports.InputChannelState = InputChannelState = {}));
19
20
  class InputChannel extends ModelObject_1.default {
20
21
  constructor() {
@@ -6,12 +6,12 @@ export declare enum KinematicsName {
6
6
  coreXYUV = "coreXYUV",
7
7
  coreXZ = "coreXZ",
8
8
  markForged = "markForged",
9
- fiveBarScara = "FiveBarScara",
10
- hangprinter = "Hangprinter",
11
- delta = "delta",
12
- polar = "Polar",
13
- rotaryDelta = "Rotary delta",
14
- scara = "Scara",
9
+ fiveBarScara = "fiveBarScara",
10
+ hangprinter = "hangprinter",
11
+ linearDelta = "linearDelta",
12
+ polar = "polar",
13
+ rotaryDelta = "rotaryDelta",
14
+ scara = "scara",
15
15
  unknown = "unknown"
16
16
  }
17
17
  export declare class MoveSegmentation extends ModelObject {
@@ -10,12 +10,12 @@ var KinematicsName;
10
10
  KinematicsName["coreXYUV"] = "coreXYUV";
11
11
  KinematicsName["coreXZ"] = "coreXZ";
12
12
  KinematicsName["markForged"] = "markForged";
13
- KinematicsName["fiveBarScara"] = "FiveBarScara";
14
- KinematicsName["hangprinter"] = "Hangprinter";
15
- KinematicsName["delta"] = "delta";
16
- KinematicsName["polar"] = "Polar";
17
- KinematicsName["rotaryDelta"] = "Rotary delta";
18
- KinematicsName["scara"] = "Scara";
13
+ KinematicsName["fiveBarScara"] = "fiveBarScara";
14
+ KinematicsName["hangprinter"] = "hangprinter";
15
+ KinematicsName["linearDelta"] = "linearDelta";
16
+ KinematicsName["polar"] = "polar";
17
+ KinematicsName["rotaryDelta"] = "rotaryDelta";
18
+ KinematicsName["scara"] = "scara";
19
19
  KinematicsName["unknown"] = "unknown";
20
20
  })(KinematicsName || (exports.KinematicsName = KinematicsName = {}));
21
21
  class MoveSegmentation extends ModelObject_1.default {
@@ -47,7 +47,7 @@ function getKinematics(name) {
47
47
  case KinematicsBase_1.KinematicsName.coreXZ:
48
48
  case KinematicsBase_1.KinematicsName.markForged:
49
49
  return new CoreKinematics_1.default(name);
50
- case KinematicsBase_1.KinematicsName.delta:
50
+ case KinematicsBase_1.KinematicsName.linearDelta:
51
51
  return new DeltaKinematics_1.default(name);
52
52
  case KinematicsBase_1.KinematicsName.rotaryDelta:
53
53
  return new Kinematics(name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/objectmodel",
3
- "version": "3.6.0",
3
+ "version": "3.7.0-alpha.1",
4
4
  "description": "TypeScript implementation of the Duet3D Object Model",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,19 +0,0 @@
1
- import ModelObject from "../ModelObject";
2
- export declare enum HttpEndpointType {
3
- GET = "GET",
4
- POST = "POST",
5
- PUT = "PUT",
6
- PATCH = "PATCH",
7
- TRACE = "TRACE",
8
- DELETE = "DELETE",
9
- OPTIONS = "OPTIONS",
10
- WebSocket = "WebSocket"
11
- }
12
- export declare class HttpEndpoint extends ModelObject {
13
- endpointType: HttpEndpointType;
14
- namespace: string;
15
- path: string;
16
- isUploadRequest: boolean;
17
- unixSocket: string;
18
- }
19
- export default HttpEndpoint;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpEndpoint = exports.HttpEndpointType = void 0;
4
- const ModelObject_1 = require("../ModelObject");
5
- var HttpEndpointType;
6
- (function (HttpEndpointType) {
7
- HttpEndpointType["GET"] = "GET";
8
- HttpEndpointType["POST"] = "POST";
9
- HttpEndpointType["PUT"] = "PUT";
10
- HttpEndpointType["PATCH"] = "PATCH";
11
- HttpEndpointType["TRACE"] = "TRACE";
12
- HttpEndpointType["DELETE"] = "DELETE";
13
- HttpEndpointType["OPTIONS"] = "OPTIONS";
14
- HttpEndpointType["WebSocket"] = "WebSocket";
15
- })(HttpEndpointType = exports.HttpEndpointType || (exports.HttpEndpointType = {}));
16
- class HttpEndpoint extends ModelObject_1.default {
17
- constructor() {
18
- super(...arguments);
19
- this.endpointType = HttpEndpointType.GET;
20
- this.namespace = "";
21
- this.path = "";
22
- this.isUploadRequest = false;
23
- this.unixSocket = "";
24
- }
25
- }
26
- exports.HttpEndpoint = HttpEndpoint;
27
- exports.default = HttpEndpoint;
@@ -1,18 +0,0 @@
1
- import ModelObject from "../ModelObject";
2
- export declare enum AccessLevel {
3
- readOnly = "readOnly",
4
- readWrite = "readWrite"
5
- }
6
- export declare enum SessionType {
7
- local = "local",
8
- http = "http",
9
- telnet = "telnet"
10
- }
11
- export declare class UserSession extends ModelObject {
12
- accessLevel: AccessLevel;
13
- id: number;
14
- origin: string | null;
15
- originId: number;
16
- sessionType: SessionType;
17
- }
18
- export default UserSession;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserSession = exports.SessionType = exports.AccessLevel = void 0;
4
- const ModelObject_1 = require("../ModelObject");
5
- var AccessLevel;
6
- (function (AccessLevel) {
7
- AccessLevel["readOnly"] = "readOnly";
8
- AccessLevel["readWrite"] = "readWrite";
9
- })(AccessLevel = exports.AccessLevel || (exports.AccessLevel = {}));
10
- var SessionType;
11
- (function (SessionType) {
12
- SessionType["local"] = "local";
13
- SessionType["http"] = "http";
14
- SessionType["telnet"] = "telnet";
15
- })(SessionType = exports.SessionType || (exports.SessionType = {}));
16
- class UserSession extends ModelObject_1.default {
17
- constructor() {
18
- super(...arguments);
19
- this.accessLevel = AccessLevel.readOnly;
20
- this.id = 0;
21
- this.origin = null;
22
- this.originId = -1;
23
- this.sessionType = SessionType.local;
24
- }
25
- }
26
- exports.UserSession = UserSession;
27
- exports.default = UserSession;