The state of the main store
- Source
Members
(static) account_doc
PropertiesName | Type | Description |
---|---|---|
account_doc | Object | The authenticated user's document from the users collection in firestore |
- Default Value
- null
- Source
- See
- active_doc
(static) classes
PropertiesName | Type | Description |
---|---|---|
classes | Array | Collection of the firebase document ids of classes that the user is in |
- Default Value
- []
- Source
- See
- fetch_classes
- get_tasks
- tasks
(static) linked_account_doc
PropertiesName | Type | Description |
---|---|---|
linked_account_doc | Object | The linked account document from the users collection in firestore |
- Default Value
- null
- Source
- See
- active_doc
(static) loaded_classes
PropertiesName | Type | Description |
---|---|---|
loaded_classes | Array | The classes that have been loaded for the loaded_email (for previews in AddClass.vue) |
- Default Value
- null
- Source
- See
- loaded_email
- fetch_classes_by_email
(static) loaded_email
PropertiesName | Type | Description |
---|---|---|
loaded_email | String | The email of the user that the classes have been loaded for (for previews in AddClass.vue) |
- Default Value
- null
- Source
- See
- loaded_classes
- fetch_classes_by_email
(static) logout_prompt
PropertiesName | Type | Description |
---|---|---|
logout_prompt | Boolean | If the app is showing a logout prompt (true) or not (false) |
- Default Value
- false
- Source
(static) paused
PropertiesName | Type | Description |
---|---|---|
paused | Boolean | If the app is paused (true) or not (false) |
- Default Value
- false
- Source
- See
- show_timeout
- hide_timeout
(static) personal_account
PropertiesName | Type | Description |
---|---|---|
personal_account | Boolean | If the user is using their personal account (true) or a valid org account (false) |
- Default Value
- false
- Source
- See
- linked_account_doc
- linked_account_ref
- active_doc
- active_ref
(static) tasks
PropertiesName | Type | Description |
---|---|---|
tasks | Array | Collection of the processed task objects |
- Default Value
- []
- Source
- See
- get_tasks
(static) teacher
PropertiesName | Type | Description |
---|---|---|
teacher | Object | The teacher object, with doc_ref and collection_ref |
- Default Value
- {doc_ref: null, collection_ref: null}
- Source
- See
- is_teacher
- create_teacher_doc
(static) theme
PropertiesName | Type | Description |
---|---|---|
theme | Theme | The theme of the app, either Theme.Light or Theme.Dark |
- Default Value
- null
- Source
- See
- get_theme
- toggle_theme
- clear
(static) user
PropertiesName | Type | Description |
---|---|---|
user | Object | The user object from firebase auth |
- Default Value
- null
- Source