/**
 * 视频上传接口
 */
import { uploadVideo as uploadVideoUtil } from '../../utils/upload'
import type { UploadResponse } from '../../types/workbench'

/**
 * 上传视频
 * @param filePath 文件路径
 * @param businessType 业务类型模块，默认为 'video'
 */
export const uploadVideo = (filePath: string, businessType: string | null): Promise<UploadResponse> => {
    return uploadVideoUtil(filePath, businessType)
}

