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/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