Skip to content

Commit

Permalink
Merge branch 'main' into optional-URL
Browse files Browse the repository at this point in the history
  • Loading branch information
tahiyasalam authored Jul 22, 2024
2 parents fa8bc65 + 5ab504d commit 88b2456
Show file tree
Hide file tree
Showing 11 changed files with 740 additions and 307 deletions.
10 changes: 5 additions & 5 deletions component/audioinput/v1/audioinput.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions component/camera/v1/camera.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions component/powersensor/v1/powersensor.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions component/servo/v1/servo.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions gen/js/robot/v1/robot_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,11 @@ export class GetMachineStatusResponse extends jspb.Message {
setResourcesList(value: Array<ResourceStatus>): void;
addResources(value?: ResourceStatus, index?: number): ResourceStatus;

hasConfig(): boolean;
clearConfig(): void;
getConfig(): ConfigStatus | undefined;
setConfig(value?: ConfigStatus): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetMachineStatusResponse.AsObject;
static toObject(includeInstance: boolean, msg: GetMachineStatusResponse): GetMachineStatusResponse.AsObject;
Expand All @@ -1116,6 +1121,7 @@ export class GetMachineStatusResponse extends jspb.Message {
export namespace GetMachineStatusResponse {
export type AsObject = {
resourcesList: Array<ResourceStatus.AsObject>,
config?: ConfigStatus.AsObject,
}
}

Expand All @@ -1133,6 +1139,9 @@ export class ResourceStatus extends jspb.Message {
getLastUpdated(): google_protobuf_timestamp_pb.Timestamp | undefined;
setLastUpdated(value?: google_protobuf_timestamp_pb.Timestamp): void;

getRevision(): string;
setRevision(value: string): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ResourceStatus.AsObject;
static toObject(includeInstance: boolean, msg: ResourceStatus): ResourceStatus.AsObject;
Expand All @@ -1148,6 +1157,7 @@ export namespace ResourceStatus {
name?: common_v1_common_pb.ResourceName.AsObject,
state: ResourceStatus.StateMap[keyof ResourceStatus.StateMap],
lastUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
revision: string,
}

export interface StateMap {
Expand All @@ -1161,6 +1171,32 @@ export namespace ResourceStatus {
export const State: StateMap;
}

export class ConfigStatus extends jspb.Message {
getRevision(): string;
setRevision(value: string): void;

hasLastUpdated(): boolean;
clearLastUpdated(): void;
getLastUpdated(): google_protobuf_timestamp_pb.Timestamp | undefined;
setLastUpdated(value?: google_protobuf_timestamp_pb.Timestamp): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ConfigStatus.AsObject;
static toObject(includeInstance: boolean, msg: ConfigStatus): ConfigStatus.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: ConfigStatus, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ConfigStatus;
static deserializeBinaryFromReader(message: ConfigStatus, reader: jspb.BinaryReader): ConfigStatus;
}

export namespace ConfigStatus {
export type AsObject = {
revision: string,
lastUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
}
}

export interface PeerConnectionTypeMap {
PEER_CONNECTION_TYPE_UNSPECIFIED: 0;
PEER_CONNECTION_TYPE_GRPC: 1;
Expand Down
Loading

0 comments on commit 88b2456

Please sign in to comment.