mirror of
https://github.com/usememos/memos.git
synced 2025-11-09 17:01:36 +08:00
* refactor: move tags from property to payload * chore: fix tests * chore: drop memo tags * chore: update --------- Co-authored-by: Steven <stevenlgtm@gmail.com>
29 lines
514 B
Protocol Buffer
29 lines
514 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package memos.store;
|
|
|
|
option go_package = "gen/store";
|
|
|
|
message MemoPayload {
|
|
Property property = 1;
|
|
|
|
Location location = 2;
|
|
|
|
repeated string tags = 3;
|
|
|
|
// The references of the memo. Should be a list of uuid.
|
|
repeated string references = 4;
|
|
|
|
message Property {
|
|
bool has_link = 1;
|
|
bool has_task_list = 2;
|
|
bool has_code = 3;
|
|
bool has_incomplete_tasks = 4;
|
|
}
|
|
|
|
message Location {
|
|
string placeholder = 1;
|
|
double latitude = 2;
|
|
double longitude = 3;
|
|
}
|
|
}
|