Jiarenxiang | 38dcb05 | 2025-03-13 16:40:09 +0800 | [diff] [blame] | 1 | /* eslint-disable */ |
| 2 | // 该文件由 OneAPI 自动生成,请勿手动修改! |
| 3 | |
| 4 | declare namespace API { |
| 5 | |
zhaoyumao | f8f8184 | 2025-06-09 00:00:46 +0800 | [diff] [blame] | 6 | import Dept = API.System.Dept; |
| 7 | import Role = API.System.Role; |
| 8 | |
Jiarenxiang | 38dcb05 | 2025-03-13 16:40:09 +0800 | [diff] [blame] | 9 | interface PageInfo { |
| 10 | current?: number; |
| 11 | pageSize?: number; |
| 12 | total?: number; |
| 13 | list?: Array<Record<string, any>>; |
| 14 | } |
| 15 | |
| 16 | interface PageInfo_UserInfo_ { |
| 17 | current?: number; |
| 18 | pageSize?: number; |
| 19 | total?: number; |
| 20 | list?: Array<UserInfo>; |
| 21 | } |
| 22 | |
| 23 | interface Result { |
| 24 | code: number; |
| 25 | msg: string; |
| 26 | data?: Record<string, any>; |
| 27 | } |
| 28 | |
| 29 | interface Result_PageInfo_UserInfo__ { |
| 30 | code: number; |
| 31 | msg: string; |
| 32 | data?: PageInfo_UserInfo_; |
| 33 | } |
| 34 | interface UserInfoResult { |
| 35 | code?: number; |
| 36 | msg?: string; |
| 37 | user: UserInfo; |
| 38 | permissions: any; |
| 39 | roles: any; |
| 40 | } |
| 41 | |
| 42 | interface Result_string_ { |
| 43 | success?: boolean; |
| 44 | errorMessage?: string; |
| 45 | data?: string; |
| 46 | } |
| 47 | |
| 48 | type UserGenderEnum = 'MALE' | 'FEMALE'; |
| 49 | |
| 50 | interface UserInfo { |
| 51 | userId?: string; |
| 52 | userName?: string; |
| 53 | nickName?: string; |
| 54 | avatar?: string; |
| 55 | sex?: string; |
| 56 | email?: string; |
| 57 | gender?: UserGenderEnum; |
| 58 | unreadCount: number; |
| 59 | address?: string; |
| 60 | phonenumber?: string; |
| 61 | dept?: Dept; |
| 62 | roles?: Role[]; |
| 63 | permissions: string[]; |
| 64 | } |
| 65 | |
| 66 | interface UserInfoVO { |
| 67 | name?: string; |
| 68 | /** nick */ |
| 69 | nickName?: string; |
| 70 | /** email */ |
| 71 | email?: string; |
| 72 | } |
| 73 | |
| 74 | type definitions_0 = null; |
| 75 | |
| 76 | type MenuItemMeta = { |
| 77 | title: string; |
| 78 | icon: string; |
| 79 | noCache: boolean; |
| 80 | link: string; |
| 81 | }; |
| 82 | |
| 83 | type RoutersMenuItem = { |
| 84 | alwaysShow?: boolean; |
| 85 | children?: RoutersMenuItem[]; |
| 86 | component?: string; |
| 87 | hidden?: boolean; |
| 88 | meta: MenuItemMeta; |
| 89 | name: string; |
| 90 | path: string; |
| 91 | redirect?: string; |
| 92 | [key: string]: any; |
| 93 | }; |
| 94 | interface GetRoutersResult { |
| 95 | code: number; |
| 96 | msg: string; |
| 97 | data: RoutersMenuItem[]; |
| 98 | } |
| 99 | |
| 100 | type NoticeIconList = { |
| 101 | data?: NoticeIconItem[]; |
| 102 | /** 列表的内容总数 */ |
| 103 | total?: number; |
| 104 | success?: boolean; |
| 105 | }; |
| 106 | |
| 107 | type NoticeIconItemType = 'notification' | 'message' | 'event'; |
| 108 | |
| 109 | type NoticeIconItem = { |
| 110 | id?: string; |
| 111 | extra?: string; |
| 112 | key?: string; |
| 113 | read?: boolean; |
| 114 | avatar?: string; |
| 115 | title?: string; |
| 116 | status?: string; |
| 117 | datetime?: string; |
| 118 | description?: string; |
| 119 | type?: NoticeIconItemType; |
| 120 | }; |
| 121 | |
| 122 | export type MenuType = { |
| 123 | menuId: number; |
| 124 | menuName: string; |
| 125 | parentId: string; |
| 126 | orderNum: number; |
| 127 | path: string; |
| 128 | component: string; |
| 129 | isFrame: number; |
| 130 | isCache: number; |
| 131 | menuType: string; |
| 132 | visible: string; |
| 133 | status: string; |
| 134 | perms: string; |
| 135 | icon: string; |
| 136 | createBy: string; |
| 137 | createTime: Date; |
| 138 | updateBy: string; |
| 139 | updateTime: Date; |
| 140 | remark: string; |
| 141 | }; |
| 142 | |
| 143 | export type MenuListParams = { |
| 144 | menuId?: string; |
| 145 | menuName?: string; |
| 146 | parentId?: string; |
| 147 | orderNum?: string; |
| 148 | path?: string; |
| 149 | component?: string; |
| 150 | isFrame?: string; |
| 151 | isCache?: string; |
| 152 | menuType?: string; |
| 153 | visible?: string; |
| 154 | status?: string; |
| 155 | perms?: string; |
| 156 | icon?: string; |
| 157 | createBy?: string; |
| 158 | createTime?: string; |
| 159 | updateBy?: string; |
| 160 | updateTime?: string; |
| 161 | remark?: string; |
| 162 | pageSize?: string; |
| 163 | currentPage?: string; |
| 164 | filter?: string; |
| 165 | sorter?: string; |
| 166 | }; |
| 167 | |
| 168 | export type DictTypeType = { |
| 169 | dictId: number; |
| 170 | dictName: string; |
| 171 | dictType: string; |
| 172 | status: string; |
| 173 | createBy: string; |
| 174 | createTime: Date; |
| 175 | updateBy: string; |
| 176 | updateTime: Date; |
| 177 | remark: string; |
| 178 | }; |
| 179 | |
| 180 | export type DictTypeListParams = { |
| 181 | dictId?: string; |
| 182 | dictName?: string; |
| 183 | dictType?: string; |
| 184 | status?: string; |
| 185 | createBy?: string; |
| 186 | createTime?: string; |
| 187 | updateBy?: string; |
| 188 | updateTime?: string; |
| 189 | remark?: string; |
| 190 | pageSize?: string; |
| 191 | currentPage?: string; |
| 192 | filter?: string; |
| 193 | sorter?: string; |
| 194 | }; |
| 195 | } |