Skip to content

Commit

Permalink
[APP-3239] Define protos for user-defined metadata (#630)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
JosephBorodach and github-actions[bot] authored Feb 12, 2025
1 parent e097749 commit 3f5d610
Show file tree
Hide file tree
Showing 9 changed files with 15,086 additions and 9,390 deletions.
8,346 changes: 4,650 additions & 3,696 deletions app/v1/app.pb.go

Large diffs are not rendered by default.

616 changes: 616 additions & 0 deletions app/v1/app.pb.gw.go

Large diffs are not rendered by default.

304 changes: 304 additions & 0 deletions app/v1/app_grpc.pb.go

Large diffs are not rendered by default.

490 changes: 490 additions & 0 deletions gen/js/app/v1/app_grpc_web_pb.js

Large diffs are not rendered by default.

313 changes: 313 additions & 0 deletions gen/js/app/v1/app_pb.d.ts

Large diffs are not rendered by default.

13,850 changes: 8,156 additions & 5,694 deletions gen/js/app/v1/app_pb.js

Large diffs are not rendered by default.

152 changes: 152 additions & 0 deletions gen/js/app/v1/app_pb_service.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,24 @@ type AppServiceDeleteOrganization = {
readonly responseType: typeof app_v1_app_pb.DeleteOrganizationResponse;
};

type AppServiceGetOrganizationMetadata = {
readonly methodName: string;
readonly service: typeof AppService;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof app_v1_app_pb.GetOrganizationMetadataRequest;
readonly responseType: typeof app_v1_app_pb.GetOrganizationMetadataResponse;
};

type AppServiceUpdateOrganizationMetadata = {
readonly methodName: string;
readonly service: typeof AppService;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof app_v1_app_pb.UpdateOrganizationMetadataRequest;
readonly responseType: typeof app_v1_app_pb.UpdateOrganizationMetadataResponse;
};

type AppServiceListOrganizationMembers = {
readonly methodName: string;
readonly service: typeof AppService;
Expand Down Expand Up @@ -319,6 +337,24 @@ type AppServiceDeleteLocation = {
readonly responseType: typeof app_v1_app_pb.DeleteLocationResponse;
};

type AppServiceGetLocationMetadata = {
readonly methodName: string;
readonly service: typeof AppService;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof app_v1_app_pb.GetLocationMetadataRequest;
readonly responseType: typeof app_v1_app_pb.GetLocationMetadataResponse;
};

type AppServiceUpdateLocationMetadata = {
readonly methodName: string;
readonly service: typeof AppService;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof app_v1_app_pb.UpdateLocationMetadataRequest;
readonly responseType: typeof app_v1_app_pb.UpdateLocationMetadataResponse;
};

type AppServiceListLocations = {
readonly methodName: string;
readonly service: typeof AppService;
Expand Down Expand Up @@ -382,6 +418,24 @@ type AppServiceGetRobot = {
readonly responseType: typeof app_v1_app_pb.GetRobotResponse;
};

type AppServiceGetRobotMetadata = {
readonly methodName: string;
readonly service: typeof AppService;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof app_v1_app_pb.GetRobotMetadataRequest;
readonly responseType: typeof app_v1_app_pb.GetRobotMetadataResponse;
};

type AppServiceUpdateRobotMetadata = {
readonly methodName: string;
readonly service: typeof AppService;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof app_v1_app_pb.UpdateRobotMetadataRequest;
readonly responseType: typeof app_v1_app_pb.UpdateRobotMetadataResponse;
};

type AppServiceGetRoverRentalRobots = {
readonly methodName: string;
readonly service: typeof AppService;
Expand Down Expand Up @@ -463,6 +517,24 @@ type AppServiceDeleteRobotPart = {
readonly responseType: typeof app_v1_app_pb.DeleteRobotPartResponse;
};

type AppServiceGetRobotPartMetadata = {
readonly methodName: string;
readonly service: typeof AppService;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof app_v1_app_pb.GetRobotPartMetadataRequest;
readonly responseType: typeof app_v1_app_pb.GetRobotPartMetadataResponse;
};

type AppServiceUpdateRobotPartMetadata = {
readonly methodName: string;
readonly service: typeof AppService;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof app_v1_app_pb.UpdateRobotPartMetadataRequest;
readonly responseType: typeof app_v1_app_pb.UpdateRobotPartMetadataResponse;
};

type AppServiceGetRobotAPIKeys = {
readonly methodName: string;
readonly service: typeof AppService;
Expand Down Expand Up @@ -844,6 +916,8 @@ export class AppService {
static readonly GetOrganizationNamespaceAvailability: AppServiceGetOrganizationNamespaceAvailability;
static readonly UpdateOrganization: AppServiceUpdateOrganization;
static readonly DeleteOrganization: AppServiceDeleteOrganization;
static readonly GetOrganizationMetadata: AppServiceGetOrganizationMetadata;
static readonly UpdateOrganizationMetadata: AppServiceUpdateOrganizationMetadata;
static readonly ListOrganizationMembers: AppServiceListOrganizationMembers;
static readonly CreateOrganizationInvite: AppServiceCreateOrganizationInvite;
static readonly UpdateOrganizationInviteAuthorizations: AppServiceUpdateOrganizationInviteAuthorizations;
Expand All @@ -869,13 +943,17 @@ export class AppService {
static readonly GetLocation: AppServiceGetLocation;
static readonly UpdateLocation: AppServiceUpdateLocation;
static readonly DeleteLocation: AppServiceDeleteLocation;
static readonly GetLocationMetadata: AppServiceGetLocationMetadata;
static readonly UpdateLocationMetadata: AppServiceUpdateLocationMetadata;
static readonly ListLocations: AppServiceListLocations;
static readonly ShareLocation: AppServiceShareLocation;
static readonly UnshareLocation: AppServiceUnshareLocation;
static readonly LocationAuth: AppServiceLocationAuth;
static readonly CreateLocationSecret: AppServiceCreateLocationSecret;
static readonly DeleteLocationSecret: AppServiceDeleteLocationSecret;
static readonly GetRobot: AppServiceGetRobot;
static readonly GetRobotMetadata: AppServiceGetRobotMetadata;
static readonly UpdateRobotMetadata: AppServiceUpdateRobotMetadata;
static readonly GetRoverRentalRobots: AppServiceGetRoverRentalRobots;
static readonly GetRobotParts: AppServiceGetRobotParts;
static readonly GetRobotPart: AppServiceGetRobotPart;
Expand All @@ -885,6 +963,8 @@ export class AppService {
static readonly UpdateRobotPart: AppServiceUpdateRobotPart;
static readonly NewRobotPart: AppServiceNewRobotPart;
static readonly DeleteRobotPart: AppServiceDeleteRobotPart;
static readonly GetRobotPartMetadata: AppServiceGetRobotPartMetadata;
static readonly UpdateRobotPartMetadata: AppServiceUpdateRobotPartMetadata;
static readonly GetRobotAPIKeys: AppServiceGetRobotAPIKeys;
static readonly MarkPartAsMain: AppServiceMarkPartAsMain;
static readonly MarkPartForRestart: AppServiceMarkPartForRestart;
Expand Down Expand Up @@ -1050,6 +1130,24 @@ export class AppServiceClient {
requestMessage: app_v1_app_pb.DeleteOrganizationRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.DeleteOrganizationResponse|null) => void
): UnaryResponse;
getOrganizationMetadata(
requestMessage: app_v1_app_pb.GetOrganizationMetadataRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetOrganizationMetadataResponse|null) => void
): UnaryResponse;
getOrganizationMetadata(
requestMessage: app_v1_app_pb.GetOrganizationMetadataRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetOrganizationMetadataResponse|null) => void
): UnaryResponse;
updateOrganizationMetadata(
requestMessage: app_v1_app_pb.UpdateOrganizationMetadataRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateOrganizationMetadataResponse|null) => void
): UnaryResponse;
updateOrganizationMetadata(
requestMessage: app_v1_app_pb.UpdateOrganizationMetadataRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateOrganizationMetadataResponse|null) => void
): UnaryResponse;
listOrganizationMembers(
requestMessage: app_v1_app_pb.ListOrganizationMembersRequest,
metadata: grpc.Metadata,
Expand Down Expand Up @@ -1275,6 +1373,24 @@ export class AppServiceClient {
requestMessage: app_v1_app_pb.DeleteLocationRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.DeleteLocationResponse|null) => void
): UnaryResponse;
getLocationMetadata(
requestMessage: app_v1_app_pb.GetLocationMetadataRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetLocationMetadataResponse|null) => void
): UnaryResponse;
getLocationMetadata(
requestMessage: app_v1_app_pb.GetLocationMetadataRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetLocationMetadataResponse|null) => void
): UnaryResponse;
updateLocationMetadata(
requestMessage: app_v1_app_pb.UpdateLocationMetadataRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateLocationMetadataResponse|null) => void
): UnaryResponse;
updateLocationMetadata(
requestMessage: app_v1_app_pb.UpdateLocationMetadataRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateLocationMetadataResponse|null) => void
): UnaryResponse;
listLocations(
requestMessage: app_v1_app_pb.ListLocationsRequest,
metadata: grpc.Metadata,
Expand Down Expand Up @@ -1338,6 +1454,24 @@ export class AppServiceClient {
requestMessage: app_v1_app_pb.GetRobotRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetRobotResponse|null) => void
): UnaryResponse;
getRobotMetadata(
requestMessage: app_v1_app_pb.GetRobotMetadataRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetRobotMetadataResponse|null) => void
): UnaryResponse;
getRobotMetadata(
requestMessage: app_v1_app_pb.GetRobotMetadataRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetRobotMetadataResponse|null) => void
): UnaryResponse;
updateRobotMetadata(
requestMessage: app_v1_app_pb.UpdateRobotMetadataRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateRobotMetadataResponse|null) => void
): UnaryResponse;
updateRobotMetadata(
requestMessage: app_v1_app_pb.UpdateRobotMetadataRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateRobotMetadataResponse|null) => void
): UnaryResponse;
getRoverRentalRobots(
requestMessage: app_v1_app_pb.GetRoverRentalRobotsRequest,
metadata: grpc.Metadata,
Expand Down Expand Up @@ -1411,6 +1545,24 @@ export class AppServiceClient {
requestMessage: app_v1_app_pb.DeleteRobotPartRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.DeleteRobotPartResponse|null) => void
): UnaryResponse;
getRobotPartMetadata(
requestMessage: app_v1_app_pb.GetRobotPartMetadataRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetRobotPartMetadataResponse|null) => void
): UnaryResponse;
getRobotPartMetadata(
requestMessage: app_v1_app_pb.GetRobotPartMetadataRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetRobotPartMetadataResponse|null) => void
): UnaryResponse;
updateRobotPartMetadata(
requestMessage: app_v1_app_pb.UpdateRobotPartMetadataRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateRobotPartMetadataResponse|null) => void
): UnaryResponse;
updateRobotPartMetadata(
requestMessage: app_v1_app_pb.UpdateRobotPartMetadataRequest,
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateRobotPartMetadataResponse|null) => void
): UnaryResponse;
getRobotAPIKeys(
requestMessage: app_v1_app_pb.GetRobotAPIKeysRequest,
metadata: grpc.Metadata,
Expand Down
Loading

0 comments on commit 3f5d610

Please sign in to comment.