@remotion/cli 3.3.5 → 3.3.7
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/ansi/ansi-diff.d.ts +1 -1
- package/dist/ansi/ansi-regex.d.ts +2 -2
- package/dist/benchmark.d.ts +1 -1
- package/dist/compositions.d.ts +1 -1
- package/dist/config/chromium-flags.d.ts +2 -3
- package/dist/config/codec.d.ts +1 -4
- package/dist/config/concurrency.d.ts +1 -1
- package/dist/config/image-format.d.ts +2 -3
- package/dist/config/index.d.ts +5 -5
- package/dist/config/log.d.ts +2 -3
- package/dist/config/number-of-gif-loops.d.ts +1 -1
- package/dist/config/override-webpack.d.ts +1 -1
- package/dist/config/pixel-format.d.ts +2 -3
- package/dist/config/scale.d.ts +1 -1
- package/dist/download-progress.d.ts +1 -1
- package/dist/editor/components/CompositionSelectorItem.d.ts +1 -1
- package/dist/editor/components/FramePersistor.d.ts +2 -2
- package/dist/editor/components/Menu/MenuItem.d.ts +2 -2
- package/dist/editor/components/Menu/MenuSubItem.d.ts +1 -1
- package/dist/editor/components/Menu/portals.d.ts +1 -1
- package/dist/editor/components/NewComposition/ComboBox.d.ts +4 -4
- package/dist/editor/components/NewComposition/InputDragger.d.ts +1 -1
- package/dist/editor/components/NewComposition/NewCompCode.d.ts +1 -2
- package/dist/editor/components/NewComposition/render-aspect-ratio.d.ts +1 -1
- package/dist/editor/components/Notifications/NotificationCenter.d.ts +2 -2
- package/dist/editor/components/QuickSwitcher/NoResults.d.ts +1 -1
- package/dist/editor/components/QuickSwitcher/QuickSwitcherResult.d.ts +2 -2
- package/dist/editor/components/SizeSelector.d.ts +1 -1
- package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts +1 -1
- package/dist/editor/components/Timeline/timeline-scroll-logic.d.ts +3 -3
- package/dist/editor/components/Timeline/timeline-state-reducer.d.ts +2 -2
- package/dist/editor/components/UpdateCheck.d.ts +1 -1
- package/dist/editor/components/ZoomPersistor.d.ts +1 -1
- package/dist/editor/helpers/calculate-timeline.d.ts +1 -1
- package/dist/editor/helpers/get-effective-translation.d.ts +4 -4
- package/dist/editor/helpers/get-timeline-sequence-layout.d.ts +2 -2
- package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts +3 -3
- package/dist/editor/helpers/is-current-selected-still.d.ts +2 -2
- package/dist/editor/helpers/use-keybinding.d.ts +1 -0
- package/dist/editor/helpers/use-menu-structure.d.ts +1 -1
- package/dist/editor/state/checkerboard.d.ts +1 -1
- package/dist/editor/state/folders.d.ts +1 -1
- package/dist/editor/state/highest-z-index.d.ts +1 -1
- package/dist/editor/state/in-out.d.ts +2 -2
- package/dist/editor/state/keybindings.d.ts +4 -4
- package/dist/editor/state/modals.d.ts +3 -3
- package/dist/editor/state/playbackrate.d.ts +1 -1
- package/dist/editor/state/preview-size.d.ts +1 -1
- package/dist/editor/state/rich-timeline.d.ts +1 -1
- package/dist/editor/state/sidebar.d.ts +2 -2
- package/dist/editor/state/timeline-ref.d.ts +1 -1
- package/dist/editor/state/z-index.d.ts +1 -1
- package/dist/get-cli-options.d.ts +4 -35
- package/dist/get-composition-id.d.ts +1 -1
- package/dist/get-composition-with-dimension-override.d.ts +1 -1
- package/dist/get-filename.d.ts +1 -1
- package/dist/get-final-output-codec.js +31 -32
- package/dist/get-latest-remotion-version.d.ts +1 -1
- package/dist/get-render-media-options.d.ts +1 -1
- package/dist/handle-common-errors.d.ts +1 -1
- package/dist/image-formats.d.ts +1 -3
- package/dist/index.d.ts +15 -51
- package/dist/initialize-cli.d.ts +1 -1
- package/dist/install.d.ts +1 -1
- package/dist/lambda-command.d.ts +1 -1
- package/dist/log.d.ts +4 -4
- package/dist/parse-command-line.d.ts +1 -1
- package/dist/preview-server/dev-middleware/get-paths.d.ts +1 -1
- package/dist/preview-server/dev-middleware/is-color-supported.d.ts +1 -1
- package/dist/preview-server/dev-middleware/middleware.d.ts +1 -1
- package/dist/preview-server/dev-middleware/range-parser.d.ts +2 -2
- package/dist/preview-server/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/utils/stack-frame.d.ts +4 -4
- package/dist/preview-server/error-overlay/remotion-overlay/format-location.d.ts +1 -1
- package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.d.ts +1 -1
- package/dist/preview-server/get-absolute-public-dir.d.ts +4 -0
- package/dist/preview-server/get-absolute-public-dir.js +14 -0
- package/dist/preview-server/get-files-in-public-folder.d.ts +2 -0
- package/dist/preview-server/get-files-in-public-folder.js +7 -0
- package/dist/preview-server/get-package-manager.d.ts +2 -2
- package/dist/preview-server/hot-middleware/strip-ansi.d.ts +1 -1
- package/dist/preview-server/live-events.d.ts +1 -1
- package/dist/preview-server/project-info.d.ts +1 -1
- package/dist/preview-server/public-folder.d.ts +12 -0
- package/dist/preview-server/public-folder.js +39 -0
- package/dist/preview-server/routes.d.ts +1 -1
- package/dist/preview-server/serve-static.d.ts +1 -1
- package/dist/preview-server/update-available.d.ts +1 -10
- package/dist/preview-server/write-files-definition-file.d.ts +2 -0
- package/dist/preview-server/write-files-definition-file.js +37 -0
- package/dist/preview.d.ts +1 -1
- package/dist/print-error.d.ts +1 -1
- package/dist/progress-bar.d.ts +10 -10
- package/dist/render.d.ts +1 -1
- package/dist/setup-cache.d.ts +1 -1
- package/dist/step.d.ts +1 -1
- package/dist/still.d.ts +1 -1
- package/dist/truthy.d.ts +1 -1
- package/dist/upgrade.d.ts +1 -1
- package/dist/user-passed-output-location.d.ts +2 -2
- package/dist/versions.d.ts +2 -2
- package/package.json +7 -7
package/dist/ansi/ansi-diff.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ansiRegex: () =>
|
|
2
|
-
export declare const stripAnsi: (str: string) =>
|
|
1
|
+
export declare const ansiRegex: () => any;
|
|
2
|
+
export declare const stripAnsi: (str: string) => any;
|
package/dist/benchmark.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const benchmarkCommand: (remotionRoot: string, args: string[]) =>
|
|
1
|
+
export declare const benchmarkCommand: (remotionRoot: string, args: string[]) => any;
|
package/dist/compositions.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const listCompositionsCommand: (remotionRoot: string, args: string[]) =>
|
|
1
|
+
export declare const listCompositionsCommand: (remotionRoot: string, args: string[]) => any;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { OpenGlRenderer } from '@remotion/renderer';
|
|
2
1
|
export declare const getChromiumDisableWebSecurity: () => boolean;
|
|
3
2
|
export declare const setChromiumDisableWebSecurity: (should: boolean) => void;
|
|
4
3
|
export declare const getIgnoreCertificateErrors: () => boolean;
|
|
5
4
|
export declare const setChromiumIgnoreCertificateErrors: (should: boolean) => void;
|
|
6
|
-
export declare const getChromiumOpenGlRenderer: () =>
|
|
7
|
-
export declare const setChromiumOpenGlRenderer: (renderer:
|
|
5
|
+
export declare const getChromiumOpenGlRenderer: () => any;
|
|
6
|
+
export declare const setChromiumOpenGlRenderer: (renderer: any) => void;
|
|
8
7
|
export declare const getChromiumHeadlessMode: () => boolean;
|
|
9
8
|
export declare const setChromiumHeadlessMode: (should: boolean) => void;
|
package/dist/config/codec.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { CodecOrUndefined } from '@remotion/renderer';
|
|
2
|
-
declare const validLegacyFormats: readonly ["mp4", "png-sequence"];
|
|
3
|
-
declare type LegacyFormat = typeof validLegacyFormats[number];
|
|
4
2
|
export declare const setCodec: (newCodec: CodecOrUndefined) => void;
|
|
5
3
|
export declare const getOutputCodecOrUndefined: () => CodecOrUndefined;
|
|
6
|
-
export declare const setOutputFormat: (newLegacyFormat:
|
|
7
|
-
export {};
|
|
4
|
+
export declare const setOutputFormat: (newLegacyFormat: any) => void;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
|
1
|
+
export declare const setImageFormat: (format: any) => void;
|
|
2
|
+
export declare const getUserPreferredImageFormat: () => any;
|
package/dist/config/index.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ export declare const Config: ConfigType;
|
|
|
7
7
|
export type { Concurrency, WebpackConfiguration, WebpackOverrideFn };
|
|
8
8
|
export declare const ConfigInternals: {
|
|
9
9
|
getRange: () => import("@remotion/renderer").FrameRange | null;
|
|
10
|
-
getOutputCodecOrUndefined: () =>
|
|
10
|
+
getOutputCodecOrUndefined: () => any;
|
|
11
11
|
getCustomFfmpegExecutable: () => import("@remotion/renderer").FfmpegExecutable;
|
|
12
12
|
getBrowser: () => import("@remotion/renderer").Browser | null;
|
|
13
|
-
getPixelFormat: () =>
|
|
14
|
-
getProResProfile: () =>
|
|
13
|
+
getPixelFormat: () => any;
|
|
14
|
+
getProResProfile: () => any;
|
|
15
15
|
getShouldOverwrite: ({ defaultValue, }: {
|
|
16
16
|
defaultValue: boolean;
|
|
17
17
|
}) => boolean;
|
|
@@ -22,7 +22,7 @@ export declare const ConfigInternals: {
|
|
|
22
22
|
getChromiumDisableWebSecurity: () => boolean;
|
|
23
23
|
getIgnoreCertificateErrors: () => boolean;
|
|
24
24
|
getChromiumHeadlessMode: () => boolean;
|
|
25
|
-
getChromiumOpenGlRenderer: () =>
|
|
25
|
+
getChromiumOpenGlRenderer: () => any;
|
|
26
26
|
getEveryNthFrame: () => number;
|
|
27
27
|
getConcurrency: () => number | null;
|
|
28
28
|
getCurrentPuppeteerTimeout: () => number;
|
|
@@ -30,7 +30,7 @@ export declare const ConfigInternals: {
|
|
|
30
30
|
getStillFrame: () => number;
|
|
31
31
|
getShouldOutputImageSequence: (frameRange: import("@remotion/renderer").FrameRange | null) => boolean;
|
|
32
32
|
getDotEnvLocation: () => string | null;
|
|
33
|
-
getUserPreferredImageFormat: () =>
|
|
33
|
+
getUserPreferredImageFormat: () => any;
|
|
34
34
|
getWebpackOverrideFn: () => WebpackOverrideFn;
|
|
35
35
|
getWebpackCaching: () => boolean;
|
|
36
36
|
getOutputLocation: () => string | null;
|
package/dist/config/log.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const setLogLevel: (newLogLevel: LogLevel) => void;
|
|
1
|
+
export declare const getLogLevel: () => any;
|
|
2
|
+
export declare const setLogLevel: (newLogLevel: any) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WebpackConfiguration } from '@remotion/bundler';
|
|
2
|
-
export
|
|
2
|
+
export type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration;
|
|
3
3
|
export declare const defaultOverrideFunction: WebpackOverrideFn;
|
|
4
4
|
export declare const getWebpackOverrideFn: () => WebpackOverrideFn;
|
|
5
5
|
export declare const overrideWebpackConfig: (fn: WebpackOverrideFn) => void;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const getPixelFormat: () => "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
1
|
+
export declare const setPixelFormat: (format: any) => void;
|
|
2
|
+
export declare const getPixelFormat: () => any;
|
package/dist/config/scale.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { DownloadProgress } from './progress-bar';
|
|
2
2
|
export declare const getFileSizeDownloadBar: (downloaded: number) => string;
|
|
3
|
-
export declare const makeMultiDownloadProgress: (progresses: DownloadProgress[]) =>
|
|
3
|
+
export declare const makeMultiDownloadProgress: (progresses: DownloadProgress[]) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
export declare const getCurrentCompositionFromUrl: () =>
|
|
2
|
+
export declare const getCurrentCompositionFromUrl: () => any;
|
|
3
3
|
export declare const persistCurrentFrame: (frame: number) => void;
|
|
4
|
-
export declare const getFrameForComposition: (composition: string) =>
|
|
4
|
+
export declare const getFrameForComposition: (composition: string) => any;
|
|
5
5
|
export declare const FramePersistor: React.FC;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ComboboxValue } from '../NewComposition/ComboBox';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type MenuId = 'remotion' | 'file' | 'view' | 'tools' | 'help';
|
|
4
|
+
export type Menu = {
|
|
5
5
|
id: MenuId;
|
|
6
6
|
label: React.ReactNode;
|
|
7
7
|
items: ComboboxValue[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { SubMenu } from '../NewComposition/ComboBox';
|
|
3
3
|
export declare const MENU_SUBMENU_BUTTON_CLASS_NAME = "remotion-submenu-button";
|
|
4
|
-
export
|
|
4
|
+
export type SubMenuActivated = false | 'with-mouse' | 'without-mouse';
|
|
5
5
|
export declare const MenuSubItem: React.FC<{
|
|
6
6
|
label: React.ReactNode;
|
|
7
7
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getPortal: (i: number) =>
|
|
1
|
+
export declare const getPortal: (i: number) => any;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
type DividerItem = {
|
|
3
3
|
type: 'divider';
|
|
4
4
|
id: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type SubMenu = {
|
|
7
7
|
preselectIndex: number | false;
|
|
8
8
|
leaveLeftSpace: boolean;
|
|
9
9
|
items: ComboboxValue[];
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type SelectionItem = {
|
|
12
12
|
type: 'item';
|
|
13
13
|
id: string;
|
|
14
14
|
label: React.ReactNode;
|
|
@@ -19,7 +19,7 @@ export declare type SelectionItem = {
|
|
|
19
19
|
subMenu: SubMenu | null;
|
|
20
20
|
quickSwitcherLabel: string | null;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type ComboboxValue = DividerItem | SelectionItem;
|
|
23
23
|
export declare const Combobox: React.FC<{
|
|
24
24
|
values: ComboboxValue[];
|
|
25
25
|
selectedId: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InputHTMLAttributes } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
type Props = InputHTMLAttributes<HTMLInputElement> & {
|
|
4
4
|
onValueChange: (newVal: number) => void;
|
|
5
5
|
};
|
|
6
6
|
export declare const InputDragger: React.FC<Props>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const getNewCompositionCode: ({ type, height, width, fps, durationInFrames, name, raw, }: {
|
|
3
2
|
type: 'still' | 'composition';
|
|
4
3
|
height: number;
|
|
@@ -7,4 +6,4 @@ export declare const getNewCompositionCode: ({ type, height, width, fps, duratio
|
|
|
7
6
|
durationInFrames: number;
|
|
8
7
|
name: string;
|
|
9
8
|
raw: boolean;
|
|
10
|
-
}) =>
|
|
9
|
+
}) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const aspectRatio: (width: number, height: number) =>
|
|
1
|
+
export declare const aspectRatio: (width: number, height: number) => any;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
type TNotification = {
|
|
3
3
|
id: string;
|
|
4
4
|
content: React.ReactNode;
|
|
5
5
|
created: number;
|
|
6
6
|
duration: number;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type TNotificationCenter = {
|
|
9
9
|
addNotification: (notification: TNotification) => void;
|
|
10
10
|
};
|
|
11
11
|
export declare const notificationCenter: React.RefObject<TNotificationCenter>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type QuickSwitcherMode = 'commands' | 'compositions' | 'docs';
|
|
3
3
|
export declare const QuickSwitcherNoResults: React.FC<{
|
|
4
4
|
query: string;
|
|
5
5
|
mode: QuickSwitcherMode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
type QuickSwitcherResultDetail = {
|
|
3
3
|
type: 'composition';
|
|
4
4
|
compositionType: 'composition' | 'still';
|
|
5
5
|
} | {
|
|
@@ -9,7 +9,7 @@ declare type QuickSwitcherResultDetail = {
|
|
|
9
9
|
titleLine: string;
|
|
10
10
|
subtitleLine: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type TQuickSwitcherResult = {
|
|
13
13
|
title: string;
|
|
14
14
|
id: string;
|
|
15
15
|
onSelected: () => void;
|
|
@@ -2,5 +2,5 @@ import type { PreviewSize } from '@remotion/player';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export declare const commonPreviewSizes: PreviewSize[];
|
|
4
4
|
export declare const getPreviewSizeLabel: (previewSize: PreviewSize) => string;
|
|
5
|
-
export declare const getUniqueSizes: (size: PreviewSize) =>
|
|
5
|
+
export declare const getUniqueSizes: (size: PreviewSize) => any;
|
|
6
6
|
export declare const SizeSelector: React.FC;
|
|
@@ -5,7 +5,7 @@ export declare const canScrollTimelineIntoDirection: () => {
|
|
|
5
5
|
export declare const getFrameWhileScrollingLeft: ({ durationInFrames, width, }: {
|
|
6
6
|
durationInFrames: number;
|
|
7
7
|
width: number;
|
|
8
|
-
}) =>
|
|
8
|
+
}) => any;
|
|
9
9
|
export declare const isCursorInViewport: ({ frame, durationInFrames, }: {
|
|
10
10
|
frame: number;
|
|
11
11
|
durationInFrames: number;
|
|
@@ -29,13 +29,13 @@ export declare const getFrameIncrementFromWidth: (durationInFrames: number, widt
|
|
|
29
29
|
export declare const getFrameWhileScrollingRight: ({ durationInFrames, width, }: {
|
|
30
30
|
durationInFrames: number;
|
|
31
31
|
width: number;
|
|
32
|
-
}) =>
|
|
32
|
+
}) => any;
|
|
33
33
|
export declare const getFrameFromX: ({ clientX, durationInFrames, width, extrapolate, }: {
|
|
34
34
|
clientX: number;
|
|
35
35
|
durationInFrames: number;
|
|
36
36
|
width: number;
|
|
37
37
|
extrapolate: 'clamp' | 'extend';
|
|
38
|
-
}) =>
|
|
38
|
+
}) => any;
|
|
39
39
|
export declare const zoomAndPreserveCursor: ({ oldZoom, newZoom, currentFrame, currentDurationInFrames, }: {
|
|
40
40
|
oldZoom: number;
|
|
41
41
|
newZoom: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
export declare const persistCurrentZoom: (zoom: number) => void;
|
|
3
|
-
export declare const getZoomForComposition: (composition: string) =>
|
|
3
|
+
export declare const getZoomForComposition: (composition: string) => any;
|
|
4
4
|
export declare const ZoomPersistor: React.FC;
|
|
@@ -9,8 +9,8 @@ export declare const getEffectiveTranslation: ({ canvasSize, scale, compositionH
|
|
|
9
9
|
y: number;
|
|
10
10
|
};
|
|
11
11
|
}) => {
|
|
12
|
-
x:
|
|
13
|
-
y:
|
|
12
|
+
x: any;
|
|
13
|
+
y: any;
|
|
14
14
|
};
|
|
15
15
|
export declare const getCenterPointWhileScrolling: ({ size, clientX, clientY, compositionWidth, compositionHeight, scale, translation, }: {
|
|
16
16
|
size: Size;
|
|
@@ -21,6 +21,6 @@ export declare const getCenterPointWhileScrolling: ({ size, clientX, clientY, co
|
|
|
21
21
|
scale: number;
|
|
22
22
|
translation: Translation;
|
|
23
23
|
}) => {
|
|
24
|
-
centerX:
|
|
25
|
-
centerY:
|
|
24
|
+
centerX: any;
|
|
25
|
+
centerY: any;
|
|
26
26
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { TSequence } from 'remotion';
|
|
2
|
-
export
|
|
2
|
+
export type Track = {
|
|
3
3
|
sequence: TSequence;
|
|
4
4
|
depth: number;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type TrackWithHash = Track & {
|
|
7
7
|
hash: string;
|
|
8
8
|
canCollapse: boolean;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type TrackWithHashAndOriginalTimings = TrackWithHash & {
|
|
11
11
|
hash: string;
|
|
12
12
|
cascadedStart: number;
|
|
13
13
|
cascadedDuration: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Menu } from '../components/Menu/MenuItem';
|
|
2
2
|
import type { TQuickSwitcherResult } from '../components/QuickSwitcher/QuickSwitcherResult';
|
|
3
3
|
import type { ModalState } from '../state/modals';
|
|
4
|
-
|
|
4
|
+
type Structure = Menu[];
|
|
5
5
|
export declare const useMenuStructure: (closeMenu: () => void) => Structure;
|
|
6
6
|
export declare const makeSearchResults: (actions: Structure, setSelectedModal: (value: React.SetStateAction<ModalState | null>) => void) => TQuickSwitcherResult[];
|
|
7
7
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ExpandedFoldersState } from '../helpers/persist-open-folders';
|
|
3
|
-
|
|
3
|
+
type TFolderContext = {
|
|
4
4
|
foldersExpanded: ExpandedFoldersState;
|
|
5
5
|
setFoldersExpanded: React.Dispatch<React.SetStateAction<ExpandedFoldersState>>;
|
|
6
6
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type TimelineInOutContextValue = {
|
|
3
3
|
inFrame: number | null;
|
|
4
4
|
outFrame: number | null;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type SetTimelineInOutContextValue = {
|
|
7
7
|
setInAndOutFrames: (u: React.SetStateAction<TimelineInOutContextValue>) => void;
|
|
8
8
|
};
|
|
9
9
|
export declare const TimelineInOutContext: React.Context<TimelineInOutContextValue>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type KeyEventType = 'keydown' | 'keyup' | 'keypress';
|
|
3
|
+
export type KeyListenerCallback = (e: KeyboardEvent) => void;
|
|
4
|
+
export type RegisteredKeybinding = {
|
|
5
5
|
registeredFromPane: string;
|
|
6
6
|
id: string;
|
|
7
7
|
key: string;
|
|
8
8
|
event: KeyEventType;
|
|
9
9
|
callback: KeyListenerCallback;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type KeybindingContextType = {
|
|
12
12
|
registerKeybinding: (binding: RegisteredKeybinding) => void;
|
|
13
13
|
unregisterKeybinding: (binding: RegisteredKeybinding) => void;
|
|
14
14
|
unregisterPane: (paneId: string) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { QuickSwitcherMode } from '../components/QuickSwitcher/NoResults';
|
|
3
3
|
import type { UpdateInfo } from '../components/UpdateCheck';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type CompType = 'composition' | 'still';
|
|
5
|
+
export type ModalState = {
|
|
6
6
|
type: 'new-comp';
|
|
7
7
|
compType: CompType;
|
|
8
8
|
} | {
|
|
@@ -13,7 +13,7 @@ export declare type ModalState = {
|
|
|
13
13
|
mode: QuickSwitcherMode;
|
|
14
14
|
invocationTimestamp: number;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type ModalContextType = {
|
|
17
17
|
selectedModal: ModalState | null;
|
|
18
18
|
setSelectedModal: React.Dispatch<React.SetStateAction<ModalState | null>>;
|
|
19
19
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const persistPlaybackRate: (option: number) => void;
|
|
2
|
-
export declare const loadPlaybackRate: () =>
|
|
2
|
+
export declare const loadPlaybackRate: () => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
|
|
2
|
+
export type SidebarCollapsedState = 'collapsed' | 'expanded' | 'responsive';
|
|
3
|
+
type Context = {
|
|
4
4
|
sidebarCollapsedState: SidebarCollapsedState;
|
|
5
5
|
setSidebarCollapsedState: (newState: SidebarCollapsedState) => void;
|
|
6
6
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const validateFfmepgCanUseCodec: (codec:
|
|
1
|
+
import type { Codec } from '@remotion/renderer';
|
|
2
|
+
export declare const validateFfmepgCanUseCodec: (codec: any, remotionRoot: string) => any;
|
|
3
3
|
export declare const getFinalCodec: (options: {
|
|
4
4
|
downloadName: string | null;
|
|
5
5
|
outName: string | null;
|
|
6
6
|
}) => {
|
|
7
|
-
codec:
|
|
7
|
+
codec: any;
|
|
8
8
|
reason: string;
|
|
9
9
|
};
|
|
10
10
|
export declare const getAndValidateAbsoluteOutputFile: (relativeOutputLocation: string, overwrite: boolean) => string;
|
|
@@ -12,35 +12,4 @@ export declare const getCliOptions: (options: {
|
|
|
12
12
|
isLambda: boolean;
|
|
13
13
|
type: 'still' | 'series' | 'get-compositions';
|
|
14
14
|
remotionRoot: string;
|
|
15
|
-
}) =>
|
|
16
|
-
puppeteerTimeout: number;
|
|
17
|
-
concurrency: number | null;
|
|
18
|
-
frameRange: FrameRange | null;
|
|
19
|
-
shouldOutputImageSequence: boolean;
|
|
20
|
-
inputProps: object;
|
|
21
|
-
envVariables: Record<string, string>;
|
|
22
|
-
quality: number | undefined;
|
|
23
|
-
browser: import("@remotion/renderer").Browser;
|
|
24
|
-
crf: import("@remotion/renderer").Crf | null;
|
|
25
|
-
pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
26
|
-
proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
|
|
27
|
-
everyNthFrame: number;
|
|
28
|
-
numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
|
|
29
|
-
stillFrame: number;
|
|
30
|
-
browserExecutable: BrowserExecutable;
|
|
31
|
-
ffmpegExecutable: import("@remotion/renderer").FfmpegExecutable;
|
|
32
|
-
ffprobeExecutable: import("@remotion/renderer").FfmpegExecutable;
|
|
33
|
-
logLevel: "error" | "verbose" | "info" | "warn";
|
|
34
|
-
scale: number;
|
|
35
|
-
chromiumOptions: ChromiumOptions;
|
|
36
|
-
overwrite: boolean;
|
|
37
|
-
port: number | null;
|
|
38
|
-
muted: boolean;
|
|
39
|
-
enforceAudioTrack: boolean;
|
|
40
|
-
publicDir: string | null;
|
|
41
|
-
ffmpegOverride: import("@remotion/renderer").FfmpegOverrideFn;
|
|
42
|
-
audioBitrate: string | null;
|
|
43
|
-
videoBitrate: string | null;
|
|
44
|
-
height: number | null;
|
|
45
|
-
width: number | null;
|
|
46
|
-
}>;
|
|
15
|
+
}) => unknown;
|
|
@@ -2,6 +2,6 @@ import type { TCompMetadata } from 'remotion';
|
|
|
2
2
|
export declare const getCompositionId: (validCompositions: TCompMetadata[], args: string[]) => Promise<{
|
|
3
3
|
compositionId: string;
|
|
4
4
|
reason: string;
|
|
5
|
-
config:
|
|
5
|
+
config: Pick<import("remotion").TComposition<unknown>, "height" | "width" | "id" | "fps" | "durationInFrames" | "defaultProps">;
|
|
6
6
|
argsAfterComposition: string[];
|
|
7
7
|
}>;
|
|
@@ -7,6 +7,6 @@ export declare const getCompositionWithDimensionOverride: ({ validCompositions,
|
|
|
7
7
|
}) => Promise<{
|
|
8
8
|
compositionId: string;
|
|
9
9
|
reason: string;
|
|
10
|
-
config:
|
|
10
|
+
config: Pick<import("remotion").TComposition<unknown>, "height" | "width" | "id" | "fps" | "durationInFrames" | "defaultProps">;
|
|
11
11
|
argsAfterComposition: string[];
|
|
12
12
|
}>;
|