@neuracore/types 1.4.1 → 2.0.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.
@@ -390,20 +390,6 @@ export interface PoseData {
390
390
  [k: string]: number[];
391
391
  };
392
392
  }
393
- /**
394
- * Payload for recording request notifications.
395
- *
396
- * Contains information about who requested the recording and what
397
- * data types should be captured.
398
- */
399
- export interface RecodingRequestedPayload {
400
- recording_id: string;
401
- robot_id: string;
402
- instance: number;
403
- created_by: string;
404
- dataset_ids?: string[];
405
- data_types?: DataType[];
406
- }
407
393
  /**
408
394
  * Represents a single data stream belonging to a recording.
409
395
  *
@@ -451,14 +437,11 @@ export interface RecordingDescription {
451
437
  */
452
438
  export interface RecordingNotification {
453
439
  type: RecordingNotificationType;
454
- payload: RecordingStartPayload | RecodingRequestedPayload | (RecordingStartPayload | RecodingRequestedPayload)[] | BaseRecodingUpdatePayload;
440
+ payload: RecordingStartPayload | RecordingStartPayload[] | BaseRecodingUpdatePayload;
455
441
  id?: string;
456
442
  }
457
443
  /**
458
444
  * Payload for recording start notifications.
459
- *
460
- * Extends the request payload with the actual start timestamp
461
- * when recording begins.
462
445
  */
463
446
  export interface RecordingStartPayload {
464
447
  recording_id: string;
@@ -638,7 +621,6 @@ export declare enum RecordingDataStreamStatus {
638
621
  */
639
622
  export declare enum RecordingNotificationType {
640
623
  INIT = "INIT",
641
- REQUESTED = "REQUESTED",
642
624
  START = "START",
643
625
  STOP = "STOP",
644
626
  SAVED = "SAVED",
@@ -81,7 +81,6 @@ var RecordingDataStreamStatus;
81
81
  var RecordingNotificationType;
82
82
  (function (RecordingNotificationType) {
83
83
  RecordingNotificationType["INIT"] = "INIT";
84
- RecordingNotificationType["REQUESTED"] = "REQUESTED";
85
84
  RecordingNotificationType["START"] = "START";
86
85
  RecordingNotificationType["STOP"] = "STOP";
87
86
  RecordingNotificationType["SAVED"] = "SAVED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "1.4.1",
3
+ "version": "2.0.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",
@@ -35,6 +35,7 @@
35
35
  "access": "public"
36
36
  },
37
37
  "dependencies": {
38
- "json-schema-to-typescript": "^15.0.4"
38
+ "json-schema-to-typescript": "^15.0.4",
39
+ "google-protobuf": "^3.21.4"
39
40
  }
40
41
  }