cool-admin-vue/build/cool/temp/eps.d.ts

1575 lines
23 KiB
TypeScript
Raw Normal View History

2022-07-21 19:07:32 +08:00
declare namespace Eps {
interface BaseSysDepartmentEntity {
/**
* ID
*/
id?: number;
/**
*
*/
name?: string;
/**
* ID
*/
parentId?: BigInt;
/**
*
*/
orderNum?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
*
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
[key: string]: any;
}
interface BaseSysLogEntity {
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
* ID
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
id?: number;
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
* ID
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
userId?: BigInt;
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
*
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
action?: string;
/**
* ip
*/
ip?: string;
/**
* ip地址
*/
ipAddr?: string;
/**
*
*/
params?: string;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
/**
*
*/
[key: string]: any;
}
interface BaseSysMenuEntity {
/**
* ID
*/
id?: number;
/**
* ID
*/
parentId?: BigInt;
/**
*
*/
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;
2022-07-25 21:32:33 +08:00
}
2022-07-21 19:07:32 +08:00
interface BaseSysParamEntity {
/**
* ID
*/
id?: number;
/**
*
*/
keyName?: string;
/**
*
*/
name?: string;
/**
*
*/
data?: string;
/**
* 0:字符串 1 2
*/
dataType?: number;
/**
*
*/
remark?: string;
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
*
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
createTime?: Date;
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
*
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
updateTime?: Date;
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
*
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
[key: string]: any;
}
interface BaseSysRoleEntity {
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
* ID
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
id?: number;
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
* ID
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
userId?: string;
/**
*
*/
name?: string;
/**
*
*/
label?: string;
/**
*
*/
remark?: string;
/**
*
*/
relevance?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
/**
*
*/
[key: string]: any;
}
interface BaseSysUserEntity {
/**
* ID
*/
id?: number;
/**
* ID
*/
departmentId?: BigInt;
/**
*
*/
name?: string;
/**
*
*/
username?: string;
/**
*
*/
password?: string;
/**
* , token失效
*/
passwordV?: number;
/**
*
*/
nickName?: string;
/**
*
*/
headImg?: string;
/**
*
*/
phone?: string;
/**
*
*/
email?: string;
/**
*
*/
remark?: string;
/**
* 0:禁用 1
*/
status?: boolean;
/**
* socketId
*/
socketId?: string;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
/**
*
*/
[key: string]: any;
}
interface DemoGoodsEntity {
/**
* ID
*/
id?: number;
/**
*
*/
title?: string;
/**
*
*/
pic?: string;
/**
*
*/
price?: number;
/**
2022-07-29 17:52:00 +08:00
*
2022-07-21 19:07:32 +08:00
*/
type?: number;
/**
*
*/
createTime?: Date;
/**
*
*/
updateTime?: Date;
/**
*
*/
[key: string]: any;
}
interface DictInfoEntity {
/**
* ID
*/
id?: number;
/**
* ID
*/
typeId?: number;
/**
*
*/
name?: 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 SpaceInfoEntity {
/**
* ID
*/
id?: number;
/**
*
*/
url?: string;
/**
*
*/
type?: string;
/**
* ID
*/
classifyId?: BigInt;
/**
*
*/
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?: boolean;
/**
*
*/
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;
}
2022-07-29 17:52:00 +08:00
interface ChatMessage {
/**
* list
*/
list(data?: any): Promise<any[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: any[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
*
*/
permission: {
list: string;
page: string;
info: string;
update: string;
delete: string;
add: string;
};
/**
*
*/
_permission: {
list: boolean;
page: boolean;
info: boolean;
update: boolean;
delete: boolean;
add: boolean;
};
}
interface ChatSession {
/**
* list
*/
list(data?: any): Promise<any[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: any[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
*
*/
permission: {
list: string;
page: string;
info: string;
update: string;
delete: string;
add: string;
};
/**
*
*/
_permission: {
list: boolean;
page: boolean;
info: boolean;
update: boolean;
delete: boolean;
add: boolean;
};
}
interface Test {
/**
* list
*/
list(data?: any): Promise<any[]>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: any[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<any>;
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
*
*/
permission: {
list: string;
page: string;
info: string;
update: string;
delete: string;
add: string;
};
/**
*
*/
_permission: {
list: boolean;
page: boolean;
info: boolean;
update: boolean;
delete: boolean;
add: boolean;
};
}
2022-07-21 19:07:32 +08:00
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>;
/**
2022-07-25 21:32:33 +08:00
* list
2022-07-21 19:07:32 +08:00
*/
2022-07-25 21:32:33 +08:00
list(data?: any): Promise<any[]>;
2022-07-21 19:07:32 +08:00
/**
2022-07-25 21:32:33 +08:00
* page
2022-07-21 19:07:32 +08:00
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
2022-07-25 21:32:33 +08:00
list: any[];
2022-07-21 19:07:32 +08:00
[key: string]: any;
}>;
/**
* info
*/
2022-07-25 21:32:33 +08:00
info(data?: any): Promise<any>;
2022-07-21 19:07:32 +08:00
/**
* update
*/
update(data?: any): Promise<any>;
/**
* delete
*/
delete(data?: any): Promise<any>;
/**
* add
*/
add(data?: any): Promise<any>;
/**
*
*/
permission: {
personUpdate: string;
uploadMode: string;
permmenu: string;
person: string;
upload: string;
logout: string;
list: string;
2022-07-25 21:32:33 +08:00
page: string;
2022-07-21 19:07:32 +08:00
info: string;
update: string;
delete: string;
add: string;
};
/**
*
*/
_permission: {
personUpdate: boolean;
uploadMode: boolean;
permmenu: boolean;
person: boolean;
upload: boolean;
logout: boolean;
list: boolean;
2022-07-25 21:32:33 +08:00
page: boolean;
2022-07-21 19:07:32 +08:00
info: boolean;
update: boolean;
delete: boolean;
add: boolean;
};
}
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>;
/**
2022-07-25 21:32:33 +08:00
* list
2022-07-21 19:07:32 +08:00
*/
2022-07-25 21:32:33 +08:00
list(data?: any): Promise<any[]>;
2022-07-21 19:07:32 +08:00
/**
2022-07-25 21:32:33 +08:00
* page
2022-07-21 19:07:32 +08:00
*/
2022-07-25 21:32:33 +08:00
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: any[];
[key: string]: any;
}>;
2022-07-21 19:07:32 +08:00
/**
2022-07-25 21:32:33 +08:00
* info
2022-07-21 19:07:32 +08:00
*/
2022-07-25 21:32:33 +08:00
info(data?: any): Promise<any>;
2022-07-21 19:07:32 +08:00
/**
2022-07-25 21:32:33 +08:00
* update
2022-07-21 19:07:32 +08:00
*/
2022-07-25 21:32:33 +08:00
update(data?: any): Promise<any>;
2022-07-21 19:07:32 +08:00
/**
2022-07-25 21:32:33 +08:00
* delete
2022-07-21 19:07:32 +08:00
*/
2022-07-25 21:32:33 +08:00
delete(data?: any): Promise<any>;
2022-07-21 19:07:32 +08:00
/**
2022-07-25 21:32:33 +08:00
* add
2022-07-21 19:07:32 +08:00
*/
add(data?: any): Promise<any>;
/**
*
*/
permission: {
refreshToken: string;
captcha: string;
login: string;
html: string;
eps: string;
list: string;
page: string;
2022-07-25 21:32:33 +08:00
info: string;
update: string;
delete: string;
2022-07-21 19:07:32 +08:00
add: string;
};
/**
*
*/
_permission: {
refreshToken: boolean;
captcha: boolean;
login: boolean;
html: boolean;
eps: boolean;
list: boolean;
page: boolean;
2022-07-25 21:32:33 +08:00
info: boolean;
update: boolean;
delete: boolean;
2022-07-21 19:07:32 +08:00
add: boolean;
};
}
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>;
/**
* page
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysDepartmentEntity[];
[key: string]: any;
}>;
/**
* info
*/
info(data?: any): Promise<BaseSysDepartmentEntity>;
/**
*
*/
permission: {
delete: string;
update: string;
order: string;
2022-07-25 21:32:33 +08:00
list: string;
2022-07-21 19:07:32 +08:00
add: string;
page: string;
2022-07-25 21:32:33 +08:00
info: string;
2022-07-21 19:07:32 +08:00
};
/**
*
*/
_permission: {
delete: boolean;
update: boolean;
order: boolean;
2022-07-25 21:32:33 +08:00
list: boolean;
2022-07-21 19:07:32 +08:00
add: boolean;
page: boolean;
2022-07-25 21:32:33 +08:00
info: boolean;
2022-07-21 19:07:32 +08:00
};
}
interface BaseSysLog {
/**
*
*/
setKeep(data?: any): Promise<any>;
/**
*
*/
getKeep(data?: any): Promise<any>;
/**
*
*/
clear(data?: any): Promise<any>;
/**
*
*/
2022-07-25 21:32:33 +08:00
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
2022-07-21 19:07:32 +08:00
list: BaseSysLogEntity[];
2022-07-25 21:32:33 +08:00
[key: string]: any;
}>;
2022-07-21 19:07:32 +08:00
/**
* list
*/
list(data?: any): Promise<BaseSysLogEntity[]>;
/**
2022-07-25 21:32:33 +08:00
* info
2022-07-21 19:07:32 +08:00
*/
info(data?: any): Promise<BaseSysLogEntity>;
/**
2022-07-25 21:32:33 +08:00
* update
2022-07-21 19:07:32 +08:00
*/
2022-07-25 21:32:33 +08:00
update(data?: any): Promise<any>;
2022-07-21 19:07:32 +08:00
/**
2022-07-25 21:32:33 +08:00
* delete
2022-07-21 19:07:32 +08:00
*/
2022-07-25 21:32:33 +08:00
delete(data?: any): Promise<any>;
2022-07-21 19:07:32 +08:00
/**
2022-07-25 21:32:33 +08:00
* add
2022-07-21 19:07:32 +08:00
*/
add(data?: any): Promise<any>;
/**
*
*/
permission: {
setKeep: string;
getKeep: string;
clear: string;
page: string;
list: string;
2022-07-25 21:32:33 +08:00
info: string;
update: string;
delete: string;
2022-07-21 19:07:32 +08:00
add: string;
};
/**
*
*/
_permission: {
setKeep: boolean;
getKeep: boolean;
clear: boolean;
page: boolean;
list: boolean;
2022-07-25 21:32:33 +08:00
info: boolean;
update: boolean;
delete: boolean;
2022-07-21 19:07:32 +08:00
add: boolean;
};
}
interface BaseSysMenu {
/**
*
*/
delete(data?: any): Promise<any>;
/**
*
*/
update(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 };
list: BaseSysMenuEntity[];
[key: string]: any;
}>;
/**
*
*/
2022-07-25 21:32:33 +08:00
add(data?: any): Promise<any>;
2022-07-21 19:07:32 +08:00
/**
*
*/
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;
};
}
interface BaseSysParam {
/**
*
*/
delete(data?: any): Promise<any>;
/**
*
*/
update(data?: any): Promise<any>;
/**
*
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
html(data?: any): Promise<any>;
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
*
2022-07-25 21:32:33 +08:00
*/
2022-07-21 19:07:32 +08:00
info(data?: any): Promise<BaseSysParamEntity>;
2022-07-25 21:32:33 +08:00
/**
2022-07-21 19:07:32 +08:00
*
*/
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
list: BaseSysParamEntity[];
[key: string]: any;
}>;
/**
*
*/
add(data?: any): Promise<any>;
/**
* list
*/
list(data?: any): Promise<BaseSysParamEntity[]>;
/**
*
*/
permission: {
2022-07-25 21:32:33 +08:00
delete: string;
2022-07-21 19:07:32 +08:00
update: string;
html: string;
info: string;
page: string;
add: string;
list: string;
};
/**
*
*/
_permission: {
2022-07-25 21:32:33 +08:00
delete: boolean;
2022-07-21 19:07:32 +08:00
update: boolean;
html: boolean;
info: boolean;
page: boolean;
add: boolean;
list: boolean;
};
}
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 };
list: BaseSysRoleEntity[];
[key: string]: any;
}>;
/**
*
*/
2022-07-25 21:32:33 +08:00
add(data?: any): Promise<any>;
2022-07-21 19:07:32 +08:00
/**
*
*/
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;
};
}
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 };
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;
};
}
interface DemoGoods {
/**
*
*/
delete(data?: any): Promise<any>;
/**
*
*/
update(data?: any): Promise<any>;
/**
*
*/
info(data?: any): Promise<DemoGoodsEntity>;
/**
*
*/
2022-07-25 21:32:33 +08:00
page(data?: any): Promise<{
pagination: { size: number; page: number; total: number };
2022-07-21 19:07:32 +08:00
list: DemoGoodsEntity[];
2022-07-25 21:32:33 +08:00
[key: string]: any;
}>;
2022-07-21 19:07:32 +08:00
/**
*
*/
list(data?: any): Promise<DemoGoodsEntity[]>;
/**
*
*/
add(data?: any): Promise<any>;
/**
*
*/
permission: {
2022-07-25 21:32:33 +08:00
delete: string;
2022-07-21 19:07:32 +08:00
update: string;
info: string;
page: string;
list: string;
add: string;
};
/**
*
*/
_permission: {
2022-07-25 21:32:33 +08:00
delete: boolean;
2022-07-21 19:07:32 +08:00
update: boolean;
info: boolean;
page: boolean;
list: boolean;
add: boolean;
};
}
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 };
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;
};
}
interface DictType {
/**
*
*/
2022-07-25 21:32:33 +08:00
delete(data?: any): Promise<any>;
2022-07-21 19:07:32 +08:00
/**
*
*/
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 };
list: DictTypeEntity[];
[key: string]: any;
}>;
/**
*
*/
add(data?: any): Promise<any>;
/**
*
*/
permission: {
delete: string;
update: string;
info: string;
2022-07-25 21:32:33 +08:00
list: string;
page: string;
add: string;
2022-07-21 19:07:32 +08:00
};
/**
*
*/
_permission: {
delete: boolean;
update: boolean;
info: boolean;
2022-07-25 21:32:33 +08:00
list: boolean;
page: boolean;
add: boolean;
2022-07-21 19:07:32 +08:00
};
}
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 };
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;
};
}
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 };
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;
};
}
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 };
list: TaskInfoEntity[];
[key: string]: any;
}>;
/**
*
*/
log(data?: any): Promise<any>;
/**
*
*/
add(data?: any): Promise<any>;
/**
* list
*/
list(data?: any): Promise<TaskInfoEntity[]>;
/**
*
*/
permission: {
delete: string;
update: string;
start: string;
once: string;
stop: string;
info: string;
page: string;
log: string;
add: string;
list: string;
};
/**
*
*/
_permission: {
delete: boolean;
update: boolean;
start: boolean;
once: boolean;
stop: boolean;
info: boolean;
page: boolean;
log: boolean;
add: boolean;
list: boolean;
};
}
type Service = {
request(options: {
url: string;
method?: "POST" | "GET" | string;
data?: any;
params?: any;
proxy?: boolean;
[key: string]: any;
}): Promise<any>;
2022-07-29 17:52:00 +08:00
chat: { message: ChatMessage; session: ChatSession };
test: Test;
2022-07-21 19:07:32 +08:00
base: {
comm: BaseComm;
open: BaseOpen;
sys: {
department: BaseSysDepartment;
log: BaseSysLog;
menu: BaseSysMenu;
param: BaseSysParam;
role: BaseSysRole;
user: BaseSysUser;
};
};
demo: { goods: DemoGoods };
dict: { info: DictInfo; type: DictType };
space: { info: SpaceInfo; type: SpaceType };
task: { info: TaskInfo };
};
}