@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
27 lines • 615 B
JavaScript
/**
* Provides an abstraction of a package.
*/
export class PackageDescriptor {
/**
* Initializes a new instance of the {@link PackageDescriptor `PackageDescriptor`} class.
*
* @param options
* The options of the descriptor.
*/
constructor(options) {
this.Identifier = options.Identifier;
}
/**
* Gets or sets the identifier of the package.
*/
get Identifier() {
return this.identifier;
}
/**
* @inheritdoc
*/
set Identifier(value) {
this.identifier = value;
}
}
//# sourceMappingURL=PackageDescriptor.js.map