/** * 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 { Version } from '~/models/version/version'; import { NumericID, UUID } from '~/value-objects/id'; import { ConfigMacro } from './config-macro'; import { DeployRules } from './kit-archive'; export interface KitArchiveData { id: NumericID; userID: NumericID; buildDate: Date | null; name: string; description: string; version: number; minVersion: Version; maxVersion: Version; readme: string; scriptDeployRules: Record; // Images icon: UUID; cover: UUID; banner: UUID; // embedded items embeddedItems: Array<{ content: string; name: string; type: 'license' }>; // Contents actionables?: Array; dashboards?: Array; extractors?: Array; files?: Array; macros?: Array; playbooks?: Array; savedQueries?: Array; resources?: Array; scheduledSearches?: Array; scripts?: Array; templates?: Array; flows?: Array; alerts?: Array; // config macros configMacros?: Array; }