import type { ArtifactType } from '../schemas/ArtifactType'; import type { PerformedBy } from '../schemas/PerformedBy'; import type { DeploymentMetadata } from '../schemas/DeploymentMetadata'; import type { ArtifactEntityMetadata } from '../schemas/ArtifactEntityMetadata'; import type { PackageType } from '../schemas/PackageType'; import type { RegistryType } from '../schemas/RegistryType'; /** * Version Metadata */ export interface VersionMetadata { artifactKey?: { [key: string]: any; }; artifactType?: ArtifactType; /** * Timestamp in milliseconds when the registry was soft-deleted */ deletedAt?: string; deletedBy?: PerformedBy; deploymentMetadata?: DeploymentMetadata; /** * @format int64 */ digestCount?: number; /** * @format int64 */ downloadsCount?: number; fileCount?: number; firewallMode?: 'ALLOW' | 'ENABLED' | 'QUARANTINE'; isQuarantined?: boolean; lastModified: string; lastScannedAt?: string; metadata?: ArtifactEntityMetadata; package: string; packageType: PackageType; pullCommand?: string; /** * Package URL (PURL) for this artifact version when supported for the package type. */ purl?: string; quarantineReason?: string; registryIdentifier: string; registryType?: RegistryType; registryUUID: string; scanId?: string; scanStatus?: 'ALLOWED' | 'BLOCKED' | 'WARN'; size?: string; uuid: string; version: string; }