@neuracore/types 11.7.0-main.129.1 → 11.7.0-main.133.1

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,13 +1485,6 @@ export interface PoseData {
1461
1485
  type: Type15;
1462
1486
  pose: unknown[];
1463
1487
  }
1464
- /**
1465
- * Result when a recording fails a QA check.
1466
- */
1467
- export interface QAFailureResult {
1468
- passed: false;
1469
- reason: QAFailureReason;
1470
- }
1471
1488
  /**
1472
1489
  * Result when a recording passes a QA check.
1473
1490
  */
@@ -2241,6 +2258,16 @@ export declare enum RecordingStatus {
2241
2258
  FLAGGED = "FLAGGED",
2242
2259
  QA_FLAGGED = "QA_FLAGGED"
2243
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"
2270
+ }
2244
2271
  /**
2245
2272
  * Pending recording status.
2246
2273
  *
@@ -2259,16 +2286,6 @@ export declare enum Type14 {
2259
2286
  export declare enum Type15 {
2260
2287
  PoseData = "PoseData"
2261
2288
  }
2262
- /**
2263
- * Reasons why a recording can fail QA.
2264
- */
2265
- export declare enum QAFailureReason {
2266
- LARGE_GAPS = "LARGE_GAPS",
2267
- INCONSISTENT_START_TIME = "INCONSISTENT_START_TIME",
2268
- INCONSISTENT_END_TIME = "INCONSISTENT_END_TIME",
2269
- TOO_FEW_POINTS = "TOO_FEW_POINTS",
2270
- LOW_COVERAGE = "LOW_COVERAGE"
2271
- }
2272
2289
  export declare enum Type16 {
2273
2290
  RGBCameraData = "RGBCameraData"
2274
2291
  }
@@ -6,7 +6,7 @@
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.Type16 = exports.QAFailureReason = 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;
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
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.
@@ -384,6 +384,17 @@ var RecordingStatus;
384
384
  RecordingStatus["FLAGGED"] = "FLAGGED";
385
385
  RecordingStatus["QA_FLAGGED"] = "QA_FLAGGED";
386
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 = {}));
387
398
  /**
388
399
  * Pending recording status.
389
400
  *
@@ -405,17 +416,6 @@ var Type15;
405
416
  (function (Type15) {
406
417
  Type15["PoseData"] = "PoseData";
407
418
  })(Type15 || (exports.Type15 = Type15 = {}));
408
- /**
409
- * Reasons why a recording can fail QA.
410
- */
411
- var QAFailureReason;
412
- (function (QAFailureReason) {
413
- QAFailureReason["LARGE_GAPS"] = "LARGE_GAPS";
414
- QAFailureReason["INCONSISTENT_START_TIME"] = "INCONSISTENT_START_TIME";
415
- QAFailureReason["INCONSISTENT_END_TIME"] = "INCONSISTENT_END_TIME";
416
- QAFailureReason["TOO_FEW_POINTS"] = "TOO_FEW_POINTS";
417
- QAFailureReason["LOW_COVERAGE"] = "LOW_COVERAGE";
418
- })(QAFailureReason || (exports.QAFailureReason = QAFailureReason = {}));
419
419
  var Type16;
420
420
  (function (Type16) {
421
421
  Type16["RGBCameraData"] = "RGBCameraData";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "11.7.0-main.129.1",
3
+ "version": "11.7.0-main.133.1",
4
4
  "description": "Shared TypeScript type definitions for Neuracore robotics platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",