Skip to content

Commit

Permalink
feat: add compact topic dto
Browse files Browse the repository at this point in the history
  • Loading branch information
jyoo0515 committed Feb 18, 2024
1 parent 7d682c2 commit 99621e7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion proto/topic.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ message TopicDTO {
repeated string scene_ids = 5;
}

message CompactTopicDTO {
string id = 1;
string title = 2;
string thumbnail_url = 3;
}

message ListTopicsRequest {
// empty
}

message ListTopicsResponse {
repeated TopicDTO topics = 1;
repeated CompactTopicDTO topics = 1;
}

message GetTopicRequest {
Expand Down

0 comments on commit 99621e7

Please sign in to comment.