refactor: centralize protobuf and remove go-zero
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc (unknown)
|
||||
// source: pages.proto
|
||||
// protoc v7.35.0
|
||||
// source: module/base/cms/proto/pages.proto
|
||||
|
||||
package cms
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -31,7 +32,7 @@ type GetPagesByKeyRequest struct {
|
||||
|
||||
func (x *GetPagesByKeyRequest) Reset() {
|
||||
*x = GetPagesByKeyRequest{}
|
||||
mi := &file_pages_proto_msgTypes[0]
|
||||
mi := &file_module_base_cms_proto_pages_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -43,7 +44,7 @@ func (x *GetPagesByKeyRequest) String() string {
|
||||
func (*GetPagesByKeyRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetPagesByKeyRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pages_proto_msgTypes[0]
|
||||
mi := &file_module_base_cms_proto_pages_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -56,7 +57,7 @@ func (x *GetPagesByKeyRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetPagesByKeyRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GetPagesByKeyRequest) Descriptor() ([]byte, []int) {
|
||||
return file_pages_proto_rawDescGZIP(), []int{0}
|
||||
return file_module_base_cms_proto_pages_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *GetPagesByKeyRequest) GetKey() string {
|
||||
@@ -68,31 +69,31 @@ func (x *GetPagesByKeyRequest) GetKey() string {
|
||||
|
||||
// 文章
|
||||
type PagesItem struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
SiteIdentity string `protobuf:"bytes,1,opt,name=site_identity,proto3" json:"site_identity,omitempty"`
|
||||
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 文章唯一标识
|
||||
CreatedAt string `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"` // 创建时间
|
||||
UpdatedAt string `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"` //更新时间
|
||||
PostType int32 `protobuf:"varint,5,opt,name=post_type,proto3" json:"post_type,omitempty"` // 用户自定义文章类型
|
||||
Rights string `protobuf:"bytes,6,opt,name=rights,proto3" json:"rights,omitempty"` //权限
|
||||
Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` // <必传>,标题
|
||||
Key string `protobuf:"bytes,8,opt,name=key,proto3" json:"key,omitempty"` //<必传> 内容页的key
|
||||
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` //简介
|
||||
CoverPath string `protobuf:"bytes,10,opt,name=cover_path,proto3" json:"cover_path,omitempty"` //封面
|
||||
Content string `protobuf:"bytes,11,opt,name=content,proto3" json:"content,omitempty"` // <必传>,内容
|
||||
HasAccessory bool `protobuf:"varint,12,opt,name=has_accessory,proto3" json:"has_accessory,omitempty"` //是否有附件,默认没有
|
||||
AccessoryIdentityArray []string `protobuf:"bytes,13,rep,name=accessory_identity_array,proto3" json:"accessory_identity_array,omitempty"` //附件Identity 列表
|
||||
AccessoryData []*AccessoryItem `protobuf:"bytes,14,rep,name=accessory_data,proto3" json:"accessory_data,omitempty"` //附件数据
|
||||
TagsData []*TagsItem `protobuf:"bytes,15,rep,name=tags_data,proto3" json:"tags_data,omitempty"` // 标签数据
|
||||
TagsIdentityArray []string `protobuf:"bytes,16,rep,name=tags_identity_array,proto3" json:"tags_identity_array,omitempty"` // 标签集Identity 列表
|
||||
Hits int64 `protobuf:"varint,17,opt,name=hits,proto3" json:"hits,omitempty"` //点击量
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
SiteIdentity string `protobuf:"bytes,1,opt,name=site_identity,proto3" json:"site_identity,omitempty"`
|
||||
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 文章唯一标识
|
||||
CreatedAt string `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"` // 创建时间
|
||||
UpdatedAt string `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"` //更新时间
|
||||
PostType int32 `protobuf:"varint,5,opt,name=post_type,proto3" json:"post_type,omitempty"` // 用户自定义文章类型
|
||||
Rights string `protobuf:"bytes,6,opt,name=rights,proto3" json:"rights,omitempty"` //权限
|
||||
Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` // <必传>,标题
|
||||
Key string `protobuf:"bytes,8,opt,name=key,proto3" json:"key,omitempty"` //<必传> 内容页的key
|
||||
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` //简介
|
||||
CoverPath string `protobuf:"bytes,10,opt,name=cover_path,proto3" json:"cover_path,omitempty"` //封面
|
||||
Content string `protobuf:"bytes,11,opt,name=content,proto3" json:"content,omitempty"` // <必传>,内容
|
||||
HasAccessory bool `protobuf:"varint,12,opt,name=has_accessory,proto3" json:"has_accessory,omitempty"` //是否有附件,默认没有
|
||||
AccessoryIdentityArray []string `protobuf:"bytes,13,rep,name=accessory_identity_array,proto3" json:"accessory_identity_array,omitempty"` //附件Identity 列表
|
||||
AccessoryData []*protobuf.CmsAccessoryItem `protobuf:"bytes,14,rep,name=accessory_data,proto3" json:"accessory_data,omitempty"` //附件数据
|
||||
TagsData []*protobuf.CmsTagsItem `protobuf:"bytes,15,rep,name=tags_data,proto3" json:"tags_data,omitempty"` // 标签数据
|
||||
TagsIdentityArray []string `protobuf:"bytes,16,rep,name=tags_identity_array,proto3" json:"tags_identity_array,omitempty"` // 标签集Identity 列表
|
||||
Hits int64 `protobuf:"varint,17,opt,name=hits,proto3" json:"hits,omitempty"` //点击量
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *PagesItem) Reset() {
|
||||
*x = PagesItem{}
|
||||
mi := &file_pages_proto_msgTypes[1]
|
||||
mi := &file_module_base_cms_proto_pages_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -104,7 +105,7 @@ func (x *PagesItem) String() string {
|
||||
func (*PagesItem) ProtoMessage() {}
|
||||
|
||||
func (x *PagesItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pages_proto_msgTypes[1]
|
||||
mi := &file_module_base_cms_proto_pages_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -117,7 +118,7 @@ func (x *PagesItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PagesItem.ProtoReflect.Descriptor instead.
|
||||
func (*PagesItem) Descriptor() ([]byte, []int) {
|
||||
return file_pages_proto_rawDescGZIP(), []int{1}
|
||||
return file_module_base_cms_proto_pages_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *PagesItem) GetSiteIdentity() string {
|
||||
@@ -211,14 +212,14 @@ func (x *PagesItem) GetAccessoryIdentityArray() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *PagesItem) GetAccessoryData() []*AccessoryItem {
|
||||
func (x *PagesItem) GetAccessoryData() []*protobuf.CmsAccessoryItem {
|
||||
if x != nil {
|
||||
return x.AccessoryData
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *PagesItem) GetTagsData() []*TagsItem {
|
||||
func (x *PagesItem) GetTagsData() []*protobuf.CmsTagsItem {
|
||||
if x != nil {
|
||||
return x.TagsData
|
||||
}
|
||||
@@ -252,7 +253,7 @@ type PagesListRequest struct {
|
||||
|
||||
func (x *PagesListRequest) Reset() {
|
||||
*x = PagesListRequest{}
|
||||
mi := &file_pages_proto_msgTypes[2]
|
||||
mi := &file_module_base_cms_proto_pages_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -264,7 +265,7 @@ func (x *PagesListRequest) String() string {
|
||||
func (*PagesListRequest) ProtoMessage() {}
|
||||
|
||||
func (x *PagesListRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pages_proto_msgTypes[2]
|
||||
mi := &file_module_base_cms_proto_pages_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -277,7 +278,7 @@ func (x *PagesListRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PagesListRequest.ProtoReflect.Descriptor instead.
|
||||
func (*PagesListRequest) Descriptor() ([]byte, []int) {
|
||||
return file_pages_proto_rawDescGZIP(), []int{2}
|
||||
return file_module_base_cms_proto_pages_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *PagesListRequest) GetPage() int64 {
|
||||
@@ -319,7 +320,7 @@ type PagesListReply struct {
|
||||
|
||||
func (x *PagesListReply) Reset() {
|
||||
*x = PagesListReply{}
|
||||
mi := &file_pages_proto_msgTypes[3]
|
||||
mi := &file_module_base_cms_proto_pages_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -331,7 +332,7 @@ func (x *PagesListReply) String() string {
|
||||
func (*PagesListReply) ProtoMessage() {}
|
||||
|
||||
func (x *PagesListReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pages_proto_msgTypes[3]
|
||||
mi := &file_module_base_cms_proto_pages_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -344,7 +345,7 @@ func (x *PagesListReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PagesListReply.ProtoReflect.Descriptor instead.
|
||||
func (*PagesListReply) Descriptor() ([]byte, []int) {
|
||||
return file_pages_proto_rawDescGZIP(), []int{3}
|
||||
return file_module_base_cms_proto_pages_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *PagesListReply) GetData() []*PagesItem {
|
||||
@@ -371,7 +372,7 @@ type GetPagesRequest struct {
|
||||
|
||||
func (x *GetPagesRequest) Reset() {
|
||||
*x = GetPagesRequest{}
|
||||
mi := &file_pages_proto_msgTypes[4]
|
||||
mi := &file_module_base_cms_proto_pages_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -383,7 +384,7 @@ func (x *GetPagesRequest) String() string {
|
||||
func (*GetPagesRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetPagesRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pages_proto_msgTypes[4]
|
||||
mi := &file_module_base_cms_proto_pages_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -396,7 +397,7 @@ func (x *GetPagesRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetPagesRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GetPagesRequest) Descriptor() ([]byte, []int) {
|
||||
return file_pages_proto_rawDescGZIP(), []int{4}
|
||||
return file_module_base_cms_proto_pages_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *GetPagesRequest) GetIdentity() string {
|
||||
@@ -406,13 +407,13 @@ func (x *GetPagesRequest) GetIdentity() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_pages_proto protoreflect.FileDescriptor
|
||||
var File_module_base_cms_proto_pages_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_pages_proto_rawDesc = "" +
|
||||
const file_module_base_cms_proto_pages_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x14base/cms/pages.proto\x12\x03cms\x1a\x10cms/blocks.proto\"(\n" +
|
||||
"!module/base/cms/proto/pages.proto\x12\x03cms\x1a\x15protobuf/blocks.proto\"(\n" +
|
||||
"\x14GetPagesByKeyRequest\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\"\xd8\x04\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\"\xe4\x04\n" +
|
||||
"\tPagesItem\x12$\n" +
|
||||
"\rsite_identity\x18\x01 \x01(\tR\rsite_identity\x12\x1a\n" +
|
||||
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1e\n" +
|
||||
@@ -433,9 +434,9 @@ const file_pages_proto_rawDesc = "" +
|
||||
"cover_path\x12\x18\n" +
|
||||
"\acontent\x18\v \x01(\tR\acontent\x12$\n" +
|
||||
"\rhas_accessory\x18\f \x01(\bR\rhas_accessory\x12:\n" +
|
||||
"\x18accessory_identity_array\x18\r \x03(\tR\x18accessory_identity_array\x12:\n" +
|
||||
"\x0eaccessory_data\x18\x0e \x03(\v2\x12.cms.AccessoryItemR\x0eaccessory_data\x12+\n" +
|
||||
"\ttags_data\x18\x0f \x03(\v2\r.cms.TagsItemR\ttags_data\x120\n" +
|
||||
"\x18accessory_identity_array\x18\r \x03(\tR\x18accessory_identity_array\x12@\n" +
|
||||
"\x0eaccessory_data\x18\x0e \x03(\v2\x18.blocks.CmsAccessoryItemR\x0eaccessory_data\x121\n" +
|
||||
"\ttags_data\x18\x0f \x03(\v2\x13.blocks.CmsTagsItemR\ttags_data\x120\n" +
|
||||
"\x13tags_identity_array\x18\x10 \x03(\tR\x13tags_identity_array\x12\x12\n" +
|
||||
"\x04hits\x18\x11 \x01(\x03R\x04hits\"h\n" +
|
||||
"\x10PagesListRequest\x12\x12\n" +
|
||||
@@ -447,55 +448,55 @@ const file_pages_proto_rawDesc = "" +
|
||||
"\x04data\x18\x01 \x03(\v2\x0e.cms.PagesItemR\x04data\x12\x14\n" +
|
||||
"\x05count\x18\x02 \x01(\x03R\x05count\"-\n" +
|
||||
"\x0fGetPagesRequest\x12\x1a\n" +
|
||||
"\bidentity\x18\x01 \x01(\tR\bidentity2\xbd\x02\n" +
|
||||
"\bidentity\x18\x01 \x01(\tR\bidentity2\xc9\x02\n" +
|
||||
"\x05Pages\x125\n" +
|
||||
"\x05Fetch\x12\x15.cms.PagesListRequest\x1a\x13.cms.PagesListReply\"\x00\x127\n" +
|
||||
"\rGetByIdentity\x12\x14.cms.GetPagesRequest\x1a\x0e.cms.PagesItem\"\x00\x127\n" +
|
||||
"\bGetByKey\x12\x19.cms.GetPagesByKeyRequest\x1a\x0e.cms.PagesItem\"\x00\x12,\n" +
|
||||
"\x06Create\x12\x0e.cms.PagesItem\x1a\x10.cms.StatusReply\"\x00\x12,\n" +
|
||||
"\x06Modify\x12\x0e.cms.PagesItem\x1a\x10.cms.StatusReply\"\x00\x12/\n" +
|
||||
"\x06Delete\x12\x11.cms.IdentRequest\x1a\x10.cms.StatusReply\"\x00B\aZ\x05.;cmsb\x06proto3"
|
||||
"\bGetByKey\x12\x19.cms.GetPagesByKeyRequest\x1a\x0e.cms.PagesItem\"\x00\x12/\n" +
|
||||
"\x06Create\x12\x0e.cms.PagesItem\x1a\x13.blocks.StatusReply\"\x00\x12/\n" +
|
||||
"\x06Modify\x12\x0e.cms.PagesItem\x1a\x13.blocks.StatusReply\"\x00\x125\n" +
|
||||
"\x06Delete\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\"\x00B!Z\x1fbsm/full/module/base/cms/pb;cmsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_pages_proto_rawDescOnce sync.Once
|
||||
file_pages_proto_rawDescData []byte
|
||||
file_module_base_cms_proto_pages_proto_rawDescOnce sync.Once
|
||||
file_module_base_cms_proto_pages_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_pages_proto_rawDescGZIP() []byte {
|
||||
file_pages_proto_rawDescOnce.Do(func() {
|
||||
file_pages_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_pages_proto_rawDesc), len(file_pages_proto_rawDesc)))
|
||||
func file_module_base_cms_proto_pages_proto_rawDescGZIP() []byte {
|
||||
file_module_base_cms_proto_pages_proto_rawDescOnce.Do(func() {
|
||||
file_module_base_cms_proto_pages_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_base_cms_proto_pages_proto_rawDesc), len(file_module_base_cms_proto_pages_proto_rawDesc)))
|
||||
})
|
||||
return file_pages_proto_rawDescData
|
||||
return file_module_base_cms_proto_pages_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_pages_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_pages_proto_goTypes = []any{
|
||||
(*GetPagesByKeyRequest)(nil), // 0: cms.GetPagesByKeyRequest
|
||||
(*PagesItem)(nil), // 1: cms.PagesItem
|
||||
(*PagesListRequest)(nil), // 2: cms.PagesListRequest
|
||||
(*PagesListReply)(nil), // 3: cms.PagesListReply
|
||||
(*GetPagesRequest)(nil), // 4: cms.GetPagesRequest
|
||||
(*AccessoryItem)(nil), // 5: cms.AccessoryItem
|
||||
(*TagsItem)(nil), // 6: cms.TagsItem
|
||||
(*IdentRequest)(nil), // 7: cms.IdentRequest
|
||||
(*StatusReply)(nil), // 8: cms.StatusReply
|
||||
var file_module_base_cms_proto_pages_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_module_base_cms_proto_pages_proto_goTypes = []any{
|
||||
(*GetPagesByKeyRequest)(nil), // 0: cms.GetPagesByKeyRequest
|
||||
(*PagesItem)(nil), // 1: cms.PagesItem
|
||||
(*PagesListRequest)(nil), // 2: cms.PagesListRequest
|
||||
(*PagesListReply)(nil), // 3: cms.PagesListReply
|
||||
(*GetPagesRequest)(nil), // 4: cms.GetPagesRequest
|
||||
(*protobuf.CmsAccessoryItem)(nil), // 5: blocks.CmsAccessoryItem
|
||||
(*protobuf.CmsTagsItem)(nil), // 6: blocks.CmsTagsItem
|
||||
(*protobuf.IdentRequest)(nil), // 7: blocks.IdentRequest
|
||||
(*protobuf.StatusReply)(nil), // 8: blocks.StatusReply
|
||||
}
|
||||
var file_pages_proto_depIdxs = []int32{
|
||||
5, // 0: cms.PagesItem.accessory_data:type_name -> cms.AccessoryItem
|
||||
6, // 1: cms.PagesItem.tags_data:type_name -> cms.TagsItem
|
||||
var file_module_base_cms_proto_pages_proto_depIdxs = []int32{
|
||||
5, // 0: cms.PagesItem.accessory_data:type_name -> blocks.CmsAccessoryItem
|
||||
6, // 1: cms.PagesItem.tags_data:type_name -> blocks.CmsTagsItem
|
||||
1, // 2: cms.PagesListReply.data:type_name -> cms.PagesItem
|
||||
2, // 3: cms.Pages.Fetch:input_type -> cms.PagesListRequest
|
||||
4, // 4: cms.Pages.GetByIdentity:input_type -> cms.GetPagesRequest
|
||||
0, // 5: cms.Pages.GetByKey:input_type -> cms.GetPagesByKeyRequest
|
||||
1, // 6: cms.Pages.Create:input_type -> cms.PagesItem
|
||||
1, // 7: cms.Pages.Modify:input_type -> cms.PagesItem
|
||||
7, // 8: cms.Pages.Delete:input_type -> cms.IdentRequest
|
||||
7, // 8: cms.Pages.Delete:input_type -> blocks.IdentRequest
|
||||
3, // 9: cms.Pages.Fetch:output_type -> cms.PagesListReply
|
||||
1, // 10: cms.Pages.GetByIdentity:output_type -> cms.PagesItem
|
||||
1, // 11: cms.Pages.GetByKey:output_type -> cms.PagesItem
|
||||
8, // 12: cms.Pages.Create:output_type -> cms.StatusReply
|
||||
8, // 13: cms.Pages.Modify:output_type -> cms.StatusReply
|
||||
8, // 14: cms.Pages.Delete:output_type -> cms.StatusReply
|
||||
8, // 12: cms.Pages.Create:output_type -> blocks.StatusReply
|
||||
8, // 13: cms.Pages.Modify:output_type -> blocks.StatusReply
|
||||
8, // 14: cms.Pages.Delete:output_type -> blocks.StatusReply
|
||||
9, // [9:15] is the sub-list for method output_type
|
||||
3, // [3:9] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
@@ -503,27 +504,26 @@ var file_pages_proto_depIdxs = []int32{
|
||||
0, // [0:3] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_pages_proto_init() }
|
||||
func file_pages_proto_init() {
|
||||
if File_pages_proto != nil {
|
||||
func init() { file_module_base_cms_proto_pages_proto_init() }
|
||||
func file_module_base_cms_proto_pages_proto_init() {
|
||||
if File_module_base_cms_proto_pages_proto != nil {
|
||||
return
|
||||
}
|
||||
file_blocks_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_pages_proto_rawDesc), len(file_pages_proto_rawDesc)),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_base_cms_proto_pages_proto_rawDesc), len(file_module_base_cms_proto_pages_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_pages_proto_goTypes,
|
||||
DependencyIndexes: file_pages_proto_depIdxs,
|
||||
MessageInfos: file_pages_proto_msgTypes,
|
||||
GoTypes: file_module_base_cms_proto_pages_proto_goTypes,
|
||||
DependencyIndexes: file_module_base_cms_proto_pages_proto_depIdxs,
|
||||
MessageInfos: file_module_base_cms_proto_pages_proto_msgTypes,
|
||||
}.Build()
|
||||
File_pages_proto = out.File
|
||||
file_pages_proto_goTypes = nil
|
||||
file_pages_proto_depIdxs = nil
|
||||
File_module_base_cms_proto_pages_proto = out.File
|
||||
file_module_base_cms_proto_pages_proto_goTypes = nil
|
||||
file_module_base_cms_proto_pages_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user