refactor: localize protobuf definitions
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package cloud
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -474,7 +473,7 @@ var File_module_base_cloud_proto_note_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_module_base_cloud_proto_note_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"module/base/cloud/proto/note.proto\x12\x05cloud\x1a\x15protobuf/blocks.proto\"\x92\x02\n" +
|
||||
"\"module/base/cloud/proto/note.proto\x12\x05cloud\x1a#module/base/cloud/proto/const.proto\"\x92\x02\n" +
|
||||
"\x11CreateNoteRequest\x12\x19\n" +
|
||||
"\bcloud_id\x18\x01 \x01(\x04R\acloudId\x12%\n" +
|
||||
"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\x12\x14\n" +
|
||||
@@ -550,14 +549,14 @@ func file_module_base_cloud_proto_note_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_module_base_cloud_proto_note_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_module_base_cloud_proto_note_proto_goTypes = []any{
|
||||
(*CreateNoteRequest)(nil), // 0: cloud.CreateNoteRequest
|
||||
(*ListNotesResponse)(nil), // 1: cloud.ListNotesResponse
|
||||
(*TogglePinRequest)(nil), // 2: cloud.TogglePinRequest
|
||||
(*CloudNoteItem)(nil), // 3: cloud.CloudNoteItem
|
||||
(*NoteAttachmentItem)(nil), // 4: cloud.NoteAttachmentItem
|
||||
(*protobuf.IdentRequest)(nil), // 5: blocks.IdentRequest
|
||||
(*protobuf.FetchRequest)(nil), // 6: blocks.FetchRequest
|
||||
(*protobuf.StatusReply)(nil), // 7: blocks.StatusReply
|
||||
(*CreateNoteRequest)(nil), // 0: cloud.CreateNoteRequest
|
||||
(*ListNotesResponse)(nil), // 1: cloud.ListNotesResponse
|
||||
(*TogglePinRequest)(nil), // 2: cloud.TogglePinRequest
|
||||
(*CloudNoteItem)(nil), // 3: cloud.CloudNoteItem
|
||||
(*NoteAttachmentItem)(nil), // 4: cloud.NoteAttachmentItem
|
||||
(*IdentRequest)(nil), // 5: blocks.IdentRequest
|
||||
(*FetchRequest)(nil), // 6: blocks.FetchRequest
|
||||
(*StatusReply)(nil), // 7: blocks.StatusReply
|
||||
}
|
||||
var file_module_base_cloud_proto_note_proto_depIdxs = []int32{
|
||||
3, // 0: cloud.ListNotesResponse.notes:type_name -> cloud.CloudNoteItem
|
||||
@@ -594,6 +593,7 @@ func file_module_base_cloud_proto_note_proto_init() {
|
||||
if File_module_base_cloud_proto_note_proto != nil {
|
||||
return
|
||||
}
|
||||
file_module_base_cloud_proto_const_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
||||
Reference in New Issue
Block a user