@remotion/studio-shared 4.0.458 → 4.0.460
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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { AudioCodec, ChromeMode, Codec, ColorSpace, LogLevel, PixelFormat, StillImageFormat, VideoImageFormat, X264Preset } from '@remotion/renderer';
|
|
2
2
|
import type { HardwareAccelerationOption } from '@remotion/renderer/client';
|
|
3
3
|
import type { _InternalTypes, SequenceSchema } from 'remotion';
|
|
4
|
-
import type {
|
|
4
|
+
import type { CanUpdateSequencePropsResponse } from 'remotion';
|
|
5
|
+
import type { SequenceNodePath } from 'remotion';
|
|
5
6
|
import type { RecastCodemod, VisualControlChange } from './codemods';
|
|
6
7
|
import type { PackageManager } from './package-manager';
|
|
7
8
|
import type { ProjectInfo } from './project-info';
|
|
8
9
|
import type { RequiredChromiumOptions } from './render-job';
|
|
9
10
|
import type { EnumPath } from './stringify-default-props';
|
|
10
|
-
export type SequenceNodePath = Array<string | number>;
|
|
11
11
|
export type OpenInFileExplorerRequest = {
|
|
12
12
|
directory: string;
|
|
13
13
|
};
|
|
@@ -178,16 +178,6 @@ export type UnsubscribeFromSequencePropsRequest = {
|
|
|
178
178
|
nodePath: SequenceNodePath;
|
|
179
179
|
clientId: string;
|
|
180
180
|
};
|
|
181
|
-
export type CanUpdateSequencePropsResponse = {
|
|
182
|
-
canUpdate: true;
|
|
183
|
-
props: Record<string, CanUpdateSequencePropStatus>;
|
|
184
|
-
nodePath: SequenceNodePath;
|
|
185
|
-
/** True when the JSX is inside a `.map()` callback (list iteration). */
|
|
186
|
-
jsxInMapCallback: boolean;
|
|
187
|
-
} | {
|
|
188
|
-
canUpdate: false;
|
|
189
|
-
reason: string;
|
|
190
|
-
};
|
|
191
181
|
export type SaveSequencePropsRequest = {
|
|
192
182
|
fileName: string;
|
|
193
183
|
nodePath: SequenceNodePath;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { StaticFile } from 'remotion';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SequenceNodePath, CanUpdateSequencePropsResponse } from 'remotion';
|
|
3
|
+
import type { CanUpdateDefaultPropsResponse } from './api-requests';
|
|
3
4
|
import type { HotMiddlewareMessage } from './hot-middleware';
|
|
4
5
|
import type { CompletedClientRender, RenderJob } from './render-job';
|
|
5
6
|
export type EventSourceEvent = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { splitAnsi, stripAnsi } from './ansi';
|
|
2
|
-
export { AddRenderRequest, ApiRoutes, ApplyCodemodRequest, ApplyCodemodResponse, ApplyVisualControlRequest, ApplyVisualControlResponse, CanUpdateDefaultPropsResponse, CanUpdateSequencePropsRequest,
|
|
2
|
+
export { AddRenderRequest, ApiRoutes, ApplyCodemodRequest, ApplyCodemodResponse, ApplyVisualControlRequest, ApplyVisualControlResponse, CanUpdateDefaultPropsResponse, CanUpdateSequencePropsRequest, CancelRenderRequest, SubscribeToSequencePropsRequest, SubscribeToSequencePropsResponse, UnsubscribeFromSequencePropsRequest, CancelRenderResponse, CopyStillToClipboardRequest, DeleteJsxNodeRequest, DeleteJsxNodeResponse, DuplicateJsxNodeRequest, DuplicateJsxNodeResponse, DeleteStaticFileRequest, DeleteStaticFileResponse, InstallPackageRequest, InstallPackageResponse, OpenInFileExplorerRequest, ProjectInfoRequest, ProjectInfoResponse, RedoRequest, RedoResponse, RemoveRenderRequest, RestartStudioRequest, RestartStudioResponse, SaveSequencePropsRequest, SaveSequencePropsResponse, SimpleDiff, SubscribeToDefaultPropsRequest, SubscribeToDefaultPropsResponse, SubscribeToFileExistenceRequest, SubscribeToFileExistenceResponse, UndoRequest, UndoResponse, UnsubscribeFromDefaultPropsRequest, UnsubscribeFromFileExistenceRequest, UpdateAvailableRequest, UpdateAvailableResponse, UpdateDefaultPropsRequest, UpdateDefaultPropsResponse, } from './api-requests';
|
|
3
3
|
export type { ApplyVisualControlCodemod, RecastCodemod } from './codemods';
|
|
4
4
|
export { DEFAULT_BUFFER_STATE_DELAY_IN_MILLISECONDS } from './default-buffer-state-delay-in-milliseconds';
|
|
5
5
|
export { EventSourceEvent } from './event-source-event';
|
package/dist/package-info.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const packages: readonly ["svg-3d-engine", "animation-utils", "animated-emoji", "astro-example", "babel-loader", "bugs", "brand", "bundler", "cli", "cloudrun", "codex-plugin", "compositor-darwin-arm64", "compositor-darwin-x64", "compositor-linux-arm64-gnu", "compositor-linux-arm64-musl", "compositor-linux-x64-gnu", "compositor-linux-x64-musl", "compositor-win32-x64-msvc", "core", "create-video", "discord-poster", "docusaurus-plugin", "docs", "enable-scss", "eslint-config", "eslint-config-flat", "eslint-config-internal", "eslint-plugin", "example-without-zod", "example", "fonts", "gif", "google-fonts", "install-whisper-cpp", "it-tests", "react18-tests", "lambda-go-example", "lambda-go", "lambda-php", "lambda-ruby", "lambda-python", "lambda", "lambda-client", "layout-utils", "rounded-text-box", "licensing", "lottie", "mcp", "media-utils", "motion-blur", "noise", "paths", "player-a11y", "player-example", "player", "preload", "renderer", "rive", "shapes", "skia", "promo-pages", "streaming", "serverless", "serverless-client", "skills", "studio-server", "studio-shared", "studio", "tailwind", "tailwind-v4", "test-utils", "three", "transitions", "media-parser", "zod-types", "zod-types-v3", "webcodecs", "convert", "captions", "openai-whisper", "elevenlabs", "compositor", "example-videos", "whisper-web", "media", "web-renderer", "design", "light-leaks", "starburst", "vercel", "sfx", "effects"];
|
|
1
|
+
export declare const packages: readonly ["svg-3d-engine", "animation-utils", "animated-emoji", "astro-example", "babel-loader", "bugs", "brand", "bundler", "cli", "cloudrun", "codex-plugin", "compositor-darwin-arm64", "compositor-darwin-x64", "compositor-linux-arm64-gnu", "compositor-linux-arm64-musl", "compositor-linux-x64-gnu", "compositor-linux-x64-musl", "compositor-win32-x64-msvc", "core", "create-video", "discord-poster", "docusaurus-plugin", "docs", "enable-scss", "eslint-config", "eslint-config-flat", "eslint-config-internal", "eslint-plugin", "example-without-zod", "example", "fonts", "gif", "google-fonts", "install-whisper-cpp", "it-tests", "react18-tests", "lambda-go-example", "lambda-go", "lambda-php", "lambda-ruby", "lambda-python", "lambda", "lambda-client", "layout-utils", "rounded-text-box", "licensing", "lottie", "mcp", "media-utils", "motion-blur", "noise", "paths", "player-a11y", "player-example", "player", "preload", "renderer", "rive", "shapes", "skia", "promo-pages", "streaming", "serverless", "serverless-client", "skills", "studio-server", "studio-shared", "studio", "tailwind", "tailwind-v4", "timeline-utils", "test-utils", "three", "transitions", "media-parser", "zod-types", "zod-types-v3", "webcodecs", "convert", "captions", "openai-whisper", "elevenlabs", "compositor", "example-videos", "whisper-web", "media", "web-renderer", "design", "light-leaks", "starburst", "vercel", "sfx", "effects"];
|
|
2
2
|
export type Pkgs = (typeof packages)[number];
|
|
3
3
|
export type ExtraPackage = {
|
|
4
4
|
name: string;
|
package/dist/package-info.js
CHANGED
|
@@ -72,6 +72,7 @@ exports.packages = [
|
|
|
72
72
|
'studio',
|
|
73
73
|
'tailwind',
|
|
74
74
|
'tailwind-v4',
|
|
75
|
+
'timeline-utils',
|
|
75
76
|
'test-utils',
|
|
76
77
|
'three',
|
|
77
78
|
'transitions',
|
|
@@ -157,6 +158,7 @@ exports.descriptions = {
|
|
|
157
158
|
'enable-scss': 'Enable SCSS support in Remotion',
|
|
158
159
|
'create-video': 'Create a new Remotion project',
|
|
159
160
|
'studio-shared': 'Internal package for shared objects between the Studio backend and frontend',
|
|
161
|
+
'timeline-utils': 'Internal utilities for rendering Remotion timelines',
|
|
160
162
|
tailwind: 'Enable TailwindCSS support in Remotion (TailwindCSS v3)',
|
|
161
163
|
'tailwind-v4': 'Enable TailwindCSS support in Remotion (TailwindCSS v4)',
|
|
162
164
|
streaming: 'Utilities for streaming data between programs',
|
|
@@ -281,6 +283,7 @@ exports.installableMap = {
|
|
|
281
283
|
studio: true,
|
|
282
284
|
tailwind: true,
|
|
283
285
|
'tailwind-v4': true,
|
|
286
|
+
'timeline-utils': false,
|
|
284
287
|
'test-utils': false,
|
|
285
288
|
three: true,
|
|
286
289
|
transitions: true,
|
|
@@ -376,6 +379,7 @@ exports.apiDocs = {
|
|
|
376
379
|
serverless: null,
|
|
377
380
|
skills: null,
|
|
378
381
|
studio: 'https://www.remotion.dev/docs/studio/api',
|
|
382
|
+
'timeline-utils': null,
|
|
379
383
|
transitions: 'https://www.remotion.dev/transitions',
|
|
380
384
|
'animated-emoji': 'https://www.remotion.dev/docs/animated-emoji',
|
|
381
385
|
webcodecs: 'https://remotion.dev/webcodecs',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CodeValues, DragOverrides, SequenceControls, SequenceFieldSchema, SequenceSchema } from 'remotion';
|
|
1
|
+
import type { CodeValues, DragOverrides, SequenceControls, SequenceFieldSchema, SequenceSchema, GetDragOverrides, GetCodeValues, SequenceNodePath } from 'remotion';
|
|
2
2
|
export type { CodeValues, DragOverrides, SequenceControls };
|
|
3
3
|
export type SchemaFieldInfo = {
|
|
4
4
|
key: string;
|
|
@@ -11,10 +11,10 @@ export type SchemaFieldInfo = {
|
|
|
11
11
|
};
|
|
12
12
|
export declare const SCHEMA_FIELD_ROW_HEIGHT = 22;
|
|
13
13
|
export declare const UNSUPPORTED_FIELD_ROW_HEIGHT = 22;
|
|
14
|
-
export declare const getFieldsToShow: ({
|
|
14
|
+
export declare const getFieldsToShow: ({ getDragOverrides, getCodeValues, nodePath, schema, currentRuntimeValueDotNotation, }: {
|
|
15
15
|
schema: SequenceSchema;
|
|
16
16
|
currentRuntimeValueDotNotation: Record<string, unknown>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
getDragOverrides: GetDragOverrides;
|
|
18
|
+
getCodeValues: GetCodeValues;
|
|
19
|
+
nodePath: SequenceNodePath;
|
|
20
20
|
}) => SchemaFieldInfo[] | null;
|
|
@@ -11,13 +11,12 @@ const SUPPORTED_SCHEMA_TYPES = new Set([
|
|
|
11
11
|
'translate',
|
|
12
12
|
'enum',
|
|
13
13
|
]);
|
|
14
|
-
const getFieldsToShow = ({
|
|
15
|
-
var _a;
|
|
14
|
+
const getFieldsToShow = ({ getDragOverrides, getCodeValues, nodePath, schema, currentRuntimeValueDotNotation, }) => {
|
|
16
15
|
const valuesDotNotation = remotion_1.Internals.computeEffectiveSchemaValuesDotNotation({
|
|
17
16
|
schema,
|
|
18
17
|
currentValue: currentRuntimeValueDotNotation,
|
|
19
|
-
overrideValues: (
|
|
20
|
-
propStatus:
|
|
18
|
+
overrideValues: getDragOverrides(nodePath),
|
|
19
|
+
propStatus: getCodeValues(nodePath),
|
|
21
20
|
});
|
|
22
21
|
const activeSchema = remotion_1.Internals.flattenActiveSchema(schema, (key) => valuesDotNotation[key]);
|
|
23
22
|
return Object.entries(activeSchema).map(([key, fieldSchema]) => {
|
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.460",
|
|
7
7
|
"description": "Internal package for shared objects between the Studio backend and frontend",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -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.460"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@remotion/renderer": "4.0.
|
|
27
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
26
|
+
"@remotion/renderer": "4.0.460",
|
|
27
|
+
"@remotion/eslint-config-internal": "4.0.460",
|
|
28
28
|
"eslint": "9.19.0",
|
|
29
29
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
30
30
|
},
|