Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

propertytyperequiredformat checkingstate of implementationRemarks

type

stringyes

implemented


title

stringyes
implemented
urlstringno
implemented
commentstringno
implemented
authorsstringno
implemented
yearstringno
implemented

 

User=

propertytyperequiredformat checkingstate of implementationremarks
idintegeryes
ready to merge
joinedstringyesISO dateready to mergethe timestamp the user/group joined the deck editors
usernamestringnosee user service (question)ready to merge

picturestringnosee user service model (question)ready to merge

Group =

propertytyperequiredformat checkingstate of implementationremarks
idintegeryes
ready to merge
joinedstringyesISO dateready to mergethe timestamp the user/group joined the deck editors
namestringnosee user service (question)ready to merge


EditorsRights=

propertytyperequiredstate of implementationremarks
usersarray of Usersyesready to mergelists the users that explicitly are editors of the deck
groupsarray of Groupsyesready to mergelists the groups whose users explicitly can edit the deck


DeckOrigin =

propertytyperequiredstate of implemenation
idintegeryesimplemented
revisionintegeryesimplemented
titlestringnoimplemented



Deck = 

propertytyperequiredformat checkingstate of implementationRemarks

_id

integer, autoincrementyesisInteger

implemented

for now is 'string' in the code
timestampdateyesauto generatedimplementedadd 'format: datetime'
userintegeryesisIntegerimplemented (passed to service)
originDeckOriginno
implementedreferences the deck revision this deck was forked from
descriptionstringno implemented

translationsarray of {language: 'string', deck_id: object_id}no
not implemented
translated_from


{ status: enum('original', 'google', 'revised', null)



has field 'status' with possible values 'original', 'google', 'revised'auto generated
implemented
lastUpdatestring, datetimeno

auto-generated on creating new slide revision inside the deck
revisions[ array of DeckRevision ]yesauto generatedimplemented
activeintegeryesif the revision exists, when a new deck is added is set to 1implemented
datasource string no   if the whole deck is the adaptation of a resource
licensestring enumerationyesis one of enumerables ['CC0', 'CC BY', 'CC BY-SA']implemented should move it from revision, it is the same for the whole deck
contributorsarray of contributorsno
in process

...

propertytyperequiredformat checkingstate of implementation

order

integeryesisInteger

implemented

kindstringyesenum ('deck', 'slide')implemented
refobject:
{id, revision} 
yes implemented
ref.idintegeryesisIntegerimplemented
ref.revisionintegeryesisIntegerimplemented

 

Tag =

propertytyperequiredformat checkingstate of implementation
tagNamestringyesto be decidedimplemented


DeckRevision = 

propertytyperequiredformat checkingstate of implementationremarks

id

objectId, autoincrement (scope limited to parent item)yesisInteger

implemented


titlestringyes implemented
timestampdateyesauto generatedimplemented
userobjectidyesisIntegerimplemented
parentobject {id: objectId, revision: objectId}noisIntegernot implementedreference to a previous revision/branch etc.
languagestringyes implemented
popularityintegernoisIntegernot implemented
themeobjectno not implemented
transitionobjectno not implemented
commentstringno implementedthis is a comment of the revision - like in github
abstractstringno implemented
footerstringno implemented

for now it is an object, should be just a string

changed to string

isFeaturedbooleannoisBooleannot implemented
priorityintegernoisIntegernot implemented
visibilitybooleannoisBooleannot implemented
translated_from

object {

status: string, enum['original', 'google', 'revised', null],

source: { id: object_id, revision: object_id},

translator: {id: object_id, name: string}

}

no not implemented
tagsarray of Tagsno implemented
contentItemsarray of ContentItemsyes implemented
dataSources

array of DataSources

no implementedcollects all data sources from slides
usage

array of objects

{ id: object_id, revision: object_id}


no implemented

...