diff --git a/_common/githubish.js b/_common/githubish.js index 685b1d8..ce305a1 100644 --- a/_common/githubish.js +++ b/_common/githubish.js @@ -1,5 +1,18 @@ 'use strict'; +/** + * @typedef DistributableRaw + * @prop {String} name + * @prop {String} version + * @prop {Boolean} lts + * @prop {String} [channel] + * @prop {String} date + * @prop {String} os + * @prop {String} arch + * @prop {String} ext + * @prop {String} download + */ + let GitHubish = module.exports; /** @@ -66,6 +79,7 @@ GitHubish.getDistributables = async function ({ } let all = { + /** @type {Array} */ releases: [], // todo make this ':baseurl' + ':releasename' download: '',