Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
community
pount
pount-front
Commits
4b9e079d
Commit
4b9e079d
authored
Sep 30, 2021
by
Jean Rabreau
Browse files
📝
add some item descriptions
parent
66a266b7
Changes
1
Show whitespace changes
Inline
Side-by-side
src/store/item.js
View file @
4b9e079d
...
...
@@ -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
=
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment