-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathcreate-table-settings.ds.ts
More file actions
83 lines (56 loc) · 1.97 KB
/
Copy pathcreate-table-settings.ds.ts
File metadata and controls
83 lines (56 loc) · 1.97 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
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 CreateTableSettingsDs {
@ApiProperty({ isArray: true, type: 'string' })
autocomplete_columns: Array<string>;
connection_id: string;
@ApiProperty({ isArray: true, required: false })
custom_fields?: Array<CustomFieldsEntity>;
@ApiProperty()
display_name: string;
@ApiProperty({ isArray: true, type: 'string' })
excluded_fields: Array<string>;
@ApiProperty({ isArray: true, type: 'string' })
identification_fields: Array<string>;
@ApiProperty()
identity_column: string;
masterPwd: string;
@ApiProperty({ isArray: true, type: 'string' })
readonly_fields: Array<string>;
@ApiProperty({ isArray: true, type: 'string' })
search_fields: Array<string>;
@ApiProperty({ isArray: true, type: 'string' })
sortable_by: Array<string>;
@ApiProperty({ isArray: true, type: 'string' })
sensitive_fields: Array<string>;
table_name: string;
@ApiProperty({ isArray: true })
table_widgets?: Array<TableWidgetEntity>;
userId: string;
@ApiProperty({ isArray: true })
table_actions?: Array<TableActionEntity>;
@ApiProperty()
can_delete: boolean;
@ApiProperty()
can_update: boolean;
@ApiProperty()
can_add: boolean;
@ApiProperty()
icon: string;
@ApiProperty()
allow_csv_export: boolean;
@ApiProperty()
allow_csv_import: boolean;
@ApiProperty({ required: false})
list_per_page?: number;
@ApiProperty({ isArray: true, type: 'string', required: false })
list_fields?: Array<string>;
@ApiProperty({ required: false })
ordering?: string;
@ApiProperty({ required: false })
ordering_field?: string;
@ApiProperty({ isArray: true, type: 'string', required: false })
columns_view?: Array<string>;
}