Add Image field to posts.Posts (#26)

This commit is contained in:
Janos Dobronszki
2020-11-12 11:22:20 +01:00
committed by GitHub
parent f3a1cb06fa
commit e369086903
3 changed files with 49 additions and 28 deletions

View File

@@ -19,6 +19,7 @@ message Post {
string author = 7;
repeated string tags = 8;
map<string,string> metadata = 9;
string image = 19;
}
// Query posts. Acts as a listing when no id or slug provided.
@@ -45,6 +46,7 @@ message SaveRequest {
// send a list of tags with only one member being an empty string [""]
repeated string tags = 6;
map<string,string> metadata = 7;
string image = 8;
}
message SaveResponse {