2022-03-08 14:32:01 +03:00
|
|
|
import {Factory} from 'miragejs';
|
2017-01-02 21:49:44 +03:00
|
|
|
|
|
|
|
export default Factory.extend({
|
|
|
|
accessibility: null,
|
|
|
|
bio: null,
|
2017-04-24 20:22:39 +03:00
|
|
|
coverImage: null,
|
2017-01-02 21:49:44 +03:00
|
|
|
createdAt: '2015-09-02T13:41:50.000Z',
|
|
|
|
createdBy: null,
|
|
|
|
email(i) { return `user-${i}@example.com`; },
|
2017-04-24 20:22:39 +03:00
|
|
|
profileImage: '//www.gravatar.com/avatar/3ae045bc198a157401827c8455cd7c99?s=250&d=mm&r=x',
|
2017-01-02 21:49:44 +03:00
|
|
|
lastLogin: '2015-11-02T16:12:05.000Z',
|
|
|
|
location: null,
|
|
|
|
metaDescription: null,
|
|
|
|
metaTitle: null,
|
|
|
|
name(i) { return `User ${i}`; },
|
|
|
|
slug(i) { return `user-${i}`; },
|
|
|
|
status: 'active',
|
|
|
|
tour: null,
|
|
|
|
updatedAt: '2015-11-02T16:12:05.000Z',
|
2018-01-11 12:29:42 +03:00
|
|
|
updatedBy: '1',
|
2017-01-02 21:49:44 +03:00
|
|
|
website: 'http://example.com',
|
2018-03-19 12:53:17 +03:00
|
|
|
posts() { return []; },
|
2017-11-24 21:53:19 +03:00
|
|
|
roles() { return []; }
|
2017-01-02 21:49:44 +03:00
|
|
|
});
|