Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: move references to memo property
johnnyjoy2058a8ab7bfb
diff --git a/proto/gen/api/v1/activity_service.pb.go b/proto/gen/api/v1/activity_service.pb.goindex 4ac334dd1..c9c746720 100644--- a/proto/gen/api/v1/activity_service.pb.go+++ b/proto/gen/api/v1/activity_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_activity_service_proto_goTypes = nilfile_api_v1_activity_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/auth_service.pb.go b/proto/gen/api/v1/auth_service.pb.goindex 5e9f975cf..c7505ca09 100644--- a/proto/gen/api/v1/auth_service.pb.go+++ b/proto/gen/api/v1/auth_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_auth_service_proto_goTypes = nilfile_api_v1_auth_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/common.pb.go b/proto/gen/api/v1/common.pb.goindex 5efe7619e..b9ce6a8f9 100644--- a/proto/gen/api/v1/common.pb.go+++ b/proto/gen/api/v1/common.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_common_proto_goTypes = nilfile_api_v1_common_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/idp_service.pb.go b/proto/gen/api/v1/idp_service.pb.goindex 11481a1ea..e843217f8 100644--- a/proto/gen/api/v1/idp_service.pb.go+++ b/proto/gen/api/v1/idp_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_idp_service_proto_goTypes = nilfile_api_v1_idp_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/inbox_service.pb.go b/proto/gen/api/v1/inbox_service.pb.goindex fc32761e9..221375c0b 100644--- a/proto/gen/api/v1/inbox_service.pb.go+++ b/proto/gen/api/v1/inbox_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_inbox_service_proto_goTypes = nilfile_api_v1_inbox_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/markdown_service.pb.go b/proto/gen/api/v1/markdown_service.pb.goindex 9298a5211..3830d92a4 100644--- a/proto/gen/api/v1/markdown_service.pb.go+++ b/proto/gen/api/v1/markdown_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_markdown_service_proto_goTypes = nilfile_api_v1_markdown_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/memo_relation_service.pb.go b/proto/gen/api/v1/memo_relation_service.pb.goindex 50132678d..6900f8b1b 100644--- a/proto/gen/api/v1/memo_relation_service.pb.go+++ b/proto/gen/api/v1/memo_relation_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_memo_relation_service_proto_goTypes = nilfile_api_v1_memo_relation_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/memo_service.pb.go b/proto/gen/api/v1/memo_service.pb.goindex 17044188b..89dbbdc69 100644--- a/proto/gen/api/v1/memo_service.pb.go+++ b/proto/gen/api/v1/memo_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_memo_service_proto_goTypes = nilfile_api_v1_memo_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/reaction_service.pb.go b/proto/gen/api/v1/reaction_service.pb.goindex b6255796a..8edaa0322 100644--- a/proto/gen/api/v1/reaction_service.pb.go+++ b/proto/gen/api/v1/reaction_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_reaction_service_proto_goTypes = nilfile_api_v1_reaction_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/resource_service.pb.go b/proto/gen/api/v1/resource_service.pb.goindex 1a94704c2..ff07398bf 100644--- a/proto/gen/api/v1/resource_service.pb.go+++ b/proto/gen/api/v1/resource_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_resource_service_proto_goTypes = nilfile_api_v1_resource_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/user_service.pb.go b/proto/gen/api/v1/user_service.pb.goindex 154aa41b5..4ef29ff08 100644--- a/proto/gen/api/v1/user_service.pb.go+++ b/proto/gen/api/v1/user_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_user_service_proto_goTypes = nilfile_api_v1_user_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/webhook_service.pb.go b/proto/gen/api/v1/webhook_service.pb.goindex 4242b7665..106bc5480 100644--- a/proto/gen/api/v1/webhook_service.pb.go+++ b/proto/gen/api/v1/webhook_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_webhook_service_proto_goTypes = nilfile_api_v1_webhook_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/workspace_service.pb.go b/proto/gen/api/v1/workspace_service.pb.goindex 11c3361f8..b1edba828 100644--- a/proto/gen/api/v1/workspace_service.pb.go+++ b/proto/gen/api/v1/workspace_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_workspace_service_proto_goTypes = nilfile_api_v1_workspace_service_proto_depIdxs = nil}diff --git a/proto/gen/api/v1/workspace_setting_service.pb.go b/proto/gen/api/v1/workspace_setting_service.pb.goindex 94620ca37..e84bd3f6f 100644--- a/proto/gen/api/v1/workspace_setting_service.pb.go+++ b/proto/gen/api/v1/workspace_setting_service.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_api_v1_workspace_setting_service_proto_goTypes = nilfile_api_v1_workspace_setting_service_proto_depIdxs = nil}diff --git a/proto/gen/apidocs.swagger.yaml b/proto/gen/apidocs.swagger.yamlindex 8646db52d..3b30911e9 100644--- a/proto/gen/apidocs.swagger.yaml+++ b/proto/gen/apidocs.swagger.yaml@@ -311,16 +311,12 @@ paths:type: integerformat: int32- name: pageToken- description: |-- A page token, received from a previous `ListMemos` call.- Provide this to retrieve the subsequent page.+ description: "A page token, received from a previous `ListMemos` call.\r\nProvide this to retrieve the subsequent page."in: queryrequired: falsetype: string- name: filter- description: |-- Filter is used to filter memos returned in the list.- Format: "creator == 'users/{user}' && visibilities == ['PUBLIC', 'PROTECTED']"+ description: "Filter is used to filter memos returned in the list.\r\nFormat: \"creator == 'users/{user}' && visibilities == ['PUBLIC', 'PROTECTED']\""in: queryrequired: falsetype: string@@ -383,9 +379,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: id- description: |-- The id of the reaction.- Refer to the `Reaction.id`.+ description: "The id of the reaction.\r\nRefer to the `Reaction.id`."in: pathrequired: truetype: integer@@ -678,9 +672,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The resource name of the workspace setting.- Format: settings/{setting}+ description: "The resource name of the workspace setting.\r\nFormat: settings/{setting}"in: pathrequired: truetype: string@@ -702,9 +694,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: setting.name- description: |-- name is the name of the setting.- Format: settings/{setting}+ description: "name is the name of the setting.\r\nFormat: settings/{setting}"in: pathrequired: truetype: string@@ -826,10 +816,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: memo.name- description: |-- The name of the memo.- Format: memos/{id}- id is the system generated id.+ description: "The name of the memo.\r\nFormat: memos/{id}\r\nid is the system generated id."in: pathrequired: truetype: string@@ -847,9 +834,7 @@ paths:$ref: '#/definitions/v1State'creator:type: string- title: |-- The name of the creator.- Format: users/{user}+ title: "The name of the creator.\r\nFormat: users/{user}"createTime:type: stringformat: date-time@@ -897,9 +882,7 @@ paths:readOnly: trueparent:type: string- title: |-- The name of the parent memo.- Format: memos/{id}+ title: "The name of the parent memo.\r\nFormat: memos/{id}"readOnly: truesnippet:type: string@@ -1071,9 +1054,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name_4- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1095,9 +1076,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name_4- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1249,9 +1228,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1272,9 +1249,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1301,9 +1276,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1324,9 +1297,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1353,9 +1324,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1377,9 +1346,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1406,9 +1373,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1430,9 +1395,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1508,9 +1471,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: parent- description: |-- The parent, who owns the tags.- Format: memos/{id}. Use "memos/-" to delete all tags.+ description: "The parent, who owns the tags.\r\nFormat: memos/{id}. Use \"memos/-\" to delete all tags."in: pathrequired: truetype: string@@ -1541,9 +1502,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: parent- description: |-- The parent, who owns the tags.- Format: memos/{id}. Use "memos/-" to rename all tags.+ description: "The parent, who owns the tags.\r\nFormat: memos/{id}. Use \"memos/-\" to rename all tags."in: pathrequired: truetype: string@@ -2006,10 +1965,7 @@ definitions:properties:name:type: string- description: |-- The name of the memo.- Format: memos/{id}- id is the system generated id.+ description: "The name of the memo.\r\nFormat: memos/{id}\r\nid is the system generated id."readOnly: trueuid:type: string@@ -2018,9 +1974,7 @@ definitions:$ref: '#/definitions/v1State'creator:type: string- title: |-- The name of the creator.- Format: users/{user}+ title: "The name of the creator.\r\nFormat: users/{user}"createTime:type: stringformat: date-time@@ -2068,9 +2022,7 @@ definitions:readOnly: trueparent:type: string- title: |-- The name of the parent memo.- Format: memos/{id}+ title: "The name of the parent memo.\r\nFormat: memos/{id}"readOnly: truesnippet:type: string@@ -2149,10 +2101,7 @@ definitions:weekStartDayOffset:type: integerformat: int32- description: |-- week_start_day_offset is the week start day offset from Sunday.- 0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday- Default is Sunday.+ description: "week_start_day_offset is the week start day offset from Sunday.\r\n0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday\r\nDefault is Sunday."disallowChangeUsername:type: booleandescription: disallow_change_username disallows changing username.@@ -2203,9 +2152,7 @@ definitions:properties:name:type: string- title: |-- name is the name of the setting.- Format: settings/{setting}+ title: "name is the name of the setting.\r\nFormat: settings/{setting}"generalSetting:$ref: '#/definitions/apiv1WorkspaceGeneralSetting'storageSetting:@@ -2220,9 +2167,7 @@ definitions:description: storage_type is the storage type.filepathTemplate:type: string- title: |-- The template of file path.- e.g. assets/{timestamp}_{filename}+ title: "The template of file path.\r\ne.g. assets/{timestamp}_{filename}"uploadSizeLimitMb:type: stringformat: int64@@ -2656,9 +2601,7 @@ definitions:$ref: '#/definitions/apiv1Memo'nextPageToken:type: string- description: |-- A token, which can be sent as `page_token` to retrieve the next page.- If this field is omitted, there are no subsequent pages.+ description: "A token, which can be sent as `page_token` to retrieve the next page.\r\nIf this field is omitted, there are no subsequent pages."v1ListNode:type: objectproperties:diff --git a/proto/gen/store/activity.pb.go b/proto/gen/store/activity.pb.goindex 4e912b0eb..a062d5ff1 100644--- a/proto/gen/store/activity.pb.go+++ b/proto/gen/store/activity.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_store_activity_proto_goTypes = nilfile_store_activity_proto_depIdxs = nil}diff --git a/proto/gen/store/idp.pb.go b/proto/gen/store/idp.pb.goindex 838bed859..eadc36ce8 100644--- a/proto/gen/store/idp.pb.go+++ b/proto/gen/store/idp.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_store_idp_proto_goTypes = nilfile_store_idp_proto_depIdxs = nil}diff --git a/proto/gen/store/inbox.pb.go b/proto/gen/store/inbox.pb.goindex 06aead3fc..153acbbaa 100644--- a/proto/gen/store/inbox.pb.go+++ b/proto/gen/store/inbox.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_store_inbox_proto_goTypes = nilfile_store_inbox_proto_depIdxs = nil}diff --git a/proto/gen/store/memo.pb.go b/proto/gen/store/memo.pb.goindex 826bd2bac..80b76737c 100644--- a/proto/gen/store/memo.pb.go+++ b/proto/gen/store/memo.pb.go@@ -1,6 +1,6 @@// 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/memo.proto@@ -11,6 +11,7 @@ import (protoimpl "google.golang.org/protobuf/runtime/protoimpl"reflect "reflect"sync "sync"+ unsafe "unsafe")const (@@ -21,12 +22,11 @@ const ()type MemoPayload struct {- state protoimpl.MessageState `protogen:"open.v1"`- Property *MemoPayload_Property `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`- Location *MemoPayload_Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`- Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`- // The references of the memo. Should be a list of uuid.- References []string `protobuf:"bytes,4,rep,name=references,proto3" json:"references,omitempty"`+ state protoimpl.MessageState `protogen:"open.v1"`+ Property *MemoPayload_Property `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`+ Location *MemoPayload_Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`+ Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`+ Pinned bool `protobuf:"varint,4,opt,name=pinned,proto3" json:"pinned,omitempty"`unknownFields protoimpl.UnknownFieldssizeCache protoimpl.SizeCache}@@ -82,21 +82,24 @@ func (x *MemoPayload) GetTags() []string {return nil}-func (x *MemoPayload) GetReferences() []string {+func (x *MemoPayload) GetPinned() bool {if x != nil {- return x.References+ return x.Pinned}- return nil+ return false}+// The calculated properties from the memo content.type MemoPayload_Property struct {state protoimpl.MessageState `protogen:"open.v1"`HasLink bool `protobuf:"varint,1,opt,name=has_link,json=hasLink,proto3" json:"has_link,omitempty"`HasTaskList bool `protobuf:"varint,2,opt,name=has_task_list,json=hasTaskList,proto3" json:"has_task_list,omitempty"`HasCode bool `protobuf:"varint,3,opt,name=has_code,json=hasCode,proto3" json:"has_code,omitempty"`HasIncompleteTasks bool `protobuf:"varint,4,opt,name=has_incomplete_tasks,json=hasIncompleteTasks,proto3" json:"has_incomplete_tasks,omitempty"`- unknownFields protoimpl.UnknownFields- sizeCache protoimpl.SizeCache+ // The references of the memo. Should be a list of uuid.+ References []string `protobuf:"bytes,5,rep,name=references,proto3" json:"references,omitempty"`+ unknownFields protoimpl.UnknownFields+ sizeCache protoimpl.SizeCache}func (x *MemoPayload_Property) Reset() {@@ -157,6 +160,13 @@ func (x *MemoPayload_Property) GetHasIncompleteTasks() bool {return false}+func (x *MemoPayload_Property) GetReferences() []string {+ if x != nil {+ return x.References+ }+ return nil+}+type MemoPayload_Location struct {state protoimpl.MessageState `protogen:"open.v1"`Placeholder string `protobuf:"bytes,1,opt,name=placeholder,proto3" json:"placeholder,omitempty"`@@ -219,10 +229,10 @@ func (x *MemoPayload_Location) GetLongitude() float64 {var File_store_memo_proto protoreflect.FileDescriptor-var file_store_memo_proto_rawDesc = []byte{+var file_store_memo_proto_rawDesc = string([]byte{0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x2e, 0x70, 0x72, 0x6f,0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x22,- 0xc0, 0x03, 0x0a, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12,+ 0xd8, 0x03, 0x0a, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12,0x3d, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x50, 0x72, 0x6f, 0x70,@@ -232,45 +242,46 @@ var file_store_memo_proto_rawDesc = []byte{0x65, 0x6d, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74,0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67,- 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18,- 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,- 0x73, 0x1a, 0x96, 0x01, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x19,- 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,- 0x52, 0x07, 0x68, 0x61, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x61, 0x73,- 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,- 0x52, 0x0b, 0x68, 0x61, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a,- 0x08, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,- 0x07, 0x68, 0x61, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x68, 0x61, 0x73, 0x5f,- 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73,- 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x68, 0x61, 0x73, 0x49, 0x6e, 0x63, 0x6f, 0x6d,- 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x66, 0x0a, 0x08, 0x4c, 0x6f,- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68,- 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x6c, 0x61,- 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69,- 0x74, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69,- 0x74, 0x75, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64,- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75,- 0x64, 0x65, 0x42, 0x94, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,- 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x09, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x74,- 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,- 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70,- 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0xa2, 0x02,- 0x03, 0x4d, 0x53, 0x58, 0xaa, 0x02, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x53, 0x74, 0x6f,- 0x72, 0x65, 0xca, 0x02, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x65,- 0xe2, 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,-}+ 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,+ 0x08, 0x52, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x1a, 0xb6, 0x01, 0x0a, 0x08, 0x50, 0x72,+ 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x6c, 0x69,+ 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4c, 0x69, 0x6e,+ 0x6b, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6c, 0x69,+ 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x68, 0x61, 0x73, 0x54, 0x61, 0x73,+ 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x64,+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x43, 0x6f, 0x64, 0x65,+ 0x12, 0x30, 0x0a, 0x14, 0x68, 0x61, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65,+ 0x74, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12,+ 0x68, 0x61, 0x73, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73,+ 0x6b, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,+ 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,+ 0x65, 0x73, 0x1a, 0x66, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20,+ 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,+ 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72,+ 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,+ 0x28, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09,+ 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52,+ 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x42, 0x94, 0x01, 0x0a, 0x0f, 0x63,+ 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x09,+ 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74,+ 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73,+ 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e,+ 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x4d, 0x53, 0x58, 0xaa, 0x02, 0x0b, 0x4d,+ 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0b, 0x4d, 0x65, 0x6d,+ 0x6f, 0x73, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x65, 0xe2, 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_memo_proto_rawDescOnce sync.Once- file_store_memo_proto_rawDescData = file_store_memo_proto_rawDesc+ file_store_memo_proto_rawDescData []byte)func file_store_memo_proto_rawDescGZIP() []byte {file_store_memo_proto_rawDescOnce.Do(func() {- file_store_memo_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_memo_proto_rawDescData)+ file_store_memo_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_store_memo_proto_rawDesc), len(file_store_memo_proto_rawDesc)))})return file_store_memo_proto_rawDescData}@@ -300,7 +311,7 @@ func file_store_memo_proto_init() {out := protoimpl.TypeBuilder{File: protoimpl.DescBuilder{GoPackagePath: reflect.TypeOf(x{}).PkgPath(),- RawDescriptor: file_store_memo_proto_rawDesc,+ RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_memo_proto_rawDesc), len(file_store_memo_proto_rawDesc)),NumEnums: 0,NumMessages: 3,NumExtensions: 0,@@ -311,7 +322,6 @@ func file_store_memo_proto_init() {MessageInfos: file_store_memo_proto_msgTypes,}.Build()File_store_memo_proto = out.File- file_store_memo_proto_rawDesc = nilfile_store_memo_proto_goTypes = nilfile_store_memo_proto_depIdxs = nil}diff --git a/proto/gen/store/resource.pb.go b/proto/gen/store/resource.pb.goindex 99834f5cd..645aa0dc0 100644--- a/proto/gen/store/resource.pb.go+++ b/proto/gen/store/resource.pb.go@@ -1,6 +1,6 @@// 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.Timestampvar 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 = nilfile_store_resource_proto_goTypes = nilfile_store_resource_proto_depIdxs = nil}diff --git a/proto/gen/store/user_setting.pb.go b/proto/gen/store/user_setting.pb.goindex 817a9e98e..176bd9178 100644--- a/proto/gen/store/user_setting.pb.go+++ b/proto/gen/store/user_setting.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_store_user_setting_proto_goTypes = nilfile_store_user_setting_proto_depIdxs = nil}diff --git a/proto/gen/store/workspace_setting.pb.go b/proto/gen/store/workspace_setting.pb.goindex 8ed01cccf..329a80353 100644--- a/proto/gen/store/workspace_setting.pb.go+++ b/proto/gen/store/workspace_setting.pb.go@@ -1,6 +1,6 @@// 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 = nilfile_store_workspace_setting_proto_goTypes = nilfile_store_workspace_setting_proto_depIdxs = nil}diff --git a/proto/store/memo.proto b/proto/store/memo.protoindex b686cee8d..5ee09a8a9 100644--- a/proto/store/memo.proto+++ b/proto/store/memo.proto@@ -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 {diff --git a/server/runner/memopayload/runner.go b/server/runner/memopayload/runner.goindex 667568785..9526dfb9e 100644--- a/server/runner/memopayload/runner.go+++ b/server/runner/memopayload/runner.go@@ -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 = truecase *ast.EmbeddedContent:// TODO: validate references.- references = append(references, n.ResourceName)+ property.References = append(property.References, n.ResourceName)}})memo.Payload.Tags = tags- memo.Payload.References = referencesmemo.Payload.Property = propertyreturn nil}diff --git a/store/db/mysql/memo.go b/store/db/mysql/memo.goindex 40549bc7f..a1c20d630 100644--- a/store/db/mysql/memo.go+++ b/store/db/mysql/memo.go@@ -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)diff --git a/store/db/postgres/memo.go b/store/db/postgres/memo.goindex 268fb1441..fb85f7888 100644--- a/store/db/postgres/memo.go+++ b/store/db/postgres/memo.go@@ -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}diff --git a/store/db/sqlite/memo.go b/store/db/sqlite/memo.goindex 87da7f19a..38f9dca57 100644--- a/store/db/sqlite/memo.go+++ b/store/db/sqlite/memo.go@@ -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)