woltlab-compiler
Version:
A compiler for WoltLab-Package Archives and WoltLab-Package Components
29 lines • 927 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const Path = require("path");
const ApplicationFileSystemInstruction_1 = require("../../FileSystem/ApplicationFileSystemInstruction");
/**
* Represents an instruction which provides templates for the control panel.
*/
class ACPTemplateInstruction extends ApplicationFileSystemInstruction_1.ApplicationFileSystemInstruction {
/**
* Initializes a new instance of the `ACPTemplateInstruction` class.
*/
constructor(options) {
super(options);
}
/**
* @inheritdoc
*/
get Type() {
return "acpTemplate";
}
/**
* @inheritdoc
*/
MakeDefaultFileName(source) {
return Path.join("acpTemplates", super.MakeDefaultFileName(source));
}
}
exports.ACPTemplateInstruction = ACPTemplateInstruction;
//# sourceMappingURL=ACPTemplateInstruction.js.map