Upgrade Ember 4 Co-authored-by: Randall Morey <randall@randallmorey.com> Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
15 lines
418 B
JavaScript
15 lines
418 B
JavaScript
import { Factory } from 'miragejs';
|
|
import { faker } from '@faker-js/faker';
|
|
|
|
/**
|
|
* GeneratedGroupModelFactory
|
|
* Group contains all fields related to a Group resource
|
|
*/
|
|
export default Factory.extend({
|
|
name: () => faker.random.words(),
|
|
description: () => faker.random.words(),
|
|
created_time: () => faker.date.recent(),
|
|
updated_time: () => faker.date.recent(),
|
|
disabled: () => faker.datatype.boolean(),
|
|
});
|