@neuracore/types 1.2.2 → 1.2.3
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/neuracore_types.d.ts +5 -5
- package/dist/neuracore_types.js +73 -0
- package/package.json +1 -1
|
@@ -558,7 +558,7 @@ export interface SyncedDataset {
|
|
|
558
558
|
/**
|
|
559
559
|
* Enumerates the supported track kinds for streaming.
|
|
560
560
|
*/
|
|
561
|
-
export declare
|
|
561
|
+
export declare enum TrackKind {
|
|
562
562
|
JOINTS = "JOINTS",
|
|
563
563
|
RGB = "RGB",
|
|
564
564
|
DEPTH = "DEPTH",
|
|
@@ -576,7 +576,7 @@ export declare const enum TrackKind {
|
|
|
576
576
|
* These types are used to identify the purpose of a message sent through
|
|
577
577
|
* the signaling server during connection establishment.
|
|
578
578
|
*/
|
|
579
|
-
export declare
|
|
579
|
+
export declare enum MessageType {
|
|
580
580
|
SDP_OFFER = "SDP_OFFER",
|
|
581
581
|
SDP_ANSWER = "SDP_ANSWER",
|
|
582
582
|
ICE_CANDIDATE = "ICE_CANDIDATE",
|
|
@@ -588,7 +588,7 @@ export declare const enum MessageType {
|
|
|
588
588
|
* Defines the standard data categories used for dataset organization,
|
|
589
589
|
* model training, and data processing pipelines.
|
|
590
590
|
*/
|
|
591
|
-
export declare
|
|
591
|
+
export declare enum DataType {
|
|
592
592
|
JOINT_POSITIONS = "JOINT_POSITIONS",
|
|
593
593
|
JOINT_VELOCITIES = "JOINT_VELOCITIES",
|
|
594
594
|
JOINT_TORQUES = "JOINT_TORQUES",
|
|
@@ -606,14 +606,14 @@ export declare const enum DataType {
|
|
|
606
606
|
/**
|
|
607
607
|
* Enumerates video format styles over a WebRTC connection.
|
|
608
608
|
*/
|
|
609
|
-
export declare
|
|
609
|
+
export declare enum VideoFormat {
|
|
610
610
|
WEB_RTC_NEGOTIATED = "WEB_RTC_NEGOTIATED",
|
|
611
611
|
NEURACORE_CUSTOM = "NEURACORE_CUSTOM"
|
|
612
612
|
}
|
|
613
613
|
/**
|
|
614
614
|
* Types of recording lifecycle notifications.
|
|
615
615
|
*/
|
|
616
|
-
export declare
|
|
616
|
+
export declare enum RecordingNotificationType {
|
|
617
617
|
INIT = "INIT",
|
|
618
618
|
REQUESTED = "REQUESTED",
|
|
619
619
|
START = "START",
|
package/dist/neuracore_types.js
CHANGED
|
@@ -6,3 +6,76 @@
|
|
|
6
6
|
/* Do not modify it by hand - just update the pydantic models and then re-run the script
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.RecordingNotificationType = exports.VideoFormat = exports.DataType = exports.MessageType = exports.TrackKind = void 0;
|
|
10
|
+
/**
|
|
11
|
+
* Enumerates the supported track kinds for streaming.
|
|
12
|
+
*/
|
|
13
|
+
var TrackKind;
|
|
14
|
+
(function (TrackKind) {
|
|
15
|
+
TrackKind["JOINTS"] = "JOINTS";
|
|
16
|
+
TrackKind["RGB"] = "RGB";
|
|
17
|
+
TrackKind["DEPTH"] = "DEPTH";
|
|
18
|
+
TrackKind["LANGUAGE"] = "LANGUAGE";
|
|
19
|
+
TrackKind["GRIPPER"] = "GRIPPER";
|
|
20
|
+
TrackKind["END_EFFECTOR_POSE"] = "END_EFFECTOR_POSE";
|
|
21
|
+
TrackKind["PARALLEL_GRIPPER_OPEN_AMOUNT"] = "PARALLEL_GRIPPER_OPEN_AMOUNT";
|
|
22
|
+
TrackKind["POINT_CLOUD"] = "POINT_CLOUD";
|
|
23
|
+
TrackKind["POSE"] = "POSE";
|
|
24
|
+
TrackKind["CUSTOM"] = "CUSTOM";
|
|
25
|
+
})(TrackKind || (exports.TrackKind = TrackKind = {}));
|
|
26
|
+
/**
|
|
27
|
+
* Enumerates the types of signaling messages for WebRTC handshakes.
|
|
28
|
+
*
|
|
29
|
+
* These types are used to identify the purpose of a message sent through
|
|
30
|
+
* the signaling server during connection establishment.
|
|
31
|
+
*/
|
|
32
|
+
var MessageType;
|
|
33
|
+
(function (MessageType) {
|
|
34
|
+
MessageType["SDP_OFFER"] = "SDP_OFFER";
|
|
35
|
+
MessageType["SDP_ANSWER"] = "SDP_ANSWER";
|
|
36
|
+
MessageType["ICE_CANDIDATE"] = "ICE_CANDIDATE";
|
|
37
|
+
MessageType["OPEN_CONNECTION"] = "OPEN_CONNECTION";
|
|
38
|
+
})(MessageType || (exports.MessageType = MessageType = {}));
|
|
39
|
+
/**
|
|
40
|
+
* Enumeration of supported data types in the Neuracore system.
|
|
41
|
+
*
|
|
42
|
+
* Defines the standard data categories used for dataset organization,
|
|
43
|
+
* model training, and data processing pipelines.
|
|
44
|
+
*/
|
|
45
|
+
var DataType;
|
|
46
|
+
(function (DataType) {
|
|
47
|
+
DataType["JOINT_POSITIONS"] = "JOINT_POSITIONS";
|
|
48
|
+
DataType["JOINT_VELOCITIES"] = "JOINT_VELOCITIES";
|
|
49
|
+
DataType["JOINT_TORQUES"] = "JOINT_TORQUES";
|
|
50
|
+
DataType["JOINT_TARGET_POSITIONS"] = "JOINT_TARGET_POSITIONS";
|
|
51
|
+
DataType["END_EFFECTORS"] = "END_EFFECTORS";
|
|
52
|
+
DataType["END_EFFECTOR_POSES"] = "END_EFFECTOR_POSES";
|
|
53
|
+
DataType["PARALLEL_GRIPPER_OPEN_AMOUNTS"] = "PARALLEL_GRIPPER_OPEN_AMOUNTS";
|
|
54
|
+
DataType["RGB_IMAGE"] = "RGB_IMAGE";
|
|
55
|
+
DataType["DEPTH_IMAGE"] = "DEPTH_IMAGE";
|
|
56
|
+
DataType["POINT_CLOUD"] = "POINT_CLOUD";
|
|
57
|
+
DataType["POSES"] = "POSES";
|
|
58
|
+
DataType["LANGUAGE"] = "LANGUAGE";
|
|
59
|
+
DataType["CUSTOM"] = "CUSTOM";
|
|
60
|
+
})(DataType || (exports.DataType = DataType = {}));
|
|
61
|
+
/**
|
|
62
|
+
* Enumerates video format styles over a WebRTC connection.
|
|
63
|
+
*/
|
|
64
|
+
var VideoFormat;
|
|
65
|
+
(function (VideoFormat) {
|
|
66
|
+
VideoFormat["WEB_RTC_NEGOTIATED"] = "WEB_RTC_NEGOTIATED";
|
|
67
|
+
VideoFormat["NEURACORE_CUSTOM"] = "NEURACORE_CUSTOM";
|
|
68
|
+
})(VideoFormat || (exports.VideoFormat = VideoFormat = {}));
|
|
69
|
+
/**
|
|
70
|
+
* Types of recording lifecycle notifications.
|
|
71
|
+
*/
|
|
72
|
+
var RecordingNotificationType;
|
|
73
|
+
(function (RecordingNotificationType) {
|
|
74
|
+
RecordingNotificationType["INIT"] = "INIT";
|
|
75
|
+
RecordingNotificationType["REQUESTED"] = "REQUESTED";
|
|
76
|
+
RecordingNotificationType["START"] = "START";
|
|
77
|
+
RecordingNotificationType["STOP"] = "STOP";
|
|
78
|
+
RecordingNotificationType["SAVED"] = "SAVED";
|
|
79
|
+
RecordingNotificationType["DISCARDED"] = "DISCARDED";
|
|
80
|
+
RecordingNotificationType["EXPIRED"] = "EXPIRED";
|
|
81
|
+
})(RecordingNotificationType || (exports.RecordingNotificationType = RecordingNotificationType = {}));
|