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/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
|
||||
|
Reference in New Issue
Block a user