Commit 4b9e079d authored by Jean Rabreau's avatar Jean Rabreau
Browse files

馃摑add some item descriptions

parent 66a266b7
......@@ -12,7 +12,7 @@ import {
/**
* @typedef {Object} SetItem
* @property {boolean} canEdit
* @property {boolean} canEdit - rights for project manager
* @property {string} description
* @property {string} id
* @property {boolean} isPublic
......@@ -44,9 +44,9 @@ import {
/**
* @typedef {Object} FileViewer
* @property {string} [component]
* @property {string} [fileId]
* @property {boolean} isDownloadable
* @property {string} [component] - name of component used to read the file
* @property {string} [fileId] - id of the MediaFile to be read
* @property {boolean} isDownloadable - control download button visibility
*/
/**
......@@ -54,6 +54,7 @@ import {
* @property {string|null} s - url to object's 48脳48 thumbnail
* @property {string|null} m - url to object's 64脳64 thumbnail
* @property {string|null} l - url to object's 128脳128 thumbnail
* @property {string|null} embed - url to object's 512脳512 thumbnail
*/
/**
......@@ -66,17 +67,18 @@ import {
/**
* @typedef {Object} PountItem
* @property {boolean} canEdit
* @property {boolean} canEdit - true if user is project manager or creator of this item
* @property {boolean} canBeShared - true if itself, its parents set and project are public
* @property {ItemCreator} creator
* @property {string} description
* @property {string} [id]
* @property {boolean} isPublic
* @property {MediaFile[]} mediaFiles
* @property {MetaData[]} metadata
* @property {Object} set
* @property {ThumbnailSource} thumbnails
* @property {string} title
* @property {FileViewer} viewer
* @property {Object} set - parent set details
* @property {ThumbnailSource} thumbnails - urls of thumbnails
* @property {string} title - 255 chars max
* @property {FileViewer} viewer - viewer parameters
*/
const initialItem = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment