@remotion/studio-shared 4.0.465 → 4.0.467
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/api-requests.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export type RenderDefaults = {
|
|
|
18
18
|
enforceAudioTrack: boolean;
|
|
19
19
|
proResProfile: _InternalTypes['ProResProfile'] | null;
|
|
20
20
|
x264Preset: X264Preset;
|
|
21
|
+
gopSize: number | null;
|
|
21
22
|
pixelFormat: PixelFormat;
|
|
22
23
|
audioBitrate: string | null;
|
|
23
24
|
videoBitrate: string | null;
|
package/dist/render-job.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CodeValues, DragOverrides,
|
|
1
|
+
import type { CodeValues, DragOverrides, EffectDefinition, GetDragOverrides, GetEffectDragOverrides, SequenceControls, SequencePropsSubscriptionKey, SequenceSchema, VisibleFieldSchema } from 'remotion';
|
|
2
2
|
export type { CodeValues, DragOverrides, SequenceControls };
|
|
3
3
|
export type SchemaFieldInfo = {
|
|
4
4
|
key: string;
|
|
@@ -26,4 +26,10 @@ export declare const getFieldsToShow: ({ getDragOverrides, codeValues, nodePath,
|
|
|
26
26
|
codeValues: CodeValues;
|
|
27
27
|
nodePath: SequencePropsSubscriptionKey;
|
|
28
28
|
}) => SequenceSchemaFieldInfo[] | null;
|
|
29
|
-
export declare const getEffectFieldsToShow: (effect
|
|
29
|
+
export declare const getEffectFieldsToShow: ({ effect, effectIndex, nodePath, codeValues, getEffectDragOverrides, }: {
|
|
30
|
+
effect: EffectDefinition<unknown>;
|
|
31
|
+
effectIndex: number;
|
|
32
|
+
nodePath: SequencePropsSubscriptionKey | null;
|
|
33
|
+
codeValues: CodeValues;
|
|
34
|
+
getEffectDragOverrides: GetEffectDragOverrides;
|
|
35
|
+
}) => EffectSchemaFieldInfo[];
|
|
@@ -47,8 +47,30 @@ const getFieldsToShow = ({ getDragOverrides, codeValues, nodePath, schema, curre
|
|
|
47
47
|
.filter(no_react_1.NoReactInternals.truthy);
|
|
48
48
|
};
|
|
49
49
|
exports.getFieldsToShow = getFieldsToShow;
|
|
50
|
-
const getEffectFieldsToShow = (effect, effectIndex) => {
|
|
51
|
-
|
|
50
|
+
const getEffectFieldsToShow = ({ effect, effectIndex, nodePath, codeValues, getEffectDragOverrides, }) => {
|
|
51
|
+
const effectStatus = nodePath === null
|
|
52
|
+
? null
|
|
53
|
+
: remotion_1.Internals.getEffectCodeValuesCtx({
|
|
54
|
+
codeValues,
|
|
55
|
+
nodePath,
|
|
56
|
+
effectIndex,
|
|
57
|
+
});
|
|
58
|
+
const dragOverrides = nodePath === null ? {} : getEffectDragOverrides(nodePath, effectIndex);
|
|
59
|
+
const activeSchema = remotion_1.Internals.flattenActiveSchema(effect.schema, (key) => {
|
|
60
|
+
const dragOverride = dragOverrides[key];
|
|
61
|
+
if (dragOverride !== undefined) {
|
|
62
|
+
return dragOverride;
|
|
63
|
+
}
|
|
64
|
+
if ((effectStatus === null || effectStatus === void 0 ? void 0 : effectStatus.type) !== 'can-update-effect') {
|
|
65
|
+
return undefined;
|
|
66
|
+
}
|
|
67
|
+
const propStatus = effectStatus.props[key];
|
|
68
|
+
if (!propStatus || !propStatus.canUpdate) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
return propStatus.codeValue;
|
|
72
|
+
});
|
|
73
|
+
return Object.entries(activeSchema)
|
|
52
74
|
.map(([key, fieldSchema]) => {
|
|
53
75
|
const typeName = fieldSchema.type;
|
|
54
76
|
if (typeName === 'hidden') {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio-shared"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/studio-shared",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.467",
|
|
7
7
|
"description": "Internal package for shared objects between the Studio backend and frontend",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"scripts": {
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"remotion": "4.0.
|
|
23
|
+
"remotion": "4.0.467"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@remotion/renderer": "4.0.
|
|
27
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
26
|
+
"@remotion/renderer": "4.0.467",
|
|
27
|
+
"@remotion/eslint-config-internal": "4.0.467",
|
|
28
28
|
"eslint": "9.19.0",
|
|
29
29
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
30
30
|
},
|