TryGhost/Ghost

View on GitHub
ghost/admin/app/models/post-revision.js

Summary

Maintainability
A
0 mins
Test Coverage
import Model, {attr, belongsTo} from '@ember-data/model';

export default class PostRevisionModel extends Model {
  @attr('string') lexical;
  @attr('string') title;
  @attr('string') customExcerpt;
  @attr('string') featureImage;
  @attr('string') featureImageAlt;
  @attr('string') featureImageCaption;
  @attr('string') reason;
  @attr('moment-utc') createdAt;
  @belongsTo('user') author;
  @attr('string') postStatus;
}