feat: add public flag instead of system setting to enable signup (#3589)

This commit is contained in:
Johnny
2024-06-19 22:03:12 +08:00
committed by GitHub
parent 387bf48fc8
commit 736637a362
36 changed files with 621 additions and 951 deletions

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/activity_service.proto
@@ -410,7 +410,7 @@ func file_api_v1_activity_service_proto_rawDescGZIP() []byte {
}
var file_api_v1_activity_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_api_v1_activity_service_proto_goTypes = []interface{}{
var file_api_v1_activity_service_proto_goTypes = []any{
(*Activity)(nil), // 0: memos.api.v1.Activity
(*ActivityMemoCommentPayload)(nil), // 1: memos.api.v1.ActivityMemoCommentPayload
(*ActivityVersionUpdatePayload)(nil), // 2: memos.api.v1.ActivityVersionUpdatePayload
@@ -438,7 +438,7 @@ func file_api_v1_activity_service_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_activity_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_activity_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Activity); i {
case 0:
return &v.state
@@ -450,7 +450,7 @@ func file_api_v1_activity_service_proto_init() {
return nil
}
}
file_api_v1_activity_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_activity_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*ActivityMemoCommentPayload); i {
case 0:
return &v.state
@@ -462,7 +462,7 @@ func file_api_v1_activity_service_proto_init() {
return nil
}
}
file_api_v1_activity_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_activity_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*ActivityVersionUpdatePayload); i {
case 0:
return &v.state
@@ -474,7 +474,7 @@ func file_api_v1_activity_service_proto_init() {
return nil
}
}
file_api_v1_activity_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_activity_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*ActivityPayload); i {
case 0:
return &v.state
@@ -486,7 +486,7 @@ func file_api_v1_activity_service_proto_init() {
return nil
}
}
file_api_v1_activity_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_activity_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*GetActivityRequest); i {
case 0:
return &v.state

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/auth_service.proto
@@ -427,7 +427,7 @@ func file_api_v1_auth_service_proto_rawDescGZIP() []byte {
}
var file_api_v1_auth_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_api_v1_auth_service_proto_goTypes = []interface{}{
var file_api_v1_auth_service_proto_goTypes = []any{
(*GetAuthStatusRequest)(nil), // 0: memos.api.v1.GetAuthStatusRequest
(*GetAuthStatusResponse)(nil), // 1: memos.api.v1.GetAuthStatusResponse
(*SignInRequest)(nil), // 2: memos.api.v1.SignInRequest
@@ -463,7 +463,7 @@ func file_api_v1_auth_service_proto_init() {
}
file_api_v1_user_service_proto_init()
if !protoimpl.UnsafeEnabled {
file_api_v1_auth_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_auth_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*GetAuthStatusRequest); i {
case 0:
return &v.state
@@ -475,7 +475,7 @@ func file_api_v1_auth_service_proto_init() {
return nil
}
}
file_api_v1_auth_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_auth_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*GetAuthStatusResponse); i {
case 0:
return &v.state
@@ -487,7 +487,7 @@ func file_api_v1_auth_service_proto_init() {
return nil
}
}
file_api_v1_auth_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_auth_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*SignInRequest); i {
case 0:
return &v.state
@@ -499,7 +499,7 @@ func file_api_v1_auth_service_proto_init() {
return nil
}
}
file_api_v1_auth_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_auth_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*SignInWithSSORequest); i {
case 0:
return &v.state
@@ -511,7 +511,7 @@ func file_api_v1_auth_service_proto_init() {
return nil
}
}
file_api_v1_auth_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_auth_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*SignUpRequest); i {
case 0:
return &v.state
@@ -523,7 +523,7 @@ func file_api_v1_auth_service_proto_init() {
return nil
}
}
file_api_v1_auth_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_auth_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*SignOutRequest); i {
case 0:
return &v.state

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/common.proto
@@ -165,7 +165,7 @@ func file_api_v1_common_proto_rawDescGZIP() []byte {
var file_api_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_api_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_api_v1_common_proto_goTypes = []interface{}{
var file_api_v1_common_proto_goTypes = []any{
(RowStatus)(0), // 0: memos.api.v1.RowStatus
(*PageToken)(nil), // 1: memos.api.v1.PageToken
}
@@ -183,7 +183,7 @@ func file_api_v1_common_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_common_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*PageToken); i {
case 0:
return &v.state

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/idp_service.proto
@@ -837,7 +837,7 @@ func file_api_v1_idp_service_proto_rawDescGZIP() []byte {
var file_api_v1_idp_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_api_v1_idp_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_api_v1_idp_service_proto_goTypes = []interface{}{
var file_api_v1_idp_service_proto_goTypes = []any{
(IdentityProvider_Type)(0), // 0: memos.api.v1.IdentityProvider.Type
(*IdentityProvider)(nil), // 1: memos.api.v1.IdentityProvider
(*IdentityProviderConfig)(nil), // 2: memos.api.v1.IdentityProviderConfig
@@ -884,7 +884,7 @@ func file_api_v1_idp_service_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_idp_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_idp_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*IdentityProvider); i {
case 0:
return &v.state
@@ -896,7 +896,7 @@ func file_api_v1_idp_service_proto_init() {
return nil
}
}
file_api_v1_idp_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_idp_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*IdentityProviderConfig); i {
case 0:
return &v.state
@@ -908,7 +908,7 @@ func file_api_v1_idp_service_proto_init() {
return nil
}
}
file_api_v1_idp_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_idp_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*FieldMapping); i {
case 0:
return &v.state
@@ -920,7 +920,7 @@ func file_api_v1_idp_service_proto_init() {
return nil
}
}
file_api_v1_idp_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_idp_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*OAuth2Config); i {
case 0:
return &v.state
@@ -932,7 +932,7 @@ func file_api_v1_idp_service_proto_init() {
return nil
}
}
file_api_v1_idp_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_idp_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*ListIdentityProvidersRequest); i {
case 0:
return &v.state
@@ -944,7 +944,7 @@ func file_api_v1_idp_service_proto_init() {
return nil
}
}
file_api_v1_idp_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_idp_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*ListIdentityProvidersResponse); i {
case 0:
return &v.state
@@ -956,7 +956,7 @@ func file_api_v1_idp_service_proto_init() {
return nil
}
}
file_api_v1_idp_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_idp_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*GetIdentityProviderRequest); i {
case 0:
return &v.state
@@ -968,7 +968,7 @@ func file_api_v1_idp_service_proto_init() {
return nil
}
}
file_api_v1_idp_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_idp_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*CreateIdentityProviderRequest); i {
case 0:
return &v.state
@@ -980,7 +980,7 @@ func file_api_v1_idp_service_proto_init() {
return nil
}
}
file_api_v1_idp_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_idp_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*UpdateIdentityProviderRequest); i {
case 0:
return &v.state
@@ -992,7 +992,7 @@ func file_api_v1_idp_service_proto_init() {
return nil
}
}
file_api_v1_idp_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_idp_service_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*DeleteIdentityProviderRequest); i {
case 0:
return &v.state
@@ -1005,7 +1005,7 @@ func file_api_v1_idp_service_proto_init() {
}
}
}
file_api_v1_idp_service_proto_msgTypes[1].OneofWrappers = []interface{}{
file_api_v1_idp_service_proto_msgTypes[1].OneofWrappers = []any{
(*IdentityProviderConfig_Oauth2Config)(nil),
}
type x struct{}

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/inbox_service.proto
@@ -530,7 +530,7 @@ func file_api_v1_inbox_service_proto_rawDescGZIP() []byte {
var file_api_v1_inbox_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_api_v1_inbox_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_api_v1_inbox_service_proto_goTypes = []interface{}{
var file_api_v1_inbox_service_proto_goTypes = []any{
(Inbox_Status)(0), // 0: memos.api.v1.Inbox.Status
(Inbox_Type)(0), // 1: memos.api.v1.Inbox.Type
(*Inbox)(nil), // 2: memos.api.v1.Inbox
@@ -568,7 +568,7 @@ func file_api_v1_inbox_service_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_inbox_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_inbox_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Inbox); i {
case 0:
return &v.state
@@ -580,7 +580,7 @@ func file_api_v1_inbox_service_proto_init() {
return nil
}
}
file_api_v1_inbox_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_inbox_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*ListInboxesRequest); i {
case 0:
return &v.state
@@ -592,7 +592,7 @@ func file_api_v1_inbox_service_proto_init() {
return nil
}
}
file_api_v1_inbox_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_inbox_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*ListInboxesResponse); i {
case 0:
return &v.state
@@ -604,7 +604,7 @@ func file_api_v1_inbox_service_proto_init() {
return nil
}
}
file_api_v1_inbox_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_inbox_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*UpdateInboxRequest); i {
case 0:
return &v.state
@@ -616,7 +616,7 @@ func file_api_v1_inbox_service_proto_init() {
return nil
}
}
file_api_v1_inbox_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_inbox_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*DeleteInboxRequest); i {
case 0:
return &v.state
@@ -629,7 +629,7 @@ func file_api_v1_inbox_service_proto_init() {
}
}
}
file_api_v1_inbox_service_proto_msgTypes[0].OneofWrappers = []interface{}{}
file_api_v1_inbox_service_proto_msgTypes[0].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/markdown_service.proto
@@ -2832,7 +2832,7 @@ func file_api_v1_markdown_service_proto_rawDescGZIP() []byte {
var file_api_v1_markdown_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_api_v1_markdown_service_proto_msgTypes = make([]protoimpl.MessageInfo, 37)
var file_api_v1_markdown_service_proto_goTypes = []interface{}{
var file_api_v1_markdown_service_proto_goTypes = []any{
(NodeType)(0), // 0: memos.api.v1.NodeType
(*ParseMarkdownRequest)(nil), // 1: memos.api.v1.ParseMarkdownRequest
(*ParseMarkdownResponse)(nil), // 2: memos.api.v1.ParseMarkdownResponse
@@ -2932,7 +2932,7 @@ func file_api_v1_markdown_service_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_markdown_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*ParseMarkdownRequest); i {
case 0:
return &v.state
@@ -2944,7 +2944,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*ParseMarkdownResponse); i {
case 0:
return &v.state
@@ -2956,7 +2956,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*RestoreMarkdownRequest); i {
case 0:
return &v.state
@@ -2968,7 +2968,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*RestoreMarkdownResponse); i {
case 0:
return &v.state
@@ -2980,7 +2980,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*GetLinkMetadataRequest); i {
case 0:
return &v.state
@@ -2992,7 +2992,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*LinkMetadata); i {
case 0:
return &v.state
@@ -3004,7 +3004,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*Node); i {
case 0:
return &v.state
@@ -3016,7 +3016,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*LineBreakNode); i {
case 0:
return &v.state
@@ -3028,7 +3028,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*ParagraphNode); i {
case 0:
return &v.state
@@ -3040,7 +3040,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*CodeBlockNode); i {
case 0:
return &v.state
@@ -3052,7 +3052,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[10].Exporter = func(v any, i int) any {
switch v := v.(*HeadingNode); i {
case 0:
return &v.state
@@ -3064,7 +3064,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[11].Exporter = func(v any, i int) any {
switch v := v.(*HorizontalRuleNode); i {
case 0:
return &v.state
@@ -3076,7 +3076,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[12].Exporter = func(v any, i int) any {
switch v := v.(*BlockquoteNode); i {
case 0:
return &v.state
@@ -3088,7 +3088,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[13].Exporter = func(v any, i int) any {
switch v := v.(*OrderedListNode); i {
case 0:
return &v.state
@@ -3100,7 +3100,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[14].Exporter = func(v any, i int) any {
switch v := v.(*UnorderedListNode); i {
case 0:
return &v.state
@@ -3112,7 +3112,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[15].Exporter = func(v any, i int) any {
switch v := v.(*TaskListNode); i {
case 0:
return &v.state
@@ -3124,7 +3124,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[16].Exporter = func(v any, i int) any {
switch v := v.(*MathBlockNode); i {
case 0:
return &v.state
@@ -3136,7 +3136,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[17].Exporter = func(v any, i int) any {
switch v := v.(*TableNode); i {
case 0:
return &v.state
@@ -3148,7 +3148,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[18].Exporter = func(v any, i int) any {
switch v := v.(*EmbeddedContentNode); i {
case 0:
return &v.state
@@ -3160,7 +3160,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[19].Exporter = func(v any, i int) any {
switch v := v.(*TextNode); i {
case 0:
return &v.state
@@ -3172,7 +3172,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[20].Exporter = func(v any, i int) any {
switch v := v.(*BoldNode); i {
case 0:
return &v.state
@@ -3184,7 +3184,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[21].Exporter = func(v any, i int) any {
switch v := v.(*ItalicNode); i {
case 0:
return &v.state
@@ -3196,7 +3196,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[22].Exporter = func(v any, i int) any {
switch v := v.(*BoldItalicNode); i {
case 0:
return &v.state
@@ -3208,7 +3208,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[23].Exporter = func(v any, i int) any {
switch v := v.(*CodeNode); i {
case 0:
return &v.state
@@ -3220,7 +3220,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[24].Exporter = func(v any, i int) any {
switch v := v.(*ImageNode); i {
case 0:
return &v.state
@@ -3232,7 +3232,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[25].Exporter = func(v any, i int) any {
switch v := v.(*LinkNode); i {
case 0:
return &v.state
@@ -3244,7 +3244,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[26].Exporter = func(v any, i int) any {
switch v := v.(*AutoLinkNode); i {
case 0:
return &v.state
@@ -3256,7 +3256,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[27].Exporter = func(v any, i int) any {
switch v := v.(*TagNode); i {
case 0:
return &v.state
@@ -3268,7 +3268,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[28].Exporter = func(v any, i int) any {
switch v := v.(*StrikethroughNode); i {
case 0:
return &v.state
@@ -3280,7 +3280,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[29].Exporter = func(v any, i int) any {
switch v := v.(*EscapingCharacterNode); i {
case 0:
return &v.state
@@ -3292,7 +3292,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[30].Exporter = func(v any, i int) any {
switch v := v.(*MathNode); i {
case 0:
return &v.state
@@ -3304,7 +3304,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[31].Exporter = func(v any, i int) any {
switch v := v.(*HighlightNode); i {
case 0:
return &v.state
@@ -3316,7 +3316,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[32].Exporter = func(v any, i int) any {
switch v := v.(*SubscriptNode); i {
case 0:
return &v.state
@@ -3328,7 +3328,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[33].Exporter = func(v any, i int) any {
switch v := v.(*SuperscriptNode); i {
case 0:
return &v.state
@@ -3340,7 +3340,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[34].Exporter = func(v any, i int) any {
switch v := v.(*ReferencedContentNode); i {
case 0:
return &v.state
@@ -3352,7 +3352,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[35].Exporter = func(v any, i int) any {
switch v := v.(*SpoilerNode); i {
case 0:
return &v.state
@@ -3364,7 +3364,7 @@ func file_api_v1_markdown_service_proto_init() {
return nil
}
}
file_api_v1_markdown_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_markdown_service_proto_msgTypes[36].Exporter = func(v any, i int) any {
switch v := v.(*TableNode_Row); i {
case 0:
return &v.state
@@ -3377,7 +3377,7 @@ func file_api_v1_markdown_service_proto_init() {
}
}
}
file_api_v1_markdown_service_proto_msgTypes[6].OneofWrappers = []interface{}{
file_api_v1_markdown_service_proto_msgTypes[6].OneofWrappers = []any{
(*Node_LineBreakNode)(nil),
(*Node_ParagraphNode)(nil),
(*Node_CodeBlockNode)(nil),

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/memo_relation_service.proto
@@ -182,7 +182,7 @@ func file_api_v1_memo_relation_service_proto_rawDescGZIP() []byte {
var file_api_v1_memo_relation_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_api_v1_memo_relation_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_api_v1_memo_relation_service_proto_goTypes = []interface{}{
var file_api_v1_memo_relation_service_proto_goTypes = []any{
(MemoRelation_Type)(0), // 0: memos.api.v1.MemoRelation.Type
(*MemoRelation)(nil), // 1: memos.api.v1.MemoRelation
}
@@ -201,7 +201,7 @@ func file_api_v1_memo_relation_service_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_memo_relation_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_relation_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*MemoRelation); i {
case 0:
return &v.state

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/memo_service.proto
@@ -2500,7 +2500,7 @@ func file_api_v1_memo_service_proto_rawDescGZIP() []byte {
var file_api_v1_memo_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_api_v1_memo_service_proto_msgTypes = make([]protoimpl.MessageInfo, 36)
var file_api_v1_memo_service_proto_goTypes = []interface{}{
var file_api_v1_memo_service_proto_goTypes = []any{
(Visibility)(0), // 0: memos.api.v1.Visibility
(*Memo)(nil), // 1: memos.api.v1.Memo
(*MemoProperty)(nil), // 2: memos.api.v1.MemoProperty
@@ -2636,7 +2636,7 @@ func file_api_v1_memo_service_proto_init() {
file_api_v1_reaction_service_proto_init()
file_api_v1_resource_service_proto_init()
if !protoimpl.UnsafeEnabled {
file_api_v1_memo_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Memo); i {
case 0:
return &v.state
@@ -2648,7 +2648,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*MemoProperty); i {
case 0:
return &v.state
@@ -2660,7 +2660,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*CreateMemoRequest); i {
case 0:
return &v.state
@@ -2672,7 +2672,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*ListMemosRequest); i {
case 0:
return &v.state
@@ -2684,7 +2684,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*ListMemosResponse); i {
case 0:
return &v.state
@@ -2696,7 +2696,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*SearchMemosRequest); i {
case 0:
return &v.state
@@ -2708,7 +2708,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*SearchMemosResponse); i {
case 0:
return &v.state
@@ -2720,7 +2720,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*GetMemoRequest); i {
case 0:
return &v.state
@@ -2732,7 +2732,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*UpdateMemoRequest); i {
case 0:
return &v.state
@@ -2744,7 +2744,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*DeleteMemoRequest); i {
case 0:
return &v.state
@@ -2756,7 +2756,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[10].Exporter = func(v any, i int) any {
switch v := v.(*ExportMemosRequest); i {
case 0:
return &v.state
@@ -2768,7 +2768,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[11].Exporter = func(v any, i int) any {
switch v := v.(*ExportMemosResponse); i {
case 0:
return &v.state
@@ -2780,7 +2780,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[12].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoPropertiesRequest); i {
case 0:
return &v.state
@@ -2792,7 +2792,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[13].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoPropertiesResponse); i {
case 0:
return &v.state
@@ -2804,7 +2804,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[14].Exporter = func(v any, i int) any {
switch v := v.(*RebuildMemoPropertyRequest); i {
case 0:
return &v.state
@@ -2816,7 +2816,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[15].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoTagsRequest); i {
case 0:
return &v.state
@@ -2828,7 +2828,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[16].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoTagsResponse); i {
case 0:
return &v.state
@@ -2840,7 +2840,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[17].Exporter = func(v any, i int) any {
switch v := v.(*RenameMemoTagRequest); i {
case 0:
return &v.state
@@ -2852,7 +2852,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[18].Exporter = func(v any, i int) any {
switch v := v.(*DeleteMemoTagRequest); i {
case 0:
return &v.state
@@ -2864,7 +2864,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[19].Exporter = func(v any, i int) any {
switch v := v.(*SetMemoResourcesRequest); i {
case 0:
return &v.state
@@ -2876,7 +2876,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[20].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoResourcesRequest); i {
case 0:
return &v.state
@@ -2888,7 +2888,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[21].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoResourcesResponse); i {
case 0:
return &v.state
@@ -2900,7 +2900,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[22].Exporter = func(v any, i int) any {
switch v := v.(*SetMemoRelationsRequest); i {
case 0:
return &v.state
@@ -2912,7 +2912,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[23].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoRelationsRequest); i {
case 0:
return &v.state
@@ -2924,7 +2924,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[24].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoRelationsResponse); i {
case 0:
return &v.state
@@ -2936,7 +2936,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[25].Exporter = func(v any, i int) any {
switch v := v.(*CreateMemoCommentRequest); i {
case 0:
return &v.state
@@ -2948,7 +2948,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[26].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoCommentsRequest); i {
case 0:
return &v.state
@@ -2960,7 +2960,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[27].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoCommentsResponse); i {
case 0:
return &v.state
@@ -2972,7 +2972,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[28].Exporter = func(v any, i int) any {
switch v := v.(*GetUserMemosStatsRequest); i {
case 0:
return &v.state
@@ -2984,7 +2984,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[29].Exporter = func(v any, i int) any {
switch v := v.(*GetUserMemosStatsResponse); i {
case 0:
return &v.state
@@ -2996,7 +2996,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[30].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoReactionsRequest); i {
case 0:
return &v.state
@@ -3008,7 +3008,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[31].Exporter = func(v any, i int) any {
switch v := v.(*ListMemoReactionsResponse); i {
case 0:
return &v.state
@@ -3020,7 +3020,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[32].Exporter = func(v any, i int) any {
switch v := v.(*UpsertMemoReactionRequest); i {
case 0:
return &v.state
@@ -3032,7 +3032,7 @@ func file_api_v1_memo_service_proto_init() {
return nil
}
}
file_api_v1_memo_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_memo_service_proto_msgTypes[33].Exporter = func(v any, i int) any {
switch v := v.(*DeleteMemoReactionRequest); i {
case 0:
return &v.state
@@ -3045,7 +3045,7 @@ func file_api_v1_memo_service_proto_init() {
}
}
}
file_api_v1_memo_service_proto_msgTypes[0].OneofWrappers = []interface{}{}
file_api_v1_memo_service_proto_msgTypes[0].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/reaction_service.proto
@@ -228,7 +228,7 @@ func file_api_v1_reaction_service_proto_rawDescGZIP() []byte {
var file_api_v1_reaction_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_api_v1_reaction_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_api_v1_reaction_service_proto_goTypes = []interface{}{
var file_api_v1_reaction_service_proto_goTypes = []any{
(Reaction_Type)(0), // 0: memos.api.v1.Reaction.Type
(*Reaction)(nil), // 1: memos.api.v1.Reaction
}
@@ -247,7 +247,7 @@ func file_api_v1_reaction_service_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_reaction_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_reaction_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Reaction); i {
case 0:
return &v.state

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/resource_service.proto
@@ -742,7 +742,7 @@ func file_api_v1_resource_service_proto_rawDescGZIP() []byte {
}
var file_api_v1_resource_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_api_v1_resource_service_proto_goTypes = []interface{}{
var file_api_v1_resource_service_proto_goTypes = []any{
(*Resource)(nil), // 0: memos.api.v1.Resource
(*CreateResourceRequest)(nil), // 1: memos.api.v1.CreateResourceRequest
(*ListResourcesRequest)(nil), // 2: memos.api.v1.ListResourcesRequest
@@ -792,7 +792,7 @@ func file_api_v1_resource_service_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_resource_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_resource_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Resource); i {
case 0:
return &v.state
@@ -804,7 +804,7 @@ func file_api_v1_resource_service_proto_init() {
return nil
}
}
file_api_v1_resource_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_resource_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*CreateResourceRequest); i {
case 0:
return &v.state
@@ -816,7 +816,7 @@ func file_api_v1_resource_service_proto_init() {
return nil
}
}
file_api_v1_resource_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_resource_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*ListResourcesRequest); i {
case 0:
return &v.state
@@ -828,7 +828,7 @@ func file_api_v1_resource_service_proto_init() {
return nil
}
}
file_api_v1_resource_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_resource_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*ListResourcesResponse); i {
case 0:
return &v.state
@@ -840,7 +840,7 @@ func file_api_v1_resource_service_proto_init() {
return nil
}
}
file_api_v1_resource_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_resource_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*SearchResourcesRequest); i {
case 0:
return &v.state
@@ -852,7 +852,7 @@ func file_api_v1_resource_service_proto_init() {
return nil
}
}
file_api_v1_resource_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_resource_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*SearchResourcesResponse); i {
case 0:
return &v.state
@@ -864,7 +864,7 @@ func file_api_v1_resource_service_proto_init() {
return nil
}
}
file_api_v1_resource_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_resource_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*GetResourceRequest); i {
case 0:
return &v.state
@@ -876,7 +876,7 @@ func file_api_v1_resource_service_proto_init() {
return nil
}
}
file_api_v1_resource_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_resource_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*GetResourceBinaryRequest); i {
case 0:
return &v.state
@@ -888,7 +888,7 @@ func file_api_v1_resource_service_proto_init() {
return nil
}
}
file_api_v1_resource_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_resource_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*UpdateResourceRequest); i {
case 0:
return &v.state
@@ -900,7 +900,7 @@ func file_api_v1_resource_service_proto_init() {
return nil
}
}
file_api_v1_resource_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_resource_service_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*DeleteResourceRequest); i {
case 0:
return &v.state
@@ -913,7 +913,7 @@ func file_api_v1_resource_service_proto_init() {
}
}
}
file_api_v1_resource_service_proto_msgTypes[0].OneofWrappers = []interface{}{}
file_api_v1_resource_service_proto_msgTypes[0].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/user_service.proto
@@ -1397,7 +1397,7 @@ func file_api_v1_user_service_proto_rawDescGZIP() []byte {
var file_api_v1_user_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_api_v1_user_service_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
var file_api_v1_user_service_proto_goTypes = []interface{}{
var file_api_v1_user_service_proto_goTypes = []any{
(User_Role)(0), // 0: memos.api.v1.User.Role
(*User)(nil), // 1: memos.api.v1.User
(*ListUsersRequest)(nil), // 2: memos.api.v1.ListUsersRequest
@@ -1478,7 +1478,7 @@ func file_api_v1_user_service_proto_init() {
}
file_api_v1_common_proto_init()
if !protoimpl.UnsafeEnabled {
file_api_v1_user_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*User); i {
case 0:
return &v.state
@@ -1490,7 +1490,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*ListUsersRequest); i {
case 0:
return &v.state
@@ -1502,7 +1502,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*ListUsersResponse); i {
case 0:
return &v.state
@@ -1514,7 +1514,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*SearchUsersRequest); i {
case 0:
return &v.state
@@ -1526,7 +1526,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*SearchUsersResponse); i {
case 0:
return &v.state
@@ -1538,7 +1538,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*GetUserRequest); i {
case 0:
return &v.state
@@ -1550,7 +1550,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*GetUserAvatarBinaryRequest); i {
case 0:
return &v.state
@@ -1562,7 +1562,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*CreateUserRequest); i {
case 0:
return &v.state
@@ -1574,7 +1574,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*UpdateUserRequest); i {
case 0:
return &v.state
@@ -1586,7 +1586,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*DeleteUserRequest); i {
case 0:
return &v.state
@@ -1598,7 +1598,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[10].Exporter = func(v any, i int) any {
switch v := v.(*UserSetting); i {
case 0:
return &v.state
@@ -1610,7 +1610,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[11].Exporter = func(v any, i int) any {
switch v := v.(*GetUserSettingRequest); i {
case 0:
return &v.state
@@ -1622,7 +1622,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[12].Exporter = func(v any, i int) any {
switch v := v.(*UpdateUserSettingRequest); i {
case 0:
return &v.state
@@ -1634,7 +1634,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[13].Exporter = func(v any, i int) any {
switch v := v.(*UserAccessToken); i {
case 0:
return &v.state
@@ -1646,7 +1646,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[14].Exporter = func(v any, i int) any {
switch v := v.(*ListUserAccessTokensRequest); i {
case 0:
return &v.state
@@ -1658,7 +1658,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[15].Exporter = func(v any, i int) any {
switch v := v.(*ListUserAccessTokensResponse); i {
case 0:
return &v.state
@@ -1670,7 +1670,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[16].Exporter = func(v any, i int) any {
switch v := v.(*CreateUserAccessTokenRequest); i {
case 0:
return &v.state
@@ -1682,7 +1682,7 @@ func file_api_v1_user_service_proto_init() {
return nil
}
}
file_api_v1_user_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_user_service_proto_msgTypes[17].Exporter = func(v any, i int) any {
switch v := v.(*DeleteUserAccessTokenRequest); i {
case 0:
return &v.state
@@ -1695,7 +1695,7 @@ func file_api_v1_user_service_proto_init() {
}
}
}
file_api_v1_user_service_proto_msgTypes[16].OneofWrappers = []interface{}{}
file_api_v1_user_service_proto_msgTypes[16].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/webhook_service.proto
@@ -634,7 +634,7 @@ func file_api_v1_webhook_service_proto_rawDescGZIP() []byte {
}
var file_api_v1_webhook_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_api_v1_webhook_service_proto_goTypes = []interface{}{
var file_api_v1_webhook_service_proto_goTypes = []any{
(*Webhook)(nil), // 0: memos.api.v1.Webhook
(*CreateWebhookRequest)(nil), // 1: memos.api.v1.CreateWebhookRequest
(*GetWebhookRequest)(nil), // 2: memos.api.v1.GetWebhookRequest
@@ -683,7 +683,7 @@ func file_api_v1_webhook_service_proto_init() {
file_api_v1_common_proto_init()
file_api_v1_memo_service_proto_init()
if !protoimpl.UnsafeEnabled {
file_api_v1_webhook_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_webhook_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Webhook); i {
case 0:
return &v.state
@@ -695,7 +695,7 @@ func file_api_v1_webhook_service_proto_init() {
return nil
}
}
file_api_v1_webhook_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_webhook_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*CreateWebhookRequest); i {
case 0:
return &v.state
@@ -707,7 +707,7 @@ func file_api_v1_webhook_service_proto_init() {
return nil
}
}
file_api_v1_webhook_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_webhook_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*GetWebhookRequest); i {
case 0:
return &v.state
@@ -719,7 +719,7 @@ func file_api_v1_webhook_service_proto_init() {
return nil
}
}
file_api_v1_webhook_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_webhook_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*ListWebhooksRequest); i {
case 0:
return &v.state
@@ -731,7 +731,7 @@ func file_api_v1_webhook_service_proto_init() {
return nil
}
}
file_api_v1_webhook_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_webhook_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*ListWebhooksResponse); i {
case 0:
return &v.state
@@ -743,7 +743,7 @@ func file_api_v1_webhook_service_proto_init() {
return nil
}
}
file_api_v1_webhook_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_webhook_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*UpdateWebhookRequest); i {
case 0:
return &v.state
@@ -755,7 +755,7 @@ func file_api_v1_webhook_service_proto_init() {
return nil
}
}
file_api_v1_webhook_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_webhook_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*DeleteWebhookRequest); i {
case 0:
return &v.state
@@ -767,7 +767,7 @@ func file_api_v1_webhook_service_proto_init() {
return nil
}
}
file_api_v1_webhook_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_webhook_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*WebhookRequestPayload); i {
case 0:
return &v.state

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/workspace_service.proto
@@ -33,6 +33,8 @@ type WorkspaceProfile struct {
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// mode is the instance mode (e.g. "prod", "dev" or "demo").
Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
// public is a flag that the instance is open for other users.
Public bool `protobuf:"varint,4,opt,name=public,proto3" json:"public,omitempty"`
}
func (x *WorkspaceProfile) Reset() {
@@ -88,6 +90,13 @@ func (x *WorkspaceProfile) GetMode() string {
return ""
}
func (x *WorkspaceProfile) GetPublic() bool {
if x != nil {
return x.Public
}
return false
}
type GetWorkspaceProfileRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -133,36 +142,37 @@ var file_api_v1_workspace_service_proto_rawDesc = []byte{
0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x10,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x10,
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x6d, 0x6f, 0x64, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73,
0x70, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x32, 0x97, 0x01, 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x82, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57,
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12,
0x28, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47,
0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69,
0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
0x63, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02,
0x1b, 0x12, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73,
0x70, 0x61, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x42, 0xad, 0x01, 0x0a,
0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
0x31, 0x42, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76,
0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68,
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f,
0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d,
0x41, 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x56,
0x31, 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31,
0xe2, 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c,
0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65,
0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
0x6d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x04,
0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x22, 0x1c, 0x0a, 0x1a,
0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x66,
0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x32, 0x97, 0x01, 0x0a, 0x10, 0x57,
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
0x82, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x28, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c,
0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f,
0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f,
0x66, 0x69, 0x6c, 0x65, 0x42, 0xad, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d,
0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x57, 0x6f, 0x72, 0x6b, 0x73,
0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75,
0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61,
0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x41, 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65, 0x6d,
0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f,
0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f, 0x73,
0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69,
0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -178,7 +188,7 @@ func file_api_v1_workspace_service_proto_rawDescGZIP() []byte {
}
var file_api_v1_workspace_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_api_v1_workspace_service_proto_goTypes = []interface{}{
var file_api_v1_workspace_service_proto_goTypes = []any{
(*WorkspaceProfile)(nil), // 0: memos.api.v1.WorkspaceProfile
(*GetWorkspaceProfileRequest)(nil), // 1: memos.api.v1.GetWorkspaceProfileRequest
}
@@ -198,7 +208,7 @@ func file_api_v1_workspace_service_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_workspace_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_workspace_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*WorkspaceProfile); i {
case 0:
return &v.state
@@ -210,7 +220,7 @@ func file_api_v1_workspace_service_proto_init() {
return nil
}
}
file_api_v1_workspace_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_workspace_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*GetWorkspaceProfileRequest); i {
case 0:
return &v.state

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/workspace_setting_service.proto
@@ -186,10 +186,6 @@ type WorkspaceGeneralSetting struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// disallow_signup is the flag to disallow signup.
DisallowSignup bool `protobuf:"varint,1,opt,name=disallow_signup,json=disallowSignup,proto3" json:"disallow_signup,omitempty"`
// disallow_password_login is the flag to disallow password login.
DisallowPasswordLogin bool `protobuf:"varint,2,opt,name=disallow_password_login,json=disallowPasswordLogin,proto3" json:"disallow_password_login,omitempty"`
// additional_script is the additional script.
AdditionalScript string `protobuf:"bytes,3,opt,name=additional_script,json=additionalScript,proto3" json:"additional_script,omitempty"`
// additional_style is the additional style.
@@ -230,20 +226,6 @@ func (*WorkspaceGeneralSetting) Descriptor() ([]byte, []int) {
return file_api_v1_workspace_setting_service_proto_rawDescGZIP(), []int{1}
}
func (x *WorkspaceGeneralSetting) GetDisallowSignup() bool {
if x != nil {
return x.DisallowSignup
}
return false
}
func (x *WorkspaceGeneralSetting) GetDisallowPasswordLogin() bool {
if x != nil {
return x.DisallowPasswordLogin
}
return false
}
func (x *WorkspaceGeneralSetting) GetAdditionalScript() string {
if x != nil {
return x.AdditionalScript
@@ -712,130 +694,124 @@ var file_api_v1_workspace_setting_service_proto_rawDesc = []byte{
0x63, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x65, 0x74,
0x74, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61,
0x74, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x22, 0x9f, 0x02, 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
0x6c, 0x75, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12,
0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x67, 0x6e,
0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c,
0x6f, 0x77, 0x53, 0x69, 0x67, 0x6e, 0x75, 0x70, 0x12, 0x36, 0x0a, 0x17, 0x64, 0x69, 0x73, 0x61,
0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x6c, 0x6f,
0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x64, 0x69, 0x73, 0x61, 0x6c,
0x6c, 0x6f, 0x77, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
0x12, 0x2b, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x64, 0x64,
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x29, 0x0a,
0x10, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x79, 0x6c,
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f,
0x6e, 0x61, 0x6c, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74,
0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x24, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50,
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72,
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
0x61, 0x63, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x6f,
0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x6f,
0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61,
0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0a, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x91, 0x04, 0x0a, 0x17,
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x54, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61,
0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e,
0x2b, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x64, 0x64, 0x69,
0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x29, 0x0a, 0x10,
0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
0x61, 0x6c, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f,
0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x24, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57,
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72,
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f,
0x66, 0x69, 0x6c, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x16, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
0x63, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12,
0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x6f, 0x5f,
0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x6f, 0x55,
0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70,
0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x91, 0x04, 0x0a, 0x17, 0x57,
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53,
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x54, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67,
0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x6d,
0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b,
0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x74,
0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x11,
0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74,
0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x75, 0x70, 0x6c,
0x6f, 0x61, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x6d,
0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x53,
0x69, 0x7a, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4d, 0x62, 0x12, 0x4b, 0x0a, 0x09, 0x73, 0x33,
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e,
0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72,
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a,
0x11, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61,
0x74, 0x68, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x75, 0x70,
0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f,
0x6d, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64,
0x53, 0x69, 0x7a, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4d, 0x62, 0x12, 0x4b, 0x0a, 0x09, 0x73,
0x33, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e,
0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x33, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x73,
0x33, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xa6, 0x01, 0x0a, 0x08, 0x53, 0x33, 0x43, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b,
0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63,
0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x63, 0x63, 0x65,
0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x53, 0x65,
0x63, 0x72, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b,
0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74,
0x22, 0x4c, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
0x1c, 0x0a, 0x18, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a,
0x08, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4c,
0x4f, 0x43, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x53, 0x33, 0x10, 0x03, 0x22, 0xa9,
0x02, 0x0a, 0x1b, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x6d, 0x6f,
0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x36,
0x0a, 0x17, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69,
0x63, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
0x15, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x56,
0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x18, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
0x79, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
0x79, 0x57, 0x69, 0x74, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
0x30, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74,
0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x63,
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x4c, 0x69, 0x6d, 0x69,
0x74, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f,
0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11,
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63,
0x74, 0x12, 0x37, 0x0a, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x6f, 0x75, 0x62,
0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x18, 0x05, 0x20,
0x01, 0x28, 0x08, 0x52, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c,
0x65, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x45, 0x64, 0x69, 0x74, 0x22, 0x36, 0x0a, 0x1a, 0x47, 0x65,
0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x22, 0x56, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x38, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x32, 0xd9, 0x02, 0x0a, 0x17, 0x57,
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x53,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x93, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57, 0x6f,
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x28,
0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31,
0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
0x3d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa7, 0x01, 0x0a,
0x13, 0x53, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74,
0x74, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e,
0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f,
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x33, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08,
0x73, 0x33, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xa6, 0x01, 0x0a, 0x08, 0x53, 0x33, 0x43,
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f,
0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63,
0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x63, 0x63,
0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x53,
0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63,
0x6b, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65,
0x74, 0x22, 0x4c, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
0x12, 0x1c, 0x0a, 0x18, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45,
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c,
0x0a, 0x08, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x53, 0x33, 0x10, 0x03, 0x22,
0xa9, 0x02, 0x0a, 0x1b, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x6d,
0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12,
0x36, 0x0a, 0x17, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c,
0x69, 0x63, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
0x52, 0x15, 0x64, 0x69, 0x73, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x18, 0x64, 0x69, 0x73, 0x70, 0x6c,
0x61, 0x79, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,
0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x64, 0x69, 0x73, 0x70, 0x6c,
0x61, 0x79, 0x57, 0x69, 0x74, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
0x12, 0x30, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x65, 0x6e, 0x67,
0x74, 0x68, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12,
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x4c, 0x69, 0x6d,
0x69, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74,
0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x61,
0x63, 0x74, 0x12, 0x37, 0x0a, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x6f, 0x75,
0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x18, 0x05,
0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x6f, 0x75, 0x62,
0x6c, 0x65, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x45, 0x64, 0x69, 0x74, 0x22, 0x36, 0x0a, 0x1a, 0x47,
0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69,
0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x6e,
0x61, 0x6d, 0x65, 0x22, 0x56, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x38, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69,
0x6e, 0x67, 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x32, 0xd9, 0x02, 0x0a, 0x17,
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x93, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57,
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12,
0x28, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47,
0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69,
0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
0x65, 0x3d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa7, 0x01,
0x0a, 0x13, 0x53, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,
0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x1e, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57,
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22,
0x46, 0xda, 0x41, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02,
0x36, 0x3a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x32, 0x2b, 0x2f, 0x61, 0x70, 0x69,
0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x7b, 0x73,
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x65, 0x74, 0x74,
0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x42, 0xb4, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e,
0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x1c, 0x57, 0x6f,
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69,
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f,
0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65,
0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02,
0x03, 0x4d, 0x41, 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69,
0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c,
0x56, 0x31, 0xe2, 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56,
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e,
0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x46,
0xda, 0x41, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36,
0x3a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x32, 0x2b, 0x2f, 0x61, 0x70, 0x69, 0x2f,
0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x7b, 0x73, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x65, 0x74, 0x74, 0x69,
0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x42, 0xb4, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x6d,
0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x1c, 0x57, 0x6f, 0x72,
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74,
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e,
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03,
0x4d, 0x41, 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x2e,
0x56, 0x31, 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56,
0x31, 0xe2, 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31,
0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d,
0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -852,7 +828,7 @@ func file_api_v1_workspace_setting_service_proto_rawDescGZIP() []byte {
var file_api_v1_workspace_setting_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_api_v1_workspace_setting_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_api_v1_workspace_setting_service_proto_goTypes = []interface{}{
var file_api_v1_workspace_setting_service_proto_goTypes = []any{
(WorkspaceStorageSetting_StorageType)(0), // 0: memos.api.v1.WorkspaceStorageSetting.StorageType
(*WorkspaceSetting)(nil), // 1: memos.api.v1.WorkspaceSetting
(*WorkspaceGeneralSetting)(nil), // 2: memos.api.v1.WorkspaceGeneralSetting
@@ -888,7 +864,7 @@ func file_api_v1_workspace_setting_service_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_workspace_setting_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_workspace_setting_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*WorkspaceSetting); i {
case 0:
return &v.state
@@ -900,7 +876,7 @@ func file_api_v1_workspace_setting_service_proto_init() {
return nil
}
}
file_api_v1_workspace_setting_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_workspace_setting_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*WorkspaceGeneralSetting); i {
case 0:
return &v.state
@@ -912,7 +888,7 @@ func file_api_v1_workspace_setting_service_proto_init() {
return nil
}
}
file_api_v1_workspace_setting_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_workspace_setting_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*WorkspaceCustomProfile); i {
case 0:
return &v.state
@@ -924,7 +900,7 @@ func file_api_v1_workspace_setting_service_proto_init() {
return nil
}
}
file_api_v1_workspace_setting_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_workspace_setting_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*WorkspaceStorageSetting); i {
case 0:
return &v.state
@@ -936,7 +912,7 @@ func file_api_v1_workspace_setting_service_proto_init() {
return nil
}
}
file_api_v1_workspace_setting_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_workspace_setting_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*WorkspaceMemoRelatedSetting); i {
case 0:
return &v.state
@@ -948,7 +924,7 @@ func file_api_v1_workspace_setting_service_proto_init() {
return nil
}
}
file_api_v1_workspace_setting_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_workspace_setting_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*GetWorkspaceSettingRequest); i {
case 0:
return &v.state
@@ -960,7 +936,7 @@ func file_api_v1_workspace_setting_service_proto_init() {
return nil
}
}
file_api_v1_workspace_setting_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_workspace_setting_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*SetWorkspaceSettingRequest); i {
case 0:
return &v.state
@@ -972,7 +948,7 @@ func file_api_v1_workspace_setting_service_proto_init() {
return nil
}
}
file_api_v1_workspace_setting_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_workspace_setting_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*WorkspaceStorageSetting_S3Config); i {
case 0:
return &v.state
@@ -985,7 +961,7 @@ func file_api_v1_workspace_setting_service_proto_init() {
}
}
}
file_api_v1_workspace_setting_service_proto_msgTypes[0].OneofWrappers = []interface{}{
file_api_v1_workspace_setting_service_proto_msgTypes[0].OneofWrappers = []any{
(*WorkspaceSetting_GeneralSetting)(nil),
(*WorkspaceSetting_StorageSetting)(nil),
(*WorkspaceSetting_MemoRelatedSetting)(nil),