Files
threshold-ui/addons/api/mirage/generated/factories/account.js
T

17 lines
405 B
JavaScript
Raw Normal View History

2020-09-14 11:26:54 -04:00
import { Factory } from 'ember-cli-mirage';
import { random, date } from 'faker';
/**
* GeneratedAccountFactory
*/
export default Factory.extend({
type: 'password',
name: () => random.words(),
description: () => random.words(),
created_time: () => date.recent(),
updated_time: () => date.recent(),
version: () => random.number(),
2020-09-14 15:50:29 -04:00
attributes: () => ({ login_name: random.words() }),
2020-09-14 11:26:54 -04:00
});