mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add public flag instead of system setting to enable signup (#3589)
This commit is contained in:
@ -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{
|
||||
|
Reference in New Issue
Block a user