1 type: object
2 description: The details of a view configuration.
3 x-schemaName: AdminViewConfiguration
4 required:
5 - id
6 - entity
7 - name
8 - user_id
9 - is_system_default
10 - created_at
11 - updated_at
12 properties:
13 id:
14 type: string
15 title: id
16 description: The view configuration's ID.
17 entity:
18 type: string
19 title: entity
20 description: The entity the view configuration belongs to.
21 name:
22 type: string
23 title: name
24 description: The view configuration's name.
25 user_id:
26 type: string
27 title: user_id
28 description: >-
29 The ID of the user the view configuration belongs to. If `null`, the view
30 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.