Add notable contributions plugin (#222)

This commit is contained in:
Simon Lecoq authored and GitHub committed 2021-04-09 20:51:45 +02:00
1 parent e63dee0c6e
commit 19bb1b3766
15 files changed
+218 -4

No files matched your search

@@ -165,6 +165,12 @@
pr:{get count() { return this.open + this.merged }, open:faker.datatype.number(1000), merged:faker.datatype.number(1000)},
}
}) : null),
//Notable
...(set.plugins.enabled.notable ? ({
notable:{
contributions:new Array(2+faker.datatype.number(2)).fill(null).map(_ => ({name:faker.lorem.slug(), avatar:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mOcOnfpfwAGfgLYttYINwAAAABJRU5ErkJggg=="})),
}
}) : null),
//Gists
...(set.plugins.enabled.gists ? ({
gists:{