Function
Static Public Summary | ||
public |
acrossAtLeastTwoDepartments(courses: Array): Boolean Checks if a set of courses spans multiple departments. |
|
public |
buildAreaId(objectPattern: {"name": *, "type": *, "revision": *}): * |
|
public |
Builds a department string from a course. |
|
public |
buildDeptNum(course: Course): String Builds a deptnum string from a course. |
|
public |
buildQueryFromString(queryString: string, opts: {}): * |
|
public |
calculateNextScheduleId(schedules: Array): Number Takes a list of schedules and finds the next id number. |
|
public |
cartesianProductOf(args: ...*): * |
|
public |
Checks if any courses in a list of courses pass a given lodash filter. |
|
public |
checkForInvalidSemester(course: *, scheduleSemester: *): * |
|
public |
checkForInvalidYear(course: *, scheduleYear: *): * |
|
public |
checkForTimeConflicts(courses: *): * |
|
public |
checkStudentGraduatability(student: Student): Promise Checks a student objects graduation possibilities against all of its areas of study. |
|
public |
|
|
public |
checkThatCoursesSpanDepartmentsAndGeneds(courses: Array<Course>, geneds: Array<String>): Boolean Checks that a list of courses spans at least two departments, but also |
|
public |
cleanUpPage(html: *): * |
|
public |
collectUsedCourses(expr: *): * |
|
public |
combinations(set: Array, k: Number): Array Get k-sized combinations of elements in a set. |
|
public |
* combinations(array: *[], count: number) |
|
public |
comboHasAllCourses(courses: *, combinationOfClasses: *): * |
|
public |
compute(requirement: *, objectPattern1: {"path": *, "courses": *, "overrides": *, "dirty": *}): * |
|
public |
computeBoolean(expr: Object, ctx: Requirement, courses: Course[], dirty: Course[]): boolean Computes the result of a boolean expression. |
|
public |
computeChunk(expr: Object, ctx: Requirement, courses: Course[], dirty: Course[]): boolean Computes the result of an expression. |
|
public |
computeCountWithOperator(objectPattern: {"comparator": *, "has": *, "needs": *}): * |
|
public |
computeCourse(expr: Object, courses: Course[], dirty: Course[]): boolean Computes the result of a course expression. |
|
public |
computeModifier(expr: Object, ctx: Requirement, courses: Course[]): boolean Computes the result of a modifier expression. |
|
public |
computeOccurrence(expr: Object, courses: Course[]): boolean Computes the result of an occurrence expression. |
|
public |
computeOf(expr: Object, ctx: Requirement, courses: Course[], dirty: Course[]): boolean Computes the result of an of-expression. |
|
public |
computeReference(expr: Object, ctx: Requirement): boolean Computes the result of a reference expression. |
|
public |
computeWhere(expr: Object, courses: Course[]): boolean Computes the result of a where-expression. |
|
public |
concatAndMerge(a: *, b: *): * |
|
public |
countGeneds(courses: Array, gened: Array): Number Counts the number of occurrences of a gened in a list of courses. |
|
public |
createSchedules(courses: *): * |
|
public |
enhanceHanson(data: *, objectPattern1: {"topLevel": *}): * |
|
public |
evaluate(objectPattern: {"courses": *, "overrides": *}, area: *): * |
|
public |
expandDepartment(dept: *): * |
|
public |
expandOldName(name: *): string |
|
public |
expandOldRevisionYear(revisionYear: *): string |
|
public |
expandOldType(type: *): string |
|
public |
expandYear(year: Number): String Takes a year and expands it. |
|
public |
filterByQualification(list: *, qualification: *, fullList: *): * |
|
public |
filterByWhereClause(baseList: *, clause: *, fullList: *): * |
|
public |
findAreaPath(objectPattern: {"name": *, "type": *, "revision": *}): string |
|
public |
findAreasOfStudy(areas: *, degreeType: *): * |
|
public |
findFirstAvailableSemester(schedules: Array | Immutable.List, forYear: Number): Number Takes a list of schedules and finds the first open semester. |
|
public |
findFirstAvailableYear(schedules: Array | Immutable.List, matriculation: Number): Number Takes a list of schedules and finds the first open year. |
|
public |
findLeafRequirements(requirement: Requirement): Course[] Searches recursively through a requirement tree to find all of the |
|
public |
findMissingNumberBinarySearch(arr: *): * |
|
public |
findResults(obj: *): * |
|
public |
findWarnings(courses: *, schedule: *): * |
|
public |
Gets a course from the database. |
|
public |
getCourses(clbids: Array | Immutable.List): Promise[] Gets a list of course ids from the database. |
|
public |
getDepartments(courses: Course[]): String[] It plucks the departments from a list of courses, and returns the uniq'd list. |
|
public |
Checks if a course has an FOL gened. |
|
public |
humanizeOperator(operator: *): string |
|
public |
incrementProgress(id: *, by: number): * |
|
public |
isIntercollegiateSport(course: Course): Boolean Only one SPM course credit may be earned by students as a result of |
|
public |
isogram() |
|
public |
json(response: *): * |
|
public |
loadArea(objectPattern: {"name": *, "type": *, "revision": *, "source": *, "isCustom": *}): * |
|
public |
loadData(): * |
|
public |
logError(objectPattern: {"error": *, "quiet": *, "id": *}, args: ...*): * |
|
public |
logMessage(id: *, message: *): * |
|
public |
makeStudent(tables: *, degreeType: *): * |
|
public |
migrateFromOldSave(objectPattern: {"id": *, "revisionYear": *}): * |
|
public |
nameTheTables(tables: *): * |
|
public |
onlyQuarterCreditCoursesCanBePassFail(course: Course): boolean |
|
public |
parseDataFromHTML(): * |
|
public |
parseDataFromJSON(jsonData: *): * |
|
public |
parseSIS(html: *): * |
|
public |
plugin(db: *, treo: *) |
|
public |
plugin(db: *, treo: *) |
|
public |
prepareCourseForQuery(course: *): * |
|
public |
prettifyCourses(jsonCourses: *): * |
|
public |
processAreaTable(areaTable: *): * |
|
public |
processCoursesTable(coursesTable: *): * |
|
public |
processGradTable(gradTable: *): * |
|
public |
processInfoTable(infoTable: *): * |
|
public |
quacksLikeDeptNum(deptNumString: String): Boolean Checks if a string looks like a deptnum. |
|
public |
queryCourseDatabase(queryString: *, baseQuery: {}): * |
|
public |
queryCourses(queryObj: Object, courses: Array<Course>): Array<Course> Queries the database for courses. |
|
public |
reducer(state: *, action: *): * |
|
public |
removeNotification(id: *): * |
|
public |
searchForCourseMatches(queryObject: *): * |
|
public |
semesterName(semester: Number): String Takes a semester number and returns the associated semester string. |
|
public |
slugifyAreaName(name: *): * |
|
public |
splitDeptNum(deptNumString: String, includeSection: Boolean): Object Splits a deptnum string (like "AS/RE 230A") into its components, |
|
public |
splitParagraph(string: string): * |
|
public |
start() |
|
public |
startProgress(id: *, message: string, objectPattern2: {"value": *, "max": *, "showButton": *}): * |
|
public |
status(response: *): * |
|
public |
tableToJson(table: *): * |
|
public |
text(response: *): * |
|
public |
toPrettyTerm(term: Number): String Takes a term and makes it pretty. |
|
public |
unescapeAllValues(obj: *): * |
|
public |
zipToObjectWithArrays(keys: *, vals: *): * |
Static Public
public acrossAtLeastTwoDepartments(courses: Array): Boolean source
import acrossAtLeastTwoDepartments from 'gobbldygook/src/helpers/across-at-least-two-departments.js'
Checks if a set of courses spans multiple departments.
Params:
Name | Type | Attribute | Description |
courses | Array | the list of courses. |
public buildAreaId(objectPattern: {"name": *, "type": *, "revision": *}): * source
import {buildAreaId} from 'gobbldygook/src/models/study.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"name": *, "type": *, "revision": *} |
|
Return:
* |
public buildDept(course: Course): String source
import buildDept from 'gobbldygook/src/helpers/build-dept.js'
Builds a department string from a course.
AS/RE => ASIAN/REL ASIAN/REL => ASIAN/REL ASIAN/RELIGION => ASIAN/REL
Params:
Name | Type | Attribute | Description |
course | Course | the course |
public buildDeptNum(course: Course): String source
import buildDeptNum from 'gobbldygook/src/helpers/build-dept-num.js'
Builds a deptnum string from a course.
Params:
Name | Type | Attribute | Description |
course | Course | the course |
public buildQueryFromString(queryString: string, opts: {}): * source
import buildQueryFromString from 'gobbldygook/src/helpers/build-query-from-string.js'
Params:
Name | Type | Attribute | Description |
queryString | string |
|
|
opts | {} |
|
Return:
* |
public calculateNextScheduleId(schedules: Array): Number source
import calculateNextScheduleId from 'gobbldygook/src/helpers/calculate-next-schedule-id.js'
Takes a list of schedules and finds the next id number.
Params:
Name | Type | Attribute | Description |
schedules | Array | the list of schedules |
public cartesianProductOf(args: ...*): * source
import cartesianProductOf from 'gobbldygook/src/helpers/cartesian-product.js'
Params:
Name | Type | Attribute | Description |
args | ...* |
Return:
* |
public checkCoursesFor(courses: Array, filter: String | Object | Function): Boolean source
import checkCoursesFor from 'gobbldygook/src/helpers/check-courses-for.js'
Checks if any courses in a list of courses pass a given lodash filter.
public checkForInvalidSemester(course: *, scheduleSemester: *): * source
import {checkForInvalidSemester} from 'gobbldygook/src/lib/find-course-warnings.js'
Params:
Name | Type | Attribute | Description |
course | * | ||
scheduleSemester | * |
Return:
* |
public checkForInvalidYear(course: *, scheduleYear: *): * source
import {checkForInvalidYear} from 'gobbldygook/src/lib/find-course-warnings.js'
Params:
Name | Type | Attribute | Description |
course | * | ||
scheduleYear | * |
Return:
* |
public checkForTimeConflicts(courses: *): * source
import {checkForTimeConflicts} from 'gobbldygook/src/lib/find-course-warnings.js'
Params:
Name | Type | Attribute | Description |
courses | * |
Return:
* |
public checkStudentGraduatability(student: Student): Promise source
import checkStudentGraduatability from 'gobbldygook/src/lib/check-student-graduatability.js'
Checks a student objects graduation possibilities against all of its areas of study.
Params:
Name | Type | Attribute | Description |
student | Student | the student object |
public checkSystemReqirements(): boolean source
import checkSystemReqirements from 'gobbldygook/src/start-things/system-requirements.js'
public checkThatCoursesSpanDepartmentsAndGeneds(courses: Array<Course>, geneds: Array<String>): Boolean source
import checkThatCoursesSpanDepartmentsAndGeneds from 'gobbldygook/src/helpers/check-that-courses-span-departments-and-geneds.js'
Checks that a list of courses spans at least two departments, but also checks to make sure that it's not one course that's spanning both.
public cleanUpPage(html: *): * source
import cleanUpPage from 'gobbldygook/src/lib/clean-the-page.js'
Params:
Name | Type | Attribute | Description |
html | * |
Return:
* |
public collectUsedCourses(expr: *): * source
import collectUsedCourses from 'gobbldygook/src/lib/collect-used-courses.js'
Params:
Name | Type | Attribute | Description |
expr | * |
Return:
* |
public combinations(set: Array, k: Number): Array source
import combinations from 'gobbldygook/src/helpers/base-combinations.js'
Get k-sized combinations of elements in a set.
Usage: combinations(set, k)
Examples:
combinations([1, 2, 3], 1) -> [[1], [2], [3]]
combinations([1, 2, 3], 2) -> [[1,2], [1,3], [2, 3]]
combinations([1, 2, 3], 3) -> [[1, 2, 3]]
combinations([1, 2, 3], 4) -> []
combinations([1, 2, 3], 0) -> []
combinations([1, 2, 3], -1) -> []
combinations([], 0) -> []
public * combinations(array: *[], count: number) source
import combinations from 'gobbldygook/src/helpers/combinations.js'
Params:
Name | Type | Attribute | Description |
array | *[] |
|
|
count | number |
|
public comboHasAllCourses(courses: *, combinationOfClasses: *): * source
import comboHasAllCourses from 'gobbldygook/src/lib/combo-has-courses.js'
Params:
Name | Type | Attribute | Description |
courses | * | ||
combinationOfClasses | * |
Return:
* |
public compute(requirement: *, objectPattern1: {"path": *, "courses": *, "overrides": *, "dirty": *}): * source
import compute from 'gobbldygook/src/lib/compute.js'
Params:
Name | Type | Attribute | Description |
requirement | * | ||
objectPattern1 | {"path": *, "courses": *, "overrides": *, "dirty": *} |
|
Return:
* |
public computeBoolean(expr: Object, ctx: Requirement, courses: Course[], dirty: Course[]): boolean source
import {computeBoolean} from 'gobbldygook/src/lib/compute-chunk.js'
Computes the result of a boolean expression.
Params:
Name | Type | Attribute | Description |
expr | Object | the expression to process |
|
ctx | Requirement | the requirement context |
|
courses | Course[] | the list of courses to search |
|
dirty | Course[] | the list of dirty courses |
public computeChunk(expr: Object, ctx: Requirement, courses: Course[], dirty: Course[]): boolean source
import computeChunk from 'gobbldygook/src/lib/compute-chunk.js'
Computes the result of an expression.
It operates by calling a more specific function based on the type of the expression.
There are three types of compute functions: those that need the surrounding context, those that don't, and the supervisor function.
Params:
Name | Type | Attribute | Description |
expr | Object | the expression to process |
|
ctx | Requirement | the entire requirement context |
|
courses | Course[] | the list of courses to search |
|
dirty | Course[] | the list of dirty courses |
public computeCountWithOperator(objectPattern: {"comparator": *, "has": *, "needs": *}): * source
import computeCountWithOperator from 'gobbldygook/src/lib/compute-count-with-operator.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"comparator": *, "has": *, "needs": *} |
|
Return:
* |
public computeCourse(expr: Object, courses: Course[], dirty: Course[]): boolean source
import {computeCourse} from 'gobbldygook/src/lib/compute-chunk.js'
Computes the result of a course expression.
Params:
Name | Type | Attribute | Description |
expr | Object | the expression to build a query from |
|
courses | Course[] | the list of courses to search |
|
dirty | Course[] | the list of dirty courses |
public computeModifier(expr: Object, ctx: Requirement, courses: Course[]): boolean source
import {computeModifier} from 'gobbldygook/src/lib/compute-chunk.js'
Computes the result of a modifier expression.
Params:
Name | Type | Attribute | Description |
expr | Object | the expression to process |
|
ctx | Requirement | the requirement context |
|
courses | Course[] | the list of courses to search |
public computeOccurrence(expr: Object, courses: Course[]): boolean source
import {computeOccurrence} from 'gobbldygook/src/lib/compute-chunk.js'
Computes the result of an occurrence expression.
Params:
Name | Type | Attribute | Description |
expr | Object | the expression to process |
|
courses | Course[] | the list of courses to search |
public computeOf(expr: Object, ctx: Requirement, courses: Course[], dirty: Course[]): boolean source
import {computeOf} from 'gobbldygook/src/lib/compute-chunk.js'
Computes the result of an of-expression.
Params:
Name | Type | Attribute | Description |
expr | Object | the expression to process |
|
ctx | Requirement | the requirement context |
|
courses | Course[] | the list of courses to search |
|
dirty | Course[] | the list of dirty courses |
public computeReference(expr: Object, ctx: Requirement): boolean source
import {computeReference} from 'gobbldygook/src/lib/compute-chunk.js'
Computes the result of a reference expression.
Params:
Name | Type | Attribute | Description |
expr | Object | the expression to process |
|
ctx | Requirement | the requirement context |
public computeWhere(expr: Object, courses: Course[]): boolean source
import {computeWhere} from 'gobbldygook/src/lib/compute-chunk.js'
Computes the result of a where-expression.
Params:
Name | Type | Attribute | Description |
expr | Object | the expression to process |
|
courses | Course[] | the list of courses to search |
public concatAndMerge(a: *, b: *): * source
import concatAndMerge from 'gobbldygook/src/helpers/concat-and-merge.js'
Params:
Name | Type | Attribute | Description |
a | * | ||
b | * |
Return:
* |
public countGeneds(courses: Array, gened: Array): Number source
import countGeneds from 'gobbldygook/src/helpers/count-geneds.js'
Counts the number of occurrences of a gened in a list of courses.
public createSchedules(courses: *): * source
import createSchedules from 'gobbldygook/src/lib/create-schedules.js'
Params:
Name | Type | Attribute | Description |
courses | * |
Return:
* |
public enhanceHanson(data: *, objectPattern1: {"topLevel": *}): * source
import enhanceHanson from 'gobbldygook/src/lib/enhance-hanson.js'
Params:
Name | Type | Attribute | Description |
data | * | ||
objectPattern1 | {"topLevel": *} |
|
Return:
* |
public evaluate(objectPattern: {"courses": *, "overrides": *}, area: *): * source
import evaluate from 'gobbldygook/src/lib/evaluate.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"courses": *, "overrides": *} |
|
|
area | * |
Return:
* |
public expandDepartment(dept: *): * source
import expandDepartment from 'gobbldygook/src/lib/expand-department.js'
Params:
Name | Type | Attribute | Description |
dept | * |
Return:
* |
public expandOldName(name: *): string source
import {expandOldName} from 'gobbldygook/src/models/study.js'
Params:
Name | Type | Attribute | Description |
name | * |
public expandOldRevisionYear(revisionYear: *): string source
import {expandOldRevisionYear} from 'gobbldygook/src/models/study.js'
Params:
Name | Type | Attribute | Description |
revisionYear | * |
public expandOldType(type: *): string source
import {expandOldType} from 'gobbldygook/src/models/study.js'
Params:
Name | Type | Attribute | Description |
type | * |
public expandYear(year: Number): String source
import expandYear from 'gobbldygook/src/helpers/expand-year.js'
Takes a year and expands it. eg. {in: 2012, out: 2012-13}
Params:
Name | Type | Attribute | Description |
year | Number | the year to expand |
public filterByQualification(list: *, qualification: *, fullList: *): * source
import {filterByQualification} from 'gobbldygook/src/lib/filter-by-where-clause.js'
Params:
Name | Type | Attribute | Description |
list | * | ||
qualification | * | ||
fullList | * |
Return:
* |
public filterByWhereClause(baseList: *, clause: *, fullList: *): * source
import filterByWhereClause from 'gobbldygook/src/lib/filter-by-where-clause.js'
Params:
Name | Type | Attribute | Description |
baseList | * | ||
clause | * | ||
fullList | * |
Return:
* |
public findAreaPath(objectPattern: {"name": *, "type": *, "revision": *}): string source
import findAreaPath from 'gobbldygook/src/lib/find-area-path.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"name": *, "type": *, "revision": *} |
|
public findAreasOfStudy(areas: *, degreeType: *): * source
import findAreasOfStudy from 'gobbldygook/src/lib/find-areas-of-study.js'
Params:
Name | Type | Attribute | Description |
areas | * | ||
degreeType | * |
Return:
* |
public findFirstAvailableSemester(schedules: Array | Immutable.List, forYear: Number): Number source
import findFirstAvailableSemester from 'gobbldygook/src/helpers/find-first-available-semester.js'
Takes a list of schedules and finds the first open semester. If they go [1, 2, 4] findFirstAvailableSemester will return 3. If it goes [1, 2, 3] findFirstAvailableSemester will return 4. Etc.
public findFirstAvailableYear(schedules: Array | Immutable.List, matriculation: Number): Number source
import findFirstAvailableYear from 'gobbldygook/src/helpers/find-first-available-year.js'
Takes a list of schedules and finds the first open year. If they go [2012, 2013, 2015] findFirstAvailableYear will return 2014. If it goes [2013, 2014, 2015] findFirstAvailableYear will return 2016. If schedules is empty, it will return the current year.
public findLeafRequirements(requirement: Requirement): Course[] source
import findLeafRequirements from 'gobbldygook/src/lib/find-leaf-requirements.js'
Searches recursively through a requirement tree to find all of the leaf requirements – all of the requirements with no children.
Params:
Name | Type | Attribute | Description |
requirement | Requirement | the root requirement |
Return:
Course[] | the leaf children |
public findMissingNumberBinarySearch(arr: *): * source
import findMissingNumberBinarySearch from 'gobbldygook/src/helpers/find-missing-number-binary-search.js'
Params:
Name | Type | Attribute | Description |
arr | * |
Return:
* |
public findResults(obj: *): * source
import findResults from 'gobbldygook/src/helpers/find-results.js'
Params:
Name | Type | Attribute | Description |
obj | * |
Return:
* |
public findWarnings(courses: *, schedule: *): * source
import {findWarnings} from 'gobbldygook/src/lib/find-course-warnings.js'
Params:
Name | Type | Attribute | Description |
courses | * | ||
schedule | * |
Return:
* |
public getCourse(clbid: Number): Promise source
import getCourse from 'gobbldygook/src/lib/get-course.js'
Gets a course from the database.
Params:
Name | Type | Attribute | Description |
clbid | Number | a class/lab ID |
public getCourses(clbids: Array | Immutable.List): Promise[] source
import getCourses from 'gobbldygook/src/lib/get-courses.js'
Gets a list of course ids from the database.
Params:
Name | Type | Attribute | Description |
clbids | Array | Immutable.List | a list of class/lab IDs |
public getDepartments(courses: Course[]): String[] source
import getDepartments from 'gobbldygook/src/helpers/get-departments.js'
It plucks the departments from a list of courses, and returns the uniq'd list.
Params:
Name | Type | Attribute | Description |
courses | Course[] | the list of courses |
public hasFOL(course: Course): Boolean source
import hasFOL from 'gobbldygook/src/helpers/has-fol.js'
Checks if a course has an FOL gened.
Params:
Name | Type | Attribute | Description |
course | Course | the course to check |
public humanizeOperator(operator: *): string source
import humanizeOperator from 'gobbldygook/src/lib/humanize-operator.js'
Params:
Name | Type | Attribute | Description |
operator | * |
public incrementProgress(id: *, by: number): * source
import {incrementProgress} from 'gobbldygook/src/ducks/notifications.js'
Params:
Name | Type | Attribute | Description |
id | * | ||
by | number |
|
Return:
* |
public isIntercollegiateSport(course: Course): Boolean source
import isIntercollegiateSport from 'gobbldygook/src/helpers/is-intercollegiate-sport.js'
Only one SPM course credit may be earned by students as a result of participation in an approved intercollegiate sport. This credit must be entered as Exercise Science 171-194 at the registration preceding the sport/participation term.
Params:
Name | Type | Attribute | Description |
course | Course | the course to check |
public json(response: *): * source
import {json} from 'gobbldygook/src/lib/fetch-helpers.js'
Params:
Name | Type | Attribute | Description |
response | * |
Return:
* |
public loadArea(objectPattern: {"name": *, "type": *, "revision": *, "source": *, "isCustom": *}): * source
import {loadArea} from 'gobbldygook/src/models/study.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"name": *, "type": *, "revision": *, "source": *, "isCustom": *} |
|
Return:
* |
public logError(objectPattern: {"error": *, "quiet": *, "id": *}, args: ...*): * source
import {logError} from 'gobbldygook/src/ducks/notifications.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"error": *, "quiet": *, "id": *} |
|
|
args | ...* |
Return:
* |
public logMessage(id: *, message: *): * source
import {logMessage} from 'gobbldygook/src/ducks/notifications.js'
Params:
Name | Type | Attribute | Description |
id | * | ||
message | * |
Return:
* |
public makeStudent(tables: *, degreeType: *): * source
import makeStudent from 'gobbldygook/src/lib/make-student.js'
Params:
Name | Type | Attribute | Description |
tables | * | ||
degreeType | * |
Return:
* |
public migrateFromOldSave(objectPattern: {"id": *, "revisionYear": *}): * source
import {migrateFromOldSave} from 'gobbldygook/src/models/study.js'
Params:
Name | Type | Attribute | Description |
objectPattern | {"id": *, "revisionYear": *} |
|
Return:
* |
public nameTheTables(tables: *): * source
import nameTheTables from 'gobbldygook/src/lib/name-the-tables.js'
Params:
Name | Type | Attribute | Description |
tables | * |
Return:
* |
public onlyQuarterCreditCoursesCanBePassFail(course: Course): boolean source
import onlyQuarterCreditCoursesCanBePassFail from 'gobbldygook/src/helpers/only-quarter-credit-courses-can-be-pass-fail.js'
Params:
Name | Type | Attribute | Description |
course | Course |
public parseDataFromHTML(): * source
import parseDataFromHTML from 'gobbldygook/src/lib/parse-data-from-html.js'
Return:
* |
public parseDataFromJSON(jsonData: *): * source
import parseDataFromJSON from 'gobbldygook/src/lib/parse-data-from-json.js'
Params:
Name | Type | Attribute | Description |
jsonData | * |
Return:
* |
public parseSIS(html: *): * source
import parseSIS from 'gobbldygook/src/lib/parse-sis.js'
Params:
Name | Type | Attribute | Description |
html | * |
Return:
* |
public plugin(db: *, treo: *) source
import plugin from 'gobbldygook/src/lib/query-treo-database.js'
Params:
Name | Type | Attribute | Description |
db | * | ||
treo | * |
public plugin(db: *, treo: *) source
import plugin from 'gobbldygook/src/lib/treo-batch-get.js'
Params:
Name | Type | Attribute | Description |
db | * | ||
treo | * |
public prepareCourseForQuery(course: *): * source
import prepareCourseForQuery from 'gobbldygook/src/lib/prepare-course-for-query.js'
Params:
Name | Type | Attribute | Description |
course | * |
Return:
* |
public prettifyCourses(jsonCourses: *): * source
import prettifyCourses from 'gobbldygook/src/lib/prettify-courses.js'
Params:
Name | Type | Attribute | Description |
jsonCourses | * |
Return:
* |
public processAreaTable(areaTable: *): * source
import processAreaTable from 'gobbldygook/src/lib/process-area-table.js'
Params:
Name | Type | Attribute | Description |
areaTable | * |
Return:
* |
public processCoursesTable(coursesTable: *): * source
import processCoursesTable from 'gobbldygook/src/lib/process-courses-table.js'
Params:
Name | Type | Attribute | Description |
coursesTable | * |
Return:
* |
public processGradTable(gradTable: *): * source
import processGradTable from 'gobbldygook/src/lib/process-grad-table.js'
Params:
Name | Type | Attribute | Description |
gradTable | * |
Return:
* |
public processInfoTable(infoTable: *): * source
import processInfoTable from 'gobbldygook/src/lib/process-info-table.js'
Params:
Name | Type | Attribute | Description |
infoTable | * |
Return:
* |
public quacksLikeDeptNum(deptNumString: String): Boolean source
import quacksLikeDeptNum from 'gobbldygook/src/helpers/quacks-like-dept-num.js'
Checks if a string looks like a deptnum.
Params:
Name | Type | Attribute | Description |
deptNumString | String | the deptnum |
public queryCourseDatabase(queryString: *, baseQuery: {}): * source
import queryCourseDatabase from 'gobbldygook/src/lib/query-course-database.js'
Params:
Name | Type | Attribute | Description |
queryString | * | ||
baseQuery | {} |
|
Return:
* |
public queryCourses(queryObj: Object, courses: Array<Course>): Array<Course> source
import queryCourses from 'gobbldygook/src/helpers/query-courses.js'
Queries the database for courses.
public reducer(state: *, action: *): * source
import reducer from 'gobbldygook/src/ducks/notifications.js'
Params:
Name | Type | Attribute | Description |
state | * |
|
|
action | * |
Return:
* |
public removeNotification(id: *): * source
import {removeNotification} from 'gobbldygook/src/ducks/notifications.js'
Params:
Name | Type | Attribute | Description |
id | * |
Return:
* |
public searchForCourseMatches(queryObject: *): * source
import searchForCourseMatches from 'gobbldygook/src/lib/search-for-course-matches.js'
Params:
Name | Type | Attribute | Description |
queryObject | * |
Return:
* |
public semesterName(semester: Number): String source
import semesterName from 'gobbldygook/src/helpers/semester-name.js'
Takes a semester number and returns the associated semester string.
Params:
Name | Type | Attribute | Description |
semester | Number | the semester (number) |
public slugifyAreaName(name: *): * source
import {slugifyAreaName} from 'gobbldygook/src/lib/find-area-path.js'
Params:
Name | Type | Attribute | Description |
name | * |
Return:
* |
public splitDeptNum(deptNumString: String, includeSection: Boolean): Object source
import splitDeptNum from 'gobbldygook/src/helpers/split-dept-num.js'
Splits a deptnum string (like "AS/RE 230A") into its components, like {depts: ['AS', 'RE'], num: 230, sect: 'A'}.
public splitParagraph(string: string): * source
import splitParagraph from 'gobbldygook/src/helpers/split-paragraph.js'
Params:
Name | Type | Attribute | Description |
string | string |
|
Return:
* |
public startProgress(id: *, message: string, objectPattern2: {"value": *, "max": *, "showButton": *}): * source
import {startProgress} from 'gobbldygook/src/ducks/notifications.js'
Params:
Name | Type | Attribute | Description |
id | * | ||
message | string |
|
|
objectPattern2 | {"value": *, "max": *, "showButton": *} |
|
Return:
* |
public status(response: *): * source
import {status} from 'gobbldygook/src/lib/fetch-helpers.js'
Params:
Name | Type | Attribute | Description |
response | * |
Return:
* |
public tableToJson(table: *): * source
import tableToJson from 'gobbldygook/src/lib/table-to-json.js'
Params:
Name | Type | Attribute | Description |
table | * |
Return:
* |
public text(response: *): * source
import {text} from 'gobbldygook/src/lib/fetch-helpers.js'
Params:
Name | Type | Attribute | Description |
response | * |
Return:
* |
public toPrettyTerm(term: Number): String source
import toPrettyTerm from 'gobbldygook/src/helpers/to-pretty-term.js'
Takes a term and makes it pretty. eg. {in: 20121, out: Fall 2012-13}
Params:
Name | Type | Attribute | Description |
term | Number | a term identifier. |
public unescapeAllValues(obj: *): * source
import unescapeAllValues from 'gobbldygook/src/lib/unescape-all-values.js'
Params:
Name | Type | Attribute | Description |
obj | * |
Return:
* |
public zipToObjectWithArrays(keys: *, vals: *): * source
import zipToObjectWithArrays from 'gobbldygook/src/helpers/zip-to-object-with-arrays.js'
Params:
Name | Type | Attribute | Description |
keys | * | ||
vals | * |
Return:
* |