UNPKG

@manuth/woltlab-compiler

Version:

A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components

29 lines 808 B
import { PackageFileDescriptor } from "./PackageFileDescriptor.js"; /** * Provides an abstraction of a required package. */ export class RequiredPackageDescriptor extends PackageFileDescriptor { /** * Initializes a new instance of the {@link RequiredPackageDescriptor `RequiredPackageDescriptor`} class. * * @param options * The options of the descriptor. */ constructor(options) { super(options); this.MinVersion = options.MinVersion; } /** * Gets or sets the minimal version of the package which must bee installed. */ get MinVersion() { return this.minVersion; } /** * @inheritdoc */ set MinVersion(value) { this.minVersion = value; } } //# sourceMappingURL=RequiredPackageDescriptor.js.map