woltlab-compiler
Version:
A compiler for WoltLab-Package Archives and WoltLab-Package Components
69 lines (68 loc) • 1.62 kB
TypeScript
import { Localization } from "../Globalization/Localization";
import { IComponentOptions } from "./IComponentOptions";
import { Person } from "./Person";
/**
* Represents a component.
*/
export declare abstract class Component {
/**
* The name of the package.
*/
private name;
/**
* The human-readable name of the component.
*/
private displayName;
/**
* The version of the component.
*/
private version;
/**
* The author of the component.
*/
private author;
/**
* The creation-date of the component.
*/
private creationDate;
/**
* The description of the component.
*/
private description;
/**
* The license of the component.
*/
private license;
/**
* Initializes a new instance of the `Component` class.
*/
constructor(options: IComponentOptions);
/**
* Gets or sets the name of the package.
*/
Name: string;
/**
* Gets the human-readable name of the component.
*/
readonly DisplayName: Localization;
/**
* Gets or sets the version of the component.
*/
Version: string;
/**
* Gets or sets the author of the component.
*/
readonly Author: Person;
/**
* Gets or sets the creation-date of the component.
*/
CreationDate: Date;
/**
* Gets the description of the component.
*/
readonly Description: Localization;
/**
* Gets or sets the license of the component.
*/
License: string;
}