ai-tube / src /lib /clap /mockClap.ts
jbilcke's picture
working to improve the clap format
f42b4a1
raw
history blame
747 Bytes
import { newClap } from "./newClap"
import { newSegment } from "./newSegment"
import { ClapProject } from "./types"
export function mockClap(): ClapProject {
const clap = newClap()
const mockSegment = newSegment({
// id: string
// track: number
// startTimeInMs: number
// endTimeInMs: number
// category: ClapSegmentCategory
// modelId: string
// sceneId: string
// prompt: string
// label: string
// outputType: ClapOutputType
// renderId: string
// status: ClapSegmentStatus
// assetUrl: string
// assetDurationInMs: number
// createdBy: ClapAuthor
// editedBy: ClapAuthor
// outputGain: number
// seed: number
})
clap.segments.push(mockSegment)
return clap
}