-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathfound-table-settings.ds.ts
More file actions
84 lines (58 loc) · 1.88 KB
/
Copy pathfound-table-settings.ds.ts
File metadata and controls
84 lines (58 loc) · 1.88 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import { ApiProperty } from '@nestjs/swagger';
import { CustomFieldsEntity } from '../../../custom-field/custom-fields.entity.js';
import { TableActionEntity } from '../../../table-actions/table-actions-module/table-action.entity.js';
import { TableWidgetEntity } from '../../../widget/table-widget.entity.js';
export class FoundTableSettingsDs {
@ApiProperty()
id: string;
@ApiProperty()
table_name: string;
@ApiProperty()
display_name: string;
@ApiProperty({ isArray: true, type: String })
search_fields: Array<string>;
@ApiProperty({ isArray: true, type: String })
excluded_fields: Array<string>;
@ApiProperty({ isArray: true, type: String })
identification_fields: Array<string>;
@ApiProperty()
identity_column: string;
@ApiProperty({ isArray: true, type: String })
readonly_fields: Array<string>;
@ApiProperty({ isArray: true, type: String })
sensitive_fields: Array<string>;
@ApiProperty({ isArray: true, type: String })
sortable_by: Array<string>;
@ApiProperty({ isArray: true, type: String })
autocomplete_columns: Array<string>;
@ApiProperty({ isArray: true, type: String })
columns_view: Array<string>;
@ApiProperty()
connection_id: string;
@ApiProperty({ isArray: true, type: CustomFieldsEntity })
custom_fields: Array<CustomFieldsEntity>;
@ApiProperty({ isArray: true, type: TableWidgetEntity })
table_widgets: Array<TableWidgetEntity>;
@ApiProperty({ isArray: true, type: TableActionEntity })
table_actions: Array<TableActionEntity>;
@ApiProperty()
can_add: boolean;
@ApiProperty()
can_delete: boolean;
@ApiProperty()
can_update: boolean;
@ApiProperty()
icon: string;
@ApiProperty()
allow_csv_export: boolean;
@ApiProperty()
allow_csv_import: boolean;
@ApiProperty({ isArray: true, type: 'string' })
list_fields: string[];
@ApiProperty()
list_per_page: number;
@ApiProperty()
ordering: string;
@ApiProperty()
ordering_field: string;
}