Operator type for representing a property of operator OperatorObject|Object type.

Hierarchy

  • Property

Constructors

  • Parameters

    • type: ANY_TYPE

      operator type for the property

    • Optional options: PropertyOptions

      metadata for the property as described below:

      • defaultValue: default value of the property when operator is executed
      • required: indicates if property is require when executing operator. If true and value is not provided, validation error will be raised preventing execution
      • invalid: indicate if value provided for the property is considered invalid.
      • errorMessage: custom error message for the property if invalid is set to true. view: view options for the property. Refer to View

    Returns Property

Properties

defaultValue?: unknown
description?: string
errorMessage?: string
invalid?: boolean
onChange?: string
required?: boolean
resolver: ((property: Property, ctx: ExecutionContext) => Property)

Type declaration

type: ANY_TYPE
view?: View

Methods

  • Returns {
        choices: any;
        default: unknown;
        errorMessage: string;
        invalid: boolean;
        onChange: string;
        required: boolean;
        type: ANY_TYPE;
        view: View;
    }

    • choices: any
    • default: unknown
    • errorMessage: string
    • invalid: boolean
    • onChange: string
    • required: boolean
    • type: ANY_TYPE
    • view: View

Generated using TypeDoc