Migrated admin and media APIs to Nitro

This commit is contained in:
lucast committed 2026-09-29 01:22:29 +02:00
1 parent ee5809a489
commit bca41b5e6f
18 files changed
+786 -1

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
declare module "fluent-ffmpeg" {
interface FfmpegCommand {
noVideo(): this
audioBitrate(bitrate: string): this
toFormat(format: string): this
audioCodec(codec: string): this
on(event: string, listener: (...args: any[]) => void): this
save(filePath: string): this
}
interface FfmpegMetadata {
format: { duration?: number }
}
interface FfmpegFactory {
(filePath: string): FfmpegCommand
ffprobe(filePath: string, callback: (error: Error | null, metadata: FfmpegMetadata) => void): void
}
const Ffmpeg: FfmpegFactory
export default Ffmpeg
}