/** * 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. */ /** * 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 } from '../../value-objects/id'; import { RawQuery } from '../query'; import { RawTimeframe } from '../timeframe/raw-timeframe'; export interface RawSearchDetails { ID: string; UID: RawNumericID; GID?: RawNumericID; UserQuery: RawQuery; EffectiveQuery: RawQuery; Preview: boolean; StartRange: string; EndRange: string; Started: string; LastUpdate: string; Duration: string; CollapsingIndex: number; Descending: boolean; IndexSize: number; ItemCount: number; Metadata?: { timeframe: RawTimeframe | null; live: boolean; timeframeUserLabel: null; name?: string; notes?: string; }; MinZoomWindow?: number; NoHistory: boolean; RenderDownloadFormats: Array; StoreSize: number; TimeZoomDisabled: boolean; Tags: Array; Import: { Imported: boolean; Time: string; BatchName: string; BatchInfo: string; }; Error?: string; }