diff --git a/docs/ecolyo/project_architecture/doctypes.md b/docs/ecolyo/project_architecture/doctypes.md index 1fb2ed20e645f51bc5c4b56ad7136aebc7a6918e..fcff0a9a98a46c57887c03dfb2fe71a87cb6ae5e 100644 --- a/docs/ecolyo/project_architecture/doctypes.md +++ b/docs/ecolyo/project_architecture/doctypes.md @@ -332,7 +332,6 @@ This doctype is used to store all additionnal information about a challenge star "ecogesture_id": "", "fluid_condition": [], "message_success": "Vous vous êtes connecté 3 fois à Ecolyo", - "priority_by_condition": 1, "progress": 0, "state": 2, "target": 3, @@ -460,18 +459,17 @@ This doctype is used to store all explorations. ### Structure -| Field | Type | Description | -| --------------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| \_id | string | exploration id - respect the format _EXPLORATION00X_ | -| state | UserExplorationState | State of the exploration<br><br>UserExplorationState enum<br>- _UNLOCKED = 0_<br>- _ONGOING = 1_<br>- _DONE = 2_ | -| description | string | description of the exploration | -| target | number | number of stars required to unlock an exploration | -| type | UserExplorationType | type of the exploration<br><br>UserExplorationType enum<br>- _DECLARATIVE = 0_<br>- _ACTION = 1_<br>- _CONSUMPTION = 2_<br>- _ECOGESTURE = 3_ | -| date | string or null | date of the exploration | -| ecogesture_id | string | ecogesture's id | -| fluid_condition | FluidType[] | Array of fluid type on which an exploration can have an impact<br><br>_FluidType enum:_<br>- _ELECTRICITY = 0_<br>- _WATER = 1_<br>- _GAS = 2_<br>- _MULTIFLUID = 3_ | -| priority_by_condition | number | priority order | -| message_success | string | message when exploration is done | +| Field | Type | Description | +| --------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| \_id | string | exploration id - respect the format _EXPLORATION00X_ | +| state | UserExplorationState | State of the exploration<br><br>UserExplorationState enum<br>- _UNLOCKED = 0_<br>- _ONGOING = 1_<br>- _DONE = 2_ | +| description | string | description of the exploration | +| target | number | number of stars required to unlock an exploration | +| type | UserExplorationType | type of the exploration<br><br>UserExplorationType enum<br>- _DECLARATIVE = 0_<br>- _ACTION = 1_<br>- _CONSUMPTION = 2_<br>- _ECOGESTURE = 3_ | +| date | string or null | date of the exploration | +| ecogesture_id | string | ecogesture's id | +| fluid_condition | FluidType[] | Array of fluid type on which an exploration can have an impact<br><br>_FluidType enum:_<br>- _ELECTRICITY = 0_<br>- _WATER = 1_<br>- _GAS = 2_<br>- _MULTIFLUID = 3_ | +| message_success | string | message when exploration is done | ### Example @@ -484,7 +482,6 @@ This doctype is used to store all explorations. "date": null, "ecogesture_id": "0032", "fluid_condition": [], - "priority_by_condition": 1, "message_success": "Vous avez consulté l'écogeste Chat échaudé", "state": 0, }