UNPKG

@manuth/generator-wsc-package

Version:

A Generator for WoltLab Suite Core Packages.

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