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

Bundled output for commit 187b5c6f0b

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

[skip ci]
This commit is contained in:
flarum-bot
2021-12-13 01:41:29 +00:00
parent 187b5c6f0b
commit c2ec848744
25 changed files with 387 additions and 195 deletions

View File

@@ -3,6 +3,7 @@ import Page, { IPageAttrs } from '../../common/components/Page';
import ItemList from '../../common/utils/ItemList';
import PostStreamState from '../states/PostStreamState';
import Discussion from '../../common/models/Discussion';
import { ApiResponseSingle } from '../../common/Store';
export interface IDiscussionPageAttrs extends IPageAttrs {
id: string;
near?: number;
@@ -77,7 +78,7 @@ export default class DiscussionPage<CustomAttrs extends IDiscussionPageAttrs = I
/**
* Initialize the component to display the given discussion.
*/
show(discussion: Discussion): void;
show(discussion: ApiResponseSingle<Discussion>): void;
/**
* Build an item list for the contents of the sidebar.
*/

View File

@@ -1,8 +1,8 @@
export default class NotificationsDropdown extends Dropdown {
onclick(): void;
goToRoute(): void;
getUnreadCount(): any;
getNewCount(): any;
getUnreadCount(): number | undefined;
getNewCount(): number | undefined;
menuClick(e: any): void;
}
import Dropdown from "../../common/components/Dropdown";