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