mirror of
https://github.com/usememos/memos.git
synced 2024-11-16 03:34:33 +08:00
25 lines
421 B
Protocol Buffer
25 lines
421 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package memos.store;
|
|
|
|
option go_package = "gen/store";
|
|
|
|
message MemoPayload {
|
|
Property property = 1;
|
|
|
|
Location location = 2;
|
|
|
|
message Property {
|
|
repeated string tags = 1;
|
|
bool has_link = 2;
|
|
bool has_task_list = 3;
|
|
bool has_code = 4;
|
|
bool has_incomplete_tasks = 5;
|
|
}
|
|
|
|
message Location {
|
|
string placeholder = 1;
|
|
double latitude = 2;
|
|
double longitude = 3;
|
|
}
|
|
}
|