VidStudio SDK reference
    Preparing search index...

    Interface ProjectSnapshot

    The same shape as a document, but every id and foreign key holds a stable label such as "clip#2", rows are sorted and volatile fields are gone. Two projects that look the same to a user give the same snapshot.

    interface ProjectSnapshot {
        clips: Clip[];
        effects: DocumentEffect[];
        keyframes: Keyframe[];
        mediaAssets: SnapshotMediaAsset[];
        project: Omit<Project, "id" | "created_at" | "updated_at">;
        tracks: Omit<Track, "project_id">[];
        transitions: Transition[];
        version: 1;
    }
    Index
    clips: Clip[]
    effects: DocumentEffect[]
    keyframes: Keyframe[]
    mediaAssets: SnapshotMediaAsset[]
    project: Omit<Project, "id" | "created_at" | "updated_at">
    tracks: Omit<Track, "project_id">[]
    transitions: Transition[]
    version: 1