Versions Compared

Key

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

...

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 = SlideOrigin

propertytyperequiredstate of implemenation
idintegeryesimplemented
revisionintegeryesimplemented
titlestringnoimplemented
userintegerno

implemented

kindstringnoimplemented in branch 1319

...

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 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
not implementedimplementedlanguage 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

...