UNPKG

contentful-management

Version:
17 lines (14 loc) 393 B
import copy from 'fast-copy'; import { toPlainObject } from 'contentful-sdk-core'; /** * @internal * @param http - HTTP client instance * @param data - Raw asset key data * @returns Wrapped asset key data */ function wrapAssetKey(_makeRequest, data) { const assetKey = toPlainObject(copy(data)); return assetKey; } export { wrapAssetKey }; //# sourceMappingURL=asset-key.js.map