mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-11 09:53:32 +03:00
f37d7a3fc7
no issue We can now get post_status and reason in admin for each post_revision object
13 lines
345 B
JavaScript
13 lines
345 B
JavaScript
import Model, {attr, belongsTo} from '@ember-data/model';
|
|
|
|
export default class PostRevisionModel extends Model {
|
|
@belongsTo('post') post;
|
|
@attr('string') lexical;
|
|
@attr('string') title;
|
|
@attr('string') featureImage;
|
|
@attr('moment-utc') createdAt;
|
|
@belongsTo('user') author;
|
|
@attr('string') postStatus;
|
|
@attr('string') reason;
|
|
}
|