init commit
This commit is contained in:
867
remotion/node_modules/@remotion/renderer/dist/options/index.d.ts
generated
vendored
Normal file
867
remotion/node_modules/@remotion/renderer/dist/options/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,867 @@
|
||||
import type { AnyRemotionOption } from './option';
|
||||
export declare const allOptions: {
|
||||
audioCodecOption: {
|
||||
cliFlag: "audio-codec";
|
||||
setConfig: (audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => void;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: "aac" | "mp3" | "opus" | "pcm-16";
|
||||
} | {
|
||||
source: string;
|
||||
value: null;
|
||||
};
|
||||
description: () => string;
|
||||
docLink: string;
|
||||
name: string;
|
||||
ssrName: "audioCodec";
|
||||
type: "aac" | "mp3" | "opus" | "pcm-16";
|
||||
};
|
||||
scaleOption: {
|
||||
name: string;
|
||||
cliFlag: "scale";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: number;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: number;
|
||||
};
|
||||
setConfig: (scale: number) => void;
|
||||
};
|
||||
crfOption: {
|
||||
name: string;
|
||||
cliFlag: "crf";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: number;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: import("..").Crf;
|
||||
};
|
||||
setConfig: (crf: import("..").Crf) => void;
|
||||
};
|
||||
jpegQualityOption: {
|
||||
name: string;
|
||||
cliFlag: "jpeg-quality";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: number;
|
||||
setConfig: (q: number | undefined) => void;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: number;
|
||||
};
|
||||
};
|
||||
videoBitrateOption: {
|
||||
name: string;
|
||||
cliFlag: "video-bitrate";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: string | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: string | null;
|
||||
};
|
||||
setConfig: (bitrate: string | null) => void;
|
||||
};
|
||||
audioBitrateOption: {
|
||||
name: string;
|
||||
cliFlag: "audio-bitrate";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: string;
|
||||
source: string;
|
||||
} | {
|
||||
value: null;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (value: string | null) => void;
|
||||
};
|
||||
enforceAudioOption: {
|
||||
name: string;
|
||||
cliFlag: "enforce-audio-track";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: true;
|
||||
} | {
|
||||
source: string;
|
||||
value: false;
|
||||
};
|
||||
setConfig: (value: boolean) => void;
|
||||
};
|
||||
mutedOption: {
|
||||
name: string;
|
||||
cliFlag: "muted";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: boolean;
|
||||
};
|
||||
setConfig: () => void;
|
||||
};
|
||||
videoCodecOption: {
|
||||
name: string;
|
||||
cliFlag: "codec";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
||||
outName: string | null;
|
||||
downloadName: string | null;
|
||||
configFile: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
||||
uiCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
||||
compositionCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
||||
}) => {
|
||||
value: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
|
||||
source: string;
|
||||
};
|
||||
setConfig: (newCodec: import("..").CodecOrUndefined) => void;
|
||||
};
|
||||
offthreadVideoCacheSizeInBytesOption: {
|
||||
name: string;
|
||||
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "offthreadVideoCacheSizeInBytes";
|
||||
docLink: string;
|
||||
type: number | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: number;
|
||||
} | {
|
||||
source: string;
|
||||
value: null;
|
||||
};
|
||||
setConfig: (size: number | null) => void;
|
||||
};
|
||||
offthreadVideoThreadsOption: {
|
||||
name: string;
|
||||
cliFlag: "offthreadvideo-video-threads";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "offthreadVideoThreads";
|
||||
docLink: string;
|
||||
type: number | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: number;
|
||||
} | {
|
||||
source: string;
|
||||
value: null;
|
||||
};
|
||||
setConfig: (size: number | null) => void;
|
||||
};
|
||||
webhookCustomDataOption: {
|
||||
name: string;
|
||||
cliFlag: "webhook-custom-data";
|
||||
description: (type: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "customData";
|
||||
docLink: string;
|
||||
type: Record<string, unknown> | null;
|
||||
getValue: () => never;
|
||||
setConfig: () => never;
|
||||
};
|
||||
colorSpaceOption: {
|
||||
name: string;
|
||||
cliFlag: "color-space";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
docLink: string;
|
||||
ssrName: string;
|
||||
type: "bt2020-ncl" | "bt709" | "default" | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: "bt2020-ncl" | "bt709" | "default";
|
||||
};
|
||||
setConfig: (value: "bt2020-ncl" | "bt709" | "default" | null) => void;
|
||||
};
|
||||
deleteAfterOption: {
|
||||
name: string;
|
||||
cliFlag: "delete-after";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "deleteAfter";
|
||||
docLink: string;
|
||||
type: import("./delete-after").DeleteAfter | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: import("./delete-after").DeleteAfter;
|
||||
} | {
|
||||
source: string;
|
||||
value: null;
|
||||
};
|
||||
setConfig: (value: import("./delete-after").DeleteAfter | null) => void;
|
||||
};
|
||||
disallowParallelEncodingOption: {
|
||||
name: string;
|
||||
cliFlag: "disallow-parallel-encoding";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: boolean;
|
||||
source: string;
|
||||
};
|
||||
setConfig(value: boolean): void;
|
||||
};
|
||||
folderExpiryOption: {
|
||||
name: string;
|
||||
cliFlag: "enable-folder-expiry";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "enableFolderExpiry";
|
||||
docLink: string;
|
||||
type: boolean | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: boolean | null;
|
||||
};
|
||||
setConfig: (value: boolean | null) => void;
|
||||
};
|
||||
enableMultiprocessOnLinuxOption: {
|
||||
name: string;
|
||||
cliFlag: "enable-multiprocess-on-linux";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: boolean;
|
||||
};
|
||||
setConfig: (value: boolean) => void;
|
||||
};
|
||||
glOption: {
|
||||
cliFlag: "gl";
|
||||
docLink: string;
|
||||
name: string;
|
||||
type: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan" | null;
|
||||
ssrName: string;
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan";
|
||||
source: string;
|
||||
} | {
|
||||
value: null;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (value: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan" | null) => void;
|
||||
};
|
||||
enableLambdaInsights: {
|
||||
name: string;
|
||||
cliFlag: "enable-lambda-insights";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
setConfig: (value: boolean) => void;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: boolean;
|
||||
source: string;
|
||||
};
|
||||
};
|
||||
encodingMaxRateOption: {
|
||||
name: string;
|
||||
cliFlag: "max-rate";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "encodingMaxRate";
|
||||
docLink: string;
|
||||
type: string | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: string;
|
||||
source: string;
|
||||
} | {
|
||||
value: null;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (newMaxRate: string | null) => void;
|
||||
};
|
||||
encodingBufferSizeOption: {
|
||||
name: string;
|
||||
cliFlag: "buffer-size";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "encodingBufferSize";
|
||||
docLink: string;
|
||||
type: string | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: string;
|
||||
source: string;
|
||||
} | {
|
||||
value: null;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (bitrate: string | null) => void;
|
||||
};
|
||||
beepOnFinishOption: {
|
||||
name: string;
|
||||
cliFlag: "beep-on-finish";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: null;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: boolean;
|
||||
source: string;
|
||||
};
|
||||
setConfig(value: boolean): void;
|
||||
};
|
||||
numberOfGifLoopsOption: {
|
||||
name: string;
|
||||
cliFlag: "number-of-gif-loops";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "numberOfGifLoops";
|
||||
docLink: string;
|
||||
type: number | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: number;
|
||||
source: string;
|
||||
} | {
|
||||
value: null;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (newLoop: import("./number-of-gif-loops").NumberOfGifLoops) => void;
|
||||
};
|
||||
reproOption: {
|
||||
name: string;
|
||||
cliFlag: "repro";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: boolean;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (should: boolean) => void;
|
||||
};
|
||||
preferLosslessOption: {
|
||||
name: string;
|
||||
cliFlag: "prefer-lossless";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
ssrName: "preferLossless";
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: true;
|
||||
source: string;
|
||||
} | {
|
||||
value: false;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (val: boolean) => void;
|
||||
};
|
||||
x264Option: {
|
||||
name: string;
|
||||
cliFlag: "x264-preset";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "x264Preset";
|
||||
docLink: string;
|
||||
type: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow";
|
||||
source: string;
|
||||
} | {
|
||||
value: null;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (profile: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null) => void;
|
||||
};
|
||||
logLevelOption: {
|
||||
cliFlag: "log";
|
||||
name: string;
|
||||
ssrName: string;
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
docLink: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: "error" | "info" | "trace" | "verbose" | "warn";
|
||||
source: string;
|
||||
};
|
||||
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
||||
type: "error" | "info" | "trace" | "verbose" | "warn";
|
||||
};
|
||||
delayRenderTimeoutInMillisecondsOption: {
|
||||
name: string;
|
||||
cliFlag: "timeout";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "timeoutInMilliseconds";
|
||||
docLink: string;
|
||||
type: number;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: number;
|
||||
};
|
||||
setConfig: (value: number) => void;
|
||||
};
|
||||
headlessOption: {
|
||||
name: string;
|
||||
cliFlag: "disable-headless";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: boolean;
|
||||
};
|
||||
setConfig: (value: boolean) => void;
|
||||
};
|
||||
overwriteOption: {
|
||||
name: string;
|
||||
cliFlag: "overwrite";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}, defaultValue: boolean) => {
|
||||
source: string;
|
||||
value: boolean;
|
||||
};
|
||||
setConfig: (value: boolean) => void;
|
||||
};
|
||||
binariesDirectoryOption: {
|
||||
name: string;
|
||||
cliFlag: "binaries-directory";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "binariesDirectory";
|
||||
docLink: string;
|
||||
type: string | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: string | null;
|
||||
};
|
||||
setConfig: (value: string | null) => void;
|
||||
};
|
||||
forSeamlessAacConcatenationOption: {
|
||||
name: string;
|
||||
cliFlag: "for-seamless-aac-concatenation";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
docLink: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: true;
|
||||
} | {
|
||||
source: string;
|
||||
value: false;
|
||||
};
|
||||
setConfig: (value: boolean) => void;
|
||||
ssrName: string;
|
||||
type: boolean;
|
||||
};
|
||||
separateAudioOption: {
|
||||
cliFlag: string;
|
||||
description: () => string;
|
||||
docLink: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: string;
|
||||
} | {
|
||||
source: string;
|
||||
value: null;
|
||||
};
|
||||
name: string;
|
||||
setConfig: () => never;
|
||||
ssrName: string;
|
||||
type: string | null;
|
||||
};
|
||||
publicPathOption: {
|
||||
name: string;
|
||||
cliFlag: "public-path";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "publicPath";
|
||||
docLink: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: string;
|
||||
} | {
|
||||
source: string;
|
||||
value: null;
|
||||
};
|
||||
setConfig: (value: string | null) => void;
|
||||
type: string | null;
|
||||
};
|
||||
publicDirOption: {
|
||||
name: string;
|
||||
cliFlag: "public-dir";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "publicDir";
|
||||
docLink: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: string;
|
||||
} | {
|
||||
source: string;
|
||||
value: null;
|
||||
};
|
||||
setConfig: (value: string | null) => void;
|
||||
type: string | null;
|
||||
};
|
||||
onBrowserDownloadOption: {
|
||||
name: string;
|
||||
cliFlag: "on-browser-download";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "onBrowserDownload";
|
||||
docLink: string;
|
||||
type: import("./on-browser-download").OnBrowserDownload;
|
||||
getValue: () => never;
|
||||
setConfig: () => never;
|
||||
};
|
||||
throwIfSiteExistsOption: {
|
||||
cliFlag: string;
|
||||
description: () => string;
|
||||
docLink: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: boolean;
|
||||
};
|
||||
name: string;
|
||||
setConfig: () => never;
|
||||
ssrName: string;
|
||||
type: boolean;
|
||||
};
|
||||
disableGitSourceOption: {
|
||||
cliFlag: string;
|
||||
description: () => string;
|
||||
docLink: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: boolean;
|
||||
};
|
||||
name: string;
|
||||
setConfig: () => never;
|
||||
ssrName: string;
|
||||
type: boolean;
|
||||
};
|
||||
metadataOption: {
|
||||
name: string;
|
||||
cliFlag: "metadata";
|
||||
description: (mode: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
|
||||
docLink: string;
|
||||
type: import("./metadata").Metadata;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: {
|
||||
[k: string]: string;
|
||||
};
|
||||
};
|
||||
setConfig: (newMetadata: import("./metadata").Metadata) => void;
|
||||
ssrName: string;
|
||||
};
|
||||
hardwareAccelerationOption: {
|
||||
name: string;
|
||||
cliFlag: "hardware-acceleration";
|
||||
description: () => string;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: "disable" | "if-possible" | "required";
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: "disable" | "if-possible" | "required";
|
||||
};
|
||||
setConfig: (value: "disable" | "if-possible" | "required") => void;
|
||||
};
|
||||
chromeModeOption: {
|
||||
cliFlag: "chrome-mode";
|
||||
name: string;
|
||||
ssrName: string;
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
docLink: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: "chrome-for-testing" | "headless-shell";
|
||||
source: string;
|
||||
};
|
||||
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
||||
type: "chrome-for-testing" | "headless-shell";
|
||||
};
|
||||
apiKeyOption: {
|
||||
name: string;
|
||||
cliFlag: "api-key";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "apiKey";
|
||||
docLink: string;
|
||||
type: string | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: string | null;
|
||||
};
|
||||
setConfig: (value: string | null) => void;
|
||||
};
|
||||
licenseKeyOption: {
|
||||
name: string;
|
||||
cliFlag: "license-key";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "licenseKey";
|
||||
docLink: string;
|
||||
type: string | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: string | null;
|
||||
};
|
||||
setConfig: (value: string | null) => void;
|
||||
};
|
||||
audioLatencyHintOption: {
|
||||
name: string;
|
||||
cliFlag: "audio-latency-hint";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "audioLatencyHint";
|
||||
docLink: string;
|
||||
type: AudioContextLatencyCategory;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: AudioContextLatencyCategory;
|
||||
source: string;
|
||||
} | {
|
||||
value: null;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (profile: AudioContextLatencyCategory | null) => void;
|
||||
};
|
||||
enableCrossSiteIsolationOption: {
|
||||
name: string;
|
||||
cliFlag: "cross-site-isolation";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: null;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: boolean;
|
||||
source: string;
|
||||
};
|
||||
setConfig(value: boolean): void;
|
||||
};
|
||||
imageSequencePatternOption: {
|
||||
name: string;
|
||||
cliFlag: "image-sequence-pattern";
|
||||
ssrName: string;
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
docLink: null;
|
||||
type: string | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: string;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (pattern: string | null) => void;
|
||||
};
|
||||
mediaCacheSizeInBytesOption: {
|
||||
name: string;
|
||||
cliFlag: "media-cache-size-in-bytes";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "mediaCacheSizeInBytes";
|
||||
docLink: string;
|
||||
type: number | null;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: number;
|
||||
} | {
|
||||
source: string;
|
||||
value: null;
|
||||
};
|
||||
setConfig: (size: number | null) => void;
|
||||
};
|
||||
darkModeOption: {
|
||||
name: string;
|
||||
cliFlag: "dark-mode";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: string;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: boolean;
|
||||
};
|
||||
setConfig: (value: boolean) => void;
|
||||
};
|
||||
publicLicenseKeyOption: {
|
||||
name: string;
|
||||
cliFlag: "public-license-key";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "publicLicenseKey";
|
||||
docLink: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: string | null;
|
||||
};
|
||||
setConfig: (value: string | null) => void;
|
||||
type: string | null;
|
||||
};
|
||||
isProductionOption: {
|
||||
name: string;
|
||||
cliFlag: "is-production";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: "isProduction";
|
||||
docLink: string;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
source: string;
|
||||
value: boolean | null;
|
||||
};
|
||||
setConfig: (value: boolean | null) => void;
|
||||
type: boolean | null;
|
||||
};
|
||||
askAIOption: {
|
||||
name: string;
|
||||
cliFlag: "disable-ask-ai";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: null;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: boolean;
|
||||
source: string;
|
||||
};
|
||||
setConfig(value: boolean): void;
|
||||
};
|
||||
experimentalClientSideRenderingOption: {
|
||||
name: string;
|
||||
cliFlag: "enable-experimental-client-side-rendering";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: null;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: boolean;
|
||||
source: string;
|
||||
};
|
||||
setConfig(value: boolean): void;
|
||||
};
|
||||
keyboardShortcutsOption: {
|
||||
name: string;
|
||||
cliFlag: "disable-keyboard-shortcuts";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: null;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: boolean;
|
||||
source: string;
|
||||
};
|
||||
setConfig(value: boolean): void;
|
||||
};
|
||||
forceNewStudioOption: {
|
||||
name: string;
|
||||
cliFlag: "force-new";
|
||||
description: () => import("react/jsx-runtime").JSX.Element;
|
||||
ssrName: null;
|
||||
docLink: string;
|
||||
type: boolean;
|
||||
getValue: ({ commandLine }: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}) => {
|
||||
value: boolean;
|
||||
source: string;
|
||||
};
|
||||
setConfig(value: boolean): void;
|
||||
};
|
||||
};
|
||||
export type AvailableOptions = keyof typeof allOptions;
|
||||
export type TypeOfOption<Type> = Type extends AnyRemotionOption<infer X> ? X : never;
|
||||
Reference in New Issue
Block a user