icms-api 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,10 +14,13 @@ export interface SpecDescription {
14
14
  }
15
15
  /** 商品图片 */
16
16
  export interface GoodsImage {
17
- id?: string;
18
- url?: string;
19
- alt?: string;
20
- sort?: number;
17
+ id: string;
18
+ /** 图片地址 */
19
+ imageUrl: string;
20
+ /** 缩略图地址 */
21
+ thumbUrl?: string;
22
+ /** 图片名称 */
23
+ name?: string;
21
24
  }
22
25
  /** 商品视频 */
23
26
  export interface GoodsVideo {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "icms-api",
3
3
  "private": false,
4
- "version": "0.1.5",
4
+ "version": "0.1.6",
5
5
  "description": "对iCMS内容管理系统API的封装,使用该API能快速使用iCMS搭建您的WebApp!",
6
6
  "type": "module",
7
7
  "main": "./dist/icms-api.cjs.js",