Options
All
  • Public
  • Public/Protected
  • All
Menu

Module \mmir-tooling\impl

Index

Variables

Functions

Variables

Const _default

_default: { compile: typeof compile }

Type declaration

Const _default

_default: { addImplementationsToAppConfig: (implList: ImplementationBuildEntry[], appConfig: BuildAppConfig | WebpackAppConfig, directories: DirectoriesInfo, _resources: ResourceConfig, _runtimeConfiguration: RuntimeConfiguration) => void; applyDefaultOptions: (options: AnyImplementationOptions, implList: ImplementationBuildEntry[] | ViewBuildEntry[]) => ImplementationBuildEntry[] | ViewBuildEntry[]; implFromDir: (mode: ImplementationType, options: AnyImplementationOptions, appRootDir: string, implList: ImplementationBuildEntry[]) => ImplementationBuildEntry[]; implFromOptions: (mode: ImplementationType, options: AnyImplementationOptions, appRootDir: string, implList: ImplementationBuildEntry[]) => ImplementationBuildEntry[] }

Type declaration

Functions

compile

  • compile/convert implementation (controller, helper, model) as module

    Parameters

    • content: string

      the implementation code as string

    • implFile: string

      the path of the implementation file (for debugging/error information)

    • options: ImplementationCompilerOptions

      the ImplLoadOptions with property mapping (list of ImplOptions)

    • callback: CompilerCallback

      the callback when impl. compilation has been completed: callback(error | null, compiledImpl, map, meta)

    • _map: any
    • _meta: any

    Returns void

Generated using TypeDoc