1
0
mirror of https://github.com/flarum/core.git synced 2025-08-10 10:24:46 +02:00

Bundled output for commit 0a2b28ebe0

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot
2021-08-23 01:02:28 +00:00
parent 0a2b28ebe0
commit 6defca5a6d
18 changed files with 44 additions and 92 deletions

View File

@@ -2,7 +2,9 @@
* The `DiscussionPage` component displays a whole discussion page, including
* the discussion list pane, the hero, the posts, and the sidebar.
*/
export default class DiscussionPage extends Page {
export default class DiscussionPage extends Page<import("../../common/components/Page").IPageAttrs> {
constructor();
useBrowserScrollRestoration: boolean | undefined;
/**
* The discussion that is being viewed.
*
@@ -15,6 +17,7 @@ export default class DiscussionPage extends Page {
* @type {number}
*/
near: number | undefined;
bodyClass: string | undefined;
/**
* List of components shown while the discussion is loading.
*

View File

@@ -2,9 +2,12 @@
* The `IndexPage` component displays the index page, including the welcome
* hero, the sidebar, and the discussion list.
*/
export default class IndexPage extends Page {
export default class IndexPage extends Page<import("../../common/components/Page").IPageAttrs> {
static providesInitialSearch: boolean;
constructor();
lastDiscussion: any;
bodyClass: string | undefined;
scrollTopOnCreate: boolean | undefined;
setTitle(): void;
/**
* Get the component to display as the hero.

View File

@@ -2,6 +2,8 @@
* The `NotificationsPage` component shows the notifications list. It is only
* used on mobile devices where the notifications dropdown is within the drawer.
*/
export default class NotificationsPage extends Page {
export default class NotificationsPage extends Page<import("../../common/components/Page").IPageAttrs> {
constructor();
bodyClass: string | undefined;
}
import Page from "../../common/components/Page";

View File

@@ -5,13 +5,15 @@
*
* @abstract
*/
export default class UserPage extends Page {
export default class UserPage extends Page<import("../../common/components/Page").IPageAttrs> {
constructor();
/**
* The user this page is for.
*
* @type {User}
*/
user: any;
bodyClass: string | undefined;
/**
* Get the content to display in the user page.
*