UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio

37 lines 1.35 kB
/** * PPT Generation Types * * All types for presentation generation - both external API types and internal pipeline types. * Used by the content planner, slide generator, and orchestrator. * * Architecture: * - PPTOutputOptions / PPTGenerationResult: External API types (GenerateOptions.output.ppt) * - SlideSchema / ContentPlan: Content planning pipeline types * - CompleteSlide / PPTGenerationContext: Generation context types * - PPTError: Error handling (follows VideoError pattern) */ // ============================================================================ // VALIDATION CONSTANTS // ============================================================================ /** Minimum number of slides allowed */ export const MIN_SLIDES = 5; /** Maximum number of slides allowed */ export const MAX_SLIDES = 50; /** Slide dimensions in inches by aspect ratio */ export const SLIDE_DIMENSIONS = { "16:9": { width: 10, height: 5.625 }, "4:3": { width: 10, height: 7.5 }, }; /** * Validate a hex color string (6 hex characters, no # prefix). */ export function isValidHexColor(color) { return /^[0-9A-Fa-f]{6}$/.test(color); } /** * Normalize a hex color by stripping leading # if present. */ export function normalizeHexColor(color) { return color.startsWith("#") ? color.slice(1) : color; } //# sourceMappingURL=ppt.js.map