@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
37 lines (36 loc) • 990 B
TypeScript
import { Package } from "../Package.js";
import { InstructionSet } from "./InstructionSet.js";
/**
* Represents a collection of instructions for updating a package.
*/
export declare class UpdateInstructionSet extends InstructionSet {
/**
* The version to update the package from.
*/
private fromVersion;
/**
* Initializes a new instance of the {@link UpdateInstructionSet `UpdateInstructionSet`} class.
*
* @param extensionPackage
* The package of the update-instruction.
*
* @param fromVersion
* The minimum version of the update-instruction.
*/
constructor(extensionPackage: Package, fromVersion: string);
/**
* Gets or sets the version to update the package from.
*/
get FromVersion(): string;
/**
* @inheritdoc
*/
set FromVersion(value: string);
/**
* @inheritdoc
*
* @returns
* An element representing this instruction.
*/
Serialize(): Element;
}