Skip to content

Commit 48b54ba

Browse files
committed
Bundled output for commit 2266324
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
1 parent 2266324 commit 48b54ba

20 files changed

Lines changed: 104 additions & 4 deletions

js/dist-typings/admin/extend.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare const _default: import("flarum/common/extenders/Admin").default[];
2+
export default _default;

js/dist-typings/admin/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as extend } from './extend';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default function (): void;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default function (): void;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default function _default(): void;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default class DraftsDropdown extends HeaderDropdown<import("flarum/forum/components/HeaderDropdown").IHeaderDropdownAttrs> {
2+
static initAttrs(attrs: any): void;
3+
constructor();
4+
getUnreadCount(): any;
5+
}
6+
import HeaderDropdown from "flarum/forum/components/HeaderDropdown";
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export default class DraftsList extends Component<any, undefined> {
2+
constructor();
3+
oncreate(vnode: any): void;
4+
deleteAll(): void;
5+
controlItems(): ItemList<any>;
6+
view(): JSX.Element;
7+
}
8+
import Component from "flarum/common/Component";
9+
import ItemList from "flarum/common/utils/ItemList";
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import Component from 'flarum/common/Component';
2+
import type Mithril from 'mithril';
3+
import Draft from '../models/Draft';
4+
import DraftsListState from '../states/DraftsListState';
5+
export interface IAttrs {
6+
draft: Draft;
7+
state: DraftsListState;
8+
}
9+
export default class DraftsListItem extends Component<IAttrs> {
10+
private canSchedule;
11+
oncreate(vnode: Mithril.Vnode): void;
12+
getTags(): any[] | null;
13+
view(): JSX.Element;
14+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default class DraftsPage extends Page<import("flarum/common/components/Page").IPageAttrs, undefined> {
2+
constructor();
3+
oninit(vnode: any): void;
4+
view(): JSX.Element;
5+
}
6+
import Page from "flarum/common/components/Page";
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
export default class ScheduleDraftModal extends FormModal<import("flarum/common/components/FormModal").IFormModalAttrs, undefined> {
2+
constructor();
3+
date: any;
4+
time: any;
5+
previewFormatString: any;
6+
oninit(vnode: any): void;
7+
title(): string | any[];
8+
content(): JSX.Element | (string | JSX.Element)[];
9+
/**
10+
* Returns a Date object for currently entered values in the modal.
11+
*/
12+
scheduledFor(): Date;
13+
/**
14+
* Whether the modal's details have been modified.
15+
*/
16+
changed(): boolean;
17+
isScheduled(): boolean;
18+
formattedDateTime(): any;
19+
unschedule(e: any): void;
20+
success: boolean | undefined;
21+
onsubmit(e: any): void;
22+
}
23+
import FormModal from "flarum/common/components/FormModal";

0 commit comments

Comments
 (0)