Add introduction plugin (#127)

This commit is contained in:
Simon Lecoq authored and GitHub committed 2021-02-17 19:58:57 +01:00
1 parent 618d4a783d
commit 4e1174ea63
16 files changed
+199

No files matched your search

@@ -0,0 +1,9 @@
/**Mocked data */
export default function({faker, query, login = faker.internet.userName()}) {
console.debug("metrics/compute/mocks > mocking graphql api result > introduction/organization")
return ({
organization:{
description:faker.lorem.sentences(),
},
})
}
@@ -0,0 +1,9 @@
/**Mocked data */
export default function({faker, query, login = faker.internet.userName()}) {
console.debug("metrics/compute/mocks > mocking graphql api result > introduction/repository")
return ({
repository:{
description:faker.lorem.sentences(),
},
})
}
@@ -0,0 +1,9 @@
/**Mocked data */
export default function({faker, query, login = faker.internet.userName()}) {
console.debug("metrics/compute/mocks > mocking graphql api result > introduction/user")
return ({
user:{
bio:faker.lorem.sentences(),
},
})
}