mirror of
https://github.com/flarum/core.git
synced 2025-08-15 04:44:08 +02:00
Bundled output for commit 187b5c6f0b
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
22
js/dist-typings/common/models/Post.d.ts
vendored
22
js/dist-typings/common/models/Post.d.ts
vendored
@@ -1,3 +1,23 @@
|
||||
import Model from '../Model';
|
||||
import Discussion from './Discussion';
|
||||
import User from './User';
|
||||
export default class Post extends Model {
|
||||
number(): number;
|
||||
discussion(): Discussion;
|
||||
createdAt(): Date;
|
||||
user(): false | User;
|
||||
contentType(): string | null;
|
||||
content(): string | null | undefined;
|
||||
contentHtml(): string | null | undefined;
|
||||
renderFailed(): boolean | undefined;
|
||||
contentPlain(): string | null | undefined;
|
||||
editedAt(): Date | null | undefined;
|
||||
editedUser(): false | User | null;
|
||||
isEdited(): boolean;
|
||||
hiddenAt(): Date | null | undefined;
|
||||
hiddenUser(): false | User | null;
|
||||
isHidden(): boolean;
|
||||
canEdit(): boolean | undefined;
|
||||
canHide(): boolean | undefined;
|
||||
canDelete(): boolean | undefined;
|
||||
}
|
||||
import Model from "../Model";
|
||||
|
Reference in New Issue
Block a user