@remotion/studio-shared 4.0.429 → 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/dist/api-requests.d.ts +18 -1
- package/dist/event-source-event.d.ts +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/package-info.js +2 -2
- package/package.json +2 -1
package/dist/api-requests.d.ts
CHANGED
|
@@ -156,8 +156,23 @@ export type CanUpdateSequencePropsRequest = {
|
|
|
156
156
|
column: number;
|
|
157
157
|
keys: string[];
|
|
158
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
|
+
};
|
|
159
173
|
export type CanUpdateSequencePropStatus = {
|
|
160
174
|
canUpdate: true;
|
|
175
|
+
codeValue: unknown;
|
|
161
176
|
} | {
|
|
162
177
|
canUpdate: false;
|
|
163
178
|
reason: 'computed';
|
|
@@ -176,6 +191,7 @@ export type SaveSequencePropsRequest = {
|
|
|
176
191
|
key: string;
|
|
177
192
|
value: string;
|
|
178
193
|
enumPaths: EnumPath[];
|
|
194
|
+
defaultValue: string | null;
|
|
179
195
|
};
|
|
180
196
|
export type SaveSequencePropsResponse = {
|
|
181
197
|
success: true;
|
|
@@ -211,7 +227,8 @@ export type ApiRoutes = {
|
|
|
211
227
|
'/api/update-default-props': ReqAndRes<UpdateDefaultPropsRequest, UpdateDefaultPropsResponse>;
|
|
212
228
|
'/api/apply-visual-control-change': ReqAndRes<ApplyVisualControlRequest, ApplyVisualControlResponse>;
|
|
213
229
|
'/api/can-update-default-props': ReqAndRes<CanUpdateDefaultPropsRequest, CanUpdateDefaultPropsResponse>;
|
|
214
|
-
'/api/
|
|
230
|
+
'/api/subscribe-to-sequence-props': ReqAndRes<SubscribeToSequencePropsRequest, SubscribeToSequencePropsResponse>;
|
|
231
|
+
'/api/unsubscribe-from-sequence-props': ReqAndRes<UnsubscribeFromSequencePropsRequest, undefined>;
|
|
215
232
|
'/api/save-sequence-props': ReqAndRes<SaveSequencePropsRequest, SaveSequencePropsResponse>;
|
|
216
233
|
'/api/update-available': ReqAndRes<UpdateAvailableRequest, UpdateAvailableResponse>;
|
|
217
234
|
'/api/apply-codemod': ReqAndRes<ApplyCodemodRequest, ApplyCodemodResponse>;
|
|
@@ -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, CanUpdateSequencePropStatus, CanUpdateSequencePropsRequest, CanUpdateSequencePropsResponse, CancelRenderRequest, 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';
|
|
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.js
CHANGED
|
@@ -92,13 +92,13 @@ exports.packages = [
|
|
|
92
92
|
exports.extraPackages = [
|
|
93
93
|
{
|
|
94
94
|
name: 'mediabunny',
|
|
95
|
-
version: '1.
|
|
95
|
+
version: '1.35.1',
|
|
96
96
|
description: 'Multimedia library used by Remotion',
|
|
97
97
|
docsUrl: 'https://www.remotion.dev/docs/mediabunny/version',
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
name: '@mediabunny/ac3',
|
|
101
|
-
version: '1.
|
|
101
|
+
version: '1.35.1',
|
|
102
102
|
description: 'AC-3 and E-AC-3 audio codec support for Mediabunny',
|
|
103
103
|
docsUrl: 'https://www.remotion.dev/docs/mediabunny/formats#ac-3-and-e-ac-3',
|
|
104
104
|
},
|
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
12
|
"formatting": "oxfmt src --check",
|
|
13
|
+
"format": "oxfmt src",
|
|
13
14
|
"make": "tsgo -d"
|
|
14
15
|
},
|
|
15
16
|
"author": "Jonny Burger <jonny@remotion.dev>",
|