MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / parseFormat

Function parseFormat

packages/cli/src/commands/lambda.ts:468–469  ·  view source on GitHub ↗
(raw: unknown)

Source from the content-addressed store, hash-verified

466const CHROME_SOURCES = ["sparticuz", "chrome-headless-shell"] as const;
467
468const parseFormat = (raw: unknown): (typeof FORMATS)[number] =>
469 parseEnum(raw, FORMATS, "[lambda render] --format", "mp4")!;
470const parseCodec = (raw: unknown): (typeof CODECS)[number] | undefined =>
471 parseEnum(raw, CODECS, "[lambda render] --codec", undefined);
472const parseQuality = (raw: unknown): (typeof QUALITIES)[number] | undefined =>

Callers 1

runFunction · 0.70

Calls 1

parseEnumFunction · 0.70

Tested by

no test coverage detected