scriptModel.ts
1.28 KB
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
import { BasicPageParams } from '/@/api/model/baseModel';
import { ScriptLanguageEnum } from '/@/enums/scriptEnum';
export type ScriptQueryParam = BasicPageParams & ScriptParam;
export type ScriptParam = {
name?: string;
transportType?: string;
status?: number;
};
export interface ScriptModel {
convertJs: string;
createTime: '2022-10-31T01:19:57.912Z';
creator: string;
description: string;
id: string;
name: string;
status: 0;
tenantId: string;
updateTime: '2022-10-31T01:19:57.912Z';
updater: string;
}
export interface ScriptRecord {
id: string;
creator: string;
createTime: string;
name: string;
tenantId: string;
description: string;
convertJs: string;
status: number;
dataType: string;
saveOriginalData: boolean;
}
export interface TransportScriptParamsType {
id?: string;
convertJs?: string;
convertTbel?: string;
description?: string;
name: string;
scriptLanguage: ScriptLanguageEnum;
status: number;
serviceType?: string;
}
export interface TransportScriptRecordType {
id: string;
creator: string;
createTime: string;
name: string;
tenantId: string;
description: string;
convertTbel?: string;
scriptLanguage: string;
status: number;
convertJs?: string;
serviceType?: string;
saveOriginalData: boolean;
}