memos/proto/api/v2/memo_relation_service.proto

23 lines
356 B
Protocol Buffer
Raw Normal View History

2023-12-21 21:24:08 +08:00
syntax = "proto3";
package memos.api.v2;
option go_package = "gen/api/v2";
message MemoRelation {
2024-03-19 21:53:44 +08:00
// The name of memo.
// Format: "memos/{uid}"
string memo = 1;
// The name of related memo.
// Format: "memos/{uid}"
string related_memo = 2;
2023-12-21 21:24:08 +08:00
enum Type {
TYPE_UNSPECIFIED = 0;
REFERENCE = 1;
COMMENT = 2;
}
Type type = 3;
}