Added some functionality and some new data to mock-api

This commit is contained in:
Erik Tiekstra
2021-03-29 10:17:00 +02:00
committed by Erik Tiekstra
parent cfe1907842
commit c03b66c6bc
11 changed files with 490 additions and 308 deletions

View File

@@ -15,7 +15,8 @@ function generateParticipants(amount = 10) {
service: AVAILABLE_SERVICES[Math.floor(Math.random() * AVAILABLE_SERVICES.length)],
errandNumber: faker.random.number({ min: 100000, max: 999999 }),
startDate: faker.date.recent(),
endDate: faker.date.soon(),
endDate: faker.date.future(),
handleBefore: faker.date.soon(),
});
}