@remotion/studio 4.0.214 → 4.0.215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.mjs +7 -7
- package/dist/esm/internals.mjs +1033 -1728
- package/dist/helpers/colors.d.ts +1 -1
- package/dist/internals.d.ts +1 -1
- package/package.json +7 -7
- package/tsconfig.tsbuildinfo +1 -1
package/dist/esm/index.mjs
CHANGED
|
@@ -3726,7 +3726,7 @@ var init_lib = __esm(() => {
|
|
|
3726
3726
|
});
|
|
3727
3727
|
|
|
3728
3728
|
// src/api/delete-static-file.ts
|
|
3729
|
-
import {getRemotionEnvironment} from "remotion";
|
|
3729
|
+
import { getRemotionEnvironment } from "remotion";
|
|
3730
3730
|
|
|
3731
3731
|
// src/components/call-api.ts
|
|
3732
3732
|
var callApi = (endpoint, body, signal) => {
|
|
@@ -3817,7 +3817,7 @@ var getStaticFiles = () => {
|
|
|
3817
3817
|
return window.remotion_staticFiles;
|
|
3818
3818
|
};
|
|
3819
3819
|
// src/api/helpers/calc-new-props.ts
|
|
3820
|
-
import {Internals, getRemotionEnvironment as getRemotionEnvironment2} from "remotion";
|
|
3820
|
+
import { Internals, getRemotionEnvironment as getRemotionEnvironment2 } from "remotion";
|
|
3821
3821
|
var calcNewProps = (compositionId, defaultProps) => {
|
|
3822
3822
|
if (!getRemotionEnvironment2().isStudio) {
|
|
3823
3823
|
throw new Error("saveDefaultProps can only be called in the Remotion Studio.");
|
|
@@ -3850,7 +3850,7 @@ var calcNewProps = (compositionId, defaultProps) => {
|
|
|
3850
3850
|
};
|
|
3851
3851
|
|
|
3852
3852
|
// src/api/reevaluate-composition.ts
|
|
3853
|
-
import {Internals as Internals2} from "remotion";
|
|
3853
|
+
import { Internals as Internals2 } from "remotion";
|
|
3854
3854
|
var reevaluateComposition = () => {
|
|
3855
3855
|
Internals2.resolveCompositionsRef.current?.reloadCurrentlySelectedComposition();
|
|
3856
3856
|
};
|
|
@@ -3972,7 +3972,7 @@ var extractEnumJsonPaths = (schema, zodRuntime, currentPath) => {
|
|
|
3972
3972
|
};
|
|
3973
3973
|
|
|
3974
3974
|
// src/components/RenderQueue/actions.ts
|
|
3975
|
-
import {NoReactInternals} from "remotion/no-react";
|
|
3975
|
+
import { NoReactInternals } from "remotion/no-react";
|
|
3976
3976
|
var callUpdateDefaultPropsApi = (compositionId, defaultProps, enumPaths) => {
|
|
3977
3977
|
return callApi("/api/update-default-props", {
|
|
3978
3978
|
compositionId,
|
|
@@ -4006,7 +4006,7 @@ var saveDefaultProps = async ({
|
|
|
4006
4006
|
return Promise.reject(err);
|
|
4007
4007
|
};
|
|
4008
4008
|
// src/api/update-default-props.ts
|
|
4009
|
-
import {Internals as Internals3} from "remotion";
|
|
4009
|
+
import { Internals as Internals3 } from "remotion";
|
|
4010
4010
|
var updateDefaultProps = ({
|
|
4011
4011
|
compositionId,
|
|
4012
4012
|
defaultProps
|
|
@@ -4025,7 +4025,7 @@ var updateDefaultProps = ({
|
|
|
4025
4025
|
window.dispatchEvent(new CustomEvent(Internals3.PROPS_UPDATED_EXTERNALLY));
|
|
4026
4026
|
};
|
|
4027
4027
|
// src/api/watch-public-folder.ts
|
|
4028
|
-
import {getRemotionEnvironment as getRemotionEnvironment3} from "remotion";
|
|
4028
|
+
import { getRemotionEnvironment as getRemotionEnvironment3 } from "remotion";
|
|
4029
4029
|
var WATCH_REMOTION_STATIC_FILES = "remotion_staticFilesChanged";
|
|
4030
4030
|
var watchPublicFolder = (callback) => {
|
|
4031
4031
|
if (!getRemotionEnvironment3().isStudio) {
|
|
@@ -4044,7 +4044,7 @@ var watchPublicFolder = (callback) => {
|
|
|
4044
4044
|
return { cancel };
|
|
4045
4045
|
};
|
|
4046
4046
|
// src/api/watch-static-file.ts
|
|
4047
|
-
import {getRemotionEnvironment as getRemotionEnvironment4} from "remotion";
|
|
4047
|
+
import { getRemotionEnvironment as getRemotionEnvironment4 } from "remotion";
|
|
4048
4048
|
var watchStaticFile = (fileName, callback) => {
|
|
4049
4049
|
if (!getRemotionEnvironment4().isStudio) {
|
|
4050
4050
|
console.warn("The API is only available while using the Remotion Studio.");
|