From 2d8927aa4cb3a3070b5b0135b2d769c58780d967 Mon Sep 17 00:00:00 2001 From: Augusto Date: Tue, 8 Jun 2021 14:30:29 +0100 Subject: [PATCH] Add description for some attributes --- docs/database-structure.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/database-structure.md b/docs/database-structure.md index 6aa100567..eb9915576 100644 --- a/docs/database-structure.md +++ b/docs/database-structure.md @@ -108,6 +108,10 @@ Columns: - referencedAt, The timestamp of the creation of the copy object #### Attributes (attrs) +##### Objects +- inScope: This attribute is used to determine if the exercise gives XP or not. If an exercise is not in scope then it doesn't give XP. + +- status: It can have the values `blocked`, `available`, `succeeded` or `failed` TODO: Finish documenting the json attributes that can be used ##### Quests - `duration`, `startDay`, `start`, `scopeExtraDuration`, `hasStarted`, `special`, `scopeEnd`, `rootName`, `repositoryPath`, `status`, `scopeStart`, `difficulty`, `difficultyMod`, `baseXp`, `language`, `group`, `exerciseType`, `preRequisiteId`, `delay` `parentType`, `inScope`, `xpIndex`, `level`, `difficulty`