mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
251 B
Protocol Buffer
18 lines
251 B
Protocol Buffer
2 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package memos.api.v2;
|
||
|
|
||
|
option go_package = "gen/api/v2";
|
||
|
|
||
|
message MemoRelation {
|
||
|
int32 memo_id = 1;
|
||
|
int32 related_memo_id = 2;
|
||
|
|
||
|
enum Type {
|
||
|
TYPE_UNSPECIFIED = 0;
|
||
|
REFERENCE = 1;
|
||
|
COMMENT = 2;
|
||
|
}
|
||
|
Type type = 3;
|
||
|
}
|