MCPcopy
hub / github.com/MiniMax-AI/cli / formatList

Function formatList

src/utils/audio-formats.ts:10–12  ·  view source on GitHub ↗
(formats: readonly string[])

Source from the content-addressed store, hash-verified

8export type MusicFormat = (typeof MUSIC_FORMATS)[number];
9
10export function formatList(formats: readonly string[]): string {
11 return formats.join(', ');
12}
13
14export function validateAudioFormat(format: string, formats: readonly string[]): void {
15 if (!(formats as readonly string[]).includes(format)) {

Callers 5

generate.tsFile · 0.90
cover.tsFile · 0.90
synthesize.tsFile · 0.90
validateAudioFormatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected