import { TemplateEngineType } from '../../'; export interface TemplateOptions { /** * Enable view rendering with Express. */ enabled?: boolean; /** * View rendering engine supported by @fulminate/router. */ engine?: TemplateEngineType; /** * Defines if templates should be cached. * Nunjucks only feature. * Defaults to 'false'. */ cache?: boolean; /** * Watch changes in templates for recompiling. * Nunjucks only feature. * Defaults to 'true'. */ watch?: boolean; /** * Path to custom pipes and filters. * Nunjucks only feature. * Defaults to undefined. * TODO: Add logic for grabbing nunjucks filters. */ filtersDir?: string | undefined; /** * Path to directory containing project static files. */ staticDir?: string | string[]; /** * Path to directory containing project view templates. */ templateDir?: string | string[]; }