init commit
This commit is contained in:
20
remotion/node_modules/@remotion/renderer/dist/options/option.d.ts
generated
vendored
Normal file
20
remotion/node_modules/@remotion/renderer/dist/options/option.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { TypeOfOption } from '../client';
|
||||
export type RemotionOption<SsrName extends string, Type> = {
|
||||
name: string;
|
||||
cliFlag: string;
|
||||
ssrName: SsrName | null;
|
||||
description: (mode: 'ssr' | 'cli') => React.ReactNode;
|
||||
docLink: string | null;
|
||||
type: Type;
|
||||
getValue: (values: {
|
||||
commandLine: Record<string, unknown>;
|
||||
}, more?: any) => {
|
||||
value: Type;
|
||||
source: string;
|
||||
};
|
||||
setConfig: (value: Type) => void;
|
||||
};
|
||||
export type AnyRemotionOption<T> = RemotionOption<string, T>;
|
||||
export type ToOptions<T extends Record<string, AnyRemotionOption<any>>> = {
|
||||
[K in keyof T]: TypeOfOption<T[K]>;
|
||||
};
|
||||
Reference in New Issue
Block a user