Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
2058a8ab
Commit
2058a8ab
authored
Jan 31, 2025
by
johnnyjoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: move references to memo property
parent
3fa69096
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
233 additions
and
280 deletions
+233
-280
activity_service.pb.go
proto/gen/api/v1/activity_service.pb.go
+7
-7
auth_service.pb.go
proto/gen/api/v1/auth_service.pb.go
+7
-7
common.pb.go
proto/gen/api/v1/common.pb.go
+7
-7
idp_service.pb.go
proto/gen/api/v1/idp_service.pb.go
+7
-7
inbox_service.pb.go
proto/gen/api/v1/inbox_service.pb.go
+7
-7
markdown_service.pb.go
proto/gen/api/v1/markdown_service.pb.go
+7
-7
memo_relation_service.pb.go
proto/gen/api/v1/memo_relation_service.pb.go
+7
-7
memo_service.pb.go
proto/gen/api/v1/memo_service.pb.go
+7
-7
reaction_service.pb.go
proto/gen/api/v1/reaction_service.pb.go
+7
-7
resource_service.pb.go
proto/gen/api/v1/resource_service.pb.go
+7
-7
user_service.pb.go
proto/gen/api/v1/user_service.pb.go
+7
-7
webhook_service.pb.go
proto/gen/api/v1/webhook_service.pb.go
+7
-7
workspace_service.pb.go
proto/gen/api/v1/workspace_service.pb.go
+7
-7
workspace_setting_service.pb.go
proto/gen/api/v1/workspace_setting_service.pb.go
+7
-7
apidocs.swagger.yaml
proto/gen/apidocs.swagger.yaml
+27
-84
activity.pb.go
proto/gen/store/activity.pb.go
+7
-7
idp.pb.go
proto/gen/store/idp.pb.go
+7
-7
inbox.pb.go
proto/gen/store/inbox.pb.go
+7
-7
memo.pb.go
proto/gen/store/memo.pb.go
+58
-48
resource.pb.go
proto/gen/store/resource.pb.go
+7
-7
user_setting.pb.go
proto/gen/store/user_setting.pb.go
+7
-7
workspace_setting.pb.go
proto/gen/store/workspace_setting.pb.go
+7
-7
memo.proto
proto/store/memo.proto
+4
-2
runner.go
server/runner/memopayload/runner.go
+1
-3
memo.go
store/db/mysql/memo.go
+1
-1
memo.go
store/db/postgres/memo.go
+1
-1
memo.go
store/db/sqlite/memo.go
+1
-1
No files found.
proto/gen/api/v1/activity_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/auth_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/common.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/idp_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/inbox_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/markdown_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/memo_relation_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/memo_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/reaction_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/resource_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/user_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/webhook_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/workspace_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/api/v1/workspace_setting_service.pb.go
View file @
2058a8ab
// 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
}
proto/gen/apidocs.swagger.yaml
View file @
2058a8ab
...
...
@@ -311,16 +311,12 @@ paths:
type
:
integer
format
:
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\n
Provide
this
to
retrieve
the
subsequent
page."
in
:
query
required
:
false
type
:
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\n
Format:
\"
creator
==
'users/{user}'
&&
visibilities
==
['PUBLIC',
'PROTECTED']
\"
"
in
:
query
required
:
false
type
:
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\n
Refer
to
the
`Reaction.id`."
in
:
path
required
:
true
type
:
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\n
Format:
settings/{setting}"
in
:
path
required
:
true
type
:
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\n
Format:
settings/{setting}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}
\r\n
id
is
the
system
generated
id."
in
:
path
required
:
true
type
:
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\n
Format:
users/{user}"
createTime
:
type
:
string
format
:
date-time
...
...
@@ -897,9 +882,7 @@ paths:
readOnly
:
true
parent
:
type
:
string
title
:
|-
The name of the parent memo.
Format: memos/{id}
title
:
"
The
name
of
the
parent
memo.
\r\n
Format:
memos/{id}"
readOnly
:
true
snippet
:
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\n
Format:
memos/{id}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}"
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}.
Use
\"
memos/-
\"
to
delete
all
tags."
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}.
Use
\"
memos/-
\"
to
rename
all
tags."
in
:
path
required
:
true
type
:
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\n
Format:
memos/{id}
\r\n
id
is
the
system
generated
id."
readOnly
:
true
uid
:
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\n
Format:
users/{user}"
createTime
:
type
:
string
format
:
date-time
...
...
@@ -2068,9 +2022,7 @@ definitions:
readOnly
:
true
parent
:
type
:
string
title
:
|-
The name of the parent memo.
Format: memos/{id}
title
:
"
The
name
of
the
parent
memo.
\r\n
Format:
memos/{id}"
readOnly
:
true
snippet
:
type
:
string
...
...
@@ -2149,10 +2101,7 @@ definitions:
weekStartDayOffset
:
type
:
integer
format
:
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\n
0:
Sunday,
1:
Monday,
2:
Tuesday,
3:
Wednesday,
4:
Thursday,
5:
Friday,
6:
Saturday
\r\n
Default
is
Sunday."
disallowChangeUsername
:
type
:
boolean
description
:
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\n
Format:
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\n
e.g.
assets/{timestamp}_{filename}"
uploadSizeLimitMb
:
type
:
string
format
:
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\n
If
this
field
is
omitted,
there
are
no
subsequent
pages."
v1ListNode
:
type
:
object
properties
:
...
...
proto/gen/store/activity.pb.go
View file @
2058a8ab
// 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
}
proto/gen/store/idp.pb.go
View file @
2058a8ab
// 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
}
proto/gen/store/inbox.pb.go
View file @
2058a8ab
// 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
}
proto/gen/store/memo.pb.go
View file @
2058a8ab
// 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
.
UnknownFields
sizeCache
protoimpl
.
SizeCache
}
...
...
@@ -82,21 +82,24 @@ func (x *MemoPayload) GetTags() []string {
return
nil
}
func
(
x
*
MemoPayload
)
Get
References
()
[]
string
{
func
(
x
*
MemoPayload
)
Get
Pinned
()
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
,
0x
c0
,
0x03
,
0x0a
,
0x0b
,
0x4d
,
0x65
,
0x6d
,
0x6f
,
0x50
,
0x61
,
0x79
,
0x6c
,
0x6f
,
0x61
,
0x64
,
0x12
,
0x
d8
,
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
=
nil
file_store_memo_proto_goTypes
=
nil
file_store_memo_proto_depIdxs
=
nil
}
proto/gen/store/resource.pb.go
View file @
2058a8ab
// 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
}
proto/gen/store/user_setting.pb.go
View file @
2058a8ab
// 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
}
proto/gen/store/workspace_setting.pb.go
View file @
2058a8ab
// 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
}
proto/store/memo.proto
View file @
2058a8ab
...
...
@@ -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
{
...
...
server/runner/memopayload/runner.go
View file @
2058a8ab
...
...
@@ -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
(
r
eferences
,
n
.
ResourceName
)
property
.
References
=
append
(
property
.
R
eferences
,
n
.
ResourceName
)
}
})
memo
.
Payload
.
Tags
=
tags
memo
.
Payload
.
References
=
references
memo
.
Payload
.
Property
=
property
return
nil
}
...
...
store/db/mysql/memo.go
View file @
2058a8ab
...
...
@@ -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
)
...
...
store/db/postgres/memo.go
View file @
2058a8ab
...
...
@@ -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
}
...
...
store/db/sqlite/memo.go
View file @
2058a8ab
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment