Skip to content

Commit

Permalink
Add collection type
Browse files Browse the repository at this point in the history
  • Loading branch information
waisingyiu committed Apr 16, 2024
1 parent 6c3503a commit c5b058d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
7 changes: 7 additions & 0 deletions proto/blueprint.proto
Expand Up @@ -61,6 +61,13 @@ message Collection {
*/
optional string description = 11;
optional Image image = 12;

enum CollectionType {
COLLECTION_TYPE_UNSPECIFIED = 0;
COLLECTION_TYPE_REGULAR = 1;
COLLECTION_TYPE_PODCAST = 2;
}
optional CollectionType type = 13;
}

/**
Expand Down
22 changes: 22 additions & 0 deletions proto/proto.lock
Expand Up @@ -4,6 +4,22 @@
"protopath": "blueprint.proto",
"def": {
"enums": [
{
"name": "Collection.CollectionType",
"enum_fields": [
{
"name": "COLLECTION_TYPE_UNSPECIFIED"
},
{
"name": "COLLECTION_TYPE_REGULAR",
"integer": 1
},
{
"name": "COLLECTION_TYPE_PODCAST",
"integer": 2
}
]
},
{
"name": "FollowUp.FollowUpType",
"enum_fields": [
Expand Down Expand Up @@ -242,6 +258,12 @@
"name": "image",
"type": "Image",
"optional": true
},
{
"id": 13,
"name": "type",
"type": "CollectionType",
"optional": true
}
]
},
Expand Down

0 comments on commit c5b058d

Please sign in to comment.