async function fetch(query = {}) {
  const contentfulRes = await contentful
    .fetchByContentTypes(module.exports.getContentTypes(), query);
  const broadcasts = await Promise
    .all(contentfulRes.data.map(module.exports.parseBroadcastFromContentfulEntry));
  return Object.assign(contentfulRes, { data: broadcasts });
}
/**
 * Fetches broadcast Contentful entries and parses them as broadcasts.
 *
 * @param {Object} query
 * @return {Promise}
 */
Fetches broadcast Contentful entries and parses them as broadcasts.
@param {Object} query
@return {Promise}
Fetches broadcast Contentful entries and parses them as broadcasts . @param { Object } query @return { Promise }
async function fetch(query = {}) {
  const contentfulRes = await contentful
    .fetchByContentTypes(module.exports.getContentTypes(), query);
  const broadcasts = await Promise
    .all(contentfulRes.data.map(module.exports.parseBroadcastFromContentfulEntry));
  return Object.assign(contentfulRes, { data: broadcasts });
}
async function fetch ( query = { } ) { const contentfulRes = await contentful . fetchByContentTypes ( module . exports . getContentTypes ( ) , query ) ; const broadcasts = await Promise . all ( contentfulRes . data . map ( module . exports . parseBroadcastFromContentfulEntry ) ) ; return Object . assign ( contentfulRes , { data : broadcasts } ) ; }
Fetches broadcast Contentful entries and parses them as broadcasts.
Fetches broadcast Contentful entries and parses them as broadcasts .