@remotion/cli 3.3.7 → 3.3.9
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 +3 -2
- package/dist/config/codec.d.ts +4 -1
- package/dist/config/concurrency.d.ts +1 -1
- package/dist/config/image-format.d.ts +3 -2
- package/dist/config/index.d.ts +5 -5
- package/dist/config/log.d.ts +3 -2
- 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 +3 -2
- 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 +2 -1
- 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 +0 -1
- 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 +35 -4
- 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-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 +3 -1
- package/dist/index.d.ts +51 -15
- 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-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/routes.d.ts +1 -1
- package/dist/preview-server/serve-static.d.ts +1 -1
- package/dist/preview-server/update-available.d.ts +10 -1
- 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: () => RegExp;
|
|
2
|
+
export declare const stripAnsi: (str: string) => string;
|
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[]) => Promise<void>;
|
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[]) => Promise<void>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { OpenGlRenderer } from '@remotion/renderer';
|
|
1
2
|
export declare const getChromiumDisableWebSecurity: () => boolean;
|
|
2
3
|
export declare const setChromiumDisableWebSecurity: (should: boolean) => void;
|
|
3
4
|
export declare const getIgnoreCertificateErrors: () => boolean;
|
|
4
5
|
export declare const setChromiumIgnoreCertificateErrors: (should: boolean) => void;
|
|
5
|
-
export declare const getChromiumOpenGlRenderer: () =>
|
|
6
|
-
export declare const setChromiumOpenGlRenderer: (renderer:
|
|
6
|
+
export declare const getChromiumOpenGlRenderer: () => "swangle" | "angle" | "egl" | "swiftshader" | null;
|
|
7
|
+
export declare const setChromiumOpenGlRenderer: (renderer: OpenGlRenderer) => void;
|
|
7
8
|
export declare const getChromiumHeadlessMode: () => boolean;
|
|
8
9
|
export declare const setChromiumHeadlessMode: (should: boolean) => void;
|
package/dist/config/codec.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { CodecOrUndefined } from '@remotion/renderer';
|
|
2
|
+
declare const validLegacyFormats: readonly ["mp4", "png-sequence"];
|
|
3
|
+
declare type LegacyFormat = typeof validLegacyFormats[number];
|
|
2
4
|
export declare const setCodec: (newCodec: CodecOrUndefined) => void;
|
|
3
5
|
export declare const getOutputCodecOrUndefined: () => CodecOrUndefined;
|
|
4
|
-
export declare const setOutputFormat: (newLegacyFormat:
|
|
6
|
+
export declare const setOutputFormat: (newLegacyFormat: LegacyFormat) => void;
|
|
7
|
+
export {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import type { ImageFormat } from '@remotion/renderer';
|
|
2
|
+
export declare const setImageFormat: (format: ImageFormat) => void;
|
|
3
|
+
export declare const getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
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: () => import("@remotion/renderer").CodecOrUndefined;
|
|
11
11
|
getCustomFfmpegExecutable: () => import("@remotion/renderer").FfmpegExecutable;
|
|
12
12
|
getBrowser: () => import("@remotion/renderer").Browser | null;
|
|
13
|
-
getPixelFormat: () =>
|
|
14
|
-
getProResProfile: () =>
|
|
13
|
+
getPixelFormat: () => "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
14
|
+
getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
|
|
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: () => "swangle" | "angle" | "egl" | "swiftshader" | null;
|
|
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: () => "png" | "jpeg" | "none" | undefined;
|
|
34
34
|
getWebpackOverrideFn: () => WebpackOverrideFn;
|
|
35
35
|
getWebpackCaching: () => boolean;
|
|
36
36
|
getOutputLocation: () => string | null;
|
package/dist/config/log.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import type { LogLevel } from '@remotion/renderer';
|
|
2
|
+
export declare const getLogLevel: () => "verbose" | "info" | "warn" | "error";
|
|
3
|
+
export declare const setLogLevel: (newLogLevel: LogLevel) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WebpackConfiguration } from '@remotion/bundler';
|
|
2
|
-
export type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration;
|
|
2
|
+
export declare 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,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import type { PixelFormat } from '@remotion/renderer';
|
|
2
|
+
export declare const setPixelFormat: (format: PixelFormat) => void;
|
|
3
|
+
export declare const getPixelFormat: () => "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
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[]) => string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
export declare const getCurrentCompositionFromUrl: () =>
|
|
2
|
+
export declare const getCurrentCompositionFromUrl: () => string;
|
|
3
3
|
export declare const persistCurrentFrame: (frame: number) => void;
|
|
4
|
-
export declare const getFrameForComposition: (composition: string) =>
|
|
4
|
+
export declare const getFrameForComposition: (composition: string) => number;
|
|
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 type MenuId = 'remotion' | 'file' | 'view' | 'tools' | 'help';
|
|
4
|
-
export type Menu = {
|
|
3
|
+
export declare type MenuId = 'remotion' | 'file' | 'view' | 'tools' | 'help';
|
|
4
|
+
export declare 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 type SubMenuActivated = false | 'with-mouse' | 'without-mouse';
|
|
4
|
+
export declare 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) => Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
type DividerItem = {
|
|
2
|
+
declare type DividerItem = {
|
|
3
3
|
type: 'divider';
|
|
4
4
|
id: string;
|
|
5
5
|
};
|
|
6
|
-
export type SubMenu = {
|
|
6
|
+
export declare type SubMenu = {
|
|
7
7
|
preselectIndex: number | false;
|
|
8
8
|
leaveLeftSpace: boolean;
|
|
9
9
|
items: ComboboxValue[];
|
|
10
10
|
};
|
|
11
|
-
export type SelectionItem = {
|
|
11
|
+
export declare type SelectionItem = {
|
|
12
12
|
type: 'item';
|
|
13
13
|
id: string;
|
|
14
14
|
label: React.ReactNode;
|
|
@@ -19,7 +19,7 @@ export type SelectionItem = {
|
|
|
19
19
|
subMenu: SubMenu | null;
|
|
20
20
|
quickSwitcherLabel: string | null;
|
|
21
21
|
};
|
|
22
|
-
export type ComboboxValue = DividerItem | SelectionItem;
|
|
22
|
+
export declare 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
|
-
type Props = InputHTMLAttributes<HTMLInputElement> & {
|
|
3
|
+
declare type Props = InputHTMLAttributes<HTMLInputElement> & {
|
|
4
4
|
onValueChange: (newVal: number) => void;
|
|
5
5
|
};
|
|
6
6
|
export declare const InputDragger: React.FC<Props>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const getNewCompositionCode: ({ type, height, width, fps, durationInFrames, name, raw, }: {
|
|
2
3
|
type: 'still' | 'composition';
|
|
3
4
|
height: number;
|
|
@@ -6,4 +7,4 @@ export declare const getNewCompositionCode: ({ type, height, width, fps, duratio
|
|
|
6
7
|
durationInFrames: number;
|
|
7
8
|
name: string;
|
|
8
9
|
raw: boolean;
|
|
9
|
-
}) =>
|
|
10
|
+
}) => string | (string | JSX.Element | (string | JSX.Element)[])[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const aspectRatio: (width: number, height: number) =>
|
|
1
|
+
export declare const aspectRatio: (width: number, height: number) => string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
type TNotification = {
|
|
2
|
+
declare type TNotification = {
|
|
3
3
|
id: string;
|
|
4
4
|
content: React.ReactNode;
|
|
5
5
|
created: number;
|
|
6
6
|
duration: number;
|
|
7
7
|
};
|
|
8
|
-
type TNotificationCenter = {
|
|
8
|
+
declare 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 type QuickSwitcherMode = 'commands' | 'compositions' | 'docs';
|
|
2
|
+
export declare 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
|
-
type QuickSwitcherResultDetail = {
|
|
2
|
+
declare type QuickSwitcherResultDetail = {
|
|
3
3
|
type: 'composition';
|
|
4
4
|
compositionType: 'composition' | 'still';
|
|
5
5
|
} | {
|
|
@@ -9,7 +9,7 @@ type QuickSwitcherResultDetail = {
|
|
|
9
9
|
titleLine: string;
|
|
10
10
|
subtitleLine: string;
|
|
11
11
|
};
|
|
12
|
-
export type TQuickSwitcherResult = {
|
|
12
|
+
export declare 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) => PreviewSize[];
|
|
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
|
+
}) => number;
|
|
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
|
+
}) => number;
|
|
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
|
+
}) => number;
|
|
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) => number;
|
|
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: number;
|
|
13
|
+
y: number;
|
|
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: number;
|
|
25
|
+
centerY: number;
|
|
26
26
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { TSequence } from 'remotion';
|
|
2
|
-
export type Track = {
|
|
2
|
+
export declare type Track = {
|
|
3
3
|
sequence: TSequence;
|
|
4
4
|
depth: number;
|
|
5
5
|
};
|
|
6
|
-
export type TrackWithHash = Track & {
|
|
6
|
+
export declare type TrackWithHash = Track & {
|
|
7
7
|
hash: string;
|
|
8
8
|
canCollapse: boolean;
|
|
9
9
|
};
|
|
10
|
-
export type TrackWithHashAndOriginalTimings = TrackWithHash & {
|
|
10
|
+
export declare 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
|
-
type Structure = Menu[];
|
|
4
|
+
declare 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
|
-
type TFolderContext = {
|
|
3
|
+
declare 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 type TimelineInOutContextValue = {
|
|
2
|
+
export declare type TimelineInOutContextValue = {
|
|
3
3
|
inFrame: number | null;
|
|
4
4
|
outFrame: number | null;
|
|
5
5
|
};
|
|
6
|
-
export type SetTimelineInOutContextValue = {
|
|
6
|
+
export declare 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 type KeyEventType = 'keydown' | 'keyup' | 'keypress';
|
|
3
|
-
export type KeyListenerCallback = (e: KeyboardEvent) => void;
|
|
4
|
-
export type RegisteredKeybinding = {
|
|
2
|
+
export declare type KeyEventType = 'keydown' | 'keyup' | 'keypress';
|
|
3
|
+
export declare type KeyListenerCallback = (e: KeyboardEvent) => void;
|
|
4
|
+
export declare 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 type KeybindingContextType = {
|
|
11
|
+
export declare 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 type CompType = 'composition' | 'still';
|
|
5
|
-
export type ModalState = {
|
|
4
|
+
export declare type CompType = 'composition' | 'still';
|
|
5
|
+
export declare type ModalState = {
|
|
6
6
|
type: 'new-comp';
|
|
7
7
|
compType: CompType;
|
|
8
8
|
} | {
|
|
@@ -13,7 +13,7 @@ export type ModalState = {
|
|
|
13
13
|
mode: QuickSwitcherMode;
|
|
14
14
|
invocationTimestamp: number;
|
|
15
15
|
};
|
|
16
|
-
export type ModalContextType = {
|
|
16
|
+
export declare 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: () => number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export type SidebarCollapsedState = 'collapsed' | 'expanded' | 'responsive';
|
|
3
|
-
type Context = {
|
|
2
|
+
export declare type SidebarCollapsedState = 'collapsed' | 'expanded' | 'responsive';
|
|
3
|
+
declare type Context = {
|
|
4
4
|
sidebarCollapsedState: SidebarCollapsedState;
|
|
5
5
|
setSidebarCollapsedState: (newState: SidebarCollapsedState) => void;
|
|
6
6
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Codec } from '@remotion/renderer';
|
|
2
|
-
export declare const validateFfmepgCanUseCodec: (codec:
|
|
1
|
+
import type { BrowserExecutable, ChromiumOptions, Codec, FrameRange } from '@remotion/renderer';
|
|
2
|
+
export declare const validateFfmepgCanUseCodec: (codec: Codec, remotionRoot: string) => Promise<void>;
|
|
3
3
|
export declare const getFinalCodec: (options: {
|
|
4
4
|
downloadName: string | null;
|
|
5
5
|
outName: string | null;
|
|
6
6
|
}) => {
|
|
7
|
-
codec:
|
|
7
|
+
codec: Codec;
|
|
8
8
|
reason: string;
|
|
9
9
|
};
|
|
10
10
|
export declare const getAndValidateAbsoluteOutputFile: (relativeOutputLocation: string, overwrite: boolean) => string;
|
|
@@ -12,4 +12,35 @@ export declare const getCliOptions: (options: {
|
|
|
12
12
|
isLambda: boolean;
|
|
13
13
|
type: 'still' | 'series' | 'get-compositions';
|
|
14
14
|
remotionRoot: string;
|
|
15
|
-
}) =>
|
|
15
|
+
}) => Promise<{
|
|
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: "verbose" | "info" | "warn" | "error";
|
|
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
|
+
}>;
|
|
@@ -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: TCompMetadata;
|
|
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: TCompMetadata;
|
|
11
11
|
argsAfterComposition: string[];
|
|
12
12
|
}>;
|
package/dist/get-filename.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Codec } from '@remotion/renderer';
|
|
2
2
|
export declare const getOutputFilename: ({ codec, imageSequence, compositionName, defaultExtension, args, }: {
|
|
3
|
-
codec:
|
|
3
|
+
codec: Codec;
|
|
4
4
|
imageSequence: boolean;
|
|
5
5
|
compositionName: string;
|
|
6
6
|
defaultExtension: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLatestRemotionVersion: () =>
|
|
1
|
+
export declare const getLatestRemotionVersion: () => Promise<any>;
|
|
@@ -3,6 +3,6 @@ export declare const getRenderMediaOptions: ({ outputLocation, config, serveUrl,
|
|
|
3
3
|
outputLocation: RenderMediaOptions['outputLocation'];
|
|
4
4
|
config: RenderMediaOptions['composition'];
|
|
5
5
|
serveUrl: string;
|
|
6
|
-
codec:
|
|
6
|
+
codec: Codec;
|
|
7
7
|
remotionRoot: string;
|
|
8
8
|
}) => Promise<RenderMediaOptions>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const handleCommonError: (err: Error) =>
|
|
1
|
+
export declare const handleCommonError: (err: Error) => Promise<void>;
|
package/dist/image-formats.d.ts
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ImageFormat } from '@remotion/renderer';
|
|
2
|
+
import { ConfigInternals } from './config';
|
|
3
|
+
export declare const getImageFormat: (codec: ReturnType<typeof ConfigInternals.getOutputCodecOrUndefined>) => ImageFormat;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import minimist from 'minimist';
|
|
2
|
-
export declare const cli: () =>
|
|
2
|
+
export declare const cli: () => Promise<void>;
|
|
3
3
|
export { ConfigInternals, overrideRemotion } from './config/index';
|
|
4
4
|
export * from './render';
|
|
5
5
|
export declare const CliInternals: {
|
|
@@ -61,45 +61,81 @@ export declare const CliInternals: {
|
|
|
61
61
|
};
|
|
62
62
|
makeProgressBar: (percentage: number) => string;
|
|
63
63
|
Log: {
|
|
64
|
-
verbose: (
|
|
65
|
-
info: (
|
|
66
|
-
warn: (
|
|
67
|
-
error: (
|
|
64
|
+
verbose: (message?: any, ...optionalParams: any[]) => void;
|
|
65
|
+
info: (message?: any, ...optionalParams: any[]) => void;
|
|
66
|
+
warn: (message?: any, ...optionalParams: any[]) => void;
|
|
67
|
+
error: (message?: any, ...optionalParams: any[]) => void;
|
|
68
68
|
};
|
|
69
69
|
getCliOptions: (options: {
|
|
70
70
|
isLambda: boolean;
|
|
71
71
|
type: "still" | "series" | "get-compositions";
|
|
72
72
|
remotionRoot: string;
|
|
73
|
-
}) =>
|
|
73
|
+
}) => Promise<{
|
|
74
|
+
puppeteerTimeout: number;
|
|
75
|
+
concurrency: number | null;
|
|
76
|
+
frameRange: import("@remotion/renderer").FrameRange | null;
|
|
77
|
+
shouldOutputImageSequence: boolean;
|
|
78
|
+
inputProps: object;
|
|
79
|
+
envVariables: Record<string, string>;
|
|
80
|
+
quality: number | undefined;
|
|
81
|
+
browser: import("@remotion/renderer").Browser;
|
|
82
|
+
crf: import("@remotion/renderer").Crf | null;
|
|
83
|
+
pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
84
|
+
proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
|
|
85
|
+
everyNthFrame: number;
|
|
86
|
+
numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
|
|
87
|
+
stillFrame: number;
|
|
88
|
+
browserExecutable: import("@remotion/renderer").BrowserExecutable;
|
|
89
|
+
ffmpegExecutable: import("@remotion/renderer").FfmpegExecutable;
|
|
90
|
+
ffprobeExecutable: import("@remotion/renderer").FfmpegExecutable;
|
|
91
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
92
|
+
scale: number;
|
|
93
|
+
chromiumOptions: import("@remotion/renderer").ChromiumOptions;
|
|
94
|
+
overwrite: boolean;
|
|
95
|
+
port: number | null;
|
|
96
|
+
muted: boolean;
|
|
97
|
+
enforceAudioTrack: boolean;
|
|
98
|
+
publicDir: string | null;
|
|
99
|
+
ffmpegOverride: import("@remotion/renderer").FfmpegOverrideFn;
|
|
100
|
+
audioBitrate: string | null;
|
|
101
|
+
videoBitrate: string | null;
|
|
102
|
+
height: number | null;
|
|
103
|
+
width: number | null;
|
|
104
|
+
}>;
|
|
74
105
|
loadConfig: (remotionRoot: string) => Promise<string | null>;
|
|
75
|
-
initializeCli: (remotionRoot: string) =>
|
|
106
|
+
initializeCli: (remotionRoot: string) => Promise<void>;
|
|
76
107
|
BooleanFlags: string[];
|
|
77
108
|
quietFlagProvided: () => boolean;
|
|
78
109
|
parsedCli: import("./parse-command-line").CommandLineOptions & {
|
|
79
110
|
_: string[];
|
|
80
111
|
};
|
|
81
|
-
handleCommonError: (err: Error) =>
|
|
82
|
-
formatBytes: (number: number, options?:
|
|
112
|
+
handleCommonError: (err: Error) => Promise<void>;
|
|
113
|
+
formatBytes: (number: number, options?: Intl.NumberFormatOptions & {
|
|
114
|
+
locale: string;
|
|
115
|
+
bits?: boolean | undefined;
|
|
116
|
+
binary?: boolean | undefined;
|
|
117
|
+
signed: boolean;
|
|
118
|
+
}) => string;
|
|
83
119
|
getFileSizeDownloadBar: (downloaded: number) => string;
|
|
84
120
|
getFinalCodec: (options: {
|
|
85
121
|
downloadName: string | null;
|
|
86
122
|
outName: string | null;
|
|
87
123
|
}) => {
|
|
88
|
-
codec:
|
|
124
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
89
125
|
reason: string;
|
|
90
126
|
};
|
|
91
127
|
determineFinalImageFormat: ({ downloadName, outName, configImageFormat, cliFlag, isLambda, }: {
|
|
92
128
|
downloadName: string | null;
|
|
93
129
|
outName: string | null;
|
|
94
|
-
configImageFormat:
|
|
95
|
-
cliFlag:
|
|
130
|
+
configImageFormat: "png" | "jpeg" | "none" | null;
|
|
131
|
+
cliFlag: "png" | "jpeg" | "none" | null;
|
|
96
132
|
isLambda: boolean;
|
|
97
133
|
}) => {
|
|
98
134
|
format: import("@remotion/renderer").StillImageFormat;
|
|
99
135
|
source: string;
|
|
100
136
|
};
|
|
101
137
|
minimist: typeof minimist;
|
|
102
|
-
selectComposition: (validCompositions:
|
|
138
|
+
selectComposition: (validCompositions: import("remotion").TCompMetadata[]) => Promise<{
|
|
103
139
|
compositionId: string;
|
|
104
140
|
reason: string;
|
|
105
141
|
}>;
|
|
@@ -108,6 +144,6 @@ export declare const CliInternals: {
|
|
|
108
144
|
remainingArgs: string[];
|
|
109
145
|
reason: string;
|
|
110
146
|
};
|
|
111
|
-
getImageFormat: (codec:
|
|
112
|
-
printCompositions: (compositions:
|
|
147
|
+
getImageFormat: (codec: import("@remotion/renderer").CodecOrUndefined) => "png" | "jpeg" | "none";
|
|
148
|
+
printCompositions: (compositions: import("remotion").TCompMetadata[]) => void;
|
|
113
149
|
};
|
package/dist/initialize-cli.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const initializeCli: (remotionRoot: string) =>
|
|
1
|
+
export declare const initializeCli: (remotionRoot: string) => Promise<void>;
|
package/dist/install.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const INSTALL_COMMAND: "install";
|
|
2
|
-
export declare const installCommand: (remotionRoot: string, args: string[]) =>
|
|
2
|
+
export declare const installCommand: (remotionRoot: string, args: string[]) => Promise<void>;
|
package/dist/lambda-command.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const lambdaCommand: (remotionRoot: string, args: string[]) =>
|
|
1
|
+
export declare const lambdaCommand: (remotionRoot: string, args: string[]) => Promise<never>;
|
package/dist/log.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const Log: {
|
|
2
|
-
verbose: (
|
|
3
|
-
info: (
|
|
4
|
-
warn: (
|
|
5
|
-
error: (
|
|
2
|
+
verbose: (message?: any, ...optionalParams: any[]) => void;
|
|
3
|
+
info: (message?: any, ...optionalParams: any[]) => void;
|
|
4
|
+
warn: (message?: any, ...optionalParams: any[]) => void;
|
|
5
|
+
error: (message?: any, ...optionalParams: any[]) => void;
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BrowserExecutable, Codec, FfmpegExecutable, ImageFormat, OpenGlRenderer, PixelFormat, ProResProfile } from '@remotion/renderer';
|
|
2
|
-
export type CommandLineOptions = {
|
|
2
|
+
export declare type CommandLineOptions = {
|
|
3
3
|
['browser-executable']: BrowserExecutable;
|
|
4
4
|
['ffmpeg-executable']: FfmpegExecutable;
|
|
5
5
|
['ffprobe-executable']: FfmpegExecutable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isColorSupported:
|
|
1
|
+
export declare const isColorSupported: boolean;
|
|
@@ -6,5 +6,5 @@ export declare function getValueContentRangeHeader(type: string, size: number, r
|
|
|
6
6
|
start: number;
|
|
7
7
|
end: number;
|
|
8
8
|
}): string;
|
|
9
|
-
export type MiddleWare = (req: IncomingMessage, res: ServerResponse, next: () => void) => void;
|
|
9
|
+
export declare type MiddleWare = (req: IncomingMessage, res: ServerResponse, next: () => void) => void;
|
|
10
10
|
export declare function middleware(context: DevMiddlewareContext): (req: IncomingMessage, res: ServerResponse, next: () => void) => void;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
* Copyright(c) 2015-2016 Douglas Christopher Wilson
|
|
5
5
|
* MIT Licensed
|
|
6
6
|
*/
|
|
7
|
-
type Range = {
|
|
7
|
+
declare type Range = {
|
|
8
8
|
start: number;
|
|
9
9
|
end: number;
|
|
10
10
|
};
|
|
11
|
-
type Ranges = Range[] & {
|
|
11
|
+
declare type Ranges = Range[] & {
|
|
12
12
|
type?: string;
|
|
13
13
|
};
|
|
14
14
|
export declare function parseRange(size: number, str: string | string[]): -1 | Ranges | -2;
|
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
export type ScriptLine = {
|
|
7
|
+
export declare type ScriptLine = {
|
|
8
8
|
lineNumber: number;
|
|
9
9
|
content: string;
|
|
10
10
|
highlight: boolean;
|
|
11
11
|
};
|
|
12
|
-
export type SymbolicatedStackFrame = {
|
|
12
|
+
export declare type SymbolicatedStackFrame = {
|
|
13
13
|
originalFunctionName: string | null;
|
|
14
14
|
originalFileName: string | null;
|
|
15
15
|
originalLineNumber: number | null;
|
|
16
16
|
originalColumnNumber: number | null;
|
|
17
17
|
originalScriptCode: ScriptLine[] | null;
|
|
18
18
|
};
|
|
19
|
-
export type StackFrame = {
|
|
19
|
+
export declare type StackFrame = {
|
|
20
20
|
functionName: string | null;
|
|
21
21
|
fileName: string;
|
|
22
22
|
lineNumber: number;
|
|
23
23
|
columnNumber: number;
|
|
24
24
|
};
|
|
25
|
-
export type SomeStackFrame = {
|
|
25
|
+
export declare type SomeStackFrame = {
|
|
26
26
|
type: 'symbolicated';
|
|
27
27
|
frame: SymbolicatedStackFrame;
|
|
28
28
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const formatLocation: (location: string) =>
|
|
1
|
+
export declare const formatLocation: (location: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const stripAnsi: (str: string) =>
|
|
1
|
+
export declare const stripAnsi: (str: string) => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import type { IncomingMessage, ServerResponse } from 'http';
|
|
3
3
|
import type { EventSourceEvent } from '../event-source-events';
|
|
4
|
-
export type LiveEventsServer = {
|
|
4
|
+
export declare type LiveEventsServer = {
|
|
5
5
|
sendEventToClient: (event: EventSourceEvent) => void;
|
|
6
6
|
router: (request: IncomingMessage, response: ServerResponse) => void;
|
|
7
7
|
};
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* MIT Licensed
|
|
7
7
|
*/
|
|
8
8
|
import type { IncomingMessage, ServerResponse } from 'http';
|
|
9
|
-
export declare const serveStatic: (root: string, hash: string, req: IncomingMessage, res: ServerResponse) =>
|
|
9
|
+
export declare const serveStatic: (root: string, hash: string, req: IncomingMessage, res: ServerResponse) => Promise<void>;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import type { PackageManager } from './get-package-manager';
|
|
2
|
+
declare type Info = {
|
|
3
|
+
currentVersion: string;
|
|
4
|
+
latestVersion: string;
|
|
5
|
+
updateAvailable: boolean;
|
|
6
|
+
timedOut: boolean;
|
|
7
|
+
packageManager: PackageManager | 'unknown';
|
|
8
|
+
};
|
|
1
9
|
export declare const getRemotionVersion: () => any;
|
|
2
|
-
export declare const isUpdateAvailableWithTimeout: (remotionRoot: string) =>
|
|
10
|
+
export declare const isUpdateAvailableWithTimeout: (remotionRoot: string) => Promise<Info>;
|
|
11
|
+
export {};
|
package/dist/preview.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const previewCommand: (remotionRoot: string, args: string[]) =>
|
|
1
|
+
export declare const previewCommand: (remotionRoot: string, args: string[]) => Promise<void>;
|
package/dist/print-error.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const printError: (err: Error) =>
|
|
1
|
+
export declare const printError: (err: Error) => Promise<void>;
|
package/dist/progress-bar.d.ts
CHANGED
|
@@ -6,32 +6,32 @@ export declare const createProgressBar: (quiet: boolean) => {
|
|
|
6
6
|
export declare const createOverwriteableCliOutput: (quiet: boolean) => {
|
|
7
7
|
update: (up: string) => boolean;
|
|
8
8
|
};
|
|
9
|
-
export type CopyingState = {
|
|
9
|
+
export declare type CopyingState = {
|
|
10
10
|
bytes: number;
|
|
11
11
|
doneIn: number | null;
|
|
12
12
|
};
|
|
13
|
-
export type BundlingState = {
|
|
13
|
+
export declare type BundlingState = {
|
|
14
14
|
progress: number;
|
|
15
15
|
steps: RenderStep[];
|
|
16
16
|
doneIn: number | null;
|
|
17
17
|
};
|
|
18
|
-
export type SymbolicLinksState = {
|
|
18
|
+
export declare type SymbolicLinksState = {
|
|
19
19
|
symlinks: string[];
|
|
20
20
|
};
|
|
21
21
|
export declare const makeBundlingAndCopyProgress: ({ bundling, copying, symLinks, }: {
|
|
22
22
|
bundling: BundlingState;
|
|
23
23
|
copying: CopyingState;
|
|
24
24
|
symLinks: SymbolicLinksState;
|
|
25
|
-
}) =>
|
|
26
|
-
type RenderingProgressInput = {
|
|
25
|
+
}) => string;
|
|
26
|
+
declare type RenderingProgressInput = {
|
|
27
27
|
frames: number;
|
|
28
28
|
totalFrames: number;
|
|
29
29
|
steps: RenderStep[];
|
|
30
30
|
concurrency: number;
|
|
31
31
|
doneIn: number | null;
|
|
32
32
|
};
|
|
33
|
-
export declare const makeRenderingProgress: ({ frames, totalFrames, steps, concurrency, doneIn, }: RenderingProgressInput) =>
|
|
34
|
-
type StitchingProgressInput = {
|
|
33
|
+
export declare const makeRenderingProgress: ({ frames, totalFrames, steps, concurrency, doneIn, }: RenderingProgressInput) => string;
|
|
34
|
+
declare type StitchingProgressInput = {
|
|
35
35
|
frames: number;
|
|
36
36
|
totalFrames: number;
|
|
37
37
|
steps: RenderStep[];
|
|
@@ -39,8 +39,8 @@ type StitchingProgressInput = {
|
|
|
39
39
|
stage: StitchingState;
|
|
40
40
|
codec: Codec;
|
|
41
41
|
};
|
|
42
|
-
export declare const makeStitchingProgress: ({ frames, totalFrames, steps, doneIn, stage, codec, }: StitchingProgressInput) =>
|
|
43
|
-
export type DownloadProgress = {
|
|
42
|
+
export declare const makeStitchingProgress: ({ frames, totalFrames, steps, doneIn, stage, codec, }: StitchingProgressInput) => string;
|
|
43
|
+
export declare type DownloadProgress = {
|
|
44
44
|
name: string;
|
|
45
45
|
id: number;
|
|
46
46
|
progress: number | null;
|
|
@@ -51,5 +51,5 @@ export declare const makeRenderingAndStitchingProgress: ({ rendering, stitching,
|
|
|
51
51
|
rendering: RenderingProgressInput;
|
|
52
52
|
stitching: StitchingProgressInput | null;
|
|
53
53
|
downloads: DownloadProgress[];
|
|
54
|
-
}) =>
|
|
54
|
+
}) => string;
|
|
55
55
|
export {};
|
package/dist/render.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const render: (remotionRoot: string, args: string[]) =>
|
|
1
|
+
export declare const render: (remotionRoot: string, args: string[]) => Promise<void>;
|
package/dist/setup-cache.d.ts
CHANGED
package/dist/step.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type RenderStep = 'bundling' | 'rendering' | 'stitching';
|
|
1
|
+
export declare type RenderStep = 'bundling' | 'rendering' | 'stitching';
|
package/dist/still.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const still: (remotionRoot: string, args: string[]) =>
|
|
1
|
+
export declare const still: (remotionRoot: string, args: string[]) => Promise<void>;
|
package/dist/truthy.d.ts
CHANGED
package/dist/upgrade.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const upgrade: (remotionRoot: string, packageManager: string | undefined) =>
|
|
1
|
+
export declare const upgrade: (remotionRoot: string, packageManager: string | undefined) => Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const getUserPassedOutputLocation: (args: string[]) =>
|
|
1
|
+
export declare const getUserPassedOutputLocation: (args: string[]) => string;
|
|
2
2
|
export declare const getOutputLocation: ({ compositionId, defaultExtension, args, }: {
|
|
3
3
|
compositionId: string;
|
|
4
4
|
defaultExtension: string;
|
|
5
5
|
args: string[];
|
|
6
|
-
}) =>
|
|
6
|
+
}) => string;
|
package/dist/versions.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const VERSIONS_COMMAND = "versions";
|
|
2
|
-
export declare const validateVersionsBeforeCommand: (remotionRoot: string) =>
|
|
3
|
-
export declare const versionsCommand: (remotionRoot: string) =>
|
|
2
|
+
export declare const validateVersionsBeforeCommand: (remotionRoot: string) => Promise<void>;
|
|
3
|
+
export declare const versionsCommand: (remotionRoot: string) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.9",
|
|
4
4
|
"description": "CLI for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@remotion/bundler": "3.3.
|
|
26
|
-
"@remotion/media-utils": "3.3.
|
|
27
|
-
"@remotion/player": "3.3.
|
|
28
|
-
"@remotion/renderer": "3.3.
|
|
25
|
+
"@remotion/bundler": "3.3.9",
|
|
26
|
+
"@remotion/media-utils": "3.3.9",
|
|
27
|
+
"@remotion/player": "3.3.9",
|
|
28
|
+
"@remotion/renderer": "3.3.9",
|
|
29
29
|
"better-opn": "2.1.1",
|
|
30
30
|
"dotenv": "9.0.2",
|
|
31
31
|
"memfs": "3.4.3",
|
|
32
32
|
"minimist": "1.2.6",
|
|
33
33
|
"prompts": "2.4.1",
|
|
34
|
-
"remotion": "3.3.
|
|
34
|
+
"remotion": "3.3.9",
|
|
35
35
|
"semver": "7.3.5",
|
|
36
36
|
"source-map": "0.6.1"
|
|
37
37
|
},
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "86269c98522cb7ea280f8283fa6c57885b971b3b"
|
|
76
76
|
}
|