import { DashboardContainerInput } from '../..' ; import { DashboardPanelState } from '../embeddable' ; import { ViewMode , EmbeddableInput } from '../../services/embeddable' ; export function getSampleDashboardInput ( overrides ? ) { return { id : '123' , filters : [ ] , useMargins : false , isEmbeddedExternally : false , isFullScreenMode : false , title : 'My Dashboard' , query : { language : 'kuery' , query : 'hi' , } , timeRange : { to : 'now' , from : 'now-15m' , } , viewMode : ViewMode . VIEW , panels : { } , ... overrides , } ; } export function getSampleDashboardPanel < TEmbeddableInput extends EmbeddableInput = EmbeddableInput > ( overrides ) { return { gridData : { h : 15 , w : 15 , x : 0 , y : 0 , i : overrides . explicitInput . id , } , ... overrides , } ; }