2017-08-17 22:00:37 +05:30
|
|
|
export default {
|
|
|
|
createNumberRandomUsers(numberUsers) {
|
|
|
|
const users = [];
|
|
|
|
for (let i = 0; i < numberUsers; i = i += 1) {
|
|
|
|
users.push(
|
|
|
|
{
|
2018-03-17 18:26:18 +05:30
|
|
|
avatar: 'https://gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon',
|
2017-08-17 22:00:37 +05:30
|
|
|
id: (i + 1),
|
|
|
|
name: `GitLab User ${i}`,
|
|
|
|
username: `gitlab${i}`,
|
|
|
|
},
|
|
|
|
);
|
|
|
|
}
|
|
|
|
return users;
|
|
|
|
},
|
|
|
|
};
|