@neuracore/types 11.7.0 → 11.8.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.
@@ -358,6 +358,8 @@ export interface Custom1DDataStats {
358
358
  * common_data_types: Dictionary of common data types and their counts.
359
359
  * All datatypes common to every recording which
360
360
  * make up this dataset.
361
+ * is_creating: Whether the dataset is still being created.
362
+ * deleted: Whether the dataset has been deleted.
361
363
  */
362
364
  export interface Dataset {
363
365
  id: string;
@@ -382,6 +384,7 @@ export interface Dataset {
382
384
  common_data_types: {
383
385
  [k: string]: number;
384
386
  };
387
+ is_creating: boolean;
385
388
  deleted: boolean;
386
389
  }
387
390
  /**
@@ -1427,11 +1430,32 @@ export interface PendingRecording {
1427
1430
  * name: Name of the recording.
1428
1431
  * notes: Optional notes about the recording.
1429
1432
  * status: Current RecordingStatus of the recording
1433
+ * qa_flag_reasons: QA check failures for the recording, if any.
1430
1434
  */
1431
1435
  export interface RecordingMetadata {
1432
1436
  name: string;
1433
1437
  notes: string;
1434
1438
  status: RecordingStatus;
1439
+ qa_flag_reasons: QAFailureResult[];
1440
+ }
1441
+ /**
1442
+ * Result when a recording fails a QA check.
1443
+ *
1444
+ * ``affected_traces`` names the specific traces the failure was found on.
1445
+ * An empty list means the failure applies to the recording as a whole,
1446
+ * rather than to any particular trace.
1447
+ */
1448
+ export interface QAFailureResult {
1449
+ passed: false;
1450
+ reason: QAFailureReason;
1451
+ affected_traces?: TraceIdentifier[];
1452
+ }
1453
+ /**
1454
+ * Identifies a single raw trace within a recording.
1455
+ */
1456
+ export interface TraceIdentifier {
1457
+ data_type: DataType;
1458
+ sensor_name: string;
1435
1459
  }
1436
1460
  /**
1437
1461
  * 3D point cloud data with optional RGB colouring and camera parameters.
@@ -1461,6 +1485,12 @@ export interface PoseData {
1461
1485
  type: Type15;
1462
1486
  pose: unknown[];
1463
1487
  }
1488
+ /**
1489
+ * Result when a recording passes a QA check.
1490
+ */
1491
+ export interface QAPassResult {
1492
+ passed: true;
1493
+ }
1464
1494
  /**
1465
1495
  * RGB camera data subclass.
1466
1496
  *
@@ -2225,7 +2255,18 @@ export declare enum Type13 {
2225
2255
  */
2226
2256
  export declare enum RecordingStatus {
2227
2257
  NORMAL = "NORMAL",
2228
- FLAGGED = "FLAGGED"
2258
+ FLAGGED = "FLAGGED",
2259
+ QA_FLAGGED = "QA_FLAGGED"
2260
+ }
2261
+ /**
2262
+ * Reasons why a recording can fail QA.
2263
+ */
2264
+ export declare enum QAFailureReason {
2265
+ LARGE_GAPS = "LARGE_GAPS",
2266
+ INCONSISTENT_START_TIME = "INCONSISTENT_START_TIME",
2267
+ INCONSISTENT_END_TIME = "INCONSISTENT_END_TIME",
2268
+ TOO_FEW_POINTS = "TOO_FEW_POINTS",
2269
+ LOW_COVERAGE = "LOW_COVERAGE"
2229
2270
  }
2230
2271
  /**
2231
2272
  * Pending recording status.
@@ -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.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.SynchronizeRecordingStatus1 = exports.SynchronizeRecordingStatus = exports.RecordingNotificationType = void 0;
9
+ exports.Type16 = exports.Type15 = exports.Type14 = exports.PendingRecordingStatus = 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 = void 0;
11
11
  /**
12
12
  * Enumeration of supported data types in the Neuracore system.
13
13
  *
@@ -382,7 +382,19 @@ var RecordingStatus;
382
382
  (function (RecordingStatus) {
383
383
  RecordingStatus["NORMAL"] = "NORMAL";
384
384
  RecordingStatus["FLAGGED"] = "FLAGGED";
385
+ RecordingStatus["QA_FLAGGED"] = "QA_FLAGGED";
385
386
  })(RecordingStatus || (exports.RecordingStatus = RecordingStatus = {}));
387
+ /**
388
+ * Reasons why a recording can fail QA.
389
+ */
390
+ var QAFailureReason;
391
+ (function (QAFailureReason) {
392
+ QAFailureReason["LARGE_GAPS"] = "LARGE_GAPS";
393
+ QAFailureReason["INCONSISTENT_START_TIME"] = "INCONSISTENT_START_TIME";
394
+ QAFailureReason["INCONSISTENT_END_TIME"] = "INCONSISTENT_END_TIME";
395
+ QAFailureReason["TOO_FEW_POINTS"] = "TOO_FEW_POINTS";
396
+ QAFailureReason["LOW_COVERAGE"] = "LOW_COVERAGE";
397
+ })(QAFailureReason || (exports.QAFailureReason = QAFailureReason = {}));
386
398
  /**
387
399
  * Pending recording status.
388
400
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "11.7.0",
3
+ "version": "11.8.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",