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/workspace_service.proto
@@ -39,11 +39,9 @@ type WorkspaceProfile struct {
func (x *WorkspaceProfile) Reset() {
*x = WorkspaceProfile{}
if protoimpl.UnsafeEnabled {
mi := &file_api_v1_workspace_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_api_v1_workspace_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WorkspaceProfile) String() string {
@@ -54,7 +52,7 @@ func (*WorkspaceProfile) ProtoMessage() {}
func (x *WorkspaceProfile) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_workspace_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)
@@ -105,11 +103,9 @@ type GetWorkspaceProfileRequest struct {
func (x *GetWorkspaceProfileRequest) Reset() {
*x = GetWorkspaceProfileRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_api_v1_workspace_service_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
mi := &file_api_v1_workspace_service_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetWorkspaceProfileRequest) String() string {
@@ -120,7 +116,7 @@ func (*GetWorkspaceProfileRequest) ProtoMessage() {}
func (x *GetWorkspaceProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_workspace_service_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
@@ -208,32 +204,6 @@ func file_api_v1_workspace_service_proto_init() {
if File_api_v1_workspace_service_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v1_workspace_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*WorkspaceProfile); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_workspace_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*GetWorkspaceProfileRequest); 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{