TypeScript Types Reference
Experimental package: We reserve the right to make breaking changes in order to correct bad design decisions until this notice is gone.
The following types are part of the API of @remotion/vercel:
VercelSandbox
import type {VercelSandbox } from '@remotion/vercel';A Sandbox with AsyncDisposable support. Returned by createSandbox().
CreateSandboxOnProgress
import type {CreateSandboxOnProgress } from '@remotion/vercel';progress: A number from0to1indicating overall progressmessage: A human-readable description of the current phase
RenderMediaOnVercelProgress
import type {RenderMediaOnVercelProgress } from '@remotion/vercel';A discriminated union (on stage) with the following members:
{stage: 'opening-browser', overallProgress: number}- The browser is being opened.{stage: 'selecting-composition', overallProgress: number}- The composition is being selected.{stage: 'render-progress', progress: RenderMediaProgress, overallProgress: number}- The render is in progress. Theprogressfield contains the same fields asRenderMediaProgress.
Every variant includes overallProgress — a number from 0 to 1 representing the weighted overall progress.
Used as the onProgress callback type for renderMediaOnVercel().
RenderStillOnVercelProgress
import type {RenderStillOnVercelProgress } from '@remotion/vercel';A discriminated union (on stage) with the following members:
{stage: 'opening-browser', overallProgress: number}- The browser is being opened.{stage: 'selecting-composition', overallProgress: number}- The composition is being selected.
Every variant includes overallProgress — a number from 0 to 1 representing the weighted overall progress.
Used as the onProgress callback type for renderStillOnVercel().
VercelBlobAccess
import type {VercelBlobAccess } from '@remotion/vercel';Either "public" or "private". Used as the access parameter for uploadToVercelBlob().