You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
996 B
50 lines
996 B
|
2 years ago
|
export = Splashscreen;
|
||
|
|
/**
|
||
|
|
* Represents a news item.
|
||
|
|
*/
|
||
|
|
declare class Splashscreen {
|
||
|
|
constructor(client: any, data: any);
|
||
|
|
/**
|
||
|
|
* The client object of the news page
|
||
|
|
* @type {Client}
|
||
|
|
*/
|
||
|
|
client: Client;
|
||
|
|
/**
|
||
|
|
* The data of the news page
|
||
|
|
* @type {Object}
|
||
|
|
* @private
|
||
|
|
*/
|
||
|
|
private _data;
|
||
|
|
/**
|
||
|
|
* The news item's id
|
||
|
|
* @type {number}
|
||
|
|
*/
|
||
|
|
get id(): number;
|
||
|
|
/**
|
||
|
|
* The news item's headline
|
||
|
|
* @type {string}
|
||
|
|
*/
|
||
|
|
get headline(): string;
|
||
|
|
/**
|
||
|
|
* The news item's text content
|
||
|
|
* @type {string}
|
||
|
|
*/
|
||
|
|
get body(): string;
|
||
|
|
/**
|
||
|
|
* The link to the news item on trackmania.com
|
||
|
|
* @type {string}
|
||
|
|
*/
|
||
|
|
get link(): string;
|
||
|
|
/**
|
||
|
|
* The news item's accompanying media file as a link
|
||
|
|
* @type {string}
|
||
|
|
*/
|
||
|
|
get media(): string;
|
||
|
|
/**
|
||
|
|
* The news item's time of publishing
|
||
|
|
* @type {Date}
|
||
|
|
*/
|
||
|
|
get time(): Date;
|
||
|
|
}
|
||
|
|
import Client = require("../client/Client");
|