UNPKG

@manuth/woltlab-compiler

Version:

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

31 lines (30 loc) 1.01 kB
import { UserCategory } from "../../Options/UserPanel/UserCategory.js"; import { UserOption } from "../../Options/UserPanel/UserOption.js"; import { UserOptionInstruction } from "../../PackageSystem/Instructions/Options/UserOptionInstruction.js"; import { OptionFileCompiler } from "./OptionFileCompiler.js"; /** * Provides the functionality to compiler user-option files. */ export declare class UserOptionFileCompiler extends OptionFileCompiler<UserOptionInstruction, UserCategory, UserOption> { /** * Initializes a new instance of the {@link UserOptionFileCompiler `UserOptionFileCompiler`} class. * * @param item * The item to compile. */ constructor(item: UserOptionInstruction); /** * @inheritdoc */ protected get SchemaLocation(): string; /** * @inheritdoc * * @param option * The option to serialize. * * @returns * The serialized option. */ protected CreateOption(option: UserOption): Element; }