Adapt authoring tool UI documentation

v1.0.0-rc.4

adapt-authoring-assets/lib/typedefs.js

  1. /**
  2. * This file exists to define the below types for documentation purposes.
  3. */
  4. /**
  5. * @memberof assets
  6. * @typedef {object} AssetMetadata
  7. * @property {string} resolution Asset resolution
  8. * @property {string} duration Asset duration
  9. */
  10. /**
  11. * @memberof assets
  12. * @typedef {object} FileMetadata
  13. * @property {string} filepath Path to the file
  14. * @property {string} mimetype The mime type of this file
  15. * @property {string} originalFilename The name this file had when uploaded
  16. * @property {Number} size The size of the file in bytes
  17. */