UNPKG

fnbr

Version:

A library to interact with Epic Games' Fortnite HTTP and XMPP services

68 lines (67 loc) 1.61 kB
import Base from '../Base'; import type Client from '../Client'; import type { EpicgamesServerStatusData } from '../../resources/structs'; /** * Represents an Epicgames server status */ declare class EpicgamesServerStatusComponent extends Base { /** * The component's id */ id: string; /** * The component's name */ name: string; /** * The component's status */ status: string; /** * The time the component was created */ createdAt: Date; /** * The last time the component was updated */ updatedAt: Date; /** * The component's position */ position: number; /** * The component's description */ description?: string; /** * Whether this component is showcased */ isShowcase: boolean; /** * The component's start date */ startDate?: Date; /** * The component's group id */ groupId?: string; /** * Whether this component should only be shown if it's degraded */ onlyShowIfDegraded: boolean; /** * Whether this component is a group */ isGroup: boolean; /** * The component's subcomponents */ components?: EpicgamesServerStatusComponent[]; /** * @param client The main client * @param data The server status component data * @param components The server status components */ constructor(client: Client, data: EpicgamesServerStatusData['components'][0], components: EpicgamesServerStatusData['components']); } export default EpicgamesServerStatusComponent;