Versions Compared

Key

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

...

propertytyperequiredformat checkingstate of implementationRemarks

type

stringyes

implemented


title

{ type: string,
title: string,url: string,
comment: string,
authors: string,
year: string}
stringyes
implemented
urlstringno
implemented
commentstringno
implemented
authorsstringno
implemented
yearstringno
implemented

 


Deck = 

propertytyperequiredformat checkingstate of implementationRemarks

_id

integer, autoincrementyesisInteger

implemented

for now is 'string' in the code
timestampdateyesauto generatedimplementedadd 'format: datetime'
userintegeryesisIntegerimplemented (passed to service)
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 implementationremarks

id

integer, autoincrementyesisInteger

implemented


titlestringyes implemented
timestampdateyesauto generatedimplemented
contentstringyes?? only allowed tagsimplemented
userinteger, autoincrementyesisIntegerimplemented
parent

object { id: objectId, revision: objectId }

no
not implementedkeeps link to a previsous revision
speakerNotesstringno implemented
popularityintegernoisIntegernot implemented
commentstringno implementedcomment of revision
tagsarrayno implemented
mediaarrayno not implemented
dataSourcesarray of stringsDataSourcesno not implemented
languagestringyes implemented
usage

array of objects

{ id: object_id, revision: object_id}
no not implemented

...