52b6668955
- remove lodash from bower - move all resources to /mirage instead of /app/mirage - update endpoints to use ORM - general cleanup
14 lines
461 B
JavaScript
14 lines
461 B
JavaScript
import {Factory} from 'ember-cli-mirage';
|
|
|
|
export default Factory.extend({
|
|
token(i) { return `${i}-token`; },
|
|
email(i) { return `invited-user-${i}@example.com`; },
|
|
expires() { return moment.utc().add(1, 'day').unix(); },
|
|
createdAt() { return moment.utc().format(); },
|
|
createdBy() { return 1; },
|
|
updatedAt() { return moment.utc().format(); },
|
|
updatedBy() { return 1; },
|
|
status() { return 'sent'; },
|
|
roleId() { return 1; }
|
|
});
|