/
React Query Keys
React Query Keys
Key | Description |
---|---|
[ādegreeā] | Ā |
[āplannerā] | Ā |
[ācoursesā] | Ā |
Make more granular keys for better caching
BACKEND SCHEMA - For Reference:
# This is the top-level (lvl0) storage class that encapsulates everything
class Storage(TypedDict):
degree: DegreeLocalStorage
planner: PlannerLocalStorage
# Maps course-code to course object
courses: dict[str, CoursesStorage]
#
# Level 1 Storages container
#
# The user's degree and specialisations - shouldn't change often
class DegreeLocalStorage(TypedDict):
programCode: str
specs: list[str]
isComplete: bool
# "Planner"
class PlannerLocalStorage(TypedDict):
mostRecentPastTerm: MostRecentPastTerm
unplanned: list[str]
startYear: int
isSummerEnabled: bool
years: list[dict[str, list[str]]]
courses: dict[str, dict]
# class CoursesStorage(TypedDict):
code: str
suppressed: bool # pertains to if errors are suppressed
mark: int
Ā
Ā
, multiple selections available,
Related content
Database Format - CSElectives 2.0
š
Database Format - CSElectives 2.0
More like this
Data Schemas
Data Schemas
More like this
Timetable Scraper API
Timetable Scraper API
More like this
Database Format v2.0
Database Format v2.0
More like this
Meeting Minutes 22/03/2023
Meeting Minutes 22/03/2023
More like this