1 /**
2 * @schema AdminViewConfiguration
3 * type: object
4 * description: The details of a view configuration.
5 * x-schemaName: AdminViewConfiguration
6 * required:
7 * - id
8 * - entity
9 * - name
10 * - user_id
11 * - is_system_default
12 * - created_at
13 * - updated_at
14 * properties:
15 * id:
16 * type: string
17 * title: id
18 * description: The view configuration's ID.
19 * entity:
20 * type: string
21 * title: entity
22 * description: The entity the view configuration belongs to.
23 * name:
24 * type: string
25 * title: name
26 * description: The view configuration's name.
27 * user_id:
28 * type: string
29 * title: user_id
30 * description: The ID of the user the view configuration belongs to. If `null`, the view configuration is a system default.
31 * is_system_default:
32 * type: boolean
33 * title: is_system_default
34 * description: Whether the view configuration is the system default.
35 * configuration:
36 * type: object
37 * description: The view's configuration.
38 * required:
39 * - visible_columns
40 * - column_order
41 * properties:
42 * visible_columns:
43 * type: array
44 * description: The configuration's visible columns.
45 * items:
46 * type: string
47 * title: visible_columns
48 * description: The visible column's name.
49 * column_order:
50 * type: array
51 * description: The columns in the order they should be displayed.
52 * items:
53 * type: string
54 * title: column_order
55 * description: The column's name.
56 * column_widths:
57 * type: object
58 * description: The column widths in the view.
59 * filters:
60 * type: object
61 * description: The filters applied to the view.
62 * sorting:
63 * type: object
64 * description: The sorting applied to the view.
65 * required:
66 * - id
67 * - desc
68 * properties:
69 * id:
70 * type: string
71 * title: id
72 * description: The ID of the sorting column.
73 * desc:
74 * type: boolean
75 * title: desc
76 * description: Whether the sorting is descending.
77 * search:
78 * type: string
79 * title: search
80 * description: The configuration's search.
81 * created_at:
82 * type: string
83 * format: date-time
84 * title: created_at
85 * description: The date the view configuration was created.
86 * updated_at:
87 * type: string
88 * format: date-time
89 * title: updated_at
90 * description: The date the view configuration was updated.
91 *
92 */
93