Skip to content
Snippets Groups Projects
Commit bbf07de5 authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

feat(loader): Add doc for loader

parent d38b2160
No related branches found
No related tags found
No related merge requests found
Pipeline #22066 failed
......@@ -139,3 +139,37 @@ UserDuelEntity {
### Data managment schema
![Data Scheme](/img/challengeFlow.png)
### Loader
The initialization process displays progression steps in the splash screen so the user can see what is happening while it is loading. Each initialization function set an error if it fails, which is shown on the Slpash error screnn.
Available loading steps are the followings :
````
MIGRATION = 0,
CONSENT = 1,
PROFILE = 2,
ECOGESTURE = 3,
CHALLENGES = 4,
PRICES = 5,
CONSOS = 6,
```
Possible errors are the followings :
```
MIGRATION_ERROR = 'migration_error',
CONSENT_ERROR = 'consent_error',
PROFILE_ERROR = 'profile_error',
PROFILETYPE_ERROR = 'profileType_error',
ECOGESTURE_ERROR = 'ecogesture_error',
CHALLENGES_ERROR = 'challenges_error',
ANALYSIS_ERROR = 'analysis_error',
INDEX_ERROR = 'index_error',
PRICES_ERROR = 'prices_error',
CONSOS_ERROR = 'consos_error',
PARTNERS_ERROR = 'partners_error',
UNKNOWN_ERROR = 'unknown_error',
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment