UNPKG

@manuth/generator-wsc-package

Version:

A Generator for WoltLab Suite Core Packages.

32 lines (31 loc) 1.36 kB
/// <reference types="yeoman-generator" /> import { GeneratorOptions, IFileMapping } from "@manuth/extended-yo-generator"; import { IWoltLabComponentOptions } from "../Settings/IWoltLabComponentOptions.js"; import { IWoltLabSettings } from "../Settings/IWoltLabSettings.js"; import { WoltLabGenerator } from "../WoltLabGenerator.js"; import { FileInstructionComponent } from "./FileInstructionComponent.js"; /** * Provides a component for generating node-system instructions. * * @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 NodeSystemComponent<TSettings extends IWoltLabSettings, TOptions extends GeneratorOptions, TComponentOptions extends IWoltLabComponentOptions> extends FileInstructionComponent<TSettings, TOptions, TComponentOptions> { /** * Initializes a new instance of the {@link NodeSystemComponent `NodeSystemComponent<TSettings, TOptions, TComponentOptions>`} class. * * @param generator * The generator of the component. */ constructor(generator: WoltLabGenerator<TSettings, TOptions>); /** * @inheritdoc */ protected get InstructionFileMapping(): IFileMapping<TSettings, TOptions>; }