node_modules/contentful-management/dist/es-modules/entities/space-membership.js
/**
 * @private
 * @param {Object} http - HTTP client instance
 * @param {Object} data - Raw space membership collection data
 * @return {SpaceMembershipCollection} Wrapped space membership collection data
 */
@private
@param {Object} http - HTTP client instance
@param {Object} data - Raw space membership collection data
@return {SpaceMembershipCollection} Wrapped space membership collection data
@private @param { Object } http - HTTP client instance @param { Object } data - Raw space membership collection data @return { SpaceMembershipCollection } Wrapped space membership collection data
function wrapSpaceMembershipCollection(http, data) {
  var spaceMemberships = toPlainObject(cloneDeep(data));
  spaceMemberships.items = spaceMemberships.items.map(function (entity) {
    return wrapSpaceMembership(http, entity);
  });
  return freezeSys(spaceMemberships);
}
function wrapSpaceMembershipCollection ( http , data ) { var spaceMemberships = toPlainObject ( cloneDeep ( data ) ) ; spaceMemberships . items = spaceMemberships . items . map ( function ( entity ) { return wrapSpaceMembership ( http , entity ) ; } ) ; return freezeSys ( spaceMemberships ) ; }
@private
 @param {Object} http - HTTP client instance
 @param {Object} data - Raw space membership collection data
 @return {SpaceMembershipCollection} Wrapped space membership collection data
@private @param { Object } http - HTTP client instance @param { Object } data - Raw space membership collection data @return { SpaceMembershipCollection } Wrapped space membership collection data