blob: 20f44dce3402ae70c72d64cc7615482e254f3571 [file] [log] [blame]
86133aaa3f5d2025-04-20 21:33:29 +08001/* eslint-disable */
2// 该文件由 OneAPI 自动生成,请勿手动修改!
3
4declare namespace API {
5 interface PageInfo {
6 current?: number;
7 pageSize?: number;
8 total?: number;
9 list?: Array<Record<string, any>>;
10 }
11
12 interface PageInfo_UserInfo_ {
13 current?: number;
14 pageSize?: number;
15 total?: number;
16 list?: Array<UserInfo>;
17 }
18
19 interface Result {
20 code: number;
21 msg: string;
22 data?: Record<string, any>;
23 }
24
25 interface Result_PageInfo_UserInfo__ {
26 code: number;
27 msg: string;
28 data?: PageInfo_UserInfo_;
29 }
30 interface UserInfoResult {
31 code?: number;
32 msg?: string;
33 user: UserInfo;
34 permissions: any;
35 roles: any;
36 }
37
38 interface Result_string_ {
39 success?: boolean;
40 errorMessage?: string;
41 data?: string;
42 }
43
44 type UserGenderEnum = 'MALE' | 'FEMALE';
45
46 interface UserInfo {
47 userId?: string;
48 userName?: string;
49 nickName?: string;
50 avatar?: string;
51 sex?: string;
52 email?: string;
53 gender?: UserGenderEnum;
54 unreadCount: number;
55 address?: string;
56 phonenumber?: string;
57 dept?: Dept;
58 roles?: Role[];
59 permissions: string[];
BirdNETMb0f71532025-05-26 17:37:33 +080060 uploadCount?: number;
61 downloadCount?: number;
62 rateCount?: number;
63 score?: number;
86133aaa3f5d2025-04-20 21:33:29 +080064 }
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}