FunctionManager
Stores registered public-facing function definitions
FunctionManager stores all public-facing function definitions registered via action.registerFunction(). It extends
BaseManager with key type string (runtimeName) and value type FunctionProps.
action.functions.get('fibonacci');
action.functions.values();Interfaces
FunctionProps
The descriptor stored for each registered function.
interface FunctionProps {
runtimeDefinitionName: string;
runtimeName: string;
parameters?: FunctionParameterProps[];
signature: string;
throwsError?: boolean;
name?: Translation[];
description?: Translation[];
documentation?: Translation[];
deprecationMessage?: Translation[];
displayMessage?: Translation[];
alias?: Translation[];
displayIcon?: string;
design?: string;
}Prop
Type
FunctionParameterProps
interface FunctionParameterProps {
runtimeName: string;
defaultValue?: PlainValue;
name?: Translation[];
description?: Translation[];
documentation?: Translation[];
hidden?: boolean;
optional?: boolean;
runtimeDefinitionName?: string;
}Prop
Type