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