🎥 Make videos programmatically with React
prettier
Jonny Burgere50b859d3c56
diff --git a/packages/template-vercel/types/constants.ts b/packages/template-vercel/types/constants.tsindex 931f1d3295..a0f8d14c3d 100644--- a/packages/template-vercel/types/constants.ts+++ b/packages/template-vercel/types/constants.ts@@ -1,12 +1,12 @@-import { z } from 'zod';-export const COMP_NAME = 'MyComp';+import { z } from "zod";+export const COMP_NAME = "MyComp";export const CompositionProps = z.object({title: z.string(),});export const defaultMyCompProps: z.infer<typeof CompositionProps> = {- title: 'Vercel and Remotion',+ title: "Vercel and Remotion",};export const DURATION_IN_FRAMES = 200;diff --git a/packages/template-vercel/types/schema.ts b/packages/template-vercel/types/schema.tsindex 8dfb89aec5..b8cf06dc48 100644--- a/packages/template-vercel/types/schema.ts+++ b/packages/template-vercel/types/schema.ts@@ -1,5 +1,5 @@-import { z } from 'zod';-import { CompositionProps } from './constants';+import { z } from "zod";+import { CompositionProps } from "./constants";export const RenderRequest = z.object({id: z.string(),@@ -8,16 +8,16 @@ export const RenderRequest = z.object({export type RenderResponse =| {- type: 'error';+ type: "error";message: string;}| {- type: 'done';+ type: "done";url: string;size: number;};export type SSEMessage =- | { type: 'phase'; phase: string; progress: number; subtitle?: string }- | { type: 'done'; url: string; size: number }- | { type: 'error'; message: string };+ | { type: "phase"; phase: string; progress: number; subtitle?: string }+ | { type: "done"; url: string; size: number }+ | { type: "error"; message: string };