@neuracore/types 11.11.0 → 11.12.0-main.167.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.
@@ -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
  *
@@ -1847,6 +1858,8 @@ export interface TracesMetadataRequest {
1847
1858
  * resumed_from_checkpoint: The name of the checkpoint this job started
1848
1859
  * from, if applicable.
1849
1860
  * previous_training_time: The time spent on the previous training, if applicable.
1861
+ * seconds_per_epoch: Wall-clock seconds for the latest completed post-warmup
1862
+ * epoch, if measured. Used by clients to estimate remaining time.
1850
1863
  * error: Any error message associated with the job, if applicable.
1851
1864
  * resume_points: List of timestamps where the job can be resumed.
1852
1865
  * input_cross_embodiment_description: List of data types for the input data.
@@ -1880,6 +1893,7 @@ export interface TrainingJob {
1880
1893
  resumed_from_job_id?: string | null;
1881
1894
  resumed_from_checkpoint?: string | null;
1882
1895
  previous_training_time?: number | null;
1896
+ seconds_per_epoch?: number | null;
1883
1897
  error?: string | null;
1884
1898
  resume_points: number[];
1885
1899
  input_cross_embodiment_description: {
@@ -2338,6 +2352,30 @@ export declare enum RecordingNotificationType {
2338
2352
  DISCARDED = "DISCARDED",
2339
2353
  EXPIRED = "EXPIRED"
2340
2354
  }
2355
+ /**
2356
+ * Field the recordings of a dataset can be ordered by.
2357
+ *
2358
+ * Attributes:
2359
+ * CREATED_AT: Order by the time the recording was created.
2360
+ * NAME: Order by the recording name.
2361
+ * DURATION: Order by how long the recording ran for.
2362
+ */
2363
+ export declare enum RecordingSortField {
2364
+ created_at = "created_at",
2365
+ name = "name",
2366
+ duration = "duration"
2367
+ }
2368
+ /**
2369
+ * Direction a list is ordered in.
2370
+ *
2371
+ * Attributes:
2372
+ * ASCENDING: Smallest value first.
2373
+ * DESCENDING: Largest value first.
2374
+ */
2375
+ export declare enum SortDirection {
2376
+ asc = "asc",
2377
+ desc = "desc"
2378
+ }
2341
2379
  /**
2342
2380
  * Lifecycle stage of an asynchronous recording synchronization.
2343
2381
  */
@@ -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-main.167.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",
@@ -27,7 +27,6 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.0",
29
29
  "grpc-tools": "^1.13.0"
30
-
31
30
  },
32
31
  "publishConfig": {
33
32
  "access": "public"