mirror of
https://github.com/grafana/grafana.git
synced 2026-08-14 15:15:03 -05:00
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:
@@ -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',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user