chore: update faker functions

This commit is contained in:
Simon Lecoq
2023-07-24 20:30:19 -04:00
parent fca0e34e9d
commit 0fad2fb0cb
53 changed files with 622 additions and 622 deletions

View File

@@ -6,20 +6,20 @@ export default function({faker, query, login = faker.internet.userName()}) {
starredRepositories: {
edges: [
{
starredAt: `${faker.date.recent(14)}`,
starredAt: `${faker.date.recent({days:14})}`,
node: {
description: "📊 An image generator with 20+ metrics about your GitHub account such as activity, community, repositories, coding habits, website performances, music played, starred topics, etc. that you can put on your profile or elsewhere !",
forkCount: faker.datatype.number(100),
forkCount: faker.number.int(100),
isFork: false,
issues: {
totalCount: faker.datatype.number(100),
totalCount: faker.number.int(100),
},
nameWithOwner: "lowlighter/metrics",
openGraphImageUrl: "https://repository-images.githubusercontent.com/293860197/7fd72080-496d-11eb-8fe0-238b38a0746a",
pullRequests: {
totalCount: faker.datatype.number(100),
totalCount: faker.number.int(100),
},
stargazerCount: faker.datatype.number(10000),
stargazerCount: faker.number.int(10000),
licenseInfo: {
nickname: null,
name: "MIT License",