@remotion/vercel 4.0.426

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # @remotion/vercel
2
+
3
+ Render Remotion videos on Vercel Sandbox
4
+
5
+ [![NPM Downloads](https://img.shields.io/npm/dm/@remotion/vercel.svg?style=flat&color=black&label=Downloads)](https://npmcharts.com/compare/@remotion/vercel?minimal=true)
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @remotion/vercel --save-exact
11
+ ```
12
+
13
+ When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version.
14
+ Remove the `^` character from the version number to use the exact version.
15
+
16
+ ## Usage
17
+
18
+ See the [documentation](https://www.remotion.dev/docs/vercel/api) for more information.
@@ -0,0 +1,5 @@
1
+ import type { Sandbox } from '@vercel/sandbox';
2
+ export declare function addBundleToSandbox({ sandbox, bundleDir }: {
3
+ sandbox: Sandbox;
4
+ bundleDir: string;
5
+ }): Promise<void>;
@@ -0,0 +1,9 @@
1
+ import type { Sandbox } from '@vercel/sandbox';
2
+ import type { CreateSandboxOnProgress, VercelSandbox } from './types';
3
+ type CreateSandboxResources = NonNullable<NonNullable<Parameters<typeof Sandbox.create>[0]>['resources']>;
4
+ export declare const SANDBOX_CREATING_TIMEOUT: number;
5
+ export declare function createSandbox({ onProgress, resources }?: {
6
+ onProgress?: CreateSandboxOnProgress;
7
+ resources?: CreateSandboxResources;
8
+ }): Promise<VercelSandbox>;
9
+ export {};