@manuth/generator-wsc-package
Version:
A Generator for WoltLab Suite Core Packages.
41 lines (40 loc) • 1.7 kB
TypeScript
/// <reference types="yeoman-generator" />
import { GeneratorOptions } from "@manuth/extended-yo-generator";
import { ObjectLiteralExpression } from "ts-morph";
import { FileInstructionComponent } from "../Components/FileInstructionComponent.js";
import { IWoltLabComponentOptions } from "../Settings/IWoltLabComponentOptions.js";
import { IWoltLabSettings } from "../Settings/IWoltLabSettings.js";
import { InstructionFileMapping } from "./InstructionFileMapping.js";
/**
* Provides the functionality to generate bbcode instruction files.
*
* @template TSettings
* The type of the settings of the generator.
*
* @template TOptions
* The type of the options of the generator.
*
* @template TComponentOptions
* The type of the options of the component.
*/
export declare abstract class FileInstructionMapping<TSettings extends IWoltLabSettings, TOptions extends GeneratorOptions, TComponentOptions extends IWoltLabComponentOptions> extends InstructionFileMapping<TSettings, TOptions, TComponentOptions> {
/**
* The component to create an instruction-file for.
*/
private fileInstructionComponent;
/**
* Initializes a new instance of the {@link FileInstructionMapping `FileInstructionMapping<TSettings, TOptions, TComponentOptions>`} class.
*
* @param component
* The component to create an instruction-file for.
*/
constructor(component: FileInstructionComponent<TSettings, TOptions, TComponentOptions>);
/**
* @inheritdoc
*/
protected get Component(): FileInstructionComponent<TSettings, TOptions, TComponentOptions>;
/**
* @inheritdoc
*/
protected get InstructionOptions(): ObjectLiteralExpression;
}