@remotion/studio-shared
Advanced tools
Comparing version 4.0.267 to 4.0.268
@@ -1,5 +0,6 @@ | ||
export declare const getDefaultOutLocation: ({ compositionName, defaultExtension, type, }: { | ||
export declare const getDefaultOutLocation: ({ compositionName, defaultExtension, type, compositionDefaultOutName, }: { | ||
compositionName: string; | ||
compositionDefaultOutName: string | null; | ||
defaultExtension: string; | ||
type: "asset" | "sequence"; | ||
}) => string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getDefaultOutLocation = void 0; | ||
const getDefaultOutLocation = ({ compositionName, defaultExtension, type, }) => { | ||
const getDefaultOutLocation = ({ compositionName, defaultExtension, type, compositionDefaultOutName, }) => { | ||
const nameToUse = compositionDefaultOutName !== null && compositionDefaultOutName !== void 0 ? compositionDefaultOutName : compositionName; | ||
if (type === 'sequence') { | ||
return `out/${compositionName}`; | ||
return `out/${nameToUse}`; | ||
} | ||
return `out/${compositionName}.${defaultExtension}`; | ||
return `out/${nameToUse}.${defaultExtension}`; | ||
}; | ||
exports.getDefaultOutLocation = getDefaultOutLocation; |
@@ -6,3 +6,3 @@ { | ||
"name": "@remotion/studio-shared", | ||
"version": "4.0.267", | ||
"version": "4.0.268", | ||
"description": "Internal package for shared objects between the Studio backend and frontend", | ||
@@ -18,8 +18,8 @@ "main": "dist", | ||
"dependencies": { | ||
"remotion": "4.0.267" | ||
"remotion": "4.0.268" | ||
}, | ||
"devDependencies": { | ||
"eslint": "9.19.0", | ||
"@remotion/renderer": "4.0.267", | ||
"@remotion/eslint-config-internal": "4.0.267" | ||
"@remotion/renderer": "4.0.268", | ||
"@remotion/eslint-config-internal": "4.0.268" | ||
}, | ||
@@ -26,0 +26,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
111756
1212
+ Addedremotion@4.0.268(transitive)
- Removedremotion@4.0.267(transitive)
Updatedremotion@4.0.268