@xrc-inc/grpc-web
Advanced tools
Comparing version 1.1.49 to 1.1.50
@@ -493,2 +493,6 @@ "use strict"; | ||
}, | ||
variant: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.buy.v1.Product.Variant", | ||
}, | ||
}); | ||
@@ -598,2 +602,6 @@ schema.register(".xrc.ecnova.marketplace.buy.v1.MyCheckout", { | ||
}, | ||
variant: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.buy.v1.Product.Variant", | ||
}, | ||
}); | ||
@@ -833,6 +841,2 @@ schema.register(".xrc.ecnova.marketplace.buy.v1.MyCheckout.ShippingLine", { | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "描述", | ||
}, | ||
imageUrl: { | ||
@@ -864,2 +868,7 @@ __type: schema.Types.TYPE_STRING, | ||
}, | ||
variant: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.buy.v1.Product.Variant", | ||
__displayName: "变种", | ||
}, | ||
}); | ||
@@ -1006,3 +1015,4 @@ schema.register(".xrc.ecnova.marketplace.buy.v1.MyOrder.Invoice", { | ||
query: { | ||
__type: schema.Types.TYPE_STRING, | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.buy.v1.SearchProductsQuery", | ||
__displayName: "搜索商品的 query", | ||
@@ -1009,0 +1019,0 @@ }, |
@@ -82,6 +82,2 @@ "use strict"; | ||
__type: schema.Types.TYPE_MESSAGE, | ||
title: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "标题", | ||
}, | ||
url: { | ||
@@ -91,14 +87,8 @@ __type: schema.Types.TYPE_STRING, | ||
}, | ||
link: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.type.TemplateProp.Link", | ||
__displayName: "链接地址", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.type.TemplateProp.Type.ImagesList", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
imagesList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
urlsList: { | ||
__type: schema.Types.TYPE_STRING, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.type.TemplateProp.Type.Image", | ||
__displayName: "图片文件", | ||
@@ -109,6 +99,2 @@ }, | ||
__type: schema.Types.TYPE_MESSAGE, | ||
title: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "标题", | ||
}, | ||
url: { | ||
@@ -121,6 +107,5 @@ __type: schema.Types.TYPE_STRING, | ||
__type: schema.Types.TYPE_MESSAGE, | ||
videosList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
urlsList: { | ||
__type: schema.Types.TYPE_STRING, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.type.TemplateProp.Type.Video", | ||
__displayName: "视频文件", | ||
@@ -133,10 +118,8 @@ }, | ||
__oneOfItems: { | ||
image: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.type.TemplateProp.Type.Image", | ||
imageUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "图片", | ||
}, | ||
video: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.type.TemplateProp.Type.Video", | ||
videoUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "视频", | ||
@@ -143,0 +126,0 @@ }, |
@@ -142,13 +142,5 @@ // package: xrc.ecnova.marketplace.type | ||
export class Image extends jspb.Message { | ||
getTitle(): string; | ||
setTitle(value: string): void; | ||
getUrl(): string; | ||
setUrl(value: string): void; | ||
hasLink(): boolean; | ||
clearLink(): void; | ||
getLink(): TemplateProp.Link | undefined; | ||
setLink(value?: TemplateProp.Link): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -166,5 +158,3 @@ toObject(includeInstance?: boolean): Image.AsObject; | ||
export type AsObject = { | ||
title: string, | ||
url: string, | ||
link?: TemplateProp.Link.AsObject, | ||
} | ||
@@ -174,6 +164,6 @@ } | ||
export class ImagesList extends jspb.Message { | ||
clearImagesList(): void; | ||
getImagesList(): Array<TemplateProp.Type.Image>; | ||
setImagesList(value: Array<TemplateProp.Type.Image>): void; | ||
addImages(value?: TemplateProp.Type.Image, index?: number): TemplateProp.Type.Image; | ||
clearUrlsList(): void; | ||
getUrlsList(): Array<string>; | ||
setUrlsList(value: Array<string>): void; | ||
addUrls(value: string, index?: number): string; | ||
@@ -192,3 +182,3 @@ serializeBinary(): Uint8Array; | ||
export type AsObject = { | ||
imagesList: Array<TemplateProp.Type.Image.AsObject>, | ||
urlsList: Array<string>, | ||
} | ||
@@ -198,5 +188,2 @@ } | ||
export class Video extends jspb.Message { | ||
getTitle(): string; | ||
setTitle(value: string): void; | ||
getUrl(): string; | ||
@@ -217,3 +204,2 @@ setUrl(value: string): void; | ||
export type AsObject = { | ||
title: string, | ||
url: string, | ||
@@ -224,6 +210,6 @@ } | ||
export class VideosList extends jspb.Message { | ||
clearVideosList(): void; | ||
getVideosList(): Array<TemplateProp.Type.Video>; | ||
setVideosList(value: Array<TemplateProp.Type.Video>): void; | ||
addVideos(value?: TemplateProp.Type.Video, index?: number): TemplateProp.Type.Video; | ||
clearUrlsList(): void; | ||
getUrlsList(): Array<string>; | ||
setUrlsList(value: Array<string>): void; | ||
addUrls(value: string, index?: number): string; | ||
@@ -242,3 +228,3 @@ serializeBinary(): Uint8Array; | ||
export type AsObject = { | ||
videosList: Array<TemplateProp.Type.Video.AsObject>, | ||
urlsList: Array<string>, | ||
} | ||
@@ -248,11 +234,11 @@ } | ||
export class Media extends jspb.Message { | ||
hasImage(): boolean; | ||
clearImage(): void; | ||
getImage(): TemplateProp.Type.Image | undefined; | ||
setImage(value?: TemplateProp.Type.Image): void; | ||
hasImageUrl(): boolean; | ||
clearImageUrl(): void; | ||
getImageUrl(): string; | ||
setImageUrl(value: string): void; | ||
hasVideo(): boolean; | ||
clearVideo(): void; | ||
getVideo(): TemplateProp.Type.Video | undefined; | ||
setVideo(value?: TemplateProp.Type.Video): void; | ||
hasVideoUrl(): boolean; | ||
clearVideoUrl(): void; | ||
getVideoUrl(): string; | ||
setVideoUrl(value: string): void; | ||
@@ -272,4 +258,4 @@ getDataCase(): Media.DataCase; | ||
export type AsObject = { | ||
image?: TemplateProp.Type.Image.AsObject, | ||
video?: TemplateProp.Type.Video.AsObject, | ||
imageUrl: string, | ||
videoUrl: string, | ||
} | ||
@@ -279,4 +265,4 @@ | ||
DATA_NOT_SET = 0, | ||
IMAGE = 1, | ||
VIDEO = 2, | ||
IMAGE_URL = 1, | ||
VIDEO_URL = 2, | ||
} | ||
@@ -283,0 +269,0 @@ } |
{ | ||
"name": "@xrc-inc/grpc-web", | ||
"version": "1.1.49", | ||
"version": "1.1.50", | ||
"description": "Javascript sdk of ecnova apis", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
5762291
142768