cool-admin-vue/build/cool/eps.d.ts
2024-04-26 21:28:51 +08:00

2159 lines
32 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

declare namespace Eps {
interface BaseSysDepartmentEntity {
/**
* ID
*/
id?: number;
/**
* 部门名称
*/
name?: string;
/**
* 上级部门ID
*/
parentId?: number;
/**
* 排序
*/
orderNum?: number;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface BaseSysLogEntity {
/**
* ID
*/
id?: number;
/**
* 用户ID
*/
userId?: number;
/**
* 行为
*/
action?: string;
/**
* ip
*/
ip?: string;
/**
* ip地址
*/
ipAddr?: string;
/**
* 参数
*/
params?: json;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface BaseSysMenuEntity {
/**
* ID
*/
id?: number;
/**
* 父菜单ID
*/
parentId?: number;
/**
* 菜单名称
*/
name?: string;
/**
* 菜单地址
*/
router?: string;
/**
* 权限标识
*/
perms?: string;
/**
* 类型 0-目录 1-菜单 2-按钮
*/
type?: number;
/**
* 图标
*/
icon?: string;
/**
* 排序
*/
orderNum?: number;
/**
* 视图地址
*/
viewPath?: string;
/**
* 路由缓存
*/
keepAlive?: boolean;
/**
* 是否显示
*/
isShow?: boolean;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface BaseSysParamEntity {
/**
* ID
*/
id?: number;
/**
* 键
*/
keyName?: string;
/**
* 名称
*/
name?: string;
/**
* 数据
*/
data?: string;
/**
* 数据类型 0-字符串 1-富文本 2-文件
*/
dataType?: number;
/**
* 备注
*/
remark?: string;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface BaseSysRoleEntity {
/**
* ID
*/
id?: number;
/**
* 用户ID
*/
userId?: string;
/**
* 名称
*/
name?: string;
/**
* 角色标签
*/
label?: string;
/**
* 备注
*/
remark?: string;
/**
* 数据权限是否关联上下级
*/
relevance?: boolean;
/**
* 菜单权限
*/
menuIdList?: json;
/**
* 部门权限
*/
departmentIdList?: json;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface BaseSysUserEntity {
/**
* ID
*/
id?: number;
/**
* 部门ID
*/
departmentId?: number;
/**
* 姓名
*/
name?: string;
/**
* 用户名
*/
username?: string;
/**
* 密码
*/
password?: string;
/**
* 密码版本, 作用是改完密码让原来的token失效
*/
passwordV?: number;
/**
* 昵称
*/
nickName?: string;
/**
* 头像
*/
headImg?: string;
/**
* 手机
*/
phone?: string;
/**
* 邮箱
*/
email?: string;
/**
* 备注
*/
remark?: string;
/**
* 状态 0-禁用 1-启用
*/
status?: number;
/**
* socketId
*/
socketId?: string;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface DemoGoodsEntity {
/**
* ID
*/
id?: number;
/**
* 标题
*/
title?: string;
/**
* 价格
*/
price?: number;
/**
* 描述
*/
description?: string;
/**
* 主图
*/
mainImage?: string;
/**
* 示例图
*/
exampleImages?: json;
/**
* 库存
*/
stock?: number;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface DictInfoEntity {
/**
* ID
*/
id?: number;
/**
* 类型ID
*/
typeId?: number;
/**
* 名称
*/
name?: string;
/**
* 值
*/
value?: string;
/**
* 排序
*/
orderNum?: number;
/**
* 备注
*/
remark?: string;
/**
* 父ID
*/
parentId?: number;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface DictTypeEntity {
/**
* ID
*/
id?: number;
/**
* 名称
*/
name?: string;
/**
* 标识
*/
key?: string;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface PluginInfoEntity {
/**
* ID
*/
id?: number;
/**
* 名称
*/
name?: string;
/**
* 简介
*/
description?: string;
/**
* Key名
*/
keyName?: string;
/**
* Hook
*/
hook?: string;
/**
* 描述
*/
readme?: string;
/**
* 版本
*/
version?: string;
/**
* Logo(base64)
*/
logo?: string;
/**
* 作者
*/
author?: string;
/**
* 状态 0-禁用 1-启用
*/
status?: number;
/**
* 内容
*/
content?: json;
/**
* 插件的plugin.json
*/
pluginJson?: json;
/**
* 配置
*/
config?: json;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface RecycleDataEntity {
/**
* ID
*/
id?: number;
/**
* 表
*/
entityInfo?: json;
/**
* 操作人
*/
userId?: number;
/**
* 被删除的数据
*/
data?: json;
/**
* 请求的接口
*/
url?: string;
/**
* 请求参数
*/
params?: json;
/**
* 删除数据条数
*/
count?: number;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface SpaceInfoEntity {
/**
* ID
*/
id?: number;
/**
* 地址
*/
url?: string;
/**
* 类型
*/
type?: string;
/**
* 分类ID
*/
classifyId?: number;
/**
* 文件id
*/
fileId?: string;
/**
* 文件名
*/
name?: string;
/**
* 文件大小
*/
size?: number;
/**
* 文档版本
*/
version?: number;
/**
* 文件位置
*/
key?: string;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface SpaceTypeEntity {
/**
* ID
*/
id?: number;
/**
* 类别名称
*/
name?: string;
/**
* 父分类ID
*/
parentId?: number;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface TaskInfoEntity {
/**
* ID
*/
id?: number;
/**
* 任务ID
*/
jobId?: string;
/**
* 任务配置
*/
repeatConf?: string;
/**
* 名称
*/
name?: string;
/**
* cron
*/
cron?: string;
/**
* 最大执行次数 不传为无限次
*/
limit?: number;
/**
* 每间隔多少毫秒执行一次 如果cron设置了 这项设置就无效
*/
every?: number;
/**
* 备注
*/
remark?: string;
/**
* 状态 0-停止 1-运行
*/
status?: number;
/**
* 开始时间
*/
startDate?: Date;
/**
* 结束时间
*/
endDate?: Date;
/**
* 数据
*/
data?: string;
/**
* 执行的service实例ID
*/
service?: string;
/**
* 状态 0-系统 1-用户
*/
type?: number;
/**
* 下一次执行时间
*/
nextRunTime?: Date;
/**
* 状态 0-cron 1-时间间隔
*/
taskType?: number;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface UserAddressEntity {
/**
* ID
*/
id?: number;
/**
* 用户ID
*/
userId?: number;
/**
* 联系人
*/
contact?: string;
/**
* 手机号
*/
phone?: string;
/**
* 省
*/
province?: string;
/**
* 市
*/
city?: string;
/**
* 区
*/
district?: string;
/**
* 地址
*/
address?: string;
/**
* 是否默认
*/
isDefault?: boolean;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface UserInfoEntity {
/**
* ID
*/
id?: number;
/**
* 登录唯一ID
*/
unionid?: string;
/**
* 头像
*/
avatarUrl?: string;
/**
* 昵称
*/
nickName?: string;
/**
* 手机号
*/
phone?: string;
/**
* 性别 0-未知 1-男 2-女
*/
gender?: number;
/**
* 状态 0-禁用 1-正常 2-已注销
*/
status?: number;
/**
* 登录方式 0-小程序 1-公众号 2-H5
*/
loginType?: number;
/**
* 密码
*/
password?: string;
/**
* 密码
*/
test11?: string;
/**
* 创建时间
*/
createTime?: Date;
/**
* 更新时间
*/
updateTime?: Date;
/**
* 任意键值
*/
[key: string]: any;
}
interface ChatMessageEntity {
/**
* 任意键值
*/
[key: string]: any;
}
interface ChatSessionEntity {
/**
* 任意键值
*/
[key: string]: any;
}
interface TestEntity {
/**
* 任意键值
*/
[key: string]: any;
}
interface DemoUserFollowEntity {
/**
* 任意键值
*/
[key: string]: any;
}
interface DemoUserInfoEntity {
/**
* 任意键值
*/
[key: string]: any;
}
interface BaseComm {
/**
* 修改个人信息
*/
personUpdate(data?: any): Promise<any>;
/**
* 文件上传模式
*/
uploadMode(data?: any): Promise<any>;
/**
* 权限与菜单
*/
permmenu(data?: any): Promise<any>;
/**
* 个人信息
*/
person(data?: any): Promise<any>;
/**
* 文件上传
*/
upload(data?: any): Promise<any>;
/**
* 退出
*/
logout(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
personUpdate: string;
uploadMode: string;
permmenu: string;
person: string;
upload: string;
logout: string;
};
/**
* 权限状态
*/
_permission: {
personUpdate: boolean;
uploadMode: boolean;
permmenu: boolean;
person: boolean;
upload: boolean;
logout: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface BaseOpen {
/**
* 刷新token
*/
refreshToken(data?: any): Promise<any>;
/**
* 验证码
*/
captcha(data?: any): Promise<any>;
/**
* 登录
*/
login(data?: any): Promise<any>;
/**
* 获得网页内容的参数值
*/
html(data?: any): Promise<any>;
/**
* 实体信息与路径
*/
eps(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
refreshToken: string;
captcha: string;
login: string;
html: string;
eps: string;
};
/**
* 权限状态
*/
_permission: {
refreshToken: boolean;
captcha: boolean;
login: boolean;
html: boolean;
eps: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface BaseSysDepartment {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 排序
*/
order(data?: any): Promise<any>;
/**
* 列表查询
*/
list(data?: any): Promise<BaseSysDepartmentEntity[]>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: { delete: string; update: string; order: string; list: string; add: string };
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
order: boolean;
list: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface BaseSysLog {
/**
* 日志保存时间
*/
setKeep(data?: any): Promise<any>;
/**
* 获得日志保存时间
*/
getKeep(data?: any): Promise<any>;
/**
* 清理
*/
clear(data?: any): Promise<any>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: BaseSysLogEntity[];
[key: string]: any;
}>;
/**
* 权限标识
*/
permission: { setKeep: string; getKeep: string; clear: string; page: string };
/**
* 权限状态
*/
_permission: { setKeep: boolean; getKeep: boolean; clear: boolean; page: boolean };
/**
* 请求
*/
request: Service["request"];
}
interface BaseSysMenu {
/**
* 创建代码
*/
create(data?: any): Promise<any>;
/**
* 导出
*/
export(data?: any): Promise<any>;
/**
* 导入
*/
import(data?: any): Promise<any>;
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 解析
*/
parse(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<BaseSysMenuEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<BaseSysMenuEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: BaseSysMenuEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
create: string;
export: string;
import: string;
delete: string;
update: string;
parse: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
create: boolean;
export: boolean;
import: boolean;
delete: boolean;
update: boolean;
parse: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface BaseSysParam {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 获得网页内容的参数值
*/
html(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<BaseSysParamEntity>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: BaseSysParamEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
html: string;
info: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
html: boolean;
info: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface BaseSysRole {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<BaseSysRoleEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<BaseSysRoleEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: BaseSysRoleEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface BaseSysUser {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 移动部门
*/
move(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<BaseSysUserEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<BaseSysUserEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: BaseSysUserEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
move: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
move: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface DemoGoods {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<DemoGoodsEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<DemoGoodsEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: DemoGoodsEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface DemoUserFollow {
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: DemoUserFollowEntity[];
[key: string]: any;
}>;
/**
* list
*/
list(data?: any): Promise<DemoUserFollowEntity[]>;
/**
* info
*/
info(data?: any): Promise<DemoUserFollowEntity>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
page: string;
list: string;
info: string;
delete: string;
update: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
page: boolean;
list: boolean;
info: boolean;
delete: boolean;
update: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface DemoUserInfo {
/**
* t1
*/
t1(data?: any): Promise<any>;
/**
* t2
*/
t2(data?: any): Promise<any>;
/**
* t3
*/
t3(data?: any): Promise<any>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: DemoUserInfoEntity[];
[key: string]: any;
}>;
/**
* list
*/
list(data?: any): Promise<DemoUserInfoEntity[]>;
/**
* info
*/
info(data?: any): Promise<DemoUserInfoEntity>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
t1: string;
t2: string;
t3: string;
page: string;
list: string;
info: string;
delete: string;
update: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
t1: boolean;
t2: boolean;
t3: boolean;
page: boolean;
list: boolean;
info: boolean;
delete: boolean;
update: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface DictInfo {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 获得字典数据
*/
data(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<DictInfoEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<DictInfoEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: DictInfoEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
data: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
data: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface DictType {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<DictTypeEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<DictTypeEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: DictTypeEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface PluginInfo {
/**
* 安装插件
*/
install(data?: any): Promise<any>;
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<PluginInfoEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<PluginInfoEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: PluginInfoEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
install: string;
delete: string;
update: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
install: boolean;
delete: boolean;
update: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface RecycleData {
/**
* 恢复数据
*/
restore(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<RecycleDataEntity>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: RecycleDataEntity[];
[key: string]: any;
}>;
/**
* 权限标识
*/
permission: { restore: string; info: string; page: string };
/**
* 权限状态
*/
_permission: { restore: boolean; info: boolean; page: boolean };
/**
* 请求
*/
request: Service["request"];
}
interface SpaceInfo {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<SpaceInfoEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<SpaceInfoEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: SpaceInfoEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface SpaceType {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<SpaceTypeEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<SpaceTypeEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: SpaceTypeEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface TaskInfo {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 开始
*/
start(data?: any): Promise<any>;
/**
* 执行一次
*/
once(data?: any): Promise<any>;
/**
* 停止
*/
stop(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<TaskInfoEntity>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: TaskInfoEntity[];
[key: string]: any;
}>;
/**
* 日志
*/
log(data?: any): Promise<any>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
start: string;
once: string;
stop: string;
info: string;
page: string;
log: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
start: boolean;
once: boolean;
stop: boolean;
info: boolean;
page: boolean;
log: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface UserAddress {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<UserAddressEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<UserAddressEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: UserAddressEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface UserInfo {
/**
* 删除
*/
delete(data?: any): Promise<any>;
/**
* 修改
*/
update(data?: any): Promise<any>;
/**
* test
*/
test(data?: any): Promise<any>;
/**
* 单个信息
*/
info(data?: any): Promise<UserInfoEntity>;
/**
* 列表查询
*/
list(data?: any): Promise<UserInfoEntity[]>;
/**
* 分页查询
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: UserInfoEntity[];
[key: string]: any;
}>;
/**
* 新增
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
delete: string;
update: string;
test: string;
info: string;
list: string;
page: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
delete: boolean;
update: boolean;
test: boolean;
info: boolean;
list: boolean;
page: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface ChatMessage {
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: ChatMessageEntity[];
[key: string]: any;
}>;
/**
* list
*/
list(data?: any): Promise<ChatMessageEntity[]>;
/**
* info
*/
info(data?: any): Promise<ChatMessageEntity>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
page: string;
list: string;
info: string;
delete: string;
update: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
page: boolean;
list: boolean;
info: boolean;
delete: boolean;
update: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface ChatSession {
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: ChatSessionEntity[];
[key: string]: any;
}>;
/**
* list
*/
list(data?: any): Promise<ChatSessionEntity[]>;
/**
* info
*/
info(data?: any): Promise<ChatSessionEntity>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* 权限标识
*/
permission: {
page: string;
list: string;
info: string;
delete: string;
update: string;
add: string;
};
/**
* 权限状态
*/
_permission: {
page: boolean;
list: boolean;
info: boolean;
delete: boolean;
update: boolean;
add: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
interface Test {
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number; [key: string]: any };
list: TestEntity[];
[key: string]: any;
}>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
* info
*/
info(data?: any): Promise<TestEntity>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* list
*/
list(data?: any): Promise<TestEntity[]>;
/**
* 权限标识
*/
permission: {
page: string;
update: string;
add: string;
info: string;
delete: string;
list: string;
};
/**
* 权限状态
*/
_permission: {
page: boolean;
update: boolean;
add: boolean;
info: boolean;
delete: boolean;
list: boolean;
};
/**
* 请求
*/
request: Service["request"];
}
type json = any;
type Service = {
request(options?: {
url: string;
method?: "POST" | "GET" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
data?: any;
params?: any;
headers?: {
[key: string]: any;
};
timeout?: number;
proxy?: boolean;
[key: string]: any;
}): Promise<any>;
base: {
comm: BaseComm;
open: BaseOpen;
sys: {
department: BaseSysDepartment;
log: BaseSysLog;
menu: BaseSysMenu;
param: BaseSysParam;
role: BaseSysRole;
user: BaseSysUser;
};
};
demo: { goods: DemoGoods; user: { follow: DemoUserFollow; info: DemoUserInfo } };
dict: { info: DictInfo; type: DictType };
plugin: { info: PluginInfo };
recycle: { data: RecycleData };
space: { info: SpaceInfo; type: SpaceType };
task: { info: TaskInfo };
user: { address: UserAddress; info: UserInfo };
chat: { message: ChatMessage; session: ChatSession };
test: Test;
};
}