chore: initial memo service definition (#2077)

* chore: initial memo service definition

* chore: update

* chore: update

* chore: update
This commit is contained in:
boojack
2023-08-05 09:32:52 +08:00
committed by GitHub
parent 7c5296cf35
commit 57dd1fc49f
14 changed files with 1483 additions and 402 deletions

View File

@@ -3,6 +3,7 @@ syntax = "proto3";
package memos.api.v2;
import "api/v2/common.proto";
import "api/v2/memo_service.proto";
import "google/api/annotations.proto";
import "google/api/client.proto";
@@ -35,8 +36,6 @@ message User {
string open_id = 9;
string avatar_url = 10;
repeated UserSetting settings = 11;
}
enum Role {
@@ -86,13 +85,3 @@ message UserSettingValue {
Visibility visibility_value = 2;
}
}
enum Visibility {
VISIBILITY_UNSPECIFIED = 0;
PRIVATE = 1;
PROTECTED = 2;
PUBLIC = 3;
}