Heroic Lands Heroic Lands
Home Thalorna Blog
Projects
Song of Heroic Lands HârnMaster 3 Modules API Documentation KnowledgeBase
License
  • Preparing search index...
  • The search index is not available
Song of Heroic Lands API - v0.8.2
  • Song of Heroic Lands API
  • sohl
  • apps
  • logic
  • buildExpressionLibraryViewModel

Function buildExpressionLibraryViewModel

  • buildExpressionLibraryViewModel(
        library: Record<string, HelperSource>,
        path: string,
        builtinNames: string[],
    ): ExpressionLibraryViewModel
  • Build the Expression Library view model: the chosen path plus a sorted list of the world's custom helpers rendered as name(arg1, arg2) signatures.

    Parameters

    • library: Record<string, HelperSource>

      The persisted custom-helper map (name → HelperSource).

    • path: string

      The chosen library file path (may be empty).

    • builtinNames: string[]

      Names of the always-available built-in helpers.

    Returns ExpressionLibraryViewModel

    The template render context.

    • Defined in src/apps/logic/expression-library-view.ts:54

Settings

Member Visibility
Song of Heroic Lands API - v0.8.2
  • Loading...

Generated using TypeDoc with typedoc-github-theme

© 2020–2026 Tom Rodriguez. Content under The World of Thalorna and Song of Heroic Lands is licensed under CC BY-SA 4.0; all other content is © Tom Rodriguez, all rights reserved. See License.

CC BY-SA 4.0 Discord