node_modules/contentful/dist/es-modules/entities/entry.js
/**
 * Data is also mixed in with link getters if links exist and includes were requested
 * @private
 * @param {Object} data - Raw entry collection data
 * @param {Object} options - wrapper options
 * @return {EntryCollection} Wrapped entry collection data
 */
Data is also mixed in with link getters if links exist and includes were requested
@private
@param {Object} data - Raw entry collection data
@param {Object} options - wrapper options
@return {EntryCollection} Wrapped entry collection data
Data is also mixed in with link getters if links exist and includes were requested @private @param { Object } data - Raw entry collection data @param { Object } options - wrapper options @return { EntryCollection } Wrapped entry collection data
function wrapEntryCollection(data, _ref) {
  var resolveLinks = _ref.resolveLinks,
      removeUnresolved = _ref.removeUnresolved;
  var wrappedData = mixinStringifySafe(toPlainObject(cloneDeep(data)));
  if (resolveLinks) {
    wrappedData.items = resolveResponse(wrappedData, { removeUnresolved: removeUnresolved, itemEntryPoints: ['fields'] });
  }
  return freezeSys(wrappedData);
}
function wrapEntryCollection ( data , _ref ) { var resolveLinks = _ref . resolveLinks , removeUnresolved = _ref . removeUnresolved ; var wrappedData = mixinStringifySafe ( toPlainObject ( cloneDeep ( data ) ) ) ; if ( resolveLinks ) { wrappedData . items = resolveResponse ( wrappedData , { removeUnresolved : removeUnresolved , itemEntryPoints : [ 'fields' ] } ) ; } return freezeSys ( wrappedData ) ; }
Data is also mixed in with link getters if links exist and includes were requested
 @private
 @param {Object} data - Raw entry collection data
 @param {Object} options - wrapper options
 @return {EntryCollection} Wrapped entry collection data
Data is also mixed in with link getters if links exist and includes were requested @private @param { Object } data - Raw entry collection data @param { Object } options - wrapper options @return { EntryCollection } Wrapped entry collection data