@neuracore/types 11.11.0 → 11.12.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.
@@ -1600,6 +1600,17 @@ export interface RecordingStartPayload {
1600
1600
  data_types: DataType[];
1601
1601
  start_time: number;
1602
1602
  }
1603
+ /**
1604
+ * Order to list the recordings of a dataset in.
1605
+ *
1606
+ * Attributes:
1607
+ * field: Field to order by.
1608
+ * direction: Direction to order in.
1609
+ */
1610
+ export interface RecordingSort {
1611
+ field?: RecordingSortField;
1612
+ direction?: SortDirection;
1613
+ }
1603
1614
  /**
1604
1615
  * Request body for starting a new recording session.
1605
1616
  *
@@ -2338,6 +2349,30 @@ export declare enum RecordingNotificationType {
2338
2349
  DISCARDED = "DISCARDED",
2339
2350
  EXPIRED = "EXPIRED"
2340
2351
  }
2352
+ /**
2353
+ * Field the recordings of a dataset can be ordered by.
2354
+ *
2355
+ * Attributes:
2356
+ * CREATED_AT: Order by the time the recording was created.
2357
+ * NAME: Order by the recording name.
2358
+ * DURATION: Order by how long the recording ran for.
2359
+ */
2360
+ export declare enum RecordingSortField {
2361
+ created_at = "created_at",
2362
+ name = "name",
2363
+ duration = "duration"
2364
+ }
2365
+ /**
2366
+ * Direction a list is ordered in.
2367
+ *
2368
+ * Attributes:
2369
+ * ASCENDING: Smallest value first.
2370
+ * DESCENDING: Largest value first.
2371
+ */
2372
+ export declare enum SortDirection {
2373
+ asc = "asc",
2374
+ desc = "desc"
2375
+ }
2341
2376
  /**
2342
2377
  * Lifecycle stage of an asynchronous recording synchronization.
2343
2378
  */
@@ -7,7 +7,7 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
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.PaginationDirection = exports.GPUType2 = exports.TrainingJobStatus = exports.SynchronizeRecordingStatus1 = exports.SynchronizeRecordingStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus1 = exports.Type16 = void 0;
10
+ exports.PaginationDirection = exports.GPUType2 = exports.TrainingJobStatus = exports.SynchronizeRecordingStatus1 = exports.SynchronizeRecordingStatus = exports.SortDirection = exports.RecordingSortField = exports.RecordingNotificationType = exports.RecordingDataTraceStatus1 = exports.Type16 = void 0;
11
11
  /**
12
12
  * Enumeration of supported data types in the Neuracore system.
13
13
  *
@@ -454,6 +454,32 @@ var RecordingNotificationType;
454
454
  RecordingNotificationType["DISCARDED"] = "DISCARDED";
455
455
  RecordingNotificationType["EXPIRED"] = "EXPIRED";
456
456
  })(RecordingNotificationType || (exports.RecordingNotificationType = RecordingNotificationType = {}));
457
+ /**
458
+ * Field the recordings of a dataset can be ordered by.
459
+ *
460
+ * Attributes:
461
+ * CREATED_AT: Order by the time the recording was created.
462
+ * NAME: Order by the recording name.
463
+ * DURATION: Order by how long the recording ran for.
464
+ */
465
+ var RecordingSortField;
466
+ (function (RecordingSortField) {
467
+ RecordingSortField["created_at"] = "created_at";
468
+ RecordingSortField["name"] = "name";
469
+ RecordingSortField["duration"] = "duration";
470
+ })(RecordingSortField || (exports.RecordingSortField = RecordingSortField = {}));
471
+ /**
472
+ * Direction a list is ordered in.
473
+ *
474
+ * Attributes:
475
+ * ASCENDING: Smallest value first.
476
+ * DESCENDING: Largest value first.
477
+ */
478
+ var SortDirection;
479
+ (function (SortDirection) {
480
+ SortDirection["asc"] = "asc";
481
+ SortDirection["desc"] = "desc";
482
+ })(SortDirection || (exports.SortDirection = SortDirection = {}));
457
483
  /**
458
484
  * Lifecycle stage of an asynchronous recording synchronization.
459
485
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "11.11.0",
3
+ "version": "11.12.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",