File size: 295 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { MediaTypes } from '../constants';

/**
 * Given an unknown media object, returns an object with empty attributes.
 * @returns {Object} Normalized object with empty attributes
 */
export function deserialize() {
	return {
		type: MediaTypes.UNKNOWN,
		media: {},
		appearance: {},
	};
}