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.
23 lines
356 B
Protocol Buffer
23 lines
356 B
Protocol Buffer
1 year ago
|
syntax = "proto3";
|
||
|
|
||
10 months ago
|
package memos.api.v1;
|
||
1 year ago
|
|
||
10 months ago
|
option go_package = "gen/api/v1";
|
||
1 year ago
|
|
||
|
message MemoRelation {
|
||
12 months ago
|
// The name of memo.
|
||
|
// Format: "memos/{uid}"
|
||
|
string memo = 1;
|
||
|
|
||
|
// The name of related memo.
|
||
|
// Format: "memos/{uid}"
|
||
|
string related_memo = 2;
|
||
1 year ago
|
|
||
|
enum Type {
|
||
|
TYPE_UNSPECIFIED = 0;
|
||
|
REFERENCE = 1;
|
||
|
COMMENT = 2;
|
||
|
}
|
||
|
Type type = 3;
|
||
|
}
|