This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/mirage/factories/strains.js
2015-11-10 11:02:23 -07:00

17 lines
603 B
JavaScript

import Mirage, { faker } from 'ember-cli-mirage';
export default Mirage.Factory.extend({
measurements: [],
characteristics: [],
species: 0,
strainName() { return faker.lorem.words().join(' '); },
typeStrain: faker.random.boolean(),
accessionNumbers() { return faker.lorem.words().join(' '); },
genbank() { return faker.lorem.words().join(' '); },
wholeGenomeSequence() { return faker.lorem.words().join(' '); },
isolatedFrom: faker.lorem.sentences(),
notes: faker.lorem.sentences(),
totalMeasurements: 0,
sortOrder: faker.random.number(),
canEdit: faker.random.boolean(),
});