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

11 lines
233 B
JavaScript
Raw Normal View History

import {Model, hasMany} from 'miragejs';
export default Model.extend({
// used by the serializer to determine whether
// or not to include the post count
postCount: false,
roles: hasMany(),
posts: hasMany()
});