The formula interface, like simple variable but with predefined expression.

interface Formula {
    dataType: "number" | "text" | "checkBox" | "singleSelect" | "multiSelect" | "any";
    defaultValue?: string;
    description?: string;
    expression: string;
    isCollection?: boolean;
    isInput?: boolean;
    isOutput?: boolean;
    label: string;
    name: string;
}

Hierarchy

  • SimpleVariable
    • Formula

Properties

dataType: "number" | "text" | "checkBox" | "singleSelect" | "multiSelect" | "any"

The data type.

defaultValue?: string

The expression to be used as a default value of the variable.

description?: string

The description of the element.

expression: string

The computed expression, evaluated by call.

isCollection?: boolean

Check if the variable is a collection.

isInput?: boolean

Check if the variable is derived from input.

isOutput?: boolean

Check if the variable is for output.

label: string

The display name.

name: string

The unique name.