Skip to content

Commit

Permalink
Make fragment proto changes to accommodate unlisted fragments (viamro…
Browse files Browse the repository at this point in the history
…botics#508)

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
piokasar and github-actions[bot] authored May 24, 2024
1 parent 6d6a5c6 commit 12580e3
Show file tree
Hide file tree
Showing 16 changed files with 1,705 additions and 1,488 deletions.
2,960 changes: 1,528 additions & 1,432 deletions app/v1/app.pb.go

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions component/gantry/v1/gantry.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/gripper/v1/gripper.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/motor/v1/motor.pb.gw.go

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

14 changes: 7 additions & 7 deletions component/movementsensor/v1/movementsensor.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/posetracker/v1/pose_tracker.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.

19 changes: 19 additions & 0 deletions gen/js/app/v1/app_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2126,6 +2126,9 @@ export class Fragment extends jspb.Message {
getOnlyUsedByOwner(): boolean;
setOnlyUsedByOwner(value: boolean): void;

getVisibility(): FragmentVisibilityMap[keyof FragmentVisibilityMap];
setVisibility(value: FragmentVisibilityMap[keyof FragmentVisibilityMap]): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Fragment.AsObject;
static toObject(includeInstance: boolean, msg: Fragment): Fragment.AsObject;
Expand All @@ -2148,6 +2151,7 @@ export namespace Fragment {
robotPartCount: number,
organizationCount: number,
onlyUsedByOwner: boolean,
visibility: FragmentVisibilityMap[keyof FragmentVisibilityMap],
}
}

Expand Down Expand Up @@ -2308,6 +2312,11 @@ export class UpdateFragmentRequest extends jspb.Message {
getPublic(): boolean;
setPublic(value: boolean): void;

hasVisibility(): boolean;
clearVisibility(): void;
getVisibility(): FragmentVisibilityMap[keyof FragmentVisibilityMap];
setVisibility(value: FragmentVisibilityMap[keyof FragmentVisibilityMap]): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UpdateFragmentRequest.AsObject;
static toObject(includeInstance: boolean, msg: UpdateFragmentRequest): UpdateFragmentRequest.AsObject;
Expand All @@ -2324,6 +2333,7 @@ export namespace UpdateFragmentRequest {
name: string,
config?: google_protobuf_struct_pb.Struct.AsObject,
pb_public: boolean,
visibility: FragmentVisibilityMap[keyof FragmentVisibilityMap],
}
}

Expand Down Expand Up @@ -4374,6 +4384,15 @@ export namespace CreateKeyFromExistingKeyAuthorizationsResponse {
}
}

export interface FragmentVisibilityMap {
FRAGMENT_VISIBILITY_UNSPECIFIED: 0;
FRAGMENT_VISIBILITY_PRIVATE: 1;
FRAGMENT_VISIBILITY_PUBLIC: 2;
FRAGMENT_VISIBILITY_PUBLIC_UNLISTED: 3;
}

export const FragmentVisibility: FragmentVisibilityMap;

export interface RegistryItemStatusMap {
REGISTRY_ITEM_STATUS_UNSPECIFIED: 0;
REGISTRY_ITEM_STATUS_PUBLISHED: 1;
Expand Down
Loading

0 comments on commit 12580e3

Please sign in to comment.