65 lines
1.9 KiB
TypeScript
65 lines
1.9 KiB
TypeScript
/**
|
|
* @schema AdminUpdateViewConfiguration
|
|
* type: object
|
|
* description: The details to update in a view configuration.
|
|
* x-schemaName: AdminUpdateViewConfiguration
|
|
* properties:
|
|
* set_active:
|
|
* type: boolean
|
|
* title: set_active
|
|
* description: Whether the view is set as active.
|
|
* name:
|
|
* type: string
|
|
* title: name
|
|
* description: The view's name.
|
|
* is_system_default:
|
|
* type: boolean
|
|
* title: is_system_default
|
|
* description: Whether the view is the system default.
|
|
* configuration:
|
|
* type: object
|
|
* description: The view's configuration.
|
|
* properties:
|
|
* search:
|
|
* type: string
|
|
* title: search
|
|
* description: The search query used in the view.
|
|
* visible_columns:
|
|
* type: array
|
|
* description: The configuration's visible columns.
|
|
* items:
|
|
* type: string
|
|
* title: visible_columns
|
|
* description: The visible column's name.
|
|
* column_order:
|
|
* type: array
|
|
* description: The columns in the order they should be displayed.
|
|
* items:
|
|
* type: string
|
|
* title: column_order
|
|
* description: The column's name.
|
|
* column_widths:
|
|
* type: object
|
|
* description: The column widths in the view.
|
|
* filters:
|
|
* type: object
|
|
* description: The filters applied to the view.
|
|
* sorting:
|
|
* type: object
|
|
* description: The sorting applied to the view.
|
|
* required:
|
|
* - id
|
|
* - desc
|
|
* properties:
|
|
* id:
|
|
* type: string
|
|
* title: id
|
|
* description: The ID of the sorting column.
|
|
* desc:
|
|
* type: boolean
|
|
* title: desc
|
|
* description: Whether the sorting is descending.
|
|
*
|
|
*/
|
|
|