Skip to content

EncodedContent

ts
type EncodedContent: ProbedContent & object;

Optimized source of an asset with optional generated content.

Type declaration

cover?

ts
optional cover: string;

Generated variant of the source content to cover loading process, when applicable.

dense?

ts
optional dense: string;

Generated variant of the source content for high-dpi displays, when applicable.

encoded

ts
encoded: string;

Full path to the asset's encoded/optimized content file on local file system.

safe?

ts
optional safe: string;

Generated variant of the source content for compatibility/fallback, when applicable.

Defined in

server/asset.ts:105 ↗