Commit e527b6a8 authored by Steven's avatar Steven

feat: move reaction type to setting

parent 1f9d6570
...@@ -13,20 +13,5 @@ message Reaction { ...@@ -13,20 +13,5 @@ message Reaction {
string content_id = 3; string content_id = 3;
enum Type { string reaction_type = 4;
TYPE_UNSPECIFIED = 0;
THUMBS_UP = 1;
THUMBS_DOWN = 2;
HEART = 3;
FIRE = 4;
CLAPPING_HANDS = 5;
LAUGH = 6;
OK_HAND = 7;
ROCKET = 8;
EYES = 9;
THINKING_FACE = 10;
CLOWN_FACE = 11;
QUESTION_MARK = 12;
}
Type reaction_type = 4;
} }
...@@ -113,6 +113,8 @@ message WorkspaceMemoRelatedSetting { ...@@ -113,6 +113,8 @@ message WorkspaceMemoRelatedSetting {
bool enable_location = 8; bool enable_location = 8;
// default_visibility set the global memos default visibility. // default_visibility set the global memos default visibility.
string default_visibility = 9; string default_visibility = 9;
// reactions is the list of reactions.
repeated string reactions = 10;
} }
message GetWorkspaceSettingRequest { message GetWorkspaceSettingRequest {
......
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.34.2 // protoc-gen-go v1.35.1
// protoc (unknown) // protoc (unknown)
// source: api/v1/activity_service.proto // source: api/v1/activity_service.proto
...@@ -44,11 +44,9 @@ type Activity struct { ...@@ -44,11 +44,9 @@ type Activity struct {
func (x *Activity) Reset() { func (x *Activity) Reset() {
*x = Activity{} *x = Activity{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_activity_service_proto_msgTypes[0]
mi := &file_api_v1_activity_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *Activity) String() string { func (x *Activity) String() string {
...@@ -59,7 +57,7 @@ func (*Activity) ProtoMessage() {} ...@@ -59,7 +57,7 @@ func (*Activity) ProtoMessage() {}
func (x *Activity) ProtoReflect() protoreflect.Message { func (x *Activity) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_activity_service_proto_msgTypes[0] mi := &file_api_v1_activity_service_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -127,11 +125,9 @@ type ActivityPayload struct { ...@@ -127,11 +125,9 @@ type ActivityPayload struct {
func (x *ActivityPayload) Reset() { func (x *ActivityPayload) Reset() {
*x = ActivityPayload{} *x = ActivityPayload{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_activity_service_proto_msgTypes[1]
mi := &file_api_v1_activity_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *ActivityPayload) String() string { func (x *ActivityPayload) String() string {
...@@ -142,7 +138,7 @@ func (*ActivityPayload) ProtoMessage() {} ...@@ -142,7 +138,7 @@ func (*ActivityPayload) ProtoMessage() {}
func (x *ActivityPayload) ProtoReflect() protoreflect.Message { func (x *ActivityPayload) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_activity_service_proto_msgTypes[1] mi := &file_api_v1_activity_service_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -185,11 +181,9 @@ type ActivityMemoCommentPayload struct { ...@@ -185,11 +181,9 @@ type ActivityMemoCommentPayload struct {
func (x *ActivityMemoCommentPayload) Reset() { func (x *ActivityMemoCommentPayload) Reset() {
*x = ActivityMemoCommentPayload{} *x = ActivityMemoCommentPayload{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_activity_service_proto_msgTypes[2]
mi := &file_api_v1_activity_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *ActivityMemoCommentPayload) String() string { func (x *ActivityMemoCommentPayload) String() string {
...@@ -200,7 +194,7 @@ func (*ActivityMemoCommentPayload) ProtoMessage() {} ...@@ -200,7 +194,7 @@ func (*ActivityMemoCommentPayload) ProtoMessage() {}
func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message { func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_activity_service_proto_msgTypes[2] mi := &file_api_v1_activity_service_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -240,11 +234,9 @@ type ActivityVersionUpdatePayload struct { ...@@ -240,11 +234,9 @@ type ActivityVersionUpdatePayload struct {
func (x *ActivityVersionUpdatePayload) Reset() { func (x *ActivityVersionUpdatePayload) Reset() {
*x = ActivityVersionUpdatePayload{} *x = ActivityVersionUpdatePayload{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_activity_service_proto_msgTypes[3]
mi := &file_api_v1_activity_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *ActivityVersionUpdatePayload) String() string { func (x *ActivityVersionUpdatePayload) String() string {
...@@ -255,7 +247,7 @@ func (*ActivityVersionUpdatePayload) ProtoMessage() {} ...@@ -255,7 +247,7 @@ func (*ActivityVersionUpdatePayload) ProtoMessage() {}
func (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message { func (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_activity_service_proto_msgTypes[3] mi := &file_api_v1_activity_service_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -289,11 +281,9 @@ type GetActivityRequest struct { ...@@ -289,11 +281,9 @@ type GetActivityRequest struct {
func (x *GetActivityRequest) Reset() { func (x *GetActivityRequest) Reset() {
*x = GetActivityRequest{} *x = GetActivityRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_activity_service_proto_msgTypes[4]
mi := &file_api_v1_activity_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *GetActivityRequest) String() string { func (x *GetActivityRequest) String() string {
...@@ -304,7 +294,7 @@ func (*GetActivityRequest) ProtoMessage() {} ...@@ -304,7 +294,7 @@ func (*GetActivityRequest) ProtoMessage() {}
func (x *GetActivityRequest) ProtoReflect() protoreflect.Message { func (x *GetActivityRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_activity_service_proto_msgTypes[4] mi := &file_api_v1_activity_service_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -440,68 +430,6 @@ func file_api_v1_activity_service_proto_init() { ...@@ -440,68 +430,6 @@ func file_api_v1_activity_service_proto_init() {
if File_api_v1_activity_service_proto != nil { if File_api_v1_activity_service_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_api_v1_activity_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Activity); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_activity_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*ActivityPayload); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_activity_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*ActivityMemoCommentPayload); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_activity_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*ActivityVersionUpdatePayload); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_activity_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*GetActivityRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
......
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.34.2 // protoc-gen-go v1.35.1
// protoc (unknown) // protoc (unknown)
// source: api/v1/auth_service.proto // source: api/v1/auth_service.proto
...@@ -30,11 +30,9 @@ type GetAuthStatusRequest struct { ...@@ -30,11 +30,9 @@ type GetAuthStatusRequest struct {
func (x *GetAuthStatusRequest) Reset() { func (x *GetAuthStatusRequest) Reset() {
*x = GetAuthStatusRequest{} *x = GetAuthStatusRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_auth_service_proto_msgTypes[0]
mi := &file_api_v1_auth_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *GetAuthStatusRequest) String() string { func (x *GetAuthStatusRequest) String() string {
...@@ -45,7 +43,7 @@ func (*GetAuthStatusRequest) ProtoMessage() {} ...@@ -45,7 +43,7 @@ func (*GetAuthStatusRequest) ProtoMessage() {}
func (x *GetAuthStatusRequest) ProtoReflect() protoreflect.Message { func (x *GetAuthStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_auth_service_proto_msgTypes[0] mi := &file_api_v1_auth_service_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -70,11 +68,9 @@ type GetAuthStatusResponse struct { ...@@ -70,11 +68,9 @@ type GetAuthStatusResponse struct {
func (x *GetAuthStatusResponse) Reset() { func (x *GetAuthStatusResponse) Reset() {
*x = GetAuthStatusResponse{} *x = GetAuthStatusResponse{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_auth_service_proto_msgTypes[1]
mi := &file_api_v1_auth_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *GetAuthStatusResponse) String() string { func (x *GetAuthStatusResponse) String() string {
...@@ -85,7 +81,7 @@ func (*GetAuthStatusResponse) ProtoMessage() {} ...@@ -85,7 +81,7 @@ func (*GetAuthStatusResponse) ProtoMessage() {}
func (x *GetAuthStatusResponse) ProtoReflect() protoreflect.Message { func (x *GetAuthStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_auth_service_proto_msgTypes[1] mi := &file_api_v1_auth_service_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -122,11 +118,9 @@ type SignInRequest struct { ...@@ -122,11 +118,9 @@ type SignInRequest struct {
func (x *SignInRequest) Reset() { func (x *SignInRequest) Reset() {
*x = SignInRequest{} *x = SignInRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_auth_service_proto_msgTypes[2]
mi := &file_api_v1_auth_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *SignInRequest) String() string { func (x *SignInRequest) String() string {
...@@ -137,7 +131,7 @@ func (*SignInRequest) ProtoMessage() {} ...@@ -137,7 +131,7 @@ func (*SignInRequest) ProtoMessage() {}
func (x *SignInRequest) ProtoReflect() protoreflect.Message { func (x *SignInRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_auth_service_proto_msgTypes[2] mi := &file_api_v1_auth_service_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -188,11 +182,9 @@ type SignInWithSSORequest struct { ...@@ -188,11 +182,9 @@ type SignInWithSSORequest struct {
func (x *SignInWithSSORequest) Reset() { func (x *SignInWithSSORequest) Reset() {
*x = SignInWithSSORequest{} *x = SignInWithSSORequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_auth_service_proto_msgTypes[3]
mi := &file_api_v1_auth_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *SignInWithSSORequest) String() string { func (x *SignInWithSSORequest) String() string {
...@@ -203,7 +195,7 @@ func (*SignInWithSSORequest) ProtoMessage() {} ...@@ -203,7 +195,7 @@ func (*SignInWithSSORequest) ProtoMessage() {}
func (x *SignInWithSSORequest) ProtoReflect() protoreflect.Message { func (x *SignInWithSSORequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_auth_service_proto_msgTypes[3] mi := &file_api_v1_auth_service_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -252,11 +244,9 @@ type SignUpRequest struct { ...@@ -252,11 +244,9 @@ type SignUpRequest struct {
func (x *SignUpRequest) Reset() { func (x *SignUpRequest) Reset() {
*x = SignUpRequest{} *x = SignUpRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_auth_service_proto_msgTypes[4]
mi := &file_api_v1_auth_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *SignUpRequest) String() string { func (x *SignUpRequest) String() string {
...@@ -267,7 +257,7 @@ func (*SignUpRequest) ProtoMessage() {} ...@@ -267,7 +257,7 @@ func (*SignUpRequest) ProtoMessage() {}
func (x *SignUpRequest) ProtoReflect() protoreflect.Message { func (x *SignUpRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_auth_service_proto_msgTypes[4] mi := &file_api_v1_auth_service_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -304,11 +294,9 @@ type SignOutRequest struct { ...@@ -304,11 +294,9 @@ type SignOutRequest struct {
func (x *SignOutRequest) Reset() { func (x *SignOutRequest) Reset() {
*x = SignOutRequest{} *x = SignOutRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_auth_service_proto_msgTypes[5]
mi := &file_api_v1_auth_service_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *SignOutRequest) String() string { func (x *SignOutRequest) String() string {
...@@ -319,7 +307,7 @@ func (*SignOutRequest) ProtoMessage() {} ...@@ -319,7 +307,7 @@ func (*SignOutRequest) ProtoMessage() {}
func (x *SignOutRequest) ProtoReflect() protoreflect.Message { func (x *SignOutRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_auth_service_proto_msgTypes[5] mi := &file_api_v1_auth_service_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -462,80 +450,6 @@ func file_api_v1_auth_service_proto_init() { ...@@ -462,80 +450,6 @@ func file_api_v1_auth_service_proto_init() {
return return
} }
file_api_v1_user_service_proto_init() file_api_v1_user_service_proto_init()
if !protoimpl.UnsafeEnabled {
file_api_v1_auth_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*GetAuthStatusRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_auth_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*GetAuthStatusResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_auth_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*SignInRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_auth_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*SignInWithSSORequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_auth_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*SignUpRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_auth_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*SignOutRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
......
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.34.2 // protoc-gen-go v1.35.1
// protoc (unknown) // protoc (unknown)
// source: api/v1/common.proto // source: api/v1/common.proto
...@@ -81,11 +81,9 @@ type PageToken struct { ...@@ -81,11 +81,9 @@ type PageToken struct {
func (x *PageToken) Reset() { func (x *PageToken) Reset() {
*x = PageToken{} *x = PageToken{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_common_proto_msgTypes[0]
mi := &file_api_v1_common_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *PageToken) String() string { func (x *PageToken) String() string {
...@@ -96,7 +94,7 @@ func (*PageToken) ProtoMessage() {} ...@@ -96,7 +94,7 @@ func (*PageToken) ProtoMessage() {}
func (x *PageToken) ProtoReflect() protoreflect.Message { func (x *PageToken) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_common_proto_msgTypes[0] mi := &file_api_v1_common_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -182,20 +180,6 @@ func file_api_v1_common_proto_init() { ...@@ -182,20 +180,6 @@ func file_api_v1_common_proto_init() {
if File_api_v1_common_proto != nil { if File_api_v1_common_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_api_v1_common_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*PageToken); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
......
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.34.2 // protoc-gen-go v1.35.1
// protoc (unknown) // protoc (unknown)
// source: api/v1/inbox_service.proto // source: api/v1/inbox_service.proto
...@@ -142,11 +142,9 @@ type Inbox struct { ...@@ -142,11 +142,9 @@ type Inbox struct {
func (x *Inbox) Reset() { func (x *Inbox) Reset() {
*x = Inbox{} *x = Inbox{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_inbox_service_proto_msgTypes[0]
mi := &file_api_v1_inbox_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *Inbox) String() string { func (x *Inbox) String() string {
...@@ -157,7 +155,7 @@ func (*Inbox) ProtoMessage() {} ...@@ -157,7 +155,7 @@ func (*Inbox) ProtoMessage() {}
func (x *Inbox) ProtoReflect() protoreflect.Message { func (x *Inbox) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_inbox_service_proto_msgTypes[0] mi := &file_api_v1_inbox_service_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -232,11 +230,9 @@ type ListInboxesRequest struct { ...@@ -232,11 +230,9 @@ type ListInboxesRequest struct {
func (x *ListInboxesRequest) Reset() { func (x *ListInboxesRequest) Reset() {
*x = ListInboxesRequest{} *x = ListInboxesRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_inbox_service_proto_msgTypes[1]
mi := &file_api_v1_inbox_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *ListInboxesRequest) String() string { func (x *ListInboxesRequest) String() string {
...@@ -247,7 +243,7 @@ func (*ListInboxesRequest) ProtoMessage() {} ...@@ -247,7 +243,7 @@ func (*ListInboxesRequest) ProtoMessage() {}
func (x *ListInboxesRequest) ProtoReflect() protoreflect.Message { func (x *ListInboxesRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_inbox_service_proto_msgTypes[1] mi := &file_api_v1_inbox_service_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -279,11 +275,9 @@ type ListInboxesResponse struct { ...@@ -279,11 +275,9 @@ type ListInboxesResponse struct {
func (x *ListInboxesResponse) Reset() { func (x *ListInboxesResponse) Reset() {
*x = ListInboxesResponse{} *x = ListInboxesResponse{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_inbox_service_proto_msgTypes[2]
mi := &file_api_v1_inbox_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *ListInboxesResponse) String() string { func (x *ListInboxesResponse) String() string {
...@@ -294,7 +288,7 @@ func (*ListInboxesResponse) ProtoMessage() {} ...@@ -294,7 +288,7 @@ func (*ListInboxesResponse) ProtoMessage() {}
func (x *ListInboxesResponse) ProtoReflect() protoreflect.Message { func (x *ListInboxesResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_inbox_service_proto_msgTypes[2] mi := &file_api_v1_inbox_service_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -327,11 +321,9 @@ type UpdateInboxRequest struct { ...@@ -327,11 +321,9 @@ type UpdateInboxRequest struct {
func (x *UpdateInboxRequest) Reset() { func (x *UpdateInboxRequest) Reset() {
*x = UpdateInboxRequest{} *x = UpdateInboxRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_inbox_service_proto_msgTypes[3]
mi := &file_api_v1_inbox_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *UpdateInboxRequest) String() string { func (x *UpdateInboxRequest) String() string {
...@@ -342,7 +334,7 @@ func (*UpdateInboxRequest) ProtoMessage() {} ...@@ -342,7 +334,7 @@ func (*UpdateInboxRequest) ProtoMessage() {}
func (x *UpdateInboxRequest) ProtoReflect() protoreflect.Message { func (x *UpdateInboxRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_inbox_service_proto_msgTypes[3] mi := &file_api_v1_inbox_service_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -383,11 +375,9 @@ type DeleteInboxRequest struct { ...@@ -383,11 +375,9 @@ type DeleteInboxRequest struct {
func (x *DeleteInboxRequest) Reset() { func (x *DeleteInboxRequest) Reset() {
*x = DeleteInboxRequest{} *x = DeleteInboxRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_inbox_service_proto_msgTypes[4]
mi := &file_api_v1_inbox_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *DeleteInboxRequest) String() string { func (x *DeleteInboxRequest) String() string {
...@@ -398,7 +388,7 @@ func (*DeleteInboxRequest) ProtoMessage() {} ...@@ -398,7 +388,7 @@ func (*DeleteInboxRequest) ProtoMessage() {}
func (x *DeleteInboxRequest) ProtoReflect() protoreflect.Message { func (x *DeleteInboxRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_inbox_service_proto_msgTypes[4] mi := &file_api_v1_inbox_service_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -567,68 +557,6 @@ func file_api_v1_inbox_service_proto_init() { ...@@ -567,68 +557,6 @@ func file_api_v1_inbox_service_proto_init() {
if File_api_v1_inbox_service_proto != nil { if File_api_v1_inbox_service_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_api_v1_inbox_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Inbox); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_inbox_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*ListInboxesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_inbox_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*ListInboxesResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_inbox_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*UpdateInboxRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v1_inbox_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*DeleteInboxRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_api_v1_inbox_service_proto_msgTypes[0].OneofWrappers = []any{} file_api_v1_inbox_service_proto_msgTypes[0].OneofWrappers = []any{}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
......
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.34.2 // protoc-gen-go v1.35.1
// protoc (unknown) // protoc (unknown)
// source: api/v1/memo_relation_service.proto // source: api/v1/memo_relation_service.proto
...@@ -85,11 +85,9 @@ type MemoRelation struct { ...@@ -85,11 +85,9 @@ type MemoRelation struct {
func (x *MemoRelation) Reset() { func (x *MemoRelation) Reset() {
*x = MemoRelation{} *x = MemoRelation{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_memo_relation_service_proto_msgTypes[0]
mi := &file_api_v1_memo_relation_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *MemoRelation) String() string { func (x *MemoRelation) String() string {
...@@ -100,7 +98,7 @@ func (*MemoRelation) ProtoMessage() {} ...@@ -100,7 +98,7 @@ func (*MemoRelation) ProtoMessage() {}
func (x *MemoRelation) ProtoReflect() protoreflect.Message { func (x *MemoRelation) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_memo_relation_service_proto_msgTypes[0] 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)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -200,20 +198,6 @@ func file_api_v1_memo_relation_service_proto_init() { ...@@ -200,20 +198,6 @@ func file_api_v1_memo_relation_service_proto_init() {
if File_api_v1_memo_relation_service_proto != nil { if File_api_v1_memo_relation_service_proto != nil {
return 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{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.34.2 // protoc-gen-go v1.35.1
// protoc (unknown) // protoc (unknown)
// source: api/v1/webhook_service.proto // source: api/v1/webhook_service.proto
...@@ -40,11 +40,9 @@ type Webhook struct { ...@@ -40,11 +40,9 @@ type Webhook struct {
func (x *Webhook) Reset() { func (x *Webhook) Reset() {
*x = Webhook{} *x = Webhook{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_webhook_service_proto_msgTypes[0]
mi := &file_api_v1_webhook_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *Webhook) String() string { func (x *Webhook) String() string {
...@@ -55,7 +53,7 @@ func (*Webhook) ProtoMessage() {} ...@@ -55,7 +53,7 @@ func (*Webhook) ProtoMessage() {}
func (x *Webhook) ProtoReflect() protoreflect.Message { func (x *Webhook) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_webhook_service_proto_msgTypes[0] mi := &file_api_v1_webhook_service_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -130,11 +128,9 @@ type CreateWebhookRequest struct { ...@@ -130,11 +128,9 @@ type CreateWebhookRequest struct {
func (x *CreateWebhookRequest) Reset() { func (x *CreateWebhookRequest) Reset() {
*x = CreateWebhookRequest{} *x = CreateWebhookRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_webhook_service_proto_msgTypes[1]
mi := &file_api_v1_webhook_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *CreateWebhookRequest) String() string { func (x *CreateWebhookRequest) String() string {
...@@ -145,7 +141,7 @@ func (*CreateWebhookRequest) ProtoMessage() {} ...@@ -145,7 +141,7 @@ func (*CreateWebhookRequest) ProtoMessage() {}
func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message { func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_webhook_service_proto_msgTypes[1] mi := &file_api_v1_webhook_service_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -184,11 +180,9 @@ type GetWebhookRequest struct { ...@@ -184,11 +180,9 @@ type GetWebhookRequest struct {
func (x *GetWebhookRequest) Reset() { func (x *GetWebhookRequest) Reset() {
*x = GetWebhookRequest{} *x = GetWebhookRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_webhook_service_proto_msgTypes[2]
mi := &file_api_v1_webhook_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *GetWebhookRequest) String() string { func (x *GetWebhookRequest) String() string {
...@@ -199,7 +193,7 @@ func (*GetWebhookRequest) ProtoMessage() {} ...@@ -199,7 +193,7 @@ func (*GetWebhookRequest) ProtoMessage() {}
func (x *GetWebhookRequest) ProtoReflect() protoreflect.Message { func (x *GetWebhookRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_webhook_service_proto_msgTypes[2] mi := &file_api_v1_webhook_service_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -231,11 +225,9 @@ type ListWebhooksRequest struct { ...@@ -231,11 +225,9 @@ type ListWebhooksRequest struct {
func (x *ListWebhooksRequest) Reset() { func (x *ListWebhooksRequest) Reset() {
*x = ListWebhooksRequest{} *x = ListWebhooksRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_webhook_service_proto_msgTypes[3]
mi := &file_api_v1_webhook_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *ListWebhooksRequest) String() string { func (x *ListWebhooksRequest) String() string {
...@@ -246,7 +238,7 @@ func (*ListWebhooksRequest) ProtoMessage() {} ...@@ -246,7 +238,7 @@ func (*ListWebhooksRequest) ProtoMessage() {}
func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message { func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_webhook_service_proto_msgTypes[3] mi := &file_api_v1_webhook_service_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -278,11 +270,9 @@ type ListWebhooksResponse struct { ...@@ -278,11 +270,9 @@ type ListWebhooksResponse struct {
func (x *ListWebhooksResponse) Reset() { func (x *ListWebhooksResponse) Reset() {
*x = ListWebhooksResponse{} *x = ListWebhooksResponse{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_webhook_service_proto_msgTypes[4]
mi := &file_api_v1_webhook_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *ListWebhooksResponse) String() string { func (x *ListWebhooksResponse) String() string {
...@@ -293,7 +283,7 @@ func (*ListWebhooksResponse) ProtoMessage() {} ...@@ -293,7 +283,7 @@ func (*ListWebhooksResponse) ProtoMessage() {}
func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message { func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_webhook_service_proto_msgTypes[4] mi := &file_api_v1_webhook_service_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -326,11 +316,9 @@ type UpdateWebhookRequest struct { ...@@ -326,11 +316,9 @@ type UpdateWebhookRequest struct {
func (x *UpdateWebhookRequest) Reset() { func (x *UpdateWebhookRequest) Reset() {
*x = UpdateWebhookRequest{} *x = UpdateWebhookRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_webhook_service_proto_msgTypes[5]
mi := &file_api_v1_webhook_service_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *UpdateWebhookRequest) String() string { func (x *UpdateWebhookRequest) String() string {
...@@ -341,7 +329,7 @@ func (*UpdateWebhookRequest) ProtoMessage() {} ...@@ -341,7 +329,7 @@ func (*UpdateWebhookRequest) ProtoMessage() {}
func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message { func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_webhook_service_proto_msgTypes[5] mi := &file_api_v1_webhook_service_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -380,11 +368,9 @@ type DeleteWebhookRequest struct { ...@@ -380,11 +368,9 @@ type DeleteWebhookRequest struct {
func (x *DeleteWebhookRequest) Reset() { func (x *DeleteWebhookRequest) Reset() {
*x = DeleteWebhookRequest{} *x = DeleteWebhookRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_webhook_service_proto_msgTypes[6]
mi := &file_api_v1_webhook_service_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *DeleteWebhookRequest) String() string { func (x *DeleteWebhookRequest) String() string {
...@@ -395,7 +381,7 @@ func (*DeleteWebhookRequest) ProtoMessage() {} ...@@ -395,7 +381,7 @@ func (*DeleteWebhookRequest) ProtoMessage() {}
func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message { func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_webhook_service_proto_msgTypes[6] mi := &file_api_v1_webhook_service_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -431,11 +417,9 @@ type WebhookRequestPayload struct { ...@@ -431,11 +417,9 @@ type WebhookRequestPayload struct {
func (x *WebhookRequestPayload) Reset() { func (x *WebhookRequestPayload) Reset() {
*x = WebhookRequestPayload{} *x = WebhookRequestPayload{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_webhook_service_proto_msgTypes[7]
mi := &file_api_v1_webhook_service_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *WebhookRequestPayload) String() string { func (x *WebhookRequestPayload) String() string {
...@@ -446,7 +430,7 @@ func (*WebhookRequestPayload) ProtoMessage() {} ...@@ -446,7 +430,7 @@ func (*WebhookRequestPayload) ProtoMessage() {}
func (x *WebhookRequestPayload) ProtoReflect() protoreflect.Message { func (x *WebhookRequestPayload) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_webhook_service_proto_msgTypes[7] mi := &file_api_v1_webhook_service_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -682,104 +666,6 @@ func file_api_v1_webhook_service_proto_init() { ...@@ -682,104 +666,6 @@ func file_api_v1_webhook_service_proto_init() {
} }
file_api_v1_common_proto_init() file_api_v1_common_proto_init()
file_api_v1_memo_service_proto_init() file_api_v1_memo_service_proto_init()
if !protoimpl.UnsafeEnabled {
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
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
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
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
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
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
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
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
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
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
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
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
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
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
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
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
......
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.34.2 // protoc-gen-go v1.35.1
// protoc (unknown) // protoc (unknown)
// source: api/v1/workspace_service.proto // source: api/v1/workspace_service.proto
...@@ -39,11 +39,9 @@ type WorkspaceProfile struct { ...@@ -39,11 +39,9 @@ type WorkspaceProfile struct {
func (x *WorkspaceProfile) Reset() { func (x *WorkspaceProfile) Reset() {
*x = WorkspaceProfile{} *x = WorkspaceProfile{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_workspace_service_proto_msgTypes[0]
mi := &file_api_v1_workspace_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *WorkspaceProfile) String() string { func (x *WorkspaceProfile) String() string {
...@@ -54,7 +52,7 @@ func (*WorkspaceProfile) ProtoMessage() {} ...@@ -54,7 +52,7 @@ func (*WorkspaceProfile) ProtoMessage() {}
func (x *WorkspaceProfile) ProtoReflect() protoreflect.Message { func (x *WorkspaceProfile) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_workspace_service_proto_msgTypes[0] mi := &file_api_v1_workspace_service_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -105,11 +103,9 @@ type GetWorkspaceProfileRequest struct { ...@@ -105,11 +103,9 @@ type GetWorkspaceProfileRequest struct {
func (x *GetWorkspaceProfileRequest) Reset() { func (x *GetWorkspaceProfileRequest) Reset() {
*x = GetWorkspaceProfileRequest{} *x = GetWorkspaceProfileRequest{}
if protoimpl.UnsafeEnabled { mi := &file_api_v1_workspace_service_proto_msgTypes[1]
mi := &file_api_v1_workspace_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)
ms.StoreMessageInfo(mi)
}
} }
func (x *GetWorkspaceProfileRequest) String() string { func (x *GetWorkspaceProfileRequest) String() string {
...@@ -120,7 +116,7 @@ func (*GetWorkspaceProfileRequest) ProtoMessage() {} ...@@ -120,7 +116,7 @@ func (*GetWorkspaceProfileRequest) ProtoMessage() {}
func (x *GetWorkspaceProfileRequest) ProtoReflect() protoreflect.Message { func (x *GetWorkspaceProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_v1_workspace_service_proto_msgTypes[1] mi := &file_api_v1_workspace_service_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
...@@ -208,32 +204,6 @@ func file_api_v1_workspace_service_proto_init() { ...@@ -208,32 +204,6 @@ func file_api_v1_workspace_service_proto_init() {
if File_api_v1_workspace_service_proto != nil { if File_api_v1_workspace_service_proto != nil {
return 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{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
......
...@@ -2084,6 +2084,11 @@ definitions: ...@@ -2084,6 +2084,11 @@ definitions:
defaultVisibility: defaultVisibility:
type: string type: string
description: default_visibility set the global memos default visibility. description: default_visibility set the global memos default visibility.
reactions:
type: array
items:
type: string
description: reactions is the list of reactions.
apiv1WorkspaceSetting: apiv1WorkspaceSetting:
type: object type: object
properties: properties:
...@@ -2864,24 +2869,7 @@ definitions: ...@@ -2864,24 +2869,7 @@ definitions:
contentId: contentId:
type: string type: string
reactionType: reactionType:
$ref: '#/definitions/v1ReactionType' type: string
v1ReactionType:
type: string
enum:
- TYPE_UNSPECIFIED
- THUMBS_UP
- THUMBS_DOWN
- HEART
- FIRE
- CLAPPING_HANDS
- LAUGH
- OK_HAND
- ROCKET
- EYES
- THINKING_FACE
- CLOWN_FACE
- QUESTION_MARK
default: TYPE_UNSPECIFIED
v1ReferencedContentNode: v1ReferencedContentNode:
type: object type: object
properties: properties:
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -112,4 +112,6 @@ message WorkspaceMemoRelatedSetting { ...@@ -112,4 +112,6 @@ message WorkspaceMemoRelatedSetting {
bool enable_location = 8; bool enable_location = 8;
// default_visibility set the global memos default visibility. // default_visibility set the global memos default visibility.
string default_visibility = 9; string default_visibility = 9;
// reactions is the list of reactions.
repeated string reactions = 10;
} }
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment