jmash-core-mp 0.1.11 → 0.1.13

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.
@@ -117,6 +117,9 @@ export interface CmsInfoContentModel {
117
117
  infoContent?: string;
118
118
  infoType?: string;
119
119
  orderBy?: number;
120
+ infoContentList?: {
121
+ path: string;
122
+ }[];
120
123
  }
121
124
  export interface CmsInfoContentList {
122
125
  results: Array<CmsInfoContentModel>;
@@ -141,18 +144,6 @@ export interface CmsInfoContentReq {
141
144
  export interface CmsInfoContentList {
142
145
  results: Array<CmsInfoContentModel>;
143
146
  }
144
- export interface CmsInfoContentModel {
145
- imagePath?: Array<string>;
146
- videoPath?: Array<string>;
147
- contentId?: string;
148
- infoId?: string;
149
- infoContent?: string;
150
- infoType?: string;
151
- orderBy?: number;
152
- infoContentList?: {
153
- path: string;
154
- }[];
155
- }
156
147
  export interface CmsInfoFileReq {
157
148
  tenant?: string;
158
149
  infoId?: string;
package/lib/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  export type { AppConfig, ResponseData, ValidateData, EventBase, EventTarget, CanvasResponse, } from "./api/types";
2
2
  export type { LoginReq, LoginRes, RolesPerms, WebLoginReq, TokenModel, PhoneRegisterReq, PhoneReplaceReq, UpdateUserReq, UserInfoReq, UserInfo, } from "./api/auth/types";
3
- export type { CmsSiteList, CmsChannelReq, CmsChannelList, CmsContentInfoReq, CmsContentInfoModel, CmsInfoModel, CmsInfoContentModel, } from "./api/cms/types";
3
+ export type { CmsSiteList, CmsChannelReq, CmsChannelList, CmsContentInfoReq, CmsContentInfoModel, CmsInfoModel, CmsInfoContentModel, CmsChannelModel, } from "./api/cms/types";
4
4
  export type { Entry, DictEntryModel } from "./api/dict/types";
5
5
  export { EntryDict, EnumDict } from "./api/dicts";
6
6
  export type { FileInfo, FileBase64Req, FileDownInfo, FileWebReq, } from "./api/files/types";
7
7
  export type { DictRegionList, DictRegionReq, DictRegionModel, } from "./api/region/types";
8
- export type { StorageOrganInfoReq, StorageOrganInfoList, StorageOrganBrowserUpdateReq, StorageOrganBrowserModel, } from "./api/storage/types";
8
+ export type { StorageOrganInfoReq, StorageOrganInfoList, StorageOrganInfoModel, ShopBrowserUserList, ShopBrowserUserModel, StorageOrganBrowserUpdateReq, StorageOrganBrowserModel, } from "./api/storage/types";
9
9
  export { mpxFetch } from "./utils/request";
10
10
  export { config } from "./utils/config";
11
11
  export { grpc } from "./utils/grpc";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmash-core-mp",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "private": false,
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -230,6 +230,8 @@ export interface CmsInfoContentModel {
230
230
  infoType?: string;
231
231
  // 排序
232
232
  orderBy?: number;
233
+ // 信息内容数组
234
+ infoContentList?: { path: string }[];
233
235
  }
234
236
  // 信息内容列表
235
237
  export interface CmsInfoContentList {
@@ -275,25 +277,6 @@ export interface CmsInfoContentList {
275
277
  // 当前页内容
276
278
  results: Array<CmsInfoContentModel>;
277
279
  }
278
- // 信息内容实体
279
- export interface CmsInfoContentModel {
280
- // 图片数组
281
- imagePath?: Array<string>;
282
- // 视频数组
283
- videoPath?: Array<string>;
284
- // 内容ID
285
- contentId?: string;
286
- // 信息ID
287
- infoId?: string;
288
- // 信息内容
289
- infoContent?: string;
290
- // 内容类型
291
- infoType?: string;
292
- // 排序
293
- orderBy?: number;
294
- // 信息内容数组
295
- infoContentList?: { path: string }[];
296
- }
297
280
 
298
281
  // 信息附件表查询
299
282
  export interface CmsInfoFileReq {
package/src/index.ts CHANGED
@@ -26,6 +26,7 @@ export type {
26
26
  CmsContentInfoModel,
27
27
  CmsInfoModel,
28
28
  CmsInfoContentModel,
29
+ CmsChannelModel,
29
30
  } from "./api/cms/types";
30
31
  export type { Entry, DictEntryModel } from "./api/dict/types";
31
32
  export { EntryDict, EnumDict } from "./api/dicts";
@@ -43,6 +44,9 @@ export type {
43
44
  export type {
44
45
  StorageOrganInfoReq,
45
46
  StorageOrganInfoList,
47
+ StorageOrganInfoModel,
48
+ ShopBrowserUserList,
49
+ ShopBrowserUserModel,
46
50
  StorageOrganBrowserUpdateReq,
47
51
  StorageOrganBrowserModel,
48
52
  } from "./api/storage/types";