Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Node.js to v20 #517

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions backend/auto_operation/spec/ats_pb2.py

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

49 changes: 35 additions & 14 deletions backend/auto_operation/spec/ats_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,56 @@ class SendStatusRequest(_message.Message):
__slots__ = ["sensor"]
class SensorName(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = []
SENSOR_FIELD_NUMBER: _ClassVar[int]
unknown: _ClassVar[SendStatusRequest.SensorName]
shinjuku_d1: _ClassVar[SendStatusRequest.SensorName]
shinjuku_d2: _ClassVar[SendStatusRequest.SensorName]
sakurajosui_d1: _ClassVar[SendStatusRequest.SensorName]
sakurajosui_d2: _ClassVar[SendStatusRequest.SensorName]
sakurajosui_d3: _ClassVar[SendStatusRequest.SensorName]
sakurajosui_d4: _ClassVar[SendStatusRequest.SensorName]
sakurajosui_d5: _ClassVar[SendStatusRequest.SensorName]
sakurajosui_d6: _ClassVar[SendStatusRequest.SensorName]
chofu_d1: _ClassVar[SendStatusRequest.SensorName]
chofu_d2: _ClassVar[SendStatusRequest.SensorName]
chofu_d3: _ClassVar[SendStatusRequest.SensorName]
chofu_d4: _ClassVar[SendStatusRequest.SensorName]
chofu_d5: _ClassVar[SendStatusRequest.SensorName]
hashimoto_d1: _ClassVar[SendStatusRequest.SensorName]
hashimoto_d2: _ClassVar[SendStatusRequest.SensorName]
hachioji_d1: _ClassVar[SendStatusRequest.SensorName]
hachioji_d2: _ClassVar[SendStatusRequest.SensorName]
unknown: SendStatusRequest.SensorName
shinjuku_d1: SendStatusRequest.SensorName
shinjuku_d2: SendStatusRequest.SensorName
sakurajosui_d1: SendStatusRequest.SensorName
sakurajosui_d2: SendStatusRequest.SensorName
sakurajosui_d3: SendStatusRequest.SensorName
sakurajosui_d4: SendStatusRequest.SensorName
sakurajosui_d5: SendStatusRequest.SensorName
sakurajosui_d6: SendStatusRequest.SensorName
chofu_d1: SendStatusRequest.SensorName
chofu_d2: SendStatusRequest.SensorName
chofu_d3: SendStatusRequest.SensorName
chofu_d4: SendStatusRequest.SensorName
chofu_d5: SendStatusRequest.SensorName
hachioji_d1: SendStatusRequest.SensorName
hachioji_d2: SendStatusRequest.SensorName
hashimoto_d1: SendStatusRequest.SensorName
hashimoto_d2: SendStatusRequest.SensorName
sakurajosui_d1: SendStatusRequest.SensorName
sakurajosui_d2: SendStatusRequest.SensorName
sakurajosui_d3: SendStatusRequest.SensorName
sakurajosui_d4: SendStatusRequest.SensorName
sakurajosui_d5: SendStatusRequest.SensorName
sakurajosui_d6: SendStatusRequest.SensorName
hachioji_d1: SendStatusRequest.SensorName
hachioji_d2: SendStatusRequest.SensorName
SENSOR_FIELD_NUMBER: _ClassVar[int]
sensor: SendStatusRequest.SensorName
shinjuku_d1: SendStatusRequest.SensorName
shinjuku_d2: SendStatusRequest.SensorName
unknown: SendStatusRequest.SensorName
def __init__(self, sensor: _Optional[_Union[SendStatusRequest.SensorName, str]] = ...) -> None: ...

class SendStatusResponse(_message.Message):
__slots__ = ["response"]
class Response(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = []
UNKNOWN: _ClassVar[SendStatusResponse.Response]
SUCCESS: _ClassVar[SendStatusResponse.Response]
FAILED: _ClassVar[SendStatusResponse.Response]
UNKNOWN: SendStatusResponse.Response
SUCCESS: SendStatusResponse.Response
FAILED: SendStatusResponse.Response
RESPONSE_FIELD_NUMBER: _ClassVar[int]
SUCCESS: SendStatusResponse.Response
UNKNOWN: SendStatusResponse.Response
response: SendStatusResponse.Response
def __init__(self, response: _Optional[_Union[SendStatusResponse.Response, str]] = ...) -> None: ...
43 changes: 22 additions & 21 deletions backend/auto_operation/spec/block_pb2.py

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

69 changes: 45 additions & 24 deletions backend/auto_operation/spec/block_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,55 @@ from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union

BLOCKSTATE_CLOSE: BlockStateEnum
BLOCKSTATE_OPEN: BlockStateEnum
BLOCKSTATE_UNKNOWN: BlockStateEnum
DESCRIPTOR: _descriptor.FileDescriptor

class BlockStateEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = []
BLOCKSTATE_UNKNOWN: _ClassVar[BlockStateEnum]
BLOCKSTATE_OPEN: _ClassVar[BlockStateEnum]
BLOCKSTATE_CLOSE: _ClassVar[BlockStateEnum]

class BlockId(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = []
unknown: _ClassVar[BlockId]
shinjuku_b1: _ClassVar[BlockId]
shinjuku_b2: _ClassVar[BlockId]
sakurajosui_b1: _ClassVar[BlockId]
sakurajosui_b2: _ClassVar[BlockId]
sakurajosui_b3: _ClassVar[BlockId]
sakurajosui_b4: _ClassVar[BlockId]
sakurajosui_b5: _ClassVar[BlockId]
sakurajosui_b6: _ClassVar[BlockId]
chofu_b1: _ClassVar[BlockId]
chofu_b2: _ClassVar[BlockId]
chofu_b3: _ClassVar[BlockId]
chofu_b4: _ClassVar[BlockId]
chofu_b5: _ClassVar[BlockId]
hashimoto_b1: _ClassVar[BlockId]
hashimoto_b2: _ClassVar[BlockId]
hachioji_b1: _ClassVar[BlockId]
hachioji_b2: _ClassVar[BlockId]
BLOCKSTATE_UNKNOWN: BlockStateEnum
BLOCKSTATE_OPEN: BlockStateEnum
BLOCKSTATE_CLOSE: BlockStateEnum
unknown: BlockId
shinjuku_b1: BlockId
shinjuku_b2: BlockId
sakurajosui_b1: BlockId
sakurajosui_b2: BlockId
sakurajosui_b3: BlockId
sakurajosui_b4: BlockId
sakurajosui_b5: BlockId
sakurajosui_b6: BlockId
chofu_b1: BlockId
chofu_b2: BlockId
chofu_b3: BlockId
chofu_b4: BlockId
chofu_b5: BlockId
hachioji_b1: BlockId
hachioji_b2: BlockId
hashimoto_b1: BlockId
hashimoto_b2: BlockId
sakurajosui_b1: BlockId
sakurajosui_b2: BlockId
sakurajosui_b3: BlockId
sakurajosui_b4: BlockId
sakurajosui_b5: BlockId
sakurajosui_b6: BlockId
shinjuku_b1: BlockId
shinjuku_b2: BlockId
unknown: BlockId
hachioji_b1: BlockId
hachioji_b2: BlockId

class BlockAndState(_message.Message):
__slots__ = ["blockId", "state"]
Expand All @@ -34,28 +61,22 @@ class BlockAndState(_message.Message):
state: BlockStateEnum
def __init__(self, blockId: _Optional[_Union[BlockId, str]] = ..., state: _Optional[_Union[BlockStateEnum, str]] = ...) -> None: ...

class NotifyBlockStateRequest(_message.Message):
class UpdateBlockStateRequest(_message.Message):
__slots__ = ["state"]
STATE_FIELD_NUMBER: _ClassVar[int]
state: BlockAndState
def __init__(self, state: _Optional[_Union[BlockAndState, _Mapping]] = ...) -> None: ...

class NotifyBlockStateResponse(_message.Message):
class UpdateBlockStateResponse(_message.Message):
__slots__ = []
def __init__(self) -> None: ...

class UpdateBlockStateRequest(_message.Message):
class NotifyBlockStateRequest(_message.Message):
__slots__ = ["state"]
STATE_FIELD_NUMBER: _ClassVar[int]
state: BlockAndState
def __init__(self, state: _Optional[_Union[BlockAndState, _Mapping]] = ...) -> None: ...

class UpdateBlockStateResponse(_message.Message):
class NotifyBlockStateResponse(_message.Message):
__slots__ = []
def __init__(self) -> None: ...

class BlockStateEnum(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = []

class BlockId(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = []
27 changes: 14 additions & 13 deletions backend/auto_operation/spec/speedControl_pb2.py

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

32 changes: 22 additions & 10 deletions backend/auto_operation/spec/speedControl_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,40 @@ class SendSpeed(_message.Message):
__slots__ = ["Speed", "train"]
class Train(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = []
UNKNOWN: _ClassVar[SendSpeed.Train]
TAKAO: _ClassVar[SendSpeed.Train]
CHICHIBU: _ClassVar[SendSpeed.Train]
HAKONE: _ClassVar[SendSpeed.Train]
OKUTAMA: _ClassVar[SendSpeed.Train]
NIKKO: _ClassVar[SendSpeed.Train]
ENOSHIMA: _ClassVar[SendSpeed.Train]
KAMAKURA: _ClassVar[SendSpeed.Train]
YOKOSUKA: _ClassVar[SendSpeed.Train]
UNKNOWN: SendSpeed.Train
TAKAO: SendSpeed.Train
CHICHIBU: SendSpeed.Train
ENOSHIMA: SendSpeed.Train
HAKONE: SendSpeed.Train
KAMAKURA: SendSpeed.Train
NIKKO: SendSpeed.Train
OKUTAMA: SendSpeed.Train
NIKKO: SendSpeed.Train
ENOSHIMA: SendSpeed.Train
KAMAKURA: SendSpeed.Train
YOKOSUKA: SendSpeed.Train
SPEED_FIELD_NUMBER: _ClassVar[int]
Speed: int
TAKAO: SendSpeed.Train
TRAIN_FIELD_NUMBER: _ClassVar[int]
UNKNOWN: SendSpeed.Train
YOKOSUKA: SendSpeed.Train
Speed: int
train: SendSpeed.Train
def __init__(self, Speed: _Optional[int] = ..., train: _Optional[_Union[SendSpeed.Train, str]] = ...) -> None: ...

class StatusCode(_message.Message):
__slots__ = ["code"]
class Code(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
__slots__ = []
CODE_FIELD_NUMBER: _ClassVar[int]
FAILED: StatusCode.Code
SUCCESS: StatusCode.Code
UNKNOWN: _ClassVar[StatusCode.Code]
SUCCESS: _ClassVar[StatusCode.Code]
FAILED: _ClassVar[StatusCode.Code]
UNKNOWN: StatusCode.Code
SUCCESS: StatusCode.Code
FAILED: StatusCode.Code
CODE_FIELD_NUMBER: _ClassVar[int]
code: StatusCode.Code
def __init__(self, code: _Optional[_Union[StatusCode.Code, str]] = ...) -> None: ...
Loading