mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 13:14:25 +08:00
Bundled output for commit 0fed7bc2479d3620fef51358635c1618cf98c582
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
parent
0fed7bc247
commit
a627013cd7
@ -1,11 +1,16 @@
|
|||||||
import PaginatedListState, { Page } from '../../common/states/PaginatedListState';
|
import PaginatedListState, { Page } from '../../common/states/PaginatedListState';
|
||||||
import Discussion from '../../common/models/Discussion';
|
import Discussion from '../../common/models/Discussion';
|
||||||
|
export interface IRequestParams {
|
||||||
|
include: string[];
|
||||||
|
filter: Record<string, string>;
|
||||||
|
sort?: string;
|
||||||
|
}
|
||||||
export default class DiscussionListState extends PaginatedListState<Discussion> {
|
export default class DiscussionListState extends PaginatedListState<Discussion> {
|
||||||
protected extraDiscussions: Discussion[];
|
protected extraDiscussions: Discussion[];
|
||||||
constructor(params: any, page?: number);
|
constructor(params: any, page?: number);
|
||||||
get type(): string;
|
get type(): string;
|
||||||
requestParams(): any;
|
requestParams(): IRequestParams;
|
||||||
protected loadPage(page?: number): any;
|
protected loadPage(page?: number): Promise<Discussion[]>;
|
||||||
clear(): void;
|
clear(): void;
|
||||||
/**
|
/**
|
||||||
* Get a map of sort keys (which appear in the URL, and are used for
|
* Get a map of sort keys (which appear in the URL, and are used for
|
||||||
|
2
framework/core/js/dist/forum.js.map
generated
vendored
2
framework/core/js/dist/forum.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user