Skip to content

Where can I see all the ParameterTypes? #3088

Answered by jodeleeuw
IsayDBS asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @IsayDBS

Here's where the parameter types are defined in the code:

export enum ParameterType {
BOOL,
STRING,
INT,
FLOAT,
FUNCTION,
KEY,
KEYS,
SELECT,
HTML_STRING,
IMAGE,
AUDIO,
VIDEO,
OBJECT,
COMPLEX,
TIMELINE,
}
type ParameterTypeMap = {
[ParameterType.BOOL]: boolean;
[ParameterType.STRING]: string;
[ParameterType.INT]: number;
[ParameterType.FLOAT]: number;
[ParameterType.FUNCTION]: (...args: any[]) => any;
[ParameterType.KEY]: string;
[ParameterType.KEYS]: string[] | "ALL_KEYS"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by IsayDBS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants