Skip to content

Commit

Permalink
Commit from GitHub Actions (compile_PB)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 22, 2023
1 parent ef2744a commit 670ed25
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 44 deletions.
92 changes: 52 additions & 40 deletions backend/spec/state/v1/train.pb.go

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

13 changes: 10 additions & 3 deletions frontend/dashboard/proto/state/v1/train_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,18 @@ export declare class Train extends Message<Train> {
trainId: string;

/**
* 駅のID
* 駅 or 閉塞のID
*
* @generated from field: string station_id = 2;
* @generated from field: string position_id = 2;
*/
stationId: string;
positionId: string;

/**
* 列車の優先度
*
* @generated from field: state.v1.Priority priority = 3;
*/
priority: Priority;

constructor(data?: PartialMessage<Train>);

Expand Down
3 changes: 2 additions & 1 deletion frontend/dashboard/proto/state/v1/train_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export const Train = proto3.makeMessageType(
"state.v1.Train",
() => [
{ no: 1, name: "train_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "station_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "position_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "priority", kind: "enum", T: proto3.getEnumType(Priority) },
],
);

Expand Down

0 comments on commit 670ed25

Please sign in to comment.