1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| export type XxxStatus = 'active' | 'disabled';
|
| export interface XxxRecord {
| key: string;
| name: string;
| status: XxxStatus;
| createdAt: string;
| }
|
| /** ProTable 搜索参数。 */
| export interface XxxQuery {
| name?: string;
| status?: XxxStatus;
| }
|
| export interface XxxListParams extends XxxQuery {
| current?: number;
| pageSize?: number;
| }
|
| export interface XxxListResult {
| data: XxxRecord[];
| total: number;
| success: boolean;
| }
|
|