/** * 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 { NumericID } from '../../value-objects/id'; import { RawTimeframe } from '../timeframe/raw-timeframe'; export interface SearchDetails { userID: NumericID; groupID?: NumericID | null; userQuery: string; effectiveQuery: string; launchDate: Date; id: NumericID; range: { start: Date; end: Date; }; descending: boolean; started: Date; lastUpdate: Date; storeSize: number; indexSize: number; itemCount: number; timeZoomDisabled: boolean; renderDownloadFormats: Array; timeframe: RawTimeframe | null | string; isLive: boolean; timeframeUserLabel: null; name: string | null; notes: string | null; collapsingIndex: number; import: SearchImport; noHistory: boolean; minZoomWindow: number; tags: Array; preview: boolean; duration: string; } export interface SearchImport { imported: boolean; time: Date; batchName: string; batchInfo: string; }