2022-03-08 14:32:01 +03:00
|
|
|
import {Model, hasMany} from 'miragejs';
|
2017-01-02 21:49:44 +03:00
|
|
|
|
|
|
|
export default Model.extend({
|
|
|
|
// used by the serializer to determine whether
|
|
|
|
// or not to include the post count
|
|
|
|
postCount: false,
|
|
|
|
|
|
|
|
roles: hasMany(),
|
2024-06-04 21:46:39 +03:00
|
|
|
posts: hasMany(),
|
|
|
|
postRevision: hasMany()
|
2017-01-02 21:49:44 +03:00
|
|
|
});
|