2024-05-13 20:24:11 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package memos.store;
|
|
|
|
|
|
|
|
option go_package = "gen/store";
|
|
|
|
|
|
|
|
message MemoPayload {
|
|
|
|
Property property = 1;
|
|
|
|
|
2024-09-25 21:48:54 +08:00
|
|
|
Location location = 2;
|
|
|
|
|
2024-05-13 20:24:11 +08:00
|
|
|
message Property {
|
|
|
|
repeated string tags = 1;
|
|
|
|
bool has_link = 2;
|
2024-05-13 22:04:37 +08:00
|
|
|
bool has_task_list = 3;
|
2024-05-27 19:43:57 +08:00
|
|
|
bool has_code = 4;
|
2024-06-05 08:39:56 +08:00
|
|
|
bool has_incomplete_tasks = 5;
|
2024-05-13 20:24:11 +08:00
|
|
|
}
|
2024-09-25 21:48:54 +08:00
|
|
|
|
|
|
|
message Location {
|
|
|
|
string placeholder = 1;
|
|
|
|
double latitude = 2;
|
|
|
|
double longitude = 3;
|
|
|
|
}
|
2024-05-13 20:24:11 +08:00
|
|
|
}
|