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

2159 lines
32 KiB
TypeScript
Raw Normal View History

2024-04-26 21:28:51 +08:00
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;
};
}