Skip to content

Commit ae8112d

Browse files
authored
[APP 5317]: add who field to robot part history entry (#517)
1 parent 79e52c2 commit ae8112d

File tree

13 files changed

+3211
-2707
lines changed

13 files changed

+3211
-2707
lines changed

app/v1/app.pb.go

Lines changed: 2833 additions & 2663 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component/arm/v1/arm.pb.gw.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component/board/v1/board.pb.gw.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component/generic/v1/generic.pb.gw.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component/gripper/v1/gripper.pb.gw.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component/posetracker/v1/pose_tracker.pb.gw.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component/powersensor/v1/powersensor.pb.gw.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component/servo/v1/servo.pb.gw.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/js/app/v1/app_pb.d.ts

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,11 @@ export class RobotPartHistoryEntry extends jspb.Message {
148148
getOld(): RobotPart | undefined;
149149
setOld(value?: RobotPart): void;
150150

151+
hasEditedBy(): boolean;
152+
clearEditedBy(): void;
153+
getEditedBy(): AuthenticatorInfo | undefined;
154+
setEditedBy(value?: AuthenticatorInfo): void;
155+
151156
serializeBinary(): Uint8Array;
152157
toObject(includeInstance?: boolean): RobotPartHistoryEntry.AsObject;
153158
static toObject(includeInstance: boolean, msg: RobotPartHistoryEntry): RobotPartHistoryEntry.AsObject;
@@ -164,6 +169,35 @@ export namespace RobotPartHistoryEntry {
164169
robot: string,
165170
when?: google_protobuf_timestamp_pb.Timestamp.AsObject,
166171
old?: RobotPart.AsObject,
172+
editedBy?: AuthenticatorInfo.AsObject,
173+
}
174+
}
175+
176+
export class AuthenticatorInfo extends jspb.Message {
177+
getType(): AuthenticationTypeMap[keyof AuthenticationTypeMap];
178+
setType(value: AuthenticationTypeMap[keyof AuthenticationTypeMap]): void;
179+
180+
getValue(): string;
181+
setValue(value: string): void;
182+
183+
getIsDeactivated(): boolean;
184+
setIsDeactivated(value: boolean): void;
185+
186+
serializeBinary(): Uint8Array;
187+
toObject(includeInstance?: boolean): AuthenticatorInfo.AsObject;
188+
static toObject(includeInstance: boolean, msg: AuthenticatorInfo): AuthenticatorInfo.AsObject;
189+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
190+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
191+
static serializeBinaryToWriter(message: AuthenticatorInfo, writer: jspb.BinaryWriter): void;
192+
static deserializeBinary(bytes: Uint8Array): AuthenticatorInfo;
193+
static deserializeBinaryFromReader(message: AuthenticatorInfo, reader: jspb.BinaryReader): AuthenticatorInfo;
194+
}
195+
196+
export namespace AuthenticatorInfo {
197+
export type AsObject = {
198+
type: AuthenticationTypeMap[keyof AuthenticationTypeMap],
199+
value: string,
200+
isDeactivated: boolean,
167201
}
168202
}
169203

@@ -4438,6 +4472,16 @@ export namespace CreateKeyFromExistingKeyAuthorizationsResponse {
44384472
}
44394473
}
44404474

4475+
export interface AuthenticationTypeMap {
4476+
AUTHENTICATION_TYPE_UNSPECIFIED: 0;
4477+
AUTHENTICATION_TYPE_WEB_OAUTH: 1;
4478+
AUTHENTICATION_TYPE_API_KEY: 2;
4479+
AUTHENTICATION_TYPE_ROBOT_PART_SECRET: 3;
4480+
AUTHENTICATION_TYPE_LOCATION_SECRET: 4;
4481+
}
4482+
4483+
export const AuthenticationType: AuthenticationTypeMap;
4484+
44414485
export interface FragmentVisibilityMap {
44424486
FRAGMENT_VISIBILITY_UNSPECIFIED: 0;
44434487
FRAGMENT_VISIBILITY_PRIVATE: 1;

0 commit comments

Comments
 (0)