diff --git a/frontend/build/cool/temp/eps.d.ts b/frontend/build/cool/temp/eps.d.ts new file mode 100644 index 0000000..17460b6 --- /dev/null +++ b/frontend/build/cool/temp/eps.d.ts @@ -0,0 +1,1182 @@ +declare namespace Eps { + interface ChatMessage { + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * info + */ + info(data?: any): Promise; + /** + * update + */ + update(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * add + */ + add(data?: any): Promise; + /** + * 权限标识 + */ + 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; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface ChatSession { + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * info + */ + info(data?: any): Promise; + /** + * update + */ + update(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * add + */ + add(data?: any): Promise; + /** + * 权限标识 + */ + 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; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface Test { + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * info + */ + info(data?: any): Promise; + /** + * update + */ + update(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * add + */ + add(data?: any): Promise; + /** + * 权限标识 + */ + 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; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface BaseComm { + /** + * logout + */ + logout(data?: any): Promise; + /** + * permmenu + */ + permmenu(data?: any): Promise; + /** + * person + */ + person(data?: any): Promise; + /** + * personUpdate + */ + personUpdate(data?: any): Promise; + /** + * upload + */ + upload(data?: any): Promise; + /** + * uploadMode + */ + uploadMode(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * info + */ + info(data?: any): Promise; + /** + * update + */ + update(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * add + */ + add(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + logout: string; + permmenu: string; + person: string; + personUpdate: string; + upload: string; + uploadMode: string; + list: string; + page: string; + info: string; + update: string; + delete: string; + add: string; + }; + /** + * 权限状态 + */ + _permission: { + logout: boolean; + permmenu: boolean; + person: boolean; + personUpdate: boolean; + upload: boolean; + uploadMode: boolean; + list: boolean; + page: boolean; + info: boolean; + update: boolean; + delete: boolean; + add: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface BaseOpen { + /** + * captcha + */ + captcha(data?: any): Promise; + /** + * eps + */ + eps(data?: any): Promise; + /** + * login + */ + login(data?: any): Promise; + /** + * refreshToken + */ + refreshToken(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * info + */ + info(data?: any): Promise; + /** + * update + */ + update(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * add + */ + add(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + captcha: string; + eps: string; + login: string; + refreshToken: string; + list: string; + page: string; + info: string; + update: string; + delete: string; + add: string; + }; + /** + * 权限状态 + */ + _permission: { + captcha: boolean; + eps: boolean; + login: boolean; + refreshToken: boolean; + list: boolean; + page: boolean; + info: boolean; + update: boolean; + delete: boolean; + add: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface BaseSysDepartment { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * order + */ + order(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + info: string; + list: string; + order: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + info: boolean; + list: boolean; + order: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface BaseSysLog { + /** + * add + */ + add(data?: any): Promise; + /** + * clear + */ + clear(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * getKeep + */ + getKeep(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * setKeep + */ + setKeep(data?: any): Promise; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + clear: string; + delete: string; + getKeep: string; + info: string; + list: string; + page: string; + setKeep: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + clear: boolean; + delete: boolean; + getKeep: boolean; + info: boolean; + list: boolean; + page: boolean; + setKeep: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface BaseSysMenu { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + info: string; + list: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + info: boolean; + list: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface BaseSysParam { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * html + */ + html(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + html: string; + info: string; + list: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + html: boolean; + info: boolean; + list: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface BaseSysRole { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + info: string; + list: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + info: boolean; + list: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface BaseSysUser { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * move + */ + move(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + info: string; + list: string; + move: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + info: boolean; + list: boolean; + move: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface ChatgptSession { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + info: string; + list: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + info: boolean; + list: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface ChatgptUser { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + info: string; + list: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + info: boolean; + list: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface DictInfo { + /** + * add + */ + add(data?: any): Promise; + /** + * data + */ + data(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + data: string; + delete: string; + info: string; + list: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + data: boolean; + delete: boolean; + info: boolean; + list: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface DictType { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + info: string; + list: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + info: boolean; + list: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface SpaceInfo { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + info: string; + list: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + info: boolean; + list: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface SpaceType { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + info: string; + list: string; + page: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + info: boolean; + list: boolean; + page: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + interface TaskInfo { + /** + * add + */ + add(data?: any): Promise; + /** + * delete + */ + delete(data?: any): Promise; + /** + * info + */ + info(data?: any): Promise; + /** + * list + */ + list(data?: any): Promise; + /** + * log + */ + log(data?: any): Promise; + /** + * once + */ + once(data?: any): Promise; + /** + * page + */ + page(data?: any): Promise<{ + pagination: { size: number; page: number; total: number }; + list: any[]; + [key: string]: any; + }>; + /** + * start + */ + start(data?: any): Promise; + /** + * stop + */ + stop(data?: any): Promise; + /** + * update + */ + update(data?: any): Promise; + /** + * 权限标识 + */ + permission: { + add: string; + delete: string; + info: string; + list: string; + log: string; + once: string; + page: string; + start: string; + stop: string; + update: string; + }; + /** + * 权限状态 + */ + _permission: { + add: boolean; + delete: boolean; + info: boolean; + list: boolean; + log: boolean; + once: boolean; + page: boolean; + start: boolean; + stop: boolean; + update: boolean; + }; + /** + * 请求 + */ + request: Service["request"]; + } + + type Service = { + request(options: { + url: string; + method?: "POST" | "GET" | string; + data?: any; + params?: any; + proxy?: boolean; + [key: string]: any; + }): Promise; + chat: { message: ChatMessage; session: ChatSession }; + test: Test; + base: { + comm: BaseComm; + open: BaseOpen; + sys: { + department: BaseSysDepartment; + log: BaseSysLog; + menu: BaseSysMenu; + param: BaseSysParam; + role: BaseSysRole; + user: BaseSysUser; + }; + }; + chatgpt: { session: ChatgptSession; user: ChatgptUser }; + dict: { info: DictInfo; type: DictType }; + space: { info: SpaceInfo; type: SpaceType }; + task: { info: TaskInfo }; + }; +} diff --git a/frontend/build/cool/temp/eps.json b/frontend/build/cool/temp/eps.json new file mode 100644 index 0000000..7acf3d1 --- /dev/null +++ b/frontend/build/cool/temp/eps.json @@ -0,0 +1 @@ +[["/admin/base/comm","",[["/logout","POST"],["/permmenu","GET"],["/person","GET"],["/personUpdate","POST"],["/upload","POST"],["/uploadMode","GET"],["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/base/open","",[["/captcha","GET"],["/eps","GET"],["/login","POST"],["/refreshToken","GET"],["/list"],["/page"],["/info"],["/update"],["/delete"],["/add"]]],["/admin/base/sys/department","",[["/add","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/order","GET"],["/page","POST"],["/update","POST"]]],["/admin/base/sys/log","",[["/add","POST"],["/clear","POST"],["/delete","POST"],["/getKeep","GET"],["/info","GET"],["/list","POST"],["/page","POST"],["/setKeep","POST"],["/update","POST"]]],["/admin/base/sys/menu","",[["/add","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/page","POST"],["/update","POST"]]],["/admin/base/sys/param","",[["/add","POST"],["/delete","POST"],["/html","GET"],["/info","GET"],["/list","POST"],["/page","POST"],["/update","POST"]]],["/admin/base/sys/role","",[["/add","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/page","POST"],["/update","POST"]]],["/admin/base/sys/user","",[["/add","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/move","GET"],["/page","POST"],["/update","POST"]]],["/admin/chatgpt/session","",[["/add","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/page","POST"],["/update","POST"]]],["/admin/chatgpt/user","",[["/add","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/page","POST"],["/update","POST"]]],["/admin/dict/info","",[["/add","POST"],["/data","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/page","POST"],["/update","POST"]]],["/admin/dict/type","",[["/add","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/page","POST"],["/update","POST"]]],["/admin/space/info","",[["/add","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/page","POST"],["/update","POST"]]],["/admin/space/type","",[["/add","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/page","POST"],["/update","POST"]]],["/admin/task/info","",[["/add","POST"],["/delete","POST"],["/info","GET"],["/list","POST"],["/log","GET"],["/once","POST"],["/page","POST"],["/start","GET"],["/stop","GET"],["/update","POST"]]],["/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