@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
26 lines (25 loc) • 876 B
TypeScript
import { INamedObject } from "../INamedObject.js";
import { INamedDeleteInstruction } from "../PackageSystem/Instructions/INamedDeleteInstruction.js";
import { ObjectDeletionFileCompiler } from "./ObjectDeletionFileCompiler.js";
/**
* Provides the functionality to compile files with a named delete-section.
*
* @template T
* The type of the item which can be compiled by this compiler.
*/
export declare abstract class NamedObjectDeletionFileCompiler<T extends INamedDeleteInstruction> extends ObjectDeletionFileCompiler<T, INamedObject> {
/**
* Gets the tag-name for the objects.
*/
protected abstract get ObjectTagName(): string;
/**
* @inheritdoc
*
* @param object
* The object to delete.
*
* @returns
* The serialized deletion-entry.
*/
protected CreateDeleteObject(object: INamedObject): Element;
}