@remotion/studio-shared 4.0.428 → 4.0.430
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/README.md +3 -3
- package/dist/api-requests.d.ts +52 -0
- package/dist/event-source-event.d.ts +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/package-info.d.ts +1 -1
- package/dist/package-info.js +6 -2
- package/package.json +6 -5
package/README.md
CHANGED
package/dist/api-requests.d.ts
CHANGED
|
@@ -150,6 +150,55 @@ export type CanUpdateDefaultPropsResponse = {
|
|
|
150
150
|
canUpdate: false;
|
|
151
151
|
reason: string;
|
|
152
152
|
};
|
|
153
|
+
export type CanUpdateSequencePropsRequest = {
|
|
154
|
+
fileName: string;
|
|
155
|
+
line: number;
|
|
156
|
+
column: number;
|
|
157
|
+
keys: string[];
|
|
158
|
+
};
|
|
159
|
+
export type SubscribeToSequencePropsRequest = {
|
|
160
|
+
fileName: string;
|
|
161
|
+
line: number;
|
|
162
|
+
column: number;
|
|
163
|
+
keys: string[];
|
|
164
|
+
clientId: string;
|
|
165
|
+
};
|
|
166
|
+
export type SubscribeToSequencePropsResponse = CanUpdateSequencePropsResponse;
|
|
167
|
+
export type UnsubscribeFromSequencePropsRequest = {
|
|
168
|
+
fileName: string;
|
|
169
|
+
line: number;
|
|
170
|
+
column: number;
|
|
171
|
+
clientId: string;
|
|
172
|
+
};
|
|
173
|
+
export type CanUpdateSequencePropStatus = {
|
|
174
|
+
canUpdate: true;
|
|
175
|
+
codeValue: unknown;
|
|
176
|
+
} | {
|
|
177
|
+
canUpdate: false;
|
|
178
|
+
reason: 'computed';
|
|
179
|
+
};
|
|
180
|
+
export type CanUpdateSequencePropsResponse = {
|
|
181
|
+
canUpdate: true;
|
|
182
|
+
props: Record<string, CanUpdateSequencePropStatus>;
|
|
183
|
+
} | {
|
|
184
|
+
canUpdate: false;
|
|
185
|
+
reason: string;
|
|
186
|
+
};
|
|
187
|
+
export type SaveSequencePropsRequest = {
|
|
188
|
+
fileName: string;
|
|
189
|
+
line: number;
|
|
190
|
+
column: number;
|
|
191
|
+
key: string;
|
|
192
|
+
value: string;
|
|
193
|
+
enumPaths: EnumPath[];
|
|
194
|
+
defaultValue: string | null;
|
|
195
|
+
};
|
|
196
|
+
export type SaveSequencePropsResponse = {
|
|
197
|
+
success: true;
|
|
198
|
+
} | {
|
|
199
|
+
success: false;
|
|
200
|
+
reason: string;
|
|
201
|
+
};
|
|
153
202
|
export type UpdateAvailableRequest = {};
|
|
154
203
|
export type UpdateAvailableResponse = {
|
|
155
204
|
currentVersion: string;
|
|
@@ -178,6 +227,9 @@ export type ApiRoutes = {
|
|
|
178
227
|
'/api/update-default-props': ReqAndRes<UpdateDefaultPropsRequest, UpdateDefaultPropsResponse>;
|
|
179
228
|
'/api/apply-visual-control-change': ReqAndRes<ApplyVisualControlRequest, ApplyVisualControlResponse>;
|
|
180
229
|
'/api/can-update-default-props': ReqAndRes<CanUpdateDefaultPropsRequest, CanUpdateDefaultPropsResponse>;
|
|
230
|
+
'/api/subscribe-to-sequence-props': ReqAndRes<SubscribeToSequencePropsRequest, SubscribeToSequencePropsResponse>;
|
|
231
|
+
'/api/unsubscribe-from-sequence-props': ReqAndRes<UnsubscribeFromSequencePropsRequest, undefined>;
|
|
232
|
+
'/api/save-sequence-props': ReqAndRes<SaveSequencePropsRequest, SaveSequencePropsResponse>;
|
|
181
233
|
'/api/update-available': ReqAndRes<UpdateAvailableRequest, UpdateAvailableResponse>;
|
|
182
234
|
'/api/apply-codemod': ReqAndRes<ApplyCodemodRequest, ApplyCodemodResponse>;
|
|
183
235
|
'/api/project-info': ReqAndRes<ProjectInfoRequest, ProjectInfoResponse>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { StaticFile } from 'remotion';
|
|
2
|
+
import type { CanUpdateSequencePropsResponse } from './api-requests';
|
|
2
3
|
import type { CompletedClientRender, RenderJob } from './render-job';
|
|
3
4
|
export type EventSourceEvent = {
|
|
4
5
|
type: 'new-input-props';
|
|
@@ -31,4 +32,10 @@ export type EventSourceEvent = {
|
|
|
31
32
|
type: 'new-public-folder';
|
|
32
33
|
files: StaticFile[];
|
|
33
34
|
folderExists: string | null;
|
|
35
|
+
} | {
|
|
36
|
+
type: 'sequence-props-updated';
|
|
37
|
+
fileName: string;
|
|
38
|
+
line: number;
|
|
39
|
+
column: number;
|
|
40
|
+
result: CanUpdateSequencePropsResponse;
|
|
34
41
|
};
|
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, CanUpdateDefaultPropsRequest, CanUpdateDefaultPropsResponse, CancelRenderRequest, CancelRenderResponse, CopyStillToClipboardRequest, DeleteStaticFileRequest, DeleteStaticFileResponse, InstallPackageRequest, InstallPackageResponse, OpenInFileExplorerRequest, ProjectInfoRequest, ProjectInfoResponse, RemoveRenderRequest, RestartStudioRequest, RestartStudioResponse, SimpleDiff, SubscribeToFileExistenceRequest, SubscribeToFileExistenceResponse, UnsubscribeFromFileExistenceRequest, UpdateAvailableRequest, UpdateAvailableResponse, UpdateDefaultPropsRequest, UpdateDefaultPropsResponse, } from './api-requests';
|
|
2
|
+
export { AddRenderRequest, ApiRoutes, ApplyCodemodRequest, ApplyCodemodResponse, ApplyVisualControlRequest, ApplyVisualControlResponse, CanUpdateDefaultPropsRequest, CanUpdateDefaultPropsResponse, CanUpdateSequencePropStatus, CanUpdateSequencePropsRequest, CanUpdateSequencePropsResponse, CancelRenderRequest, SubscribeToSequencePropsRequest, SubscribeToSequencePropsResponse, UnsubscribeFromSequencePropsRequest, CancelRenderResponse, CopyStillToClipboardRequest, DeleteStaticFileRequest, DeleteStaticFileResponse, InstallPackageRequest, InstallPackageResponse, OpenInFileExplorerRequest, ProjectInfoRequest, ProjectInfoResponse, RemoveRenderRequest, RestartStudioRequest, RestartStudioResponse, SaveSequencePropsRequest, SaveSequencePropsResponse, SimpleDiff, SubscribeToFileExistenceRequest, SubscribeToFileExistenceResponse, 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", "bundler", "cli", "cloudrun", "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-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", "compositor", "example-videos", "whisper-web", "media", "web-renderer", "design", "light-leaks", "vercel"];
|
|
1
|
+
export declare const packages: readonly ["svg-3d-engine", "animation-utils", "animated-emoji", "astro-example", "babel-loader", "bugs", "bundler", "cli", "cloudrun", "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-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", "compositor", "example-videos", "whisper-web", "media", "web-renderer", "design", "light-leaks", "vercel", "sfx"];
|
|
2
2
|
export type Pkgs = (typeof packages)[number];
|
|
3
3
|
export type ExtraPackage = {
|
|
4
4
|
name: string;
|
package/dist/package-info.js
CHANGED
|
@@ -87,17 +87,18 @@ exports.packages = [
|
|
|
87
87
|
'design',
|
|
88
88
|
'light-leaks',
|
|
89
89
|
'vercel',
|
|
90
|
+
'sfx',
|
|
90
91
|
];
|
|
91
92
|
exports.extraPackages = [
|
|
92
93
|
{
|
|
93
94
|
name: 'mediabunny',
|
|
94
|
-
version: '1.
|
|
95
|
+
version: '1.35.1',
|
|
95
96
|
description: 'Multimedia library used by Remotion',
|
|
96
97
|
docsUrl: 'https://www.remotion.dev/docs/mediabunny/version',
|
|
97
98
|
},
|
|
98
99
|
{
|
|
99
100
|
name: '@mediabunny/ac3',
|
|
100
|
-
version: '1.
|
|
101
|
+
version: '1.35.1',
|
|
101
102
|
description: 'AC-3 and E-AC-3 audio codec support for Mediabunny',
|
|
102
103
|
docsUrl: 'https://www.remotion.dev/docs/mediabunny/formats#ac-3-and-e-ac-3',
|
|
103
104
|
},
|
|
@@ -194,6 +195,7 @@ exports.descriptions = {
|
|
|
194
195
|
design: 'Design system',
|
|
195
196
|
'light-leaks': 'Light leak effects for Remotion',
|
|
196
197
|
vercel: 'Render Remotion videos on Vercel Sandbox',
|
|
198
|
+
sfx: 'Sound effect library',
|
|
197
199
|
};
|
|
198
200
|
exports.installableMap = {
|
|
199
201
|
'svg-3d-engine': false,
|
|
@@ -281,6 +283,7 @@ exports.installableMap = {
|
|
|
281
283
|
design: false,
|
|
282
284
|
'light-leaks': true,
|
|
283
285
|
vercel: true,
|
|
286
|
+
sfx: true,
|
|
284
287
|
};
|
|
285
288
|
exports.apiDocs = {
|
|
286
289
|
player: 'https://www.remotion.dev/docs/player',
|
|
@@ -368,4 +371,5 @@ exports.apiDocs = {
|
|
|
368
371
|
design: 'https://www.remotion.dev/design',
|
|
369
372
|
'light-leaks': 'https://www.remotion.dev/docs/light-leaks',
|
|
370
373
|
vercel: 'https://www.remotion.dev/docs/vercel/api',
|
|
374
|
+
sfx: 'https://www.remotion.dev/docs/sfx',
|
|
371
375
|
};
|
package/package.json
CHANGED
|
@@ -3,13 +3,14 @@
|
|
|
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.430",
|
|
7
7
|
"description": "Internal package for shared objects between the Studio backend and frontend",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"sideEffects": false,
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint src",
|
|
12
|
-
"formatting": "
|
|
12
|
+
"formatting": "oxfmt src --check",
|
|
13
|
+
"format": "oxfmt src",
|
|
13
14
|
"make": "tsgo -d"
|
|
14
15
|
},
|
|
15
16
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
@@ -19,11 +20,11 @@
|
|
|
19
20
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"remotion": "4.0.
|
|
23
|
+
"remotion": "4.0.429"
|
|
23
24
|
},
|
|
24
25
|
"devDependencies": {
|
|
25
|
-
"@remotion/renderer": "4.0.
|
|
26
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
26
|
+
"@remotion/renderer": "4.0.429",
|
|
27
|
+
"@remotion/eslint-config-internal": "4.0.429",
|
|
27
28
|
"eslint": "9.19.0",
|
|
28
29
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
29
30
|
},
|