import * as Faker from 'faker' ; import { define } from 'typeorm-seeding' ; import { User } from '../../api/models/User' ; define ( User , ( faker , settings ) => { const user = new User ( ) ; return user ; } ) ;