@manuth/generator-wsc-package
Version:
A Generator for WoltLab Suite Core Packages.
33 lines (32 loc) • 1.5 kB
TypeScript
/// <reference types="yeoman-generator" />
import { GeneratorOptions } from "@manuth/extended-yo-generator";
import { ObjectLiteralExpression } from "ts-morph";
import { LocalInstructionComponent } from "../../../Components/LocalInstructionComponent.js";
import { FileUploadMapping } from "../../../FileMappings/FileUploadMapping.js";
import { IWoltLabSettings } from "../../../Settings/IWoltLabSettings.js";
import { IPHPScriptComponentOptions } from "../Settings/IPHPScriptComponentOptions.js";
/**
* Provides the functionality to generate self-contained php script 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 class SelfContainedPHPFileMapping<TSettings extends IWoltLabSettings, TOptions extends GeneratorOptions, TComponentOptions extends IPHPScriptComponentOptions> extends FileUploadMapping<TSettings, TOptions, TComponentOptions> {
/**
* Initializes a new instance of the {@link SelfContainedPHPFileMapping `SelfContainedPHPFileMapping<TSettings, TOptions, TComponentOptions>`} class.
*
* @param component
* The component to create an instruction-file for.
*/
constructor(component: LocalInstructionComponent<TSettings, TOptions, TComponentOptions>);
/**
* @inheritdoc
*/
protected get InstructionOptions(): ObjectLiteralExpression;
}