Commit 2058a8ab authored by johnnyjoy's avatar johnnyjoy

chore: move references to memo property

parent 3fa69096
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/activity_service.proto
......@@ -13,6 +13,7 @@ import (
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -315,7 +316,7 @@ func (x *GetActivityRequest) GetName() string {
var File_api_v1_activity_service_proto protoreflect.FileDescriptor
var file_api_v1_activity_service_proto_rawDesc = []byte{
var file_api_v1_activity_service_proto_rawDesc = string([]byte{
0x0a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67,
......@@ -384,16 +385,16 @@ var file_api_v1_activity_service_proto_rawDesc = []byte{
0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65,
0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_activity_service_proto_rawDescOnce sync.Once
file_api_v1_activity_service_proto_rawDescData = file_api_v1_activity_service_proto_rawDesc
file_api_v1_activity_service_proto_rawDescData []byte
)
func file_api_v1_activity_service_proto_rawDescGZIP() []byte {
file_api_v1_activity_service_proto_rawDescOnce.Do(func() {
file_api_v1_activity_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_activity_service_proto_rawDescData)
file_api_v1_activity_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_activity_service_proto_rawDesc), len(file_api_v1_activity_service_proto_rawDesc)))
})
return file_api_v1_activity_service_proto_rawDescData
}
......@@ -430,7 +431,7 @@ func file_api_v1_activity_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_activity_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_activity_service_proto_rawDesc), len(file_api_v1_activity_service_proto_rawDesc)),
NumEnums: 0,
NumMessages: 5,
NumExtensions: 0,
......@@ -441,7 +442,6 @@ func file_api_v1_activity_service_proto_init() {
MessageInfos: file_api_v1_activity_service_proto_msgTypes,
}.Build()
File_api_v1_activity_service_proto = out.File
file_api_v1_activity_service_proto_rawDesc = nil
file_api_v1_activity_service_proto_goTypes = nil
file_api_v1_activity_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/auth_service.proto
......@@ -13,6 +13,7 @@ import (
emptypb "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -320,7 +321,7 @@ func (*SignOutRequest) Descriptor() ([]byte, []int) {
var File_api_v1_auth_service_proto protoreflect.FileDescriptor
var file_api_v1_auth_service_proto_rawDesc = []byte{
var file_api_v1_auth_service_proto_rawDesc = string([]byte{
0x0a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x6d,
0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x76,
......@@ -396,16 +397,16 @@ var file_api_v1_auth_service_proto_rawDesc = []byte{
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_auth_service_proto_rawDescOnce sync.Once
file_api_v1_auth_service_proto_rawDescData = file_api_v1_auth_service_proto_rawDesc
file_api_v1_auth_service_proto_rawDescData []byte
)
func file_api_v1_auth_service_proto_rawDescGZIP() []byte {
file_api_v1_auth_service_proto_rawDescOnce.Do(func() {
file_api_v1_auth_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_auth_service_proto_rawDescData)
file_api_v1_auth_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_auth_service_proto_rawDesc), len(file_api_v1_auth_service_proto_rawDesc)))
})
return file_api_v1_auth_service_proto_rawDescData
}
......@@ -450,7 +451,7 @@ func file_api_v1_auth_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_auth_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_auth_service_proto_rawDesc), len(file_api_v1_auth_service_proto_rawDesc)),
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
......@@ -461,7 +462,6 @@ func file_api_v1_auth_service_proto_init() {
MessageInfos: file_api_v1_auth_service_proto_msgTypes,
}.Build()
File_api_v1_auth_service_proto = out.File
file_api_v1_auth_service_proto_rawDesc = nil
file_api_v1_auth_service_proto_goTypes = nil
file_api_v1_auth_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/common.proto
......@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -124,7 +125,7 @@ func (x *PageToken) GetOffset() int32 {
var File_api_v1_common_proto protoreflect.FileDescriptor
var file_api_v1_common_proto_rawDesc = []byte{
var file_api_v1_common_proto_rawDesc = string([]byte{
0x0a, 0x13, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,
0x2e, 0x76, 0x31, 0x22, 0x39, 0x0a, 0x09, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
......@@ -146,16 +147,16 @@ var file_api_v1_common_proto_rawDesc = []byte{
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e,
0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_common_proto_rawDescOnce sync.Once
file_api_v1_common_proto_rawDescData = file_api_v1_common_proto_rawDesc
file_api_v1_common_proto_rawDescData []byte
)
func file_api_v1_common_proto_rawDescGZIP() []byte {
file_api_v1_common_proto_rawDescOnce.Do(func() {
file_api_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_common_proto_rawDescData)
file_api_v1_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_common_proto_rawDesc), len(file_api_v1_common_proto_rawDesc)))
})
return file_api_v1_common_proto_rawDescData
}
......@@ -183,7 +184,7 @@ func file_api_v1_common_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_common_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_common_proto_rawDesc), len(file_api_v1_common_proto_rawDesc)),
NumEnums: 1,
NumMessages: 1,
NumExtensions: 0,
......@@ -195,7 +196,6 @@ func file_api_v1_common_proto_init() {
MessageInfos: file_api_v1_common_proto_msgTypes,
}.Build()
File_api_v1_common_proto = out.File
file_api_v1_common_proto_rawDesc = nil
file_api_v1_common_proto_goTypes = nil
file_api_v1_common_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/idp_service.proto
......@@ -14,6 +14,7 @@ import (
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -639,7 +640,7 @@ func (x *DeleteIdentityProviderRequest) GetName() string {
var File_api_v1_idp_service_proto protoreflect.FileDescriptor
var file_api_v1_idp_service_proto_rawDesc = []byte{
var file_api_v1_idp_service_proto_rawDesc = string([]byte{
0x0a, 0x18, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x64, 0x70, 0x5f, 0x73, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x6d, 0x6f,
0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
......@@ -794,16 +795,16 @@ var file_api_v1_idp_service_proto_rawDesc = []byte{
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_idp_service_proto_rawDescOnce sync.Once
file_api_v1_idp_service_proto_rawDescData = file_api_v1_idp_service_proto_rawDesc
file_api_v1_idp_service_proto_rawDescData []byte
)
func file_api_v1_idp_service_proto_rawDescGZIP() []byte {
file_api_v1_idp_service_proto_rawDescOnce.Do(func() {
file_api_v1_idp_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_idp_service_proto_rawDescData)
file_api_v1_idp_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_idp_service_proto_rawDesc), len(file_api_v1_idp_service_proto_rawDesc)))
})
return file_api_v1_idp_service_proto_rawDescData
}
......@@ -863,7 +864,7 @@ func file_api_v1_idp_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_idp_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_idp_service_proto_rawDesc), len(file_api_v1_idp_service_proto_rawDesc)),
NumEnums: 1,
NumMessages: 10,
NumExtensions: 0,
......@@ -875,7 +876,6 @@ func file_api_v1_idp_service_proto_init() {
MessageInfos: file_api_v1_idp_service_proto_msgTypes,
}.Build()
File_api_v1_idp_service_proto = out.File
file_api_v1_idp_service_proto_rawDesc = nil
file_api_v1_idp_service_proto_goTypes = nil
file_api_v1_idp_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/inbox_service.proto
......@@ -15,6 +15,7 @@ import (
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -435,7 +436,7 @@ func (x *DeleteInboxRequest) GetName() string {
var File_api_v1_inbox_service_proto protoreflect.FileDescriptor
var file_api_v1_inbox_service_proto_rawDesc = []byte{
var file_api_v1_inbox_service_proto_rawDesc = string([]byte{
0x0a, 0x1a, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x62, 0x6f, 0x78, 0x5f, 0x73,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65,
0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
......@@ -534,16 +535,16 @@ var file_api_v1_inbox_service_proto_rawDesc = []byte{
0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65, 0x6d, 0x6f,
0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
})
var (
file_api_v1_inbox_service_proto_rawDescOnce sync.Once
file_api_v1_inbox_service_proto_rawDescData = file_api_v1_inbox_service_proto_rawDesc
file_api_v1_inbox_service_proto_rawDescData []byte
)
func file_api_v1_inbox_service_proto_rawDescGZIP() []byte {
file_api_v1_inbox_service_proto_rawDescOnce.Do(func() {
file_api_v1_inbox_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_inbox_service_proto_rawDescData)
file_api_v1_inbox_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_inbox_service_proto_rawDesc), len(file_api_v1_inbox_service_proto_rawDesc)))
})
return file_api_v1_inbox_service_proto_rawDescData
}
......@@ -592,7 +593,7 @@ func file_api_v1_inbox_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_inbox_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_inbox_service_proto_rawDesc), len(file_api_v1_inbox_service_proto_rawDesc)),
NumEnums: 2,
NumMessages: 5,
NumExtensions: 0,
......@@ -604,7 +605,6 @@ func file_api_v1_inbox_service_proto_init() {
MessageInfos: file_api_v1_inbox_service_proto_msgTypes,
}.Build()
File_api_v1_inbox_service_proto = out.File
file_api_v1_inbox_service_proto_rawDesc = nil
file_api_v1_inbox_service_proto_goTypes = nil
file_api_v1_inbox_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/markdown_service.proto
......@@ -12,6 +12,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -2713,7 +2714,7 @@ func (x *TableNode_Row) GetCells() []*Node {
var File_api_v1_markdown_service_proto protoreflect.FileDescriptor
var file_api_v1_markdown_service_proto_rawDesc = []byte{
var file_api_v1_markdown_service_proto_rawDesc = string([]byte{
0x0a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77,
0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67,
......@@ -3120,16 +3121,16 @@ var file_api_v1_markdown_service_proto_rawDesc = []byte{
0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,
0x02, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_markdown_service_proto_rawDescOnce sync.Once
file_api_v1_markdown_service_proto_rawDescData = file_api_v1_markdown_service_proto_rawDesc
file_api_v1_markdown_service_proto_rawDescData []byte
)
func file_api_v1_markdown_service_proto_rawDescGZIP() []byte {
file_api_v1_markdown_service_proto_rawDescOnce.Do(func() {
file_api_v1_markdown_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_markdown_service_proto_rawDescData)
file_api_v1_markdown_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_markdown_service_proto_rawDesc), len(file_api_v1_markdown_service_proto_rawDesc)))
})
return file_api_v1_markdown_service_proto_rawDescData
}
......@@ -3288,7 +3289,7 @@ func file_api_v1_markdown_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_markdown_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_markdown_service_proto_rawDesc), len(file_api_v1_markdown_service_proto_rawDesc)),
NumEnums: 2,
NumMessages: 42,
NumExtensions: 0,
......@@ -3300,7 +3301,6 @@ func file_api_v1_markdown_service_proto_init() {
MessageInfos: file_api_v1_markdown_service_proto_msgTypes,
}.Build()
File_api_v1_markdown_service_proto = out.File
file_api_v1_markdown_service_proto_rawDesc = nil
file_api_v1_markdown_service_proto_goTypes = nil
file_api_v1_markdown_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/memo_relation_service.proto
......@@ -12,6 +12,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -199,7 +200,7 @@ func (x *MemoRelation_Memo) GetSnippet() string {
var File_api_v1_memo_relation_service_proto protoreflect.FileDescriptor
var file_api_v1_memo_relation_service_proto_rawDesc = []byte{
var file_api_v1_memo_relation_service_proto_rawDesc = string([]byte{
0x0a, 0x22, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x5f, 0x72, 0x65,
0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,
......@@ -238,16 +239,16 @@ var file_api_v1_memo_relation_service_proto_rawDesc = []byte{
0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d,
0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_memo_relation_service_proto_rawDescOnce sync.Once
file_api_v1_memo_relation_service_proto_rawDescData = file_api_v1_memo_relation_service_proto_rawDesc
file_api_v1_memo_relation_service_proto_rawDescData []byte
)
func file_api_v1_memo_relation_service_proto_rawDescGZIP() []byte {
file_api_v1_memo_relation_service_proto_rawDescOnce.Do(func() {
file_api_v1_memo_relation_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_memo_relation_service_proto_rawDescData)
file_api_v1_memo_relation_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_memo_relation_service_proto_rawDesc), len(file_api_v1_memo_relation_service_proto_rawDesc)))
})
return file_api_v1_memo_relation_service_proto_rawDescData
}
......@@ -279,7 +280,7 @@ func file_api_v1_memo_relation_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_memo_relation_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_memo_relation_service_proto_rawDesc), len(file_api_v1_memo_relation_service_proto_rawDesc)),
NumEnums: 1,
NumMessages: 2,
NumExtensions: 0,
......@@ -291,7 +292,6 @@ func file_api_v1_memo_relation_service_proto_init() {
MessageInfos: file_api_v1_memo_relation_service_proto_msgTypes,
}.Build()
File_api_v1_memo_relation_service_proto = out.File
file_api_v1_memo_relation_service_proto_rawDesc = nil
file_api_v1_memo_relation_service_proto_goTypes = nil
file_api_v1_memo_relation_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/memo_service.proto
......@@ -15,6 +15,7 @@ import (
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -1534,7 +1535,7 @@ func (x *DeleteMemoReactionRequest) GetId() int32 {
var File_api_v1_memo_service_proto protoreflect.FileDescriptor
var file_api_v1_memo_service_proto_rawDesc = []byte{
var file_api_v1_memo_service_proto_rawDesc = string([]byte{
0x0a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x5f, 0x73, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x6d,
0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x13, 0x61, 0x70, 0x69, 0x2f, 0x76,
......@@ -1903,16 +1904,16 @@ var file_api_v1_memo_service_proto_rawDesc = []byte{
0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0xea, 0x02, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56,
0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_memo_service_proto_rawDescOnce sync.Once
file_api_v1_memo_service_proto_rawDescData = file_api_v1_memo_service_proto_rawDesc
file_api_v1_memo_service_proto_rawDescData []byte
)
func file_api_v1_memo_service_proto_rawDescGZIP() []byte {
file_api_v1_memo_service_proto_rawDescOnce.Do(func() {
file_api_v1_memo_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_memo_service_proto_rawDescData)
file_api_v1_memo_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_memo_service_proto_rawDesc), len(file_api_v1_memo_service_proto_rawDesc)))
})
return file_api_v1_memo_service_proto_rawDescData
}
......@@ -2039,7 +2040,7 @@ func file_api_v1_memo_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_memo_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_memo_service_proto_rawDesc), len(file_api_v1_memo_service_proto_rawDesc)),
NumEnums: 1,
NumMessages: 25,
NumExtensions: 0,
......@@ -2051,7 +2052,6 @@ func file_api_v1_memo_service_proto_init() {
MessageInfos: file_api_v1_memo_service_proto_msgTypes,
}.Build()
File_api_v1_memo_service_proto = out.File
file_api_v1_memo_service_proto_rawDesc = nil
file_api_v1_memo_service_proto_goTypes = nil
file_api_v1_memo_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/reaction_service.proto
......@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -94,7 +95,7 @@ func (x *Reaction) GetReactionType() string {
var File_api_v1_reaction_service_proto protoreflect.FileDescriptor
var file_api_v1_reaction_service_proto_rawDesc = []byte{
var file_api_v1_reaction_service_proto_rawDesc = string([]byte{
0x0a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f,
0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x22, 0x78, 0x0a,
......@@ -117,16 +118,16 @@ var file_api_v1_reaction_service_proto_rawDesc = []byte{
0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41,
0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_reaction_service_proto_rawDescOnce sync.Once
file_api_v1_reaction_service_proto_rawDescData = file_api_v1_reaction_service_proto_rawDesc
file_api_v1_reaction_service_proto_rawDescData []byte
)
func file_api_v1_reaction_service_proto_rawDescGZIP() []byte {
file_api_v1_reaction_service_proto_rawDescOnce.Do(func() {
file_api_v1_reaction_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_reaction_service_proto_rawDescData)
file_api_v1_reaction_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_reaction_service_proto_rawDesc), len(file_api_v1_reaction_service_proto_rawDesc)))
})
return file_api_v1_reaction_service_proto_rawDescData
}
......@@ -152,7 +153,7 @@ func file_api_v1_reaction_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_reaction_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_reaction_service_proto_rawDesc), len(file_api_v1_reaction_service_proto_rawDesc)),
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
......@@ -163,7 +164,6 @@ func file_api_v1_reaction_service_proto_init() {
MessageInfos: file_api_v1_reaction_service_proto_msgTypes,
}.Build()
File_api_v1_reaction_service_proto = out.File
file_api_v1_reaction_service_proto_rawDesc = nil
file_api_v1_reaction_service_proto_goTypes = nil
file_api_v1_reaction_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/resource_service.proto
......@@ -16,6 +16,7 @@ import (
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -521,7 +522,7 @@ func (x *DeleteResourceRequest) GetName() string {
var File_api_v1_resource_service_proto protoreflect.FileDescriptor
var file_api_v1_resource_service_proto_rawDesc = []byte{
var file_api_v1_resource_service_proto_rawDesc = string([]byte{
0x0a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67,
......@@ -660,16 +661,16 @@ var file_api_v1_resource_service_proto_rawDesc = []byte{
0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a,
0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_resource_service_proto_rawDescOnce sync.Once
file_api_v1_resource_service_proto_rawDescData = file_api_v1_resource_service_proto_rawDesc
file_api_v1_resource_service_proto_rawDescData []byte
)
func file_api_v1_resource_service_proto_rawDescGZIP() []byte {
file_api_v1_resource_service_proto_rawDescOnce.Do(func() {
file_api_v1_resource_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_resource_service_proto_rawDescData)
file_api_v1_resource_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_resource_service_proto_rawDesc), len(file_api_v1_resource_service_proto_rawDesc)))
})
return file_api_v1_resource_service_proto_rawDescData
}
......@@ -727,7 +728,7 @@ func file_api_v1_resource_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_resource_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_resource_service_proto_rawDesc), len(file_api_v1_resource_service_proto_rawDesc)),
NumEnums: 0,
NumMessages: 9,
NumExtensions: 0,
......@@ -738,7 +739,6 @@ func file_api_v1_resource_service_proto_init() {
MessageInfos: file_api_v1_resource_service_proto_msgTypes,
}.Build()
File_api_v1_resource_service_proto = out.File
file_api_v1_resource_service_proto_rawDesc = nil
file_api_v1_resource_service_proto_goTypes = nil
file_api_v1_resource_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/user_service.proto
......@@ -16,6 +16,7 @@ import (
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -1333,7 +1334,7 @@ func (x *UserStats_MemoTypeStats) GetUndoCount() int32 {
var File_api_v1_user_service_proto protoreflect.FileDescriptor
var file_api_v1_user_service_proto_rawDesc = []byte{
var file_api_v1_user_service_proto_rawDesc = string([]byte{
0x0a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65,
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x6d,
0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x13, 0x61, 0x70, 0x69, 0x2f, 0x76,
......@@ -1641,16 +1642,16 @@ var file_api_v1_user_service_proto_rawDesc = []byte{
0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d,
0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_user_service_proto_rawDescOnce sync.Once
file_api_v1_user_service_proto_rawDescData = file_api_v1_user_service_proto_rawDesc
file_api_v1_user_service_proto_rawDescData []byte
)
func file_api_v1_user_service_proto_rawDescGZIP() []byte {
file_api_v1_user_service_proto_rawDescOnce.Do(func() {
file_api_v1_user_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_user_service_proto_rawDescData)
file_api_v1_user_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_user_service_proto_rawDesc), len(file_api_v1_user_service_proto_rawDesc)))
})
return file_api_v1_user_service_proto_rawDescData
}
......@@ -1756,7 +1757,7 @@ func file_api_v1_user_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_user_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_user_service_proto_rawDesc), len(file_api_v1_user_service_proto_rawDesc)),
NumEnums: 1,
NumMessages: 24,
NumExtensions: 0,
......@@ -1768,7 +1769,6 @@ func file_api_v1_user_service_proto_init() {
MessageInfos: file_api_v1_user_service_proto_msgTypes,
}.Build()
File_api_v1_user_service_proto = out.File
file_api_v1_user_service_proto_rawDesc = nil
file_api_v1_user_service_proto_goTypes = nil
file_api_v1_user_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/webhook_service.proto
......@@ -15,6 +15,7 @@ import (
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -472,7 +473,7 @@ func (x *WebhookRequestPayload) GetMemo() *Memo {
var File_api_v1_webhook_service_proto protoreflect.FileDescriptor
var file_api_v1_webhook_service_proto_rawDesc = []byte{
var file_api_v1_webhook_service_proto_rawDesc = string([]byte{
0x0a, 0x1c, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c,
0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x61, 0x70,
......@@ -588,16 +589,16 @@ var file_api_v1_webhook_service_proto_rawDesc = []byte{
0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65, 0x6d,
0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_webhook_service_proto_rawDescOnce sync.Once
file_api_v1_webhook_service_proto_rawDescData = file_api_v1_webhook_service_proto_rawDesc
file_api_v1_webhook_service_proto_rawDescData []byte
)
func file_api_v1_webhook_service_proto_rawDescGZIP() []byte {
file_api_v1_webhook_service_proto_rawDescOnce.Do(func() {
file_api_v1_webhook_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_webhook_service_proto_rawDescData)
file_api_v1_webhook_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_webhook_service_proto_rawDesc), len(file_api_v1_webhook_service_proto_rawDesc)))
})
return file_api_v1_webhook_service_proto_rawDescData
}
......@@ -652,7 +653,7 @@ func file_api_v1_webhook_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_webhook_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_webhook_service_proto_rawDesc), len(file_api_v1_webhook_service_proto_rawDesc)),
NumEnums: 0,
NumMessages: 8,
NumExtensions: 0,
......@@ -663,7 +664,6 @@ func file_api_v1_webhook_service_proto_init() {
MessageInfos: file_api_v1_webhook_service_proto_msgTypes,
}.Build()
File_api_v1_webhook_service_proto = out.File
file_api_v1_webhook_service_proto_rawDesc = nil
file_api_v1_webhook_service_proto_goTypes = nil
file_api_v1_webhook_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/workspace_service.proto
......@@ -12,6 +12,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -132,7 +133,7 @@ func (*GetWorkspaceProfileRequest) Descriptor() ([]byte, []int) {
var File_api_v1_workspace_service_proto protoreflect.FileDescriptor
var file_api_v1_workspace_service_proto_rawDesc = []byte{
var file_api_v1_workspace_service_proto_rawDesc = string([]byte{
0x0a, 0x1e, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c,
......@@ -169,16 +170,16 @@ var file_api_v1_workspace_service_proto_rawDesc = []byte{
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_workspace_service_proto_rawDescOnce sync.Once
file_api_v1_workspace_service_proto_rawDescData = file_api_v1_workspace_service_proto_rawDesc
file_api_v1_workspace_service_proto_rawDescData []byte
)
func file_api_v1_workspace_service_proto_rawDescGZIP() []byte {
file_api_v1_workspace_service_proto_rawDescOnce.Do(func() {
file_api_v1_workspace_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_workspace_service_proto_rawDescData)
file_api_v1_workspace_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_workspace_service_proto_rawDesc), len(file_api_v1_workspace_service_proto_rawDesc)))
})
return file_api_v1_workspace_service_proto_rawDescData
}
......@@ -207,7 +208,7 @@ func file_api_v1_workspace_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_workspace_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_workspace_service_proto_rawDesc), len(file_api_v1_workspace_service_proto_rawDesc)),
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
......@@ -218,7 +219,6 @@ func file_api_v1_workspace_service_proto_init() {
MessageInfos: file_api_v1_workspace_service_proto_msgTypes,
}.Build()
File_api_v1_workspace_service_proto = out.File
file_api_v1_workspace_service_proto_rawDesc = nil
file_api_v1_workspace_service_proto_goTypes = nil
file_api_v1_workspace_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: api/v1/workspace_setting_service.proto
......@@ -12,6 +12,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -756,7 +757,7 @@ func (x *WorkspaceStorageSetting_S3Config) GetUsePathStyle() bool {
var File_api_v1_workspace_setting_service_proto protoreflect.FileDescriptor
var file_api_v1_workspace_setting_service_proto_rawDesc = []byte{
var file_api_v1_workspace_setting_service_proto_rawDesc = string([]byte{
0x0a, 0x26, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
0x63, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
......@@ -940,16 +941,16 @@ var file_api_v1_workspace_setting_service_proto_rawDesc = []byte{
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_api_v1_workspace_setting_service_proto_rawDescOnce sync.Once
file_api_v1_workspace_setting_service_proto_rawDescData = file_api_v1_workspace_setting_service_proto_rawDesc
file_api_v1_workspace_setting_service_proto_rawDescData []byte
)
func file_api_v1_workspace_setting_service_proto_rawDescGZIP() []byte {
file_api_v1_workspace_setting_service_proto_rawDescOnce.Do(func() {
file_api_v1_workspace_setting_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_workspace_setting_service_proto_rawDescData)
file_api_v1_workspace_setting_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_workspace_setting_service_proto_rawDesc), len(file_api_v1_workspace_setting_service_proto_rawDesc)))
})
return file_api_v1_workspace_setting_service_proto_rawDescData
}
......@@ -1000,7 +1001,7 @@ func file_api_v1_workspace_setting_service_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v1_workspace_setting_service_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_workspace_setting_service_proto_rawDesc), len(file_api_v1_workspace_setting_service_proto_rawDesc)),
NumEnums: 1,
NumMessages: 8,
NumExtensions: 0,
......@@ -1012,7 +1013,6 @@ func file_api_v1_workspace_setting_service_proto_init() {
MessageInfos: file_api_v1_workspace_setting_service_proto_msgTypes,
}.Build()
File_api_v1_workspace_setting_service_proto = out.File
file_api_v1_workspace_setting_service_proto_rawDesc = nil
file_api_v1_workspace_setting_service_proto_goTypes = nil
file_api_v1_workspace_setting_service_proto_depIdxs = nil
}
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: store/activity.proto
......@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -170,7 +171,7 @@ func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload {
var File_store_activity_proto protoreflect.FileDescriptor
var file_store_activity_proto_rawDesc = []byte{
var file_store_activity_proto_rawDesc = string([]byte{
0x0a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74,
0x6f, 0x72, 0x65, 0x22, 0x5d, 0x0a, 0x1a, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d,
......@@ -205,16 +206,16 @@ var file_store_activity_proto_rawDesc = []byte{
0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x4d, 0x65, 0x6d,
0x6f, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
})
var (
file_store_activity_proto_rawDescOnce sync.Once
file_store_activity_proto_rawDescData = file_store_activity_proto_rawDesc
file_store_activity_proto_rawDescData []byte
)
func file_store_activity_proto_rawDescGZIP() []byte {
file_store_activity_proto_rawDescOnce.Do(func() {
file_store_activity_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_activity_proto_rawDescData)
file_store_activity_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_store_activity_proto_rawDesc), len(file_store_activity_proto_rawDesc)))
})
return file_store_activity_proto_rawDescData
}
......@@ -244,7 +245,7 @@ func file_store_activity_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_store_activity_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_activity_proto_rawDesc), len(file_store_activity_proto_rawDesc)),
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
......@@ -255,7 +256,6 @@ func file_store_activity_proto_init() {
MessageInfos: file_store_activity_proto_msgTypes,
}.Build()
File_store_activity_proto = out.File
file_store_activity_proto_rawDesc = nil
file_store_activity_proto_goTypes = nil
file_store_activity_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: store/idp.proto
......@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -362,7 +363,7 @@ func (x *OAuth2Config) GetFieldMapping() *FieldMapping {
var File_store_idp_proto protoreflect.FileDescriptor
var file_store_idp_proto_rawDesc = []byte{
var file_store_idp_proto_rawDesc = string([]byte{
0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x64, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x22, 0x82,
0x02, 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69,
......@@ -421,16 +422,16 @@ var file_store_idp_proto_rawDesc = []byte{
0x74, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0xea, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_store_idp_proto_rawDescOnce sync.Once
file_store_idp_proto_rawDescData = file_store_idp_proto_rawDesc
file_store_idp_proto_rawDescData []byte
)
func file_store_idp_proto_rawDescGZIP() []byte {
file_store_idp_proto_rawDescOnce.Do(func() {
file_store_idp_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_idp_proto_rawDescData)
file_store_idp_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_store_idp_proto_rawDesc), len(file_store_idp_proto_rawDesc)))
})
return file_store_idp_proto_rawDescData
}
......@@ -468,7 +469,7 @@ func file_store_idp_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_store_idp_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_idp_proto_rawDesc), len(file_store_idp_proto_rawDesc)),
NumEnums: 1,
NumMessages: 4,
NumExtensions: 0,
......@@ -480,7 +481,6 @@ func file_store_idp_proto_init() {
MessageInfos: file_store_idp_proto_msgTypes,
}.Build()
File_store_idp_proto = out.File
file_store_idp_proto_rawDesc = nil
file_store_idp_proto_goTypes = nil
file_store_idp_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: store/inbox.proto
......@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -123,7 +124,7 @@ func (x *InboxMessage) GetActivityId() int32 {
var File_store_inbox_proto protoreflect.FileDescriptor
var file_store_inbox_proto_rawDesc = []byte{
var file_store_inbox_proto_rawDesc = string([]byte{
0x0a, 0x11, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x69, 0x6e, 0x62, 0x6f, 0x78, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65,
0x22, 0xbc, 0x01, 0x0a, 0x0c, 0x49, 0x6e, 0x62, 0x6f, 0x78, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
......@@ -148,16 +149,16 @@ var file_store_inbox_proto_rawDesc = []byte{
0x17, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42,
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73,
0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_store_inbox_proto_rawDescOnce sync.Once
file_store_inbox_proto_rawDescData = file_store_inbox_proto_rawDesc
file_store_inbox_proto_rawDescData []byte
)
func file_store_inbox_proto_rawDescGZIP() []byte {
file_store_inbox_proto_rawDescOnce.Do(func() {
file_store_inbox_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_inbox_proto_rawDescData)
file_store_inbox_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_store_inbox_proto_rawDesc), len(file_store_inbox_proto_rawDesc)))
})
return file_store_inbox_proto_rawDescData
}
......@@ -187,7 +188,7 @@ func file_store_inbox_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_store_inbox_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_inbox_proto_rawDesc), len(file_store_inbox_proto_rawDesc)),
NumEnums: 1,
NumMessages: 1,
NumExtensions: 0,
......@@ -199,7 +200,6 @@ func file_store_inbox_proto_init() {
MessageInfos: file_store_inbox_proto_msgTypes,
}.Build()
File_store_inbox_proto = out.File
file_store_inbox_proto_rawDesc = nil
file_store_inbox_proto_goTypes = nil
file_store_inbox_proto_depIdxs = nil
}
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: store/resource.proto
......@@ -12,6 +12,7 @@ import (
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -204,7 +205,7 @@ func (x *ResourcePayload_S3Object) GetLastPresignedTime() *timestamppb.Timestamp
var File_store_resource_proto protoreflect.FileDescriptor
var file_store_resource_proto_rawDesc = []byte{
var file_store_resource_proto_rawDesc = string([]byte{
0x0a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74,
0x6f, 0x72, 0x65, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
......@@ -244,16 +245,16 @@ var file_store_resource_proto_rawDesc = []byte{
0x02, 0x17, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50,
0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f,
0x73, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_store_resource_proto_rawDescOnce sync.Once
file_store_resource_proto_rawDescData = file_store_resource_proto_rawDesc
file_store_resource_proto_rawDescData []byte
)
func file_store_resource_proto_rawDescGZIP() []byte {
file_store_resource_proto_rawDescOnce.Do(func() {
file_store_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_resource_proto_rawDescData)
file_store_resource_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_store_resource_proto_rawDesc), len(file_store_resource_proto_rawDesc)))
})
return file_store_resource_proto_rawDescData
}
......@@ -291,7 +292,7 @@ func file_store_resource_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_store_resource_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_resource_proto_rawDesc), len(file_store_resource_proto_rawDesc)),
NumEnums: 1,
NumMessages: 2,
NumExtensions: 0,
......@@ -303,7 +304,6 @@ func file_store_resource_proto_init() {
MessageInfos: file_store_resource_proto_msgTypes,
}.Build()
File_store_resource_proto = out.File
file_store_resource_proto_rawDesc = nil
file_store_resource_proto_goTypes = nil
file_store_resource_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: store/user_setting.proto
......@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -310,7 +311,7 @@ func (x *AccessTokensUserSetting_AccessToken) GetDescription() string {
var File_store_user_setting_proto protoreflect.FileDescriptor
var file_store_user_setting_proto_rawDesc = []byte{
var file_store_user_setting_proto_rawDesc = string([]byte{
0x0a, 0x18, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74,
0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f,
0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x22, 0x92, 0x02, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72,
......@@ -362,16 +363,16 @@ var file_store_user_setting_proto_rawDesc = []byte{
0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x4d, 0x65, 0x6d,
0x6f, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
})
var (
file_store_user_setting_proto_rawDescOnce sync.Once
file_store_user_setting_proto_rawDescData = file_store_user_setting_proto_rawDesc
file_store_user_setting_proto_rawDescData []byte
)
func file_store_user_setting_proto_rawDescGZIP() []byte {
file_store_user_setting_proto_rawDescOnce.Do(func() {
file_store_user_setting_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_user_setting_proto_rawDescData)
file_store_user_setting_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_store_user_setting_proto_rawDesc), len(file_store_user_setting_proto_rawDesc)))
})
return file_store_user_setting_proto_rawDescData
}
......@@ -410,7 +411,7 @@ func file_store_user_setting_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_store_user_setting_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_user_setting_proto_rawDesc), len(file_store_user_setting_proto_rawDesc)),
NumEnums: 1,
NumMessages: 3,
NumExtensions: 0,
......@@ -422,7 +423,6 @@ func file_store_user_setting_proto_init() {
MessageInfos: file_store_user_setting_proto_msgTypes,
}.Build()
File_store_user_setting_proto = out.File
file_store_user_setting_proto_rawDesc = nil
file_store_user_setting_proto_goTypes = nil
file_store_user_setting_proto_depIdxs = nil
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.3
// protoc-gen-go v1.36.4
// protoc (unknown)
// source: store/workspace_setting.proto
......@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
......@@ -791,7 +792,7 @@ func (x *WorkspaceMemoRelatedSetting) GetDisableMarkdownShortcuts() bool {
var File_store_workspace_setting_proto protoreflect.FileDescriptor
var file_store_workspace_setting_proto_rawDesc = []byte{
var file_store_workspace_setting_proto_rawDesc = string([]byte{
0x0a, 0x1d, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
0x65, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x22, 0x9a, 0x03, 0x0a,
......@@ -956,16 +957,16 @@ var file_store_workspace_setting_proto_rawDesc = []byte{
0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c,
0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
})
var (
file_store_workspace_setting_proto_rawDescOnce sync.Once
file_store_workspace_setting_proto_rawDescData = file_store_workspace_setting_proto_rawDesc
file_store_workspace_setting_proto_rawDescData []byte
)
func file_store_workspace_setting_proto_rawDescGZIP() []byte {
file_store_workspace_setting_proto_rawDescOnce.Do(func() {
file_store_workspace_setting_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_workspace_setting_proto_rawDescData)
file_store_workspace_setting_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_store_workspace_setting_proto_rawDesc), len(file_store_workspace_setting_proto_rawDesc)))
})
return file_store_workspace_setting_proto_rawDescData
}
......@@ -1014,7 +1015,7 @@ func file_store_workspace_setting_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_store_workspace_setting_proto_rawDesc,
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_workspace_setting_proto_rawDesc), len(file_store_workspace_setting_proto_rawDesc)),
NumEnums: 2,
NumMessages: 7,
NumExtensions: 0,
......@@ -1026,7 +1027,6 @@ func file_store_workspace_setting_proto_init() {
MessageInfos: file_store_workspace_setting_proto_msgTypes,
}.Build()
File_store_workspace_setting_proto = out.File
file_store_workspace_setting_proto_rawDesc = nil
file_store_workspace_setting_proto_goTypes = nil
file_store_workspace_setting_proto_depIdxs = nil
}
......@@ -11,14 +11,16 @@ message MemoPayload {
repeated string tags = 3;
// The references of the memo. Should be a list of uuid.
repeated string references = 4;
bool pinned = 4;
// The calculated properties from the memo content.
message Property {
bool has_link = 1;
bool has_task_list = 2;
bool has_code = 3;
bool has_incomplete_tasks = 4;
// The references of the memo. Should be a list of uuid.
repeated string references = 5;
}
message Location {
......
......@@ -56,7 +56,6 @@ func RebuildMemoPayload(memo *store.Memo) error {
memo.Payload = &storepb.MemoPayload{}
}
tags := []string{}
references := []string{}
property := &storepb.MemoPayload_Property{}
TraverseASTNodes(nodes, func(node ast.Node) {
switch n := node.(type) {
......@@ -76,11 +75,10 @@ func RebuildMemoPayload(memo *store.Memo) error {
property.HasCode = true
case *ast.EmbeddedContent:
// TODO: validate references.
references = append(references, n.ResourceName)
property.References = append(property.References, n.ResourceName)
}
})
memo.Payload.Tags = tags
memo.Payload.References = references
memo.Payload.Property = property
return nil
}
......
......@@ -242,7 +242,7 @@ func (d *DB) UpdateMemo(ctx context.Context, update *store.UpdateMemo) error {
}
set, args = append(set, "`payload` = ?"), append(args, string(payloadBytes))
}
if len(args) == 0 {
if len(set) == 0 {
return nil
}
args = append(args, update.ID)
......
......@@ -233,7 +233,7 @@ func (d *DB) UpdateMemo(ctx context.Context, update *store.UpdateMemo) error {
}
set, args = append(set, "payload = "+placeholder(len(args)+1)), append(args, string(payloadBytes))
}
if len(args) == 0 {
if len(set) == 0 {
return nil
}
......
......@@ -220,7 +220,7 @@ func (d *DB) UpdateMemo(ctx context.Context, update *store.UpdateMemo) error {
}
set, args = append(set, "`payload` = ?"), append(args, string(payloadBytes))
}
if len(args) == 0 {
if len(set) == 0 {
return nil
}
args = append(args, update.ID)
......
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