mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
* Add keybindings to explore, allow override of dashboard model update for explore update * Remove edits to Dashboard Model, add definition when url params should be updated * Add tests * Add and expose util function instead of bringing in unrelated library do not define explicit path to library file * Use more generic model for TimeSrv * Remove url utility functions, use javascript function instead * Break out TimeModel into new type and bring it in * condense object creation
11 lines
241 B
TypeScript
11 lines
241 B
TypeScript
import { TimeRange, TimeZone } from '@grafana/data';
|
|
|
|
export interface TimeModel {
|
|
time: any;
|
|
fiscalYearStartMonth?: number;
|
|
refresh: any;
|
|
timepicker: any;
|
|
getTimezone(): TimeZone;
|
|
timeRangeUpdated(timeRange: TimeRange): void;
|
|
}
|