reinit repo with sources from zipped dir

This commit is contained in:
Louis
2025-11-21 09:35:47 +01:00
parent 53580dd312
commit a2725828f5
82 changed files with 28056 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import {faker} from '@faker-js/faker'
import { User } from '../types'
const waitMs = (ms: number) => new Promise(resolve => setTimeout(resolve, ms))
export const fetchUsers = async (): Promise<User[]> => {
await waitMs(30)
return Array.from({length: 2000}).map(() => ({
uuid: faker.string.uuid(),
name: faker.person.fullName(),
email: faker.internet.email(),
job: faker.person.jobTitle(),
}))
}