From bbe4b1cfd813d1e34c3d87f4c3e81ddcaa182e31 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Fri, 24 Jun 2022 11:10:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20svg,=20eps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/cool/lib/eps/config.ts | 2 +- build/cool/lib/eps/index.ts | 1 + build/cool/temp/entity.d.ts | 0 build/cool/temp/eps.json | 2 +- build/cool/temp/service.d.ts | 2297 ++++++---------------------------- package.json | 2 +- 6 files changed, 403 insertions(+), 1901 deletions(-) create mode 100644 build/cool/temp/entity.d.ts diff --git a/build/cool/lib/eps/config.ts b/build/cool/lib/eps/config.ts index a50f974..a23277a 100644 --- a/build/cool/lib/eps/config.ts +++ b/build/cool/lib/eps/config.ts @@ -9,7 +9,7 @@ export default { custom: ({ entityName, propertyName, type }) => { // status原本是tinyint,如果是1的话,== true是可以的,但是不能 === true,请谨慎使用 if (propertyName === "status" && type == "tinyint") return "boolean"; - //如果没有,返回null或者不返回,则继续遍历其他匹配规则 + // 如果没有,返回null或者不返回,则继续遍历其他匹配规则 return null; } }, diff --git a/build/cool/lib/eps/index.ts b/build/cool/lib/eps/index.ts index 6a71d03..2019f79 100644 --- a/build/cool/lib/eps/index.ts +++ b/build/cool/lib/eps/index.ts @@ -222,6 +222,7 @@ export function getEps() { return JSON.stringify(readFile(join(tempPath, "eps.json"))); } +// 获取类型 function getType({ entityName, propertyName, type }) { for (const map of config.entity.mapping) { if (map.custom) { diff --git a/build/cool/temp/entity.d.ts b/build/cool/temp/entity.d.ts new file mode 100644 index 0000000..e69de29 diff --git a/build/cool/temp/eps.json b/build/cool/temp/eps.json index ee4b1e8..1b6bbdb 100644 --- a/build/cool/temp/eps.json +++ b/build/cool/temp/eps.json @@ -1 +1 @@ -[["/admin/base/comm",[["post","/personUpdate",""],["get","/uploadMode",""],["get","/permmenu",""],["get","/person",""],["post","/upload",""],["post","/logout",""],["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/base/open",[["get","/refreshToken",""],["get","/captcha",""],["post","/login",""],["get","/html",""],["get","/eps",""],["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/base/sys/department",[["post","/delete",""],["post","/update",""],["post","/order",""],["post","/list",""],["post","/add",""],["","/page",""],["","/info",""]]],["/admin/base/sys/log",[["post","/setKeep",""],["get","/getKeep",""],["post","/clear",""],["post","/page",""],["","/list",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/base/sys/menu",[["post","/delete",""],["post","/update",""],["get","/info",""],["post","/list",""],["post","/page",""],["post","/add",""]]],["/admin/base/sys/param",[["post","/delete",""],["post","/update",""],["get","/html",""],["get","/info",""],["post","/page",""],["post","/add",""],["","/list",""]]],["/admin/base/sys/role",[["post","/delete",""],["post","/update",""],["get","/info",""],["post","/list",""],["post","/page",""],["post","/add",""]]],["/admin/base/sys/user",[["post","/delete",""],["post","/update",""],["post","/move",""],["get","/info",""],["post","/list",""],["post","/page",""],["post","/add",""]]],["/admin/demo/goods",[["post","/delete",""],["post","/update",""],["get","/info",""],["post","/page",""],["post","/list",""],["post","/add",""]]],["/admin/space/info",[["post","/delete",""],["post","/update",""],["get","/info",""],["post","/list",""],["post","/page",""],["post","/add",""]]],["/admin/space/type",[["post","/delete",""],["post","/update",""],["get","/info",""],["post","/list",""],["post","/page",""],["post","/add",""]]],["/admin/task/info",[["post","/delete",""],["post","/update",""],["post","/start",""],["post","/once",""],["post","/stop",""],["get","/info",""],["post","/page",""],["get","/log",""],["post","/add",""],["","/list",""]]],["/admin/chat/chat",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/translate",""],["","/timeOut",""],["","/getChatChannelUser",""],["","/checkingSetReply",""],["","/changePrincipal",""],["","/getChatMsgPage",""],["","/leaveHelper",""],["","/addHelper",""],["","/setBlack",""],["","/setReply",""],["","/setLabel",""],["","/setWork",""],["","/setStar",""],["","/sendMsg",""],["","/inChat",""],["","/remark",""]]],["/chat/message",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/chat/session",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/fbMall/account",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/publishGoods",""],["","/refreshGoods",""],["","/republish",""],["","/addMore",""],["","/close",""],["","/open",""],["","/getAccountGoods",""]]],["/admin/fbMall/area",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/fbMall/areaItem",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/order",""]]],["/admin/fbMall/goods",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/fbMall/goodsItem",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/readAll",""]]],["/admin/fbMall/photo",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/fbMall/photoItem",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/order",""]]],["/admin/fbMall/promote",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/getLog",""]]],["/admin/fbMall/proxy",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/fbMall/server",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/fbMall/thesaurus",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/order",""]]],["/admin/fbMall/thesaurusItem",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/readAll",""]]],["/admin/multimedia/multimediaData",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/deleteAllPermission",""]]],["/admin/multimedia/multimediaItem",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/updateeAllPermission",""],["","/deleteAllPermission",""],["","/order",""]]],["/admin/shop/reply",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/sys/area",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/sys/channel",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/sys/country",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/sys/express",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/sys/goods",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/sys/goodsItem",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/order",""]]],["/admin/sys/label",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/sys/shop",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/readAll",""]]],["/admin/sys/shop_warehouse",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/sys/sku",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/synchronize",""]]],["/admin/sys/stock",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/synchronize",""]]],["/admin/sys/warehouse",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/test",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]]] \ No newline at end of file +[["/admin/base/comm",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/personUpdate",""],["","/uploadMode",""],["","/permmenu",""],["","/logout",""]]],["/admin/base/open",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/refreshToken",""],["","/captcha",""],["","/login",""],["","/html",""],["","/eps",""]]],["/admin/base/sys/department",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/order",""]]],["/admin/base/sys/log",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/setKeep",""],["","/getKeep",""],["","/clear",""]]],["/admin/base/sys/menu",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/base/sys/param",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/html",""]]],["/admin/base/sys/role",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/base/sys/user",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/move",""]]],["/admin/demo/goods",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/space/info",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/space/type",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/admin/task/info",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""],["","/start",""],["","/once",""],["","/stop",""],["","/log",""]]],["/chat/message",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/chat/session",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]],["/test",[["","/list",""],["","/page",""],["","/info",""],["","/update",""],["","/delete",""],["","/add",""]]]] \ No newline at end of file diff --git a/build/cool/temp/service.d.ts b/build/cool/temp/service.d.ts index ae1cbf7..d3ac4e8 100644 --- a/build/cool/temp/service.d.ts +++ b/build/cool/temp/service.d.ts @@ -50,36 +50,6 @@ declare interface RequestOptions { } declare interface BaseComm { - /** - * 修改个人信息 - * @returns Promise - */ - personUpdate(data?: any): Promise; - /** - * 文件上传模式 - * @returns Promise - */ - uploadMode(data?: any): Promise; - /** - * 权限与菜单 - * @returns Promise - */ - permmenu(data?: any): Promise; - /** - * 个人信息 - * @returns Promise - */ - person(data?: any): Promise; - /** - * 文件上传 - * @returns Promise - */ - upload(data?: any): Promise; - /** - * 退出 - * @returns Promise - */ - logout(data?: any): Promise; /** * list * @returns Promise @@ -110,51 +80,44 @@ declare interface BaseComm { * @returns Promise */ add(data?: any): Promise; + /** + * personUpdate + * @returns Promise + */ + personUpdate(data?: any): Promise; + /** + * uploadMode + * @returns Promise + */ + uploadMode(data?: any): Promise; + /** + * permmenu + * @returns Promise + */ + permmenu(data?: any): Promise; + /** + * logout + * @returns Promise + */ + logout(data?: any): Promise; /** * 权限 */ permission: { - personUpdate: string; - uploadMode: string; - permmenu: string; - person: string; - upload: string; - logout: string; list: string; page: string; info: string; update: string; delete: string; add: string; + personUpdate: string; + uploadMode: string; + permmenu: string; + logout: string; }; } declare interface BaseOpen { - /** - * 刷新token - * @returns Promise - */ - refreshToken(data?: any): Promise; - /** - * 验证码 - * @returns Promise - */ - captcha(data?: any): Promise; - /** - * 登录 - * @returns Promise - */ - login(data?: any): Promise; - /** - * 获得网页内容的参数值 - * @returns Promise - */ - html(data?: any): Promise; - /** - * 实体信息与路径 - * @returns Promise - */ - eps(data?: any): Promise; /** * list * @returns Promise @@ -185,50 +148,55 @@ declare interface BaseOpen { * @returns Promise */ add(data?: any): Promise; + /** + * refreshToken + * @returns Promise + */ + refreshToken(data?: any): Promise; + /** + * captcha + * @returns Promise + */ + captcha(data?: any): Promise; + /** + * login + * @returns Promise + */ + login(data?: any): Promise; + /** + * html + * @returns Promise + */ + html(data?: any): Promise; + /** + * eps + * @returns Promise + */ + eps(data?: any): Promise; /** * 权限 */ permission: { + list: string; + page: string; + info: string; + update: string; + delete: string; + add: string; refreshToken: string; captcha: string; login: string; html: string; eps: string; - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; }; } declare interface BaseSysDepartment { /** - * 删除 - * @returns Promise - */ - delete(data?: any): Promise; - /** - * 修改 - * @returns Promise - */ - update(data?: any): Promise; - /** - * 排序 - * @returns Promise - */ - order(data?: any): Promise; - /** - * 列表查询 + * list * @returns Promise */ list(data?: any): Promise; - /** - * 新增 - * @returns Promise - */ - add(data?: any): Promise; /** * page * @returns Promise @@ -239,46 +207,113 @@ declare interface BaseSysDepartment { * @returns Promise */ info(data?: any): Promise; + /** + * update + * @returns Promise + */ + update(data?: any): Promise; + /** + * delete + * @returns Promise + */ + delete(data?: any): Promise; + /** + * add + * @returns Promise + */ + add(data?: any): Promise; + /** + * order + * @returns Promise + */ + order(data?: any): Promise; /** * 权限 */ permission: { - delete: string; - update: string; - order: string; list: string; - add: string; page: string; info: string; + update: string; + delete: string; + add: string; + order: string; }; } declare interface BaseSysLog { /** - * 日志保存时间 + * list + * @returns Promise + */ + list(data?: any): Promise; + /** + * page + * @returns Promise + */ + page(data?: any): Promise; + /** + * info + * @returns Promise + */ + info(data?: any): Promise; + /** + * update + * @returns Promise + */ + update(data?: any): Promise; + /** + * delete + * @returns Promise + */ + delete(data?: any): Promise; + /** + * add + * @returns Promise + */ + add(data?: any): Promise; + /** + * setKeep * @returns Promise */ setKeep(data?: any): Promise; /** - * 获得日志保存时间 + * getKeep * @returns Promise */ getKeep(data?: any): Promise; /** - * 清理 + * clear * @returns Promise */ clear(data?: any): Promise; /** - * 分页查询 - * @returns Promise + * 权限 */ - page(data?: any): Promise; + permission: { + list: string; + page: string; + info: string; + update: string; + delete: string; + add: string; + setKeep: string; + getKeep: string; + clear: string; + }; +} + +declare interface BaseSysMenu { /** * list * @returns Promise */ list(data?: any): Promise; + /** + * page + * @returns Promise + */ + page(data?: any): Promise; /** * info * @returns Promise @@ -303,11 +338,8 @@ declare interface BaseSysLog { * 权限 */ permission: { - setKeep: string; - getKeep: string; - clear: string; - page: string; list: string; + page: string; info: string; update: string; delete: string; @@ -315,195 +347,57 @@ declare interface BaseSysLog { }; } -declare interface BaseSysMenu { - /** - * 删除 - * @returns Promise - */ - delete(data?: any): Promise; - /** - * 修改 - * @returns Promise - */ - update(data?: any): Promise; - /** - * 单个信息 - * @returns Promise - */ - info(data?: any): Promise; - /** - * 列表查询 - * @returns Promise - */ - list(data?: any): Promise; - /** - * 分页查询 - * @returns Promise - */ - page(data?: any): Promise; - /** - * 新增 - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; -} - declare interface BaseSysParam { - /** - * 删除 - * @returns Promise - */ - delete(data?: any): Promise; - /** - * 修改 - * @returns Promise - */ - update(data?: any): Promise; - /** - * 获得网页内容的参数值 - * @returns Promise - */ - html(data?: any): Promise; - /** - * 单个信息 - * @returns Promise - */ - info(data?: any): Promise; - /** - * 分页查询 - * @returns Promise - */ - page(data?: any): Promise; - /** - * 新增 - * @returns Promise - */ - add(data?: any): Promise; /** * list * @returns Promise */ list(data?: any): Promise; + /** + * page + * @returns Promise + */ + page(data?: any): Promise; + /** + * info + * @returns Promise + */ + info(data?: any): Promise; + /** + * update + * @returns Promise + */ + update(data?: any): Promise; + /** + * delete + * @returns Promise + */ + delete(data?: any): Promise; + /** + * add + * @returns Promise + */ + add(data?: any): Promise; + /** + * html + * @returns Promise + */ + html(data?: any): Promise; /** * 权限 */ permission: { - delete: string; - update: string; - html: string; - info: string; - page: string; - add: string; list: string; + page: string; + info: string; + update: string; + delete: string; + add: string; + html: string; }; } declare interface BaseSysRole { - /** - * 删除 - * @returns Promise - */ - delete(data?: any): Promise; - /** - * 修改 - * @returns Promise - */ - update(data?: any): Promise; - /** - * 单个信息 - * @returns Promise - */ - info(data?: any): Promise; - /** - * 列表查询 - * @returns Promise - */ - list(data?: any): Promise; - /** - * 分页查询 - * @returns Promise - */ - page(data?: any): Promise; - /** - * 新增 - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; -} - -declare interface BaseSysUser { - /** - * 删除 - * @returns Promise - */ - delete(data?: any): Promise; - /** - * 修改 - * @returns Promise - */ - update(data?: any): Promise; - /** - * 移动部门 - * @returns Promise - */ - move(data?: any): Promise; - /** - * 单个信息 - * @returns Promise - */ - info(data?: any): Promise; - /** - * 列表查询 - * @returns Promise - */ - list(data?: any): Promise; - /** - * 分页查询 - * @returns Promise - */ - page(data?: any): Promise; - /** - * 新增 - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - delete: string; - update: string; - move: string; - info: string; - list: string; - page: string; - add: string; - }; -} - -declare interface ChatChat { /** * list * @returns Promise @@ -535,85 +429,54 @@ declare interface ChatChat { */ add(data?: any): Promise; /** - * translate - * @returns Promise + * 权限 */ - translate(data?: any): Promise; + permission: { + list: string; + page: string; + info: string; + update: string; + delete: string; + add: string; + }; +} + +declare interface BaseSysUser { /** - * timeOut + * list * @returns Promise */ - timeOut(data?: any): Promise; + list(data?: any): Promise; /** - * getChatChannelUser - * @returns Promise + * page + * @returns Promise */ - getChatChannelUser(data?: any): Promise; + page(data?: any): Promise; /** - * checkingSetReply + * info * @returns Promise */ - checkingSetReply(data?: any): Promise; + info(data?: any): Promise; /** - * changePrincipal + * update * @returns Promise */ - changePrincipal(data?: any): Promise; + update(data?: any): Promise; /** - * getChatMsgPage + * delete * @returns Promise */ - getChatMsgPage(data?: any): Promise; + delete(data?: any): Promise; /** - * leaveHelper + * add * @returns Promise */ - leaveHelper(data?: any): Promise; + add(data?: any): Promise; /** - * addHelper + * move * @returns Promise */ - addHelper(data?: any): Promise; - /** - * setBlack - * @returns Promise - */ - setBlack(data?: any): Promise; - /** - * setReply - * @returns Promise - */ - setReply(data?: any): Promise; - /** - * setLabel - * @returns Promise - */ - setLabel(data?: any): Promise; - /** - * setWork - * @returns Promise - */ - setWork(data?: any): Promise; - /** - * setStar - * @returns Promise - */ - setStar(data?: any): Promise; - /** - * sendMsg - * @returns Promise - */ - sendMsg(data?: any): Promise; - /** - * inChat - * @returns Promise - */ - inChat(data?: any): Promise; - /** - * remark - * @returns Promise - */ - remark(data?: any): Promise; + move(data?: any): Promise; /** * 权限 */ @@ -624,22 +487,207 @@ declare interface ChatChat { update: string; delete: string; add: string; - translate: string; - timeOut: string; - getChatChannelUser: string; - checkingSetReply: string; - changePrincipal: string; - getChatMsgPage: string; - leaveHelper: string; - addHelper: string; - setBlack: string; - setReply: string; - setLabel: string; - setWork: string; - setStar: string; - sendMsg: string; - inChat: string; - remark: string; + move: string; + }; +} + +declare interface DemoGoods { + /** + * list + * @returns Promise + */ + list(data?: any): Promise; + /** + * page + * @returns Promise + */ + page(data?: any): Promise; + /** + * info + * @returns Promise + */ + info(data?: any): Promise; + /** + * update + * @returns Promise + */ + update(data?: any): Promise; + /** + * delete + * @returns Promise + */ + delete(data?: any): Promise; + /** + * add + * @returns Promise + */ + add(data?: any): Promise; + /** + * 权限 + */ + permission: { + list: string; + page: string; + info: string; + update: string; + delete: string; + add: string; + }; +} + +declare interface SpaceInfo { + /** + * list + * @returns Promise + */ + list(data?: any): Promise; + /** + * page + * @returns Promise + */ + page(data?: any): Promise; + /** + * info + * @returns Promise + */ + info(data?: any): Promise; + /** + * update + * @returns Promise + */ + update(data?: any): Promise; + /** + * delete + * @returns Promise + */ + delete(data?: any): Promise; + /** + * add + * @returns Promise + */ + add(data?: any): Promise; + /** + * 权限 + */ + permission: { + list: string; + page: string; + info: string; + update: string; + delete: string; + add: string; + }; +} + +declare interface SpaceType { + /** + * list + * @returns Promise + */ + list(data?: any): Promise; + /** + * page + * @returns Promise + */ + page(data?: any): Promise; + /** + * info + * @returns Promise + */ + info(data?: any): Promise; + /** + * update + * @returns Promise + */ + update(data?: any): Promise; + /** + * delete + * @returns Promise + */ + delete(data?: any): Promise; + /** + * add + * @returns Promise + */ + add(data?: any): Promise; + /** + * 权限 + */ + permission: { + list: string; + page: string; + info: string; + update: string; + delete: string; + add: string; + }; +} + +declare interface TaskInfo { + /** + * list + * @returns Promise + */ + list(data?: any): Promise; + /** + * page + * @returns Promise + */ + page(data?: any): Promise; + /** + * info + * @returns Promise + */ + info(data?: any): Promise; + /** + * update + * @returns Promise + */ + update(data?: any): Promise; + /** + * delete + * @returns Promise + */ + delete(data?: any): Promise; + /** + * add + * @returns Promise + */ + add(data?: any): Promise; + /** + * start + * @returns Promise + */ + start(data?: any): Promise; + /** + * once + * @returns Promise + */ + once(data?: any): Promise; + /** + * stop + * @returns Promise + */ + stop(data?: any): Promise; + /** + * log + * @returns Promise + */ + log(data?: any): Promise; + /** + * 权限 + */ + permission: { + list: string; + page: string; + info: string; + update: string; + delete: string; + add: string; + start: string; + once: string; + stop: string; + log: string; }; } @@ -731,1520 +779,6 @@ declare interface ChatSession { }; } -declare interface DemoGoods { - /** - * 删除 - * @returns Promise - */ - delete(data?: any): Promise; - /** - * 修改 - * @returns Promise - */ - update(data?: any): Promise; - /** - * 单个信息 - * @returns Promise - */ - info(data?: any): Promise; - /** - * 分页查询 - * @returns Promise - */ - page(data?: any): Promise; - /** - * 列表查询 - * @returns Promise - */ - list(data?: any): Promise; - /** - * 新增 - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - delete: string; - update: string; - info: string; - page: string; - list: string; - add: string; - }; -} - -declare interface FbMallAccount { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * publishGoods - * @returns Promise - */ - publishGoods(data?: any): Promise; - /** - * refreshGoods - * @returns Promise - */ - refreshGoods(data?: any): Promise; - /** - * republish - * @returns Promise - */ - republish(data?: any): Promise; - /** - * addMore - * @returns Promise - */ - addMore(data?: any): Promise; - /** - * close - * @returns Promise - */ - close(data?: any): Promise; - /** - * open - * @returns Promise - */ - open(data?: any): Promise; - /** - * getAccountGoods - * @returns Promise - */ - getAccountGoods(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - publishGoods: string; - refreshGoods: string; - republish: string; - addMore: string; - close: string; - open: string; - getAccountGoods: string; - }; -} - -declare interface FbMallArea { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface FbMallAreaItem { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * order - * @returns Promise - */ - order(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - order: string; - }; -} - -declare interface FbMallGoods { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface FbMallGoodsItem { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * readAll - * @returns Promise - */ - readAll(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - readAll: string; - }; -} - -declare interface FbMallPhoto { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface FbMallPhotoItem { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * order - * @returns Promise - */ - order(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - order: string; - }; -} - -declare interface FbMallPromote { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * getLog - * @returns Promise - */ - getLog(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - getLog: string; - }; -} - -declare interface FbMallProxy { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface FbMallServer { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface FbMallThesaurus { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * order - * @returns Promise - */ - order(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - order: string; - }; -} - -declare interface FbMallThesaurusItem { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * readAll - * @returns Promise - */ - readAll(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - readAll: string; - }; -} - -declare interface MultimediaMultimediaData { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * deleteAllPermission - * @returns Promise - */ - deleteAllPermission(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - deleteAllPermission: string; - }; -} - -declare interface MultimediaMultimediaItem { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * updateeAllPermission - * @returns Promise - */ - updateeAllPermission(data?: any): Promise; - /** - * deleteAllPermission - * @returns Promise - */ - deleteAllPermission(data?: any): Promise; - /** - * order - * @returns Promise - */ - order(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - updateeAllPermission: string; - deleteAllPermission: string; - order: string; - }; -} - -declare interface ShopReply { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface SpaceInfo { - /** - * 删除 - * @returns Promise - */ - delete(data?: any): Promise; - /** - * 修改 - * @returns Promise - */ - update(data?: any): Promise; - /** - * 单个信息 - * @returns Promise - */ - info(data?: any): Promise; - /** - * 列表查询 - * @returns Promise - */ - list(data?: any): Promise; - /** - * 分页查询 - * @returns Promise - */ - page(data?: any): Promise; - /** - * 新增 - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; -} - -declare interface SpaceType { - /** - * 删除 - * @returns Promise - */ - delete(data?: any): Promise; - /** - * 修改 - * @returns Promise - */ - update(data?: any): Promise; - /** - * 单个信息 - * @returns Promise - */ - info(data?: any): Promise; - /** - * 列表查询 - * @returns Promise - */ - list(data?: any): Promise; - /** - * 分页查询 - * @returns Promise - */ - page(data?: any): Promise; - /** - * 新增 - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - delete: string; - update: string; - info: string; - list: string; - page: string; - add: string; - }; -} - -declare interface SysArea { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface SysChannel { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface SysCountry { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface SysExpress { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface SysGoods { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface SysGoodsItem { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * order - * @returns Promise - */ - order(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - order: string; - }; -} - -declare interface SysLabel { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface SysShop { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * readAll - * @returns Promise - */ - readAll(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - readAll: string; - }; -} - -declare interface SysShop_warehouse { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface SysSku { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * synchronize - * @returns Promise - */ - synchronize(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - synchronize: string; - }; -} - -declare interface SysStock { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * synchronize - * @returns Promise - */ - synchronize(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - synchronize: string; - }; -} - -declare interface SysWarehouse { - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * page - * @returns Promise - */ - page(data?: any): Promise; - /** - * info - * @returns Promise - */ - info(data?: any): Promise; - /** - * update - * @returns Promise - */ - update(data?: any): Promise; - /** - * delete - * @returns Promise - */ - delete(data?: any): Promise; - /** - * add - * @returns Promise - */ - add(data?: any): Promise; - /** - * 权限 - */ - permission: { - list: string; - page: string; - info: string; - update: string; - delete: string; - add: string; - }; -} - -declare interface TaskInfo { - /** - * 删除 - * @returns Promise - */ - delete(data?: any): Promise; - /** - * 修改 - * @returns Promise - */ - update(data?: any): Promise; - /** - * 开始 - * @returns Promise - */ - start(data?: any): Promise; - /** - * 执行一次 - * @returns Promise - */ - once(data?: any): Promise; - /** - * 停止 - * @returns Promise - */ - stop(data?: any): Promise; - /** - * 单个信息 - * @returns Promise - */ - info(data?: any): Promise; - /** - * 分页查询 - * @returns Promise - */ - page(data?: any): Promise; - /** - * 日志 - * @returns Promise - */ - log(data?: any): Promise; - /** - * 新增 - * @returns Promise - */ - add(data?: any): Promise; - /** - * list - * @returns Promise - */ - list(data?: any): Promise; - /** - * 权限 - */ - permission: { - delete: string; - update: string; - start: string; - once: string; - stop: string; - info: string; - page: string; - log: string; - add: string; - list: string; - }; -} - declare interface Test { /** * list @@ -2303,42 +837,9 @@ declare type Service = { user: BaseSysUser; }; }; - chat: { chat: ChatChat; message: ChatMessage; session: ChatSession }; demo: { goods: DemoGoods }; - fbMall: { - account: FbMallAccount; - area: FbMallArea; - areaItem: FbMallAreaItem; - goods: FbMallGoods; - goodsItem: FbMallGoodsItem; - photo: FbMallPhoto; - photoItem: FbMallPhotoItem; - promote: FbMallPromote; - proxy: FbMallProxy; - server: FbMallServer; - thesaurus: FbMallThesaurus; - thesaurusItem: FbMallThesaurusItem; - }; - multimedia: { - multimediaData: MultimediaMultimediaData; - multimediaItem: MultimediaMultimediaItem; - }; - shop: { reply: ShopReply }; space: { info: SpaceInfo; type: SpaceType }; - sys: { - area: SysArea; - channel: SysChannel; - country: SysCountry; - express: SysExpress; - goods: SysGoods; - goodsItem: SysGoodsItem; - label: SysLabel; - shop: SysShop; - shop_warehouse: SysShop_warehouse; - sku: SysSku; - stock: SysStock; - warehouse: SysWarehouse; - }; task: { info: TaskInfo }; + chat: { message: ChatMessage; session: ChatSession }; test: Test; }; diff --git a/package.json b/package.json index 6deb19a..4e37eae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "front-next", - "version": "5.4.1", + "version": "5.5.0", "scripts": { "dev": "vite --host", "build": "vite build",