Skip to main content

Interface: FeaturePackArtifact

Defined in: Data/Core/FeaturePackTypes.ts:54

Properties

download_size_bytes

download_size_bytes: number

Defined in: Data/Core/FeaturePackTypes.ts:63

Size of the file as served (i.e. compressed size when gzipped).


download_url

download_url: string

Defined in: Data/Core/FeaturePackTypes.ts:61


gzipped?

optional gzipped?: boolean

Defined in: Data/Core/FeaturePackTypes.ts:67

When true the payload is gzip-encoded and is gunzipped after verification.


kind

kind: "index" | "model"

Defined in: Data/Core/FeaturePackTypes.ts:55


path

path: string

Defined in: Data/Core/FeaturePackTypes.ts:60

Install location, relative to the pack root. Validated to be a genuinely relative POSIX path that cannot escape the root — see isSafeArtifactPath.


sha256

sha256: string

Defined in: Data/Core/FeaturePackTypes.ts:65

Lowercase hex SHA-256 of the bytes as served, before any decompression.