/** * Copyright 2022 Gravwell, Inc. All rights reserved. * * Contact: [legal@gravwell.io](mailto:legal@gravwell.io) * * This software may be modified and distributed under the terms of the MIT * license. See the LICENSE file for details. */ import { RawNumericID, RawUUID } from '../../value-objects/id'; import { RawTimeframe } from '../timeframe/raw-timeframe'; import { DashboardRendererOptions } from './dashboard-renderer-options'; export declare type RawCreatableDashboardSearch = RawCreatableDashboard['Data']['searches'][number]; export declare type RawCreatableDashboardTile = RawCreatableDashboard['Data']['tiles'][number]; export interface RawCreatableDashboard { GIDs: Array; Global: boolean; Name: string; Description: string | null; Labels: Array; Data: { liveUpdateInterval?: number; linkZooming?: boolean; grid?: { gutter?: number; margin?: number; borderWidth?: number; borderRadius?: number; }; searches: Array<{ alias: string | null; timeframe?: RawTimeframe; query?: string; searchID?: RawNumericID; reference?: { id: RawUUID; type: 'template' | 'savedQuery' | 'scheduledSearch'; extras?: { defaultValue: string | null; }; }; }>; tiles: Array<{ id: RawNumericID; hideZoom: boolean | undefined; title: string; renderer: string; span: { col: number; row: number; x: number; y: number; }; searchesIndex: number; rendererOptions: DashboardRendererOptions; }>; timeframe: RawTimeframe; version: 2; }; }