@xo-cash/types
    Preparing search index...

    Type Alias XOTemplateVariable

    XOTemplateVariable: XOTemplateViewProperties & {
        hint?: string;
        importDefaultValue?: XOTemplateImportDefaultValue;
        type?: XOTemplatePrimitiveType;
    }

    A variable definition in the template.

    Type Declaration

    • Optionalhint?: string

      A hint to help users understand what value to provide.

    • OptionalimportDefaultValue?: XOTemplateImportDefaultValue

      A neutral intent that the engine uses to populate the default value for this variable. View properties (name, description, icon) may contain CashASM expressions that the engine evaluates at runtime to produce human-readable output.

    • Optionaltype?: XOTemplatePrimitiveType

      The data type of this variable.