adapt-authoring-assets/lib/typedefs.js

/**
 * This file exists to define the below types for documentation purposes.
 */
/**
 * @memberof assets
 * @typedef {object} AssetMetadata
 * @property {string} resolution Asset resolution
 * @property {string} duration Asset duration
 */ 
/**
 * @memberof assets
 * @typedef {object} FileMetadata
 * @property {string} filepath Path to the file
 * @property {string} mimetype The mime type of this file
 * @property {string} originalFilename The name this file had when uploaded
 * @property {Number} size The size of the file in bytes
 */