memos/proto/api/v1/memo_relation_service.proto

23 lines
356 B
Protocol Buffer
Raw Permalink Normal View History

2023-12-21 16:24:08 +03:00
syntax = "proto3";
2024-04-27 19:44:29 +03:00
package memos.api.v1;
2023-12-21 16:24:08 +03:00
2024-04-27 19:44:29 +03:00
option go_package = "gen/api/v1";
2023-12-21 16:24:08 +03:00
message MemoRelation {
2024-03-19 16:53:44 +03: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 16:24:08 +03:00
enum Type {
TYPE_UNSPECIFIED = 0;
REFERENCE = 1;
COMMENT = 2;
}
Type type = 3;
}