These docs are still being written. Help out by making a PR on GitHub
Number: The version number of DTPS in number form (XYZ) instead of X.Y.Z for changlogs and comparing versions
String: The displayed version number of DTPS in the form vX.Y.Z track. Must start with v and the track part is optional and only used in pre-release versions of DTPS.
String: The the track part of dtps.readableVer (i.e. " (dev)"). Must start with a space so it can be added to things without messing up formatting.
Boolean: Specifies if the show letter grades instead of points earned experiment is enabled
Number: Specifies amount of unread announcements (not used)
Array: The DTPS stream array of the currently loaded stream (for search)
Object: The Firebase Auth Provider object used for linking Google Classroom
Array: An array that is used to specify colors for classes before loading dtps.classes array. Only used temporarily, use dtps.classes[n].col after DTPS is loaded.
Array: An array that is used to specify locations for classes before loading dtps.classes array. Only used temporarily, use dtps.classes[n].loc after DTPS is loaded.
Array: An array of DTPS class objects. The most important variable in DTPS. Contains all classes and their information, including assignments, stream, Google, and basically everything.
Number: Represents the amount of classes that have loaded their streams. Used for the loading indicator on dtps.masterStream.
Array: Used to render HTML for the sidebar in dtps.showClasses
String: Represents the authentication token paramater used for making Google Classroom web request
Boolean: A variable that represents if the user is using DTPS for the first time. Used to call dtps.firstrun
Object: The fusejs object for search
Array: Represents raw class data pulled from the Google Classroom API. Includes all classes.
Object: The XMLHttpRequests used to make web requests. They are stored in an object based on the request's URL instead of a variable to prevent conflicts.
Array: A copy of the latest stream that was rendered. Lets search figure out what to search.
String: Represents the selected tab on the master stream. This isn't used anymore since the dashboard removed masterStream tabs
String: Used for debugging raw web request data. This should basically never be used.
Represents parsed web request data for debugging. This can really be any type, but is usually an array.
Object: Stores raw web request data made with dtps.webReq so repeated request already have a copy of site content and load instantly.
Number: Represents the class number of the selected class in the sidebar. Frequently used as dtps.classes[dtps.selectedClass] to get the current class object.
String: Represents the selected tab in a class. i.e. stream, google, pages, or grades.
Boolean: Defind in dtps.init. Represents if all checks have passed. When set to true, dtps.init calls dtps.render to continue loading DTPS. When false, an error message is shown and DTPS is not loaded.
Boolean: (not used anymore) Determines if the user is using an outdated bookmark script.
Object: Represents the current user as defined by PowerSchool in HaikuContext.user. DTPS adds google (google user object) and prof (PowerSchool profile picture URL) to this object.