import type { ArtifactType } from '../schemas/ArtifactType'; import type { DeploymentMetadata } from '../schemas/DeploymentMetadata'; import type { ArtifactEntityMetadata } from '../schemas/ArtifactEntityMetadata'; import type { PackageType } from '../schemas/PackageType'; import type { RegistryType } from '../schemas/RegistryType'; /** * Artifact Version Metadata */ export interface ArtifactVersionMetadata { artifactKey?: { [key: string]: string; }; artifactType?: ArtifactType; /** * Timestamp in milliseconds when the artifact was soft deleted. Null if not deleted. */ deletedAt?: string; deploymentMetadata?: DeploymentMetadata; /** * @format int64 */ digestCount?: number; /** * @format int64 */ downloadsCount?: number; /** * @format int64 */ fileCount?: number; firewallMode?: 'ALLOW' | 'ENABLED' | 'QUARANTINE'; isQuarantined?: boolean; lastModified?: string; lastScannedAt?: string; metadata?: ArtifactEntityMetadata; name: string; packageType: PackageType; pullCommand?: string; quarantineReason?: string; registryIdentifier: string; registryPath: string; registryType?: RegistryType; registryUUID: string; scanId?: string; scanStatus?: 'ALLOWED' | 'BLOCKED' | 'WARN'; size?: string; uuid: string; }