Merge pull request #1343 from BenDMyers/jsdoc

Introduce JSDocs for data.js
This commit is contained in:
Blake Campbell 2022-05-28 20:17:11 -04:00 committed by GitHub
commit 0409c95961
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,25 @@
// keep it commonjs export
// Data is validated against the following schema https://github.com/wesbos/awesome-uses/blob/master/scripts/utils.js#L53-L68
/**
* @typedef Person
* A single contributor with a /uses page.
* Data is validated against the following schema https://github.com/wesbos/awesome-uses/blob/master/scripts/utils.js#L53-L68
* @property {string} name - contributor's name
* @property {string} description - tagline for contributor
* @property {string} url - link to contributor's /uses page
* @property {string} country - flag emoji for contributor's country
* @property {string} [twitter] - optional Twitter username (beginning with `@`)
* @property {string} [emoji] - some emoji corresponding to the contributor
* @property {'apple' | 'windows' | 'linux' | 'bsd'} [computer]
* @property {'iphone' | 'android' | 'windowsphone' | 'flipphone'} [phone]
* @property {string[]} tags - list of tools or other tags the contributor uses
*/
/**
* List of all contributors with /uses pages.
* @type {Person[]}
* Data is validated against the following schema https://github.com/wesbos/awesome-uses/blob/master/scripts/utils.js#L53-L68
*
* Keep this a commonjs export.
*/
module.exports = [
{
name: 'Ahmed Adebisi',