/** * 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 { RawKitAsset } from '../../models/kit/raw-kit-asset'; import { RawVersionObject } from '../../models/version/raw-version-object'; import { RawID, RawNumericID, RawUUID } from '../../value-objects/id'; import { RawConfigMacro } from './raw-config-macro'; import { RawKitItem } from './raw-kit-item'; export interface RawLocalKit { ID: RawID; UUID: RawUUID; UID: RawNumericID; GID?: RawNumericID; Name: string; Description: string; Labels: Array | null; InstallationTime: string; Version: number; MinVersion: RawVersionObject; MaxVersion: RawVersionObject; Installed: boolean; Signed: boolean; AdminRequired: boolean; Readme: string; Icon: string; Banner: string; Cover: string; ModifiedItems: null | Array; ConflictingItems: null | Array; RequiredDependencies: Array | null; Items: Array; ConfigMacros: null | Array; GIDs: Array | null; Global: boolean | null; } export declare type RawLocalKitDependency = { ID: string; UUID: RawUUID; Name: string; Version: number; Description: string; Signed: boolean; AdminRequired: boolean; MinVersion: RawVersionObject; MaxVersion: RawVersionObject; Size: number; Created: string; Ingesters: Array; Tags: Array; Assets: Array; Items: Array; GIDs: Array | null; Global: boolean | null; }; export declare class KitError extends Error { ModifiedItems: Array; constructor(error: { Error: string; ModifiedItems: Array; }); }