configurationCenterModal.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
62
63
import { BasicPageParams } from '/@/api/model/baseModel';
export interface ConfigurationCenterItemsModal {
id: string;
creator: string;
createTime: string;
updater: string;
updateTime: string;
name: string;
enabled: boolean;
tenantId: string;
publicId: string;
viewType: string;
accessCredentials: string;
organizationId: string;
platform: string;
thumbnail: string;
organizationDTO: OrganizationDto;
templateId: string;
productAndDevice: ProductAndDevice[];
remark?: string;
}
export interface OrganizationDto {
name: string;
enabled: boolean;
sort: number;
children: any[];
}
export interface ProductAndDevice {
profileId: string;
name: string;
transportType: string;
deviceType: string;
deviceList: DeviceList[];
}
export interface DeviceList {
deviceId: string;
name: string;
codeType: any;
}
export type queryPageParams = BasicPageParams & {
name?: Nullable<string>;
organizationId?: string;
isTemplate?: number;
};
export interface ConfigurationModal {
items: ConfigurationCenterItemsModal[];
total: number;
}
export interface ConfigurationCenterParams {
name: string;
createTime: string;
creator: string;
remark: string;
defaultContent?: string;
}
export type ConfigurationCenterInfo = ConfigurationCenterParams;