Added more staff data
This commit is contained in:
@@ -11,7 +11,7 @@ function generateParticipants(amount = 10) {
|
||||
const participants = [];
|
||||
|
||||
for (let i = 1; i <= amount; ++i) {
|
||||
participants.push({
|
||||
const participant = {
|
||||
id: faker.random.uuid(),
|
||||
firstName: faker.name.firstName(),
|
||||
lastName: faker.name.lastName(),
|
||||
@@ -22,7 +22,8 @@ function generateParticipants(amount = 10) {
|
||||
startDate: faker.date.recent(),
|
||||
endDate: faker.date.future(),
|
||||
handleBefore: faker.date.soon(),
|
||||
});
|
||||
};
|
||||
participants.push({ ...participant, fullName: `${participant.firstName} ${participant.lastName}` });
|
||||
}
|
||||
|
||||
return participants;
|
||||
|
||||
Reference in New Issue
Block a user