mirror of
https://github.com/flarum/core.git
synced 2025-08-30 19:40:02 +02:00
Bundled output for commit 0107c96fb7
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
7
extensions/package-manager/js/dist-typings/states/ExtensionListState.d.ts
generated
vendored
Normal file
7
extensions/package-manager/js/dist-typings/states/ExtensionListState.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import PaginatedListState, { SortMap } from 'flarum/common/states/PaginatedListState';
|
||||
import ExternalExtension from '../models/ExternalExtension';
|
||||
export default class ExtensionListState extends PaginatedListState<ExternalExtension> {
|
||||
get type(): string;
|
||||
constructor();
|
||||
sortMap(): SortMap;
|
||||
}
|
2
extensions/package-manager/js/dist-typings/states/ExtensionManagerState.d.ts
generated
vendored
2
extensions/package-manager/js/dist-typings/states/ExtensionManagerState.d.ts
generated
vendored
@@ -1,6 +1,8 @@
|
||||
import QueueState from './QueueState';
|
||||
import ControlSectionState from './ControlSectionState';
|
||||
import ExtensionListState from './ExtensionListState';
|
||||
export default class ExtensionManagerState {
|
||||
queue: QueueState;
|
||||
control: ControlSectionState;
|
||||
extensions: ExtensionListState;
|
||||
}
|
||||
|
5
extensions/package-manager/js/dist-typings/states/QueueState.d.ts
generated
vendored
5
extensions/package-manager/js/dist-typings/states/QueueState.d.ts
generated
vendored
@@ -6,14 +6,19 @@ export default class QueueState {
|
||||
private limit;
|
||||
private offset;
|
||||
private total;
|
||||
private loading;
|
||||
load(params?: ApiQueryParamsPlural, actionTaken?: boolean): Promise<Task[]>;
|
||||
isLoading(): boolean;
|
||||
getItems(): Task[] | null;
|
||||
getTotalItems(): number;
|
||||
getTotalPages(): number;
|
||||
pageNumber(): number;
|
||||
getPerPage(): number;
|
||||
hasPrev(): boolean;
|
||||
hasNext(): boolean;
|
||||
prev(): void;
|
||||
next(): void;
|
||||
goto(page: number): void;
|
||||
pollQueue(actionTaken?: boolean): void;
|
||||
hasPending(): boolean;
|
||||
}
|
||||
|
Reference in New Issue
Block a user