/** * 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, RawUUID } from '~/value-objects/id'; import { RawConfigMacro } from './raw-config-macro'; import { RawKitItem } from './raw-kit-item'; export interface RawRemoteKit { ID: RawID; // Neither numeric nor UUID, eg. 'io.gravwell.weather' UUID: RawUUID; Name: string; Description: string; Tags: Array | null; // Might contain empty tags (''), those should be ignored Created: string; // timestamp Version: number; MinVersion: RawVersionObject; MaxVersion: RawVersionObject; Size: number; Ingesters: Array | null; // Might contain empty tags (''), those should be ignored Signed: boolean; AdminRequired: boolean; Assets: Array; Dependencies: Array<{ ID: RawID; MinVersion: number; }> | null; Items: Array; ConfigMacros: Array | null; }