woltlab-compiler
Version:
A compiler for WoltLab-Package Archives and WoltLab-Package Components
45 lines (44 loc) • 1.48 kB
TypeScript
import { ICategory } from "../ICategory";
import { Option } from "../Option";
import { IGroupOptionOptions } from "./IGroupOptionOptions";
/**
* Represents an option which controls the permission of a user-group.
*/
export declare class GroupOption extends Option {
/**
* The default value for groups which apply to registered users.
*/
private userDefaultValue;
/**
* The default value for groups which have access to the moderation-section.
*/
private modDefaultValue;
/**
* The default value for groups with administrator permissions.
*/
private adminDefaultValue;
/**
* A value indicating whether the option only applies to groups for registered users.
*/
private registeredOnly;
/**
* Initializes a new instance of the `GroupOption` class.
*/
constructor(category: ICategory, options: IGroupOptionOptions);
/**
* Gets or sets the default value for groups which apply to registered users.
*/
UserDefaultValue: any;
/**
* Gets or sets the default value for groups which have access to the moderation-section.
*/
ModDefaultValue: any;
/**
* Gets or sets the default value for groups with administrator permissions.
*/
AdminDefaultValue: any;
/**
* Gets or sets a value indicating whether the option only applies to groups for registered users.
*/
RegisteredOnly: boolean;
}