@xrc-inc/grpc-web
Advanced tools
Comparing version 1.1.50 to 1.1.51
@@ -31,2 +31,7 @@ "use strict"; | ||
}, | ||
product: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "产品页面", | ||
__description: "跳转至商品详情页面", | ||
}, | ||
homePage: { | ||
@@ -96,2 +101,27 @@ __type: schema.Types.TYPE_MESSAGE, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.type.TemplateProp.Type.ImageLink", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
url: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "图片文件", | ||
}, | ||
title: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "标题", | ||
}, | ||
link: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.type.TemplateProp.Link", | ||
__displayName: "链接", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.type.TemplateProp.Type.ImageLinksList", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
imageLinksList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.type.TemplateProp.Type.ImageLink", | ||
__displayName: "图片", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.type.TemplateProp.Type.Video", { | ||
@@ -98,0 +128,0 @@ __type: schema.Types.TYPE_MESSAGE, |
@@ -33,2 +33,7 @@ // package: xrc.ecnova.marketplace.type | ||
hasProduct(): boolean; | ||
clearProduct(): void; | ||
getProduct(): string; | ||
setProduct(value: string): void; | ||
hasHomePage(): boolean; | ||
@@ -84,2 +89,3 @@ clearHomePage(): void; | ||
page: string, | ||
product: string, | ||
homePage?: google_protobuf_empty_pb.Empty.AsObject, | ||
@@ -98,2 +104,3 @@ allProductsPage?: google_protobuf_empty_pb.Empty.AsObject, | ||
PAGE = 2, | ||
PRODUCT = 3, | ||
HOME_PAGE = 101, | ||
@@ -186,2 +193,54 @@ ALL_PRODUCTS_PAGE = 102, | ||
export class ImageLink extends jspb.Message { | ||
getUrl(): string; | ||
setUrl(value: string): void; | ||
getTitle(): string; | ||
setTitle(value: string): void; | ||
hasLink(): boolean; | ||
clearLink(): void; | ||
getLink(): TemplateProp.Link | undefined; | ||
setLink(value?: TemplateProp.Link): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ImageLink.AsObject; | ||
static toObject(includeInstance: boolean, msg: ImageLink): ImageLink.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ImageLink, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ImageLink; | ||
static deserializeBinaryFromReader(message: ImageLink, reader: jspb.BinaryReader): ImageLink; | ||
} | ||
export namespace ImageLink { | ||
export type AsObject = { | ||
url: string, | ||
title: string, | ||
link?: TemplateProp.Link.AsObject, | ||
} | ||
} | ||
export class ImageLinksList extends jspb.Message { | ||
clearImageLinksList(): void; | ||
getImageLinksList(): Array<TemplateProp.Type.ImageLink>; | ||
setImageLinksList(value: Array<TemplateProp.Type.ImageLink>): void; | ||
addImageLinks(value?: TemplateProp.Type.ImageLink, index?: number): TemplateProp.Type.ImageLink; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ImageLinksList.AsObject; | ||
static toObject(includeInstance: boolean, msg: ImageLinksList): ImageLinksList.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ImageLinksList, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ImageLinksList; | ||
static deserializeBinaryFromReader(message: ImageLinksList, reader: jspb.BinaryReader): ImageLinksList; | ||
} | ||
export namespace ImageLinksList { | ||
export type AsObject = { | ||
imageLinksList: Array<TemplateProp.Type.ImageLink.AsObject>, | ||
} | ||
} | ||
export class Video extends jspb.Message { | ||
@@ -188,0 +247,0 @@ getUrl(): string; |
{ | ||
"name": "@xrc-inc/grpc-web", | ||
"version": "1.1.50", | ||
"version": "1.1.51", | ||
"description": "Javascript sdk of ecnova apis", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5781038
143208