UNPKG

@manuth/generator-wsc-package

Version:

A Generator for WoltLab Suite Core Packages.

33 lines (32 loc) 1.48 kB
/// <reference types="yeoman-generator" /> import { GeneratorOptions } from "@manuth/extended-yo-generator"; import { ObjectLiteralExpression } from "ts-morph"; import { InstructionComponent } from "../../../Components/InstructionComponent.js"; import { InstructionFileMapping } from "../../../FileMappings/InstructionFileMapping.js"; import { IWoltLabSettings } from "../../../Settings/IWoltLabSettings.js"; import { IPHPScriptComponentOptions } from "../Settings/IPHPScriptComponentOptions.js"; /** * Provides the functionality to generate php 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 class PHPInstructionFileMapping<TSettings extends IWoltLabSettings, TOptions extends GeneratorOptions, TComponentOptions extends IPHPScriptComponentOptions> extends InstructionFileMapping<TSettings, TOptions, TComponentOptions> { /** * Initializes a new instance of the {@link PHPInstructionFileMapping `PHPInstructionFileMapping<TSettings, TOptions, TComponentOptions>`} class. * * @param component * The component to create an instruction-file for. */ constructor(component: InstructionComponent<TSettings, TOptions, TComponentOptions>); /** * @inheritdoc */ protected get InstructionOptions(): ObjectLiteralExpression; }