UNPKG

@manuth/woltlab-compiler

Version:

A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components

45 lines (44 loc) 1.14 kB
import { Theme } from "../../Customization/Presentation/Themes/Theme.js"; import { WoltLabEJSFileCompiler } from "../WoltLabEJSFileCompiler.js"; /** * Provides the functionality to compile theme-files. */ export declare class ThemeFileCompiler extends WoltLabEJSFileCompiler<Theme> { /** * The name to save the variables to. */ private variableFileName; /** * Initializes a new instance of the {@link ThemeFileCompiler `ThemeFileCompiler`} class. * * @param item * The item to compile. * * @param variableFileName * The name of the variable-file. */ constructor(item: Theme, variableFileName: string); /** * @inheritdoc */ protected get TagName(): string; /** * @inheritdoc */ protected get SchemaLocation(): string; /** * @inheritdoc * * @returns * The serialized document. */ protected CreateDocument(): Document; /** * Gets or sets the filename to save variables to. */ get VariableFileName(): string; /** * @inheritdoc */ set VariableFileName(value: string); }