forked from Ivasoft/mattermost-mobile
Add is_blocked to FileModel (#8842)
* Add is_blocked to FileModel * fix type in the docs * use correct type in docs
This commit is contained in:
@@ -45,6 +45,9 @@ declare class FileModel extends Model {
|
||||
/** post : The related Post record for this file */
|
||||
post: Relation<PostModel>;
|
||||
|
||||
/** isBlocked : Whether the file is blocked and cannot be opened */
|
||||
isBlocked: boolean;
|
||||
|
||||
toFileInfo: (authorId: string) => FileInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user