Skip to content
HomePagesHomePages template kit

VideoUploadFixture

A hosted video's fixture row: a dev media pack asset the platform serves itself.

A hosted video’s fixture row: a dev media pack asset the platform serves itself. id is the pack asset id, standing in for the upload id a real row carries. The provider fields a link row states are structurally absent rather than nullable — an upload has no url and no provider to state, and a shape that could state one would be a fixture nothing real can produce.

Import from @homepages/template-kit/fixtures.

export type VideoUploadFixture = {
source: "upload";
id: VideoAssetId;
tags: string[];
caption: string | null;
duration_ms: number | null;
};