@neuracore/types 11.8.0 → 11.9.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 +30 -0
- package/dist/neuracore_types.js +15 -2
- package/package.json +1 -1
|
@@ -1418,6 +1418,11 @@ export interface PendingRecording {
|
|
|
1418
1418
|
[k: string]: string[];
|
|
1419
1419
|
};
|
|
1420
1420
|
deleted: boolean;
|
|
1421
|
+
encoding: {
|
|
1422
|
+
[k: string]: {
|
|
1423
|
+
[k: string]: Codec;
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1421
1426
|
saved_dataset_id?: string | null;
|
|
1422
1427
|
status: PendingRecordingStatus;
|
|
1423
1428
|
progress: number;
|
|
@@ -1524,6 +1529,13 @@ export interface RGBCameraData {
|
|
|
1524
1529
|
* (recordings/{id}/{data_type}/{sensor}/trace.json) without listing the
|
|
1525
1530
|
* bucket. Empty for recordings finalized before this field existed.
|
|
1526
1531
|
* deleted: Whether the recording has been deleted
|
|
1532
|
+
* encoding: Codec used per sensor, nested under DataType, captured at
|
|
1533
|
+
* finalize. Sensors under the same DataType may hold different
|
|
1534
|
+
* codecs (e.g. after a mid-recording encoding change), so each
|
|
1535
|
+
* camera's value is preserved rather than collapsed into one.
|
|
1536
|
+
* Empty means either no camera data types or a recording
|
|
1537
|
+
* predating the field. Non-empty must cover every camera data
|
|
1538
|
+
* type present in data_types.
|
|
1527
1539
|
*/
|
|
1528
1540
|
export interface Recording {
|
|
1529
1541
|
id: string;
|
|
@@ -1541,6 +1553,11 @@ export interface Recording {
|
|
|
1541
1553
|
[k: string]: string[];
|
|
1542
1554
|
};
|
|
1543
1555
|
deleted: boolean;
|
|
1556
|
+
encoding: {
|
|
1557
|
+
[k: string]: {
|
|
1558
|
+
[k: string]: Codec;
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1544
1561
|
}
|
|
1545
1562
|
/**
|
|
1546
1563
|
* Represents a single data trace belonging to a recording.
|
|
@@ -1553,6 +1570,7 @@ export interface RecordingDataTrace {
|
|
|
1553
1570
|
recording_id: string;
|
|
1554
1571
|
data_type: DataType;
|
|
1555
1572
|
sensor_name: string | null;
|
|
1573
|
+
encoding?: Codec | null;
|
|
1556
1574
|
status: RecordingDataTraceStatus1;
|
|
1557
1575
|
created_at: number;
|
|
1558
1576
|
uploaded_at: number | null;
|
|
@@ -2268,6 +2286,18 @@ export declare enum QAFailureReason {
|
|
|
2268
2286
|
TOO_FEW_POINTS = "TOO_FEW_POINTS",
|
|
2269
2287
|
LOW_COVERAGE = "LOW_COVERAGE"
|
|
2270
2288
|
}
|
|
2289
|
+
/**
|
|
2290
|
+
* Codecs available for recorded camera video.
|
|
2291
|
+
*
|
|
2292
|
+
* Attributes:
|
|
2293
|
+
* H264_LOSSLESS: Default. Lossless archive plus a small lossy preview.
|
|
2294
|
+
* H264_MEDIUM: Lossy-only single libx264 CRF 23 video, used for both
|
|
2295
|
+
* preview and training.
|
|
2296
|
+
*/
|
|
2297
|
+
export declare enum Codec {
|
|
2298
|
+
h264_lossless = "h264_lossless",
|
|
2299
|
+
h264_medium = "h264_medium"
|
|
2300
|
+
}
|
|
2271
2301
|
/**
|
|
2272
2302
|
* Pending recording status.
|
|
2273
2303
|
*
|
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 = exports.TrainingJobStatus = exports.SynchronizeRecordingStatus1 = exports.SynchronizeRecordingStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus1 = void 0;
|
|
9
|
+
exports.Type15 = exports.Type14 = exports.PendingRecordingStatus = exports.Codec = exports.QAFailureReason = 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.SynchronizeRecordingStatus1 = exports.SynchronizeRecordingStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus1 = exports.Type16 = void 0;
|
|
11
11
|
/**
|
|
12
12
|
* Enumeration of supported data types in the Neuracore system.
|
|
13
13
|
*
|
|
@@ -395,6 +395,19 @@ var QAFailureReason;
|
|
|
395
395
|
QAFailureReason["TOO_FEW_POINTS"] = "TOO_FEW_POINTS";
|
|
396
396
|
QAFailureReason["LOW_COVERAGE"] = "LOW_COVERAGE";
|
|
397
397
|
})(QAFailureReason || (exports.QAFailureReason = QAFailureReason = {}));
|
|
398
|
+
/**
|
|
399
|
+
* Codecs available for recorded camera video.
|
|
400
|
+
*
|
|
401
|
+
* Attributes:
|
|
402
|
+
* H264_LOSSLESS: Default. Lossless archive plus a small lossy preview.
|
|
403
|
+
* H264_MEDIUM: Lossy-only single libx264 CRF 23 video, used for both
|
|
404
|
+
* preview and training.
|
|
405
|
+
*/
|
|
406
|
+
var Codec;
|
|
407
|
+
(function (Codec) {
|
|
408
|
+
Codec["h264_lossless"] = "h264_lossless";
|
|
409
|
+
Codec["h264_medium"] = "h264_medium";
|
|
410
|
+
})(Codec || (exports.Codec = Codec = {}));
|
|
398
411
|
/**
|
|
399
412
|
* Pending recording status.
|
|
400
413
|
*
|