mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
refactor: api version
This commit is contained in:
22
proto/api/v1/memo_relation_service.proto
Normal file
22
proto/api/v1/memo_relation_service.proto
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user