Ghost/ghost/admin/mirage/models/post.js

9 lines
190 B
JavaScript
Raw Normal View History

import {Model, belongsTo, hasMany} from 'miragejs';
export default Model.extend({
tags: hasMany(),
2019-11-08 07:14:04 +03:00
authors: hasMany('user'),
email: belongsTo(),
newsletter: belongsTo()
});