(input: { subpath?: string; fileKey?: string })
| 1 | import { parseVideoIdOrFileKey } from "../utils"; |
| 2 | |
| 3 | export const getSubpath = (input: { subpath?: string; fileKey?: string }) => { |
| 4 | if ("fileKey" in input) { |
| 5 | return undefined; |
| 6 | } |
| 7 | |
| 8 | return input.subpath ?? "result.mp4"; |
| 9 | }; |
| 10 | |
| 11 | export const getMultipartFileKey = ( |
| 12 | userId: string, |
no outgoing calls
no test coverage detected