@mulmocast/types
v2.4.7
Published
Type definitions for MulmoCast
Readme
mulmocast-types
TypeScript type definitions for MulmoCast.
This package provides only the type definitions extracted from the main mulmocast package, useful for projects that need MulmoCast types without the full runtime dependencies.
Installation
npm install mulmocast-typesUsage
import { MulmoScript, MulmoBeat, MulmoStudio } from "mulmocast-types";
const script: MulmoScript = {
version: "1.1",
title: "My Presentation",
beats: [
{
text: "Hello, world!",
},
],
};Exported Types
Core Types
MulmoScript- Main script structureMulmoBeat- Individual beat/slide definitionMulmoStudio- Studio context with processed dataMulmoStoryboard- Storyboard structure
Provider Types
Text2SpeechProvider- TTS provider options (openai, google, elevenlabs, etc.)Text2ImageProvider- Image generation provider optionsText2MovieProvider- Video generation provider options
Schema Validators (Zod)
mulmoScriptSchema- Zod schema for MulmoScript validationmulmoBeatSchema- Zod schema for MulmoBeat validation
Peer Dependencies
Some types reference external packages. Install them if you need full type support:
npm install graphai # For agent-related types
npm install yargs # For CLI-related types