Ghost/ghost/admin/app/models/post-revision.js
Ronald f37d7a3fc7 Wired up revision post status and reason to admin
no issue

We can now get post_status and reason in admin for each post_revision
object
2023-04-21 14:05:27 +01:00

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;
}