The render context for the Expression Library menu.

interface ExpressionLibraryViewModel {
    builtinCount: number;
    customHelpers: HelperRow[];
    hasCustom: boolean;
    hasPath: boolean;
    path: string;
}

Properties

builtinCount: number

How many built-in helpers are always available.

customHelpers: HelperRow[]

The custom helpers currently loaded, sorted by name.

hasCustom: boolean

Whether any custom helpers are loaded.

hasPath: boolean

Whether a file path has been chosen.

path: string

The chosen library file path (empty when none is set).