refactor: add unified all service gateway

This commit is contained in:
2026-08-10 10:03:46 +08:00
parent 5ea45a76fe
commit f994b2de9c
143 changed files with 2853 additions and 2129 deletions

View File

@@ -519,21 +519,21 @@ const file_module_base_cloud_proto_note_proto_rawDesc = "" +
"\tfile_size\x18\x05 \x01(\x03R\bfileSize\x12\x1b\n" +
"\tmime_type\x18\x06 \x01(\tR\bmimeType\x12\x1d\n" +
"\n" +
"created_at\x18\a \x01(\tR\tcreatedAt2\xe3\x04\n" +
"\x04Note\x12;\n" +
"created_at\x18\a \x01(\tR\tcreatedAt2\xf2\x05\n" +
"\x04Note\x12F\n" +
"\n" +
"CreateNote\x12\x18.cloud.CreateNoteRequest\x1a\x13.blocks.StatusReply\x125\n" +
"\aGetNote\x12\x14.blocks.IdentRequest\x1a\x14.cloud.CloudNoteItem\x127\n" +
"CreateNote\x12\x18.cloud.CreateNoteRequest\x1a\x1e.base_cloud_blocks.StatusReply\x12@\n" +
"\aGetNote\x12\x1f.base_cloud_blocks.IdentRequest\x1a\x14.cloud.CloudNoteItem\x12B\n" +
"\n" +
"UpdateNote\x12\x14.cloud.CloudNoteItem\x1a\x13.blocks.StatusReply\x127\n" +
"UpdateNote\x12\x14.cloud.CloudNoteItem\x1a\x1e.base_cloud_blocks.StatusReply\x12M\n" +
"\n" +
"DeleteNote\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\x12;\n" +
"\tListNotes\x12\x14.blocks.FetchRequest\x1a\x18.cloud.ListNotesResponse\x129\n" +
"\tTogglePin\x12\x17.cloud.TogglePinRequest\x1a\x13.blocks.StatusReply\x12;\n" +
"\x0eIncrementViews\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\x12=\n" +
"\vSearchNotes\x12\x14.blocks.FetchRequest\x1a\x18.cloud.ListNotesResponse\x12B\n" +
"\x10InsertAttachment\x12\x19.cloud.NoteAttachmentItem\x1a\x13.blocks.StatusReply\x12=\n" +
"\x10DeleteAttachment\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReplyB%Z#bsm/full/module/base/cloud/pb;cloudb\x06proto3"
"DeleteNote\x12\x1f.base_cloud_blocks.IdentRequest\x1a\x1e.base_cloud_blocks.StatusReply\x12F\n" +
"\tListNotes\x12\x1f.base_cloud_blocks.FetchRequest\x1a\x18.cloud.ListNotesResponse\x12D\n" +
"\tTogglePin\x12\x17.cloud.TogglePinRequest\x1a\x1e.base_cloud_blocks.StatusReply\x12Q\n" +
"\x0eIncrementViews\x12\x1f.base_cloud_blocks.IdentRequest\x1a\x1e.base_cloud_blocks.StatusReply\x12H\n" +
"\vSearchNotes\x12\x1f.base_cloud_blocks.FetchRequest\x1a\x18.cloud.ListNotesResponse\x12M\n" +
"\x10InsertAttachment\x12\x19.cloud.NoteAttachmentItem\x1a\x1e.base_cloud_blocks.StatusReply\x12S\n" +
"\x10DeleteAttachment\x12\x1f.base_cloud_blocks.IdentRequest\x1a\x1e.base_cloud_blocks.StatusReplyB%Z#bsm/full/module/base/cloud/pb;cloudb\x06proto3"
var (
file_module_base_cloud_proto_note_proto_rawDescOnce sync.Once
@@ -554,33 +554,33 @@ var file_module_base_cloud_proto_note_proto_goTypes = []any{
(*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
(*IdentRequest)(nil), // 5: base_cloud_blocks.IdentRequest
(*FetchRequest)(nil), // 6: base_cloud_blocks.FetchRequest
(*StatusReply)(nil), // 7: base_cloud_blocks.StatusReply
}
var file_module_base_cloud_proto_note_proto_depIdxs = []int32{
3, // 0: cloud.ListNotesResponse.notes:type_name -> cloud.CloudNoteItem
4, // 1: cloud.CloudNoteItem.attachments:type_name -> cloud.NoteAttachmentItem
0, // 2: cloud.Note.CreateNote:input_type -> cloud.CreateNoteRequest
5, // 3: cloud.Note.GetNote:input_type -> blocks.IdentRequest
5, // 3: cloud.Note.GetNote:input_type -> base_cloud_blocks.IdentRequest
3, // 4: cloud.Note.UpdateNote:input_type -> cloud.CloudNoteItem
5, // 5: cloud.Note.DeleteNote:input_type -> blocks.IdentRequest
6, // 6: cloud.Note.ListNotes:input_type -> blocks.FetchRequest
5, // 5: cloud.Note.DeleteNote:input_type -> base_cloud_blocks.IdentRequest
6, // 6: cloud.Note.ListNotes:input_type -> base_cloud_blocks.FetchRequest
2, // 7: cloud.Note.TogglePin:input_type -> cloud.TogglePinRequest
5, // 8: cloud.Note.IncrementViews:input_type -> blocks.IdentRequest
6, // 9: cloud.Note.SearchNotes:input_type -> blocks.FetchRequest
5, // 8: cloud.Note.IncrementViews:input_type -> base_cloud_blocks.IdentRequest
6, // 9: cloud.Note.SearchNotes:input_type -> base_cloud_blocks.FetchRequest
4, // 10: cloud.Note.InsertAttachment:input_type -> cloud.NoteAttachmentItem
5, // 11: cloud.Note.DeleteAttachment:input_type -> blocks.IdentRequest
7, // 12: cloud.Note.CreateNote:output_type -> blocks.StatusReply
5, // 11: cloud.Note.DeleteAttachment:input_type -> base_cloud_blocks.IdentRequest
7, // 12: cloud.Note.CreateNote:output_type -> base_cloud_blocks.StatusReply
3, // 13: cloud.Note.GetNote:output_type -> cloud.CloudNoteItem
7, // 14: cloud.Note.UpdateNote:output_type -> blocks.StatusReply
7, // 15: cloud.Note.DeleteNote:output_type -> blocks.StatusReply
7, // 14: cloud.Note.UpdateNote:output_type -> base_cloud_blocks.StatusReply
7, // 15: cloud.Note.DeleteNote:output_type -> base_cloud_blocks.StatusReply
1, // 16: cloud.Note.ListNotes:output_type -> cloud.ListNotesResponse
7, // 17: cloud.Note.TogglePin:output_type -> blocks.StatusReply
7, // 18: cloud.Note.IncrementViews:output_type -> blocks.StatusReply
7, // 17: cloud.Note.TogglePin:output_type -> base_cloud_blocks.StatusReply
7, // 18: cloud.Note.IncrementViews:output_type -> base_cloud_blocks.StatusReply
1, // 19: cloud.Note.SearchNotes:output_type -> cloud.ListNotesResponse
7, // 20: cloud.Note.InsertAttachment:output_type -> blocks.StatusReply
7, // 21: cloud.Note.DeleteAttachment:output_type -> blocks.StatusReply
7, // 20: cloud.Note.InsertAttachment:output_type -> base_cloud_blocks.StatusReply
7, // 21: cloud.Note.DeleteAttachment:output_type -> base_cloud_blocks.StatusReply
12, // [12:22] is the sub-list for method output_type
2, // [2:12] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name