File tree 3 files changed +4
-15
lines changed
3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 14
14
- remote: buf.build
15
15
owner: viamrobotics
16
16
repository: api
17
- commit: f1167844b03449c996f6df622e3acb0f
18
- digest: shake256:79a474cd634e6fb68f5e7b20bae6fa8f58fd23877f7bcb93232321e27a7f57e76fa62ad708d61bbd592ed2009d2c764408f38bbad9fa0bccb74c63d7fd93151a
17
+ commit: 16d95cebecbb47dbba2df34d040bca50
18
+ digest: shake256:6a3d4750df0de604c44f44d3bbb73ad78819bdff0ec8353e365eaa8bd6f8b955b304119accbbd66d095122233a1066e3e737e13663b3a7c1d34fb6df71381a96
19
19
- remote: buf.build
20
20
owner: viamrobotics
21
21
repository: goutils
Original file line number Diff line number Diff line change @@ -714,13 +714,7 @@ export class RobotClient extends EventDispatcher implements Robot {
714
714
proto . GetCloudMetadataRequest ,
715
715
proto . GetCloudMetadataResponse
716
716
> ( robotService . getCloudMetadata . bind ( robotService ) , request ) ;
717
- const md = response . toObject ( ) ;
718
- return {
719
- primaryOrgId : md . primaryOrgId ,
720
- locationId : md . locationId ,
721
- machineId : md . machineId ,
722
- machinePartId : md . machinePartId ,
723
- } ;
717
+ return response . toObject ( ) ;
724
718
}
725
719
726
720
// RESOURCES
Original file line number Diff line number Diff line change @@ -9,12 +9,7 @@ import type proto from '../gen/robot/v1/robot_pb';
9
9
import type { ResponseStream } from '../gen/robot/v1/robot_pb_service' ;
10
10
11
11
export type RobotStatusStream = ResponseStream < proto . Status [ ] > ;
12
- export interface CloudMetadata {
13
- primaryOrgId : string ;
14
- locationId : string ;
15
- machineId : string ;
16
- machinePartId : string ;
17
- }
12
+ export type CloudMetadata = proto . GetCloudMetadataResponse . AsObject ;
18
13
19
14
type Callback = ( args : unknown ) => void ;
20
15
You can’t perform that action at this time.
0 commit comments