@neuracore/types 10.6.0-main.85.1 → 11.0.0
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 +43 -8
- package/dist/neuracore_types.js +18 -2
- package/package.json +2 -1
|
@@ -59,17 +59,38 @@ export interface RobotStreamTrack {
|
|
|
59
59
|
created_at: string;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* This model is used to broadcast the current state of all available
|
|
65
|
-
* robots and their instances.
|
|
66
|
-
*
|
|
67
|
-
* Attributes:
|
|
68
|
-
* robots: A list of all available robots and their instances.
|
|
62
|
+
* Initial robot availability state for a new SSE connection.
|
|
69
63
|
*/
|
|
70
|
-
export interface
|
|
64
|
+
export interface AvailableRobotCapacityInit {
|
|
65
|
+
type?: RobotAvailabilityEventType;
|
|
71
66
|
robots: AvailableRobot[];
|
|
72
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Delta robot availability update for an existing SSE connection.
|
|
70
|
+
*/
|
|
71
|
+
export interface AvailableRobotCapacityUpdate {
|
|
72
|
+
type?: RobotAvailabilityEventType1;
|
|
73
|
+
tracks_added?: RobotStreamTrack[];
|
|
74
|
+
tracks_removed?: RemovedTrack[];
|
|
75
|
+
connection_updates?: AvailableRobotConnectionUpdate[];
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* A robot stream track that was removed from availability.
|
|
79
|
+
*/
|
|
80
|
+
export interface RemovedTrack {
|
|
81
|
+
robot_id: string;
|
|
82
|
+
robot_instance: number;
|
|
83
|
+
stream_id: string;
|
|
84
|
+
track_id: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Updated viewer count for a robot instance.
|
|
88
|
+
*/
|
|
89
|
+
export interface AvailableRobotConnectionUpdate {
|
|
90
|
+
robot_id: string;
|
|
91
|
+
robot_instance: number;
|
|
92
|
+
connections: number;
|
|
93
|
+
}
|
|
73
94
|
/**
|
|
74
95
|
* Base payload for recording update notifications.
|
|
75
96
|
*
|
|
@@ -1848,6 +1869,20 @@ export declare enum DataType {
|
|
|
1848
1869
|
LANGUAGE = "LANGUAGE",
|
|
1849
1870
|
CUSTOM_1D = "CUSTOM_1D"
|
|
1850
1871
|
}
|
|
1872
|
+
/**
|
|
1873
|
+
* Types of robot availability SSE payloads.
|
|
1874
|
+
*/
|
|
1875
|
+
export declare enum RobotAvailabilityEventType {
|
|
1876
|
+
init = "init",
|
|
1877
|
+
update = "update"
|
|
1878
|
+
}
|
|
1879
|
+
/**
|
|
1880
|
+
* Types of robot availability SSE payloads.
|
|
1881
|
+
*/
|
|
1882
|
+
export declare enum RobotAvailabilityEventType1 {
|
|
1883
|
+
init = "init",
|
|
1884
|
+
update = "update"
|
|
1885
|
+
}
|
|
1851
1886
|
/**
|
|
1852
1887
|
* Status for a recording data trace upload lifecycle.
|
|
1853
1888
|
*/
|
package/dist/neuracore_types.js
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
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.
|
|
10
|
-
exports.GPUType2 = void 0;
|
|
9
|
+
exports.RecordingDataTraceStatus1 = exports.Type16 = exports.Type15 = exports.Type14 = exports.PendingRecordingStatus = exports.RecordingStatus = exports.Type13 = exports.VideoFormat = exports.Type12 = exports.Type11 = exports.Type10 = exports.Type9 = exports.Type8 = exports.Type7 = exports.Type6 = exports.MessageType = exports.GPUType1 = exports.EndpointStatus = exports.Type5 = exports.Type4 = exports.Type3 = exports.GPUType = exports.DatasetStatisticsJobStatus = exports.DatasetTypeConfig = exports.Type2 = exports.IntrinsicsConfig = exports.PoseConfig1 = exports.ActionSpaceConfig = exports.ActionTypeConfig = exports.JointPositionInputTypeConfig = exports.VisualJointInputTypeConfig = exports.LanguageConfig = exports.EndEffectorPoseInputTypeConfig = exports.Frame = exports.AngleConfig1 = exports.EulerOrderConfig = exports.QuaternionOrderConfig = exports.RotationConfig = exports.PoseConfig = exports.DistanceUnitsConfig = exports.TorqueUnitsConfig = exports.AngleConfig = exports.ImageChannelOrderConfig = exports.ImageConventionConfig = exports.Type1 = exports.Type = exports.RecordingDataTraceStatus = exports.RobotAvailabilityEventType1 = exports.RobotAvailabilityEventType = exports.DataType = void 0;
|
|
10
|
+
exports.GPUType2 = exports.TrainingJobStatus = exports.RecordingNotificationType = void 0;
|
|
11
11
|
/**
|
|
12
12
|
* Enumeration of supported data types in the Neuracore system.
|
|
13
13
|
*
|
|
@@ -31,6 +31,22 @@ var DataType;
|
|
|
31
31
|
DataType["LANGUAGE"] = "LANGUAGE";
|
|
32
32
|
DataType["CUSTOM_1D"] = "CUSTOM_1D";
|
|
33
33
|
})(DataType || (exports.DataType = DataType = {}));
|
|
34
|
+
/**
|
|
35
|
+
* Types of robot availability SSE payloads.
|
|
36
|
+
*/
|
|
37
|
+
var RobotAvailabilityEventType;
|
|
38
|
+
(function (RobotAvailabilityEventType) {
|
|
39
|
+
RobotAvailabilityEventType["init"] = "init";
|
|
40
|
+
RobotAvailabilityEventType["update"] = "update";
|
|
41
|
+
})(RobotAvailabilityEventType || (exports.RobotAvailabilityEventType = RobotAvailabilityEventType = {}));
|
|
42
|
+
/**
|
|
43
|
+
* Types of robot availability SSE payloads.
|
|
44
|
+
*/
|
|
45
|
+
var RobotAvailabilityEventType1;
|
|
46
|
+
(function (RobotAvailabilityEventType1) {
|
|
47
|
+
RobotAvailabilityEventType1["init"] = "init";
|
|
48
|
+
RobotAvailabilityEventType1["update"] = "update";
|
|
49
|
+
})(RobotAvailabilityEventType1 || (exports.RobotAvailabilityEventType1 = RobotAvailabilityEventType1 = {}));
|
|
34
50
|
/**
|
|
35
51
|
* Status for a recording data trace upload lifecycle.
|
|
36
52
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neuracore/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0",
|
|
4
4
|
"description": "Shared TypeScript type definitions for Neuracore robotics platform",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"typescript": "^5.3.0",
|
|
29
29
|
"grpc-tools": "^1.13.0"
|
|
30
|
+
|
|
30
31
|
},
|
|
31
32
|
"publishConfig": {
|
|
32
33
|
"access": "public"
|