@neuracore/types 1.2.1 → 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 +39 -39
- package/dist/neuracore_types.js +73 -0
- package/package.json +1 -1
|
@@ -558,17 +558,17 @@ export interface SyncedDataset {
|
|
|
558
558
|
/**
|
|
559
559
|
* Enumerates the supported track kinds for streaming.
|
|
560
560
|
*/
|
|
561
|
-
export declare
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
561
|
+
export declare enum TrackKind {
|
|
562
|
+
JOINTS = "JOINTS",
|
|
563
|
+
RGB = "RGB",
|
|
564
|
+
DEPTH = "DEPTH",
|
|
565
|
+
LANGUAGE = "LANGUAGE",
|
|
566
|
+
GRIPPER = "GRIPPER",
|
|
567
|
+
END_EFFECTOR_POSE = "END_EFFECTOR_POSE",
|
|
568
|
+
PARALLEL_GRIPPER_OPEN_AMOUNT = "PARALLEL_GRIPPER_OPEN_AMOUNT",
|
|
569
|
+
POINT_CLOUD = "POINT_CLOUD",
|
|
570
|
+
POSE = "POSE",
|
|
571
|
+
CUSTOM = "CUSTOM"
|
|
572
572
|
}
|
|
573
573
|
/**
|
|
574
574
|
* Enumerates the types of signaling messages for WebRTC handshakes.
|
|
@@ -576,11 +576,11 @@ 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
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
579
|
+
export declare enum MessageType {
|
|
580
|
+
SDP_OFFER = "SDP_OFFER",
|
|
581
|
+
SDP_ANSWER = "SDP_ANSWER",
|
|
582
|
+
ICE_CANDIDATE = "ICE_CANDIDATE",
|
|
583
|
+
OPEN_CONNECTION = "OPEN_CONNECTION"
|
|
584
584
|
}
|
|
585
585
|
/**
|
|
586
586
|
* Enumeration of supported data types in the Neuracore system.
|
|
@@ -588,37 +588,37 @@ 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
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
591
|
+
export declare enum DataType {
|
|
592
|
+
JOINT_POSITIONS = "JOINT_POSITIONS",
|
|
593
|
+
JOINT_VELOCITIES = "JOINT_VELOCITIES",
|
|
594
|
+
JOINT_TORQUES = "JOINT_TORQUES",
|
|
595
|
+
JOINT_TARGET_POSITIONS = "JOINT_TARGET_POSITIONS",
|
|
596
|
+
END_EFFECTORS = "END_EFFECTORS",
|
|
597
|
+
END_EFFECTOR_POSES = "END_EFFECTOR_POSES",
|
|
598
|
+
PARALLEL_GRIPPER_OPEN_AMOUNTS = "PARALLEL_GRIPPER_OPEN_AMOUNTS",
|
|
599
|
+
RGB_IMAGE = "RGB_IMAGE",
|
|
600
|
+
DEPTH_IMAGE = "DEPTH_IMAGE",
|
|
601
|
+
POINT_CLOUD = "POINT_CLOUD",
|
|
602
|
+
POSES = "POSES",
|
|
603
|
+
LANGUAGE = "LANGUAGE",
|
|
604
|
+
CUSTOM = "CUSTOM"
|
|
605
605
|
}
|
|
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
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
616
|
+
export declare enum RecordingNotificationType {
|
|
617
|
+
INIT = "INIT",
|
|
618
|
+
REQUESTED = "REQUESTED",
|
|
619
|
+
START = "START",
|
|
620
|
+
STOP = "STOP",
|
|
621
|
+
SAVED = "SAVED",
|
|
622
|
+
DISCARDED = "DISCARDED",
|
|
623
|
+
EXPIRED = "EXPIRED"
|
|
624
624
|
}
|
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 = {}));
|