UNPKG

@ackplus/nest-dynamic-templates

Version:

A powerful and flexible dynamic template rendering library for NestJS applications with support for Nunjucks, Handlebars, EJS, Pug, MJML, Markdown, and more.

18 lines (17 loc) 492 B
import { TemplateEngineEnum, TemplateLanguageEnum } from '../interfaces/template.types'; export declare class CreateTemplateDto { name: string; templateLayoutName?: string; type?: string; displayName: string; description?: string; engine: TemplateEngineEnum; language: TemplateLanguageEnum; content: string; subject?: string; scope: string; scopeId?: string; locale?: string; previewContext?: Record<string, any>; isActive?: boolean; }