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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
| export interface BasicPageParams {
| page: number;
| pageSize: number;
| }
|
| export interface BasicFetchResult<T> {
| items: T[];
| total: number;
| }
|
| export interface ApiActionPage {
| id: string;
| dataType: string;
| isAsync: boolean;
| Options:{} | undefined;
| timestamp: string;
| isSuccessed: boolean;
| statusCode: number;
| message: string;
| Data: {
| pageAble_T: 'string';
| draw: number;
| pageIndex: number;
| pageSize: number;
| recordsTotal: number;
| recordsFiltered: number;
| data: [];
| data2: {};
| sqlcmd: string;
| totals: number;
| };
| }
|
| export interface AuthOption {
| UserId: string;
| ByOrg: boolean;
| ByProd: boolean;
| ByWh: boolean;
| }
| export interface localeMsg{
| Key:string;
| Args:[];
| }
|
| export interface ApiAction<T> {
| ID: string;
| DataAssembly:string;
| Options:{} | undefined;
| DataType: string;
| IsAsync: boolean;
| Timestamp: string;
| IsSuccessed: boolean;
| StatusCode: number;
| Message: string;
| Data: T;
| LocaleMsg:localeMsg | undefined;
| }
| export interface ApiActionJob<T> {
| ID: string;
| DataAssembly:string;
| Option:{};
| DataType: string;
| IsAsync: boolean;
| Timestamp: string;
| IsSuccessed: boolean;
| StatusCode: number;
| Message: string;
| Data:
| {
| jobName:string;
| period:number;
| remark:string;
| };
| }
|
| export interface QueryAble {
| QueryAble_T: string,
| page: object,
| where: string,
| order: string,
| Items: []
| }
|
|