feat: move reaction type to setting

This commit is contained in:
Steven
2024-10-10 21:06:32 +08:00
parent 1f9d657065
commit e527b6a878
41 changed files with 927 additions and 3467 deletions

View File

@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.2
// protoc-gen-go v1.35.1
// protoc (unknown)
// source: api/v1/memo_relation_service.proto
@@ -85,11 +85,9 @@ type MemoRelation struct {
func (x *MemoRelation) Reset() {
*x = MemoRelation{}
if protoimpl.UnsafeEnabled {
mi := &file_api_v1_memo_relation_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_api_v1_memo_relation_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MemoRelation) String() string {
@@ -100,7 +98,7 @@ func (*MemoRelation) ProtoMessage() {}
func (x *MemoRelation) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_memo_relation_service_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -200,20 +198,6 @@ func file_api_v1_memo_relation_service_proto_init() {
if File_api_v1_memo_relation_service_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
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
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{