refactor: api version

This commit is contained in:
Steven
2024-04-28 00:44:29 +08:00
parent 8bba7f706e
commit 1b291422e7
147 changed files with 3033 additions and 3033 deletions

View File

@@ -0,0 +1,22 @@
syntax = "proto3";
package memos.api.v1;
option go_package = "gen/api/v1";
message MemoRelation {
// The name of memo.
// Format: "memos/{uid}"
string memo = 1;
// The name of related memo.
// Format: "memos/{uid}"
string related_memo = 2;
enum Type {
TYPE_UNSPECIFIED = 0;
REFERENCE = 1;
COMMENT = 2;
}
Type type = 3;
}