DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879)

* DashboardScheam: Remove old unused legacy props style and timepicker.enable

* Update

* fix test
This commit is contained in:
Torkel Ödegaard
2023-08-28 12:18:17 +02:00
committed by GitHub
parent f95405d3c3
commit 74d453f056
223 changed files with 52 additions and 328 deletions
@@ -1099,11 +1099,6 @@ export interface Dashboard {
*/
userId: number;
};
/**
* Theme of dashboard.
* Default value: dark.
*/
style: ('light' | 'dark');
/**
* Tags associated with dashboard.
*/
@@ -1141,10 +1136,6 @@ export interface Dashboard {
* Whether timepicker is collapsed or not. Has no effect on provisioned dashboard.
*/
collapse: boolean;
/**
* Whether timepicker is enabled or not. Has no effect on provisioned dashboard.
*/
enable: boolean;
/**
* Selectable options available in the time picker dropdown. Has no effect on provisioned dashboard.
*/
@@ -1179,7 +1170,6 @@ export const defaultDashboard: Partial<Dashboard> = {
links: [],
panels: [],
schemaVersion: 36,
style: 'dark',
tags: [],
timezone: 'browser',
};