Skip to content

Commit

Permalink
update proto
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Sep 25, 2024
1 parent 3703ce3 commit b4c3956
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 52 deletions.
44 changes: 13 additions & 31 deletions api/v1/timeline_pb2.py

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

24 changes: 4 additions & 20 deletions api/v1/timeline_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -35,38 +35,22 @@ class EpisodeCollectResponse(_message.Message):
def __init__(self, ok: bool = ...) -> None: ...

class Subject(_message.Message):
__slots__ = ("id", "type", "name", "name_cn", "image", "series", "vols_total", "eps_total")
__slots__ = ("id", "type", "vols_total", "eps_total")
ID_FIELD_NUMBER: _ClassVar[int]
TYPE_FIELD_NUMBER: _ClassVar[int]
NAME_FIELD_NUMBER: _ClassVar[int]
NAME_CN_FIELD_NUMBER: _ClassVar[int]
IMAGE_FIELD_NUMBER: _ClassVar[int]
SERIES_FIELD_NUMBER: _ClassVar[int]
VOLS_TOTAL_FIELD_NUMBER: _ClassVar[int]
EPS_TOTAL_FIELD_NUMBER: _ClassVar[int]
id: int
type: int
name: str
name_cn: str
image: str
series: bool
vols_total: int
eps_total: int
def __init__(self, id: _Optional[int] = ..., type: _Optional[int] = ..., name: _Optional[str] = ..., name_cn: _Optional[str] = ..., image: _Optional[str] = ..., series: bool = ..., vols_total: _Optional[int] = ..., eps_total: _Optional[int] = ...) -> None: ...
def __init__(self, id: _Optional[int] = ..., type: _Optional[int] = ..., vols_total: _Optional[int] = ..., eps_total: _Optional[int] = ...) -> None: ...

class Episode(_message.Message):
__slots__ = ("id", "type", "name", "name_cn", "sort")
__slots__ = ("id",)
ID_FIELD_NUMBER: _ClassVar[int]
TYPE_FIELD_NUMBER: _ClassVar[int]
NAME_FIELD_NUMBER: _ClassVar[int]
NAME_CN_FIELD_NUMBER: _ClassVar[int]
SORT_FIELD_NUMBER: _ClassVar[int]
id: int
type: int
name: str
name_cn: str
sort: float
def __init__(self, id: _Optional[int] = ..., type: _Optional[int] = ..., name: _Optional[str] = ..., name_cn: _Optional[str] = ..., sort: _Optional[float] = ...) -> None: ...
def __init__(self, id: _Optional[int] = ...) -> None: ...

class SubjectCollectRequest(_message.Message):
__slots__ = ("user_id", "subject", "collection", "comment", "rate", "collection_id")
Expand Down
2 changes: 1 addition & 1 deletion proto
Submodule proto updated 1 files
+3 −9 api/v1/timeline.proto

0 comments on commit b4c3956

Please sign in to comment.