Versions Compared

Key

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

...

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

allowMarkdownbooleannoisBooleannot implementedif checked, authors have an additional editor for markdown
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 implementedMost likely this is redundant - as we store everything in the "origin" field of the deck and we do not allow to have more than one translation in a certain language (we might create a revision instead, but for now it is just impossible - UI does not allow this)
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

...

propertytyperequiredformat checkingstate of implementationremarks

_id

objectId, autoincrementyesisInteger

implemented


timestampdateyesauto generatedshould be format datetime
userobjectIdyesisIntegerimplemented (passed to service)
originSlideOriginno


implementedreferences the slide revision this slide was translated from (for keeping track of the translation links)
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 implementedmost likely a redundant field (except of status, which we might need)
translationsarray of {language: 'string', slide_id: object_id}no
implementedlanguage is in a 5-signs format
descriptionstringno
implemented
contributors[array of contributor ]no
not implemented
revisions[ array of SlideRevisions ]yesauto generatedimplemented
activeobjectId (integer)noif the revision exists, when a new deck is added is set to 1not implemented

is this really needed?

active shows on content items of resp.parent

datasourcestringno
not implemented
licensestring enumerationyesis one of enumerables ['CC0', 'CC BY', 'CC BY-SA']implementedshould move it from slide_revision moved
lastUpdatestring, datetimenoautogenerated on creation of new revisionnot implemented


SlideRevision = 

propertytyperequiredformat checkingstate of implementationremarks

id

integer, autoincrementyesisInteger

implemented


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

object { id: objectId, revision: objectId }

no
not implementedkeeps link to a previsous revision
speakerNotesstringno
implemented
popularityintegernoisIntegernot implemented
commentstringno
implementedcomment of revision
tagsarray of Tagsno
implemented
mediaarrayno
not implemented
dataSourcesarray of DataSourcesno
implemented
languagestringyes
implemented
usage

array of objects

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