Comment
Responsible: Dejan Paunović
objectid = { | |
type: 'string', | |
maxLength: 24, | |
minLength: 1 | |
}; |
comment =
property | type | required | format checking | state of implementation (master branch) in terms of attribute added and connected with the frontend |
---|---|---|---|---|
_id | Mongo ObjectID | yes | Mongo ObjectID | implemented |
title | string | yes | string | implemented |
text | string | yes | string | implemented |
timestamp | object | yes (set by microservice) | implemented | |
user_id | objectid | yes | objectid | implemented |
parent_comment | objectid | no | objectid | implemented |
content_id | string | yes | string | implemented |
content_kind | string, enum: ['deck', 'slide'] | yes | string from enum | implemented |
visibility | boolean | no | boolean | implemented |