Home Identifier Source Repository

Identifier

Class Summary

Static Public Class Summary
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

Function Summary

Static Public Function Summary
public

Checks if a set of courses spans multiple departments.

public

buildAreaId(objectPattern: {"name": *, "type": *, "revision": *}): *

public

buildDept(course: Course): String

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

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

Checks a student objects graduation possibilities against all of its areas of study.

public
public

Checks that a list of courses spans at least two departments, but also

public

cleanUpPage(html: *): *

public

collectUsedCourses(expr: *): *

public

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

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

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
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

hasFOL(course: Course): Boolean

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
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
public
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

Takes a term and makes it pretty.

public

unescapeAllValues(obj: *): *

public

zipToObjectWithArrays(keys: *, vals: *): *

Variable Summary

Static Public Variable Summary
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

checkCourseAgainstQuery(query: Object, course: Course): Boolean: *

Checks if a course passes a query check.

public

courseMatches(coursesToMatchAgainst: Array, course: Object<Course>): Boolean: *

Checks if a course matches any qualifiers in a list of qualifiers.

public

coursesAboveNumber(level: Number, course: Object): Boolean: *

Checks if a course is above a given level.

public

coursesAtLevel(level: Number, course: Object): Boolean: *

Checks if a course is at a given level.

public

Checks if a course is at or above a given level.

public

db: *

public
public
public
public
public
public
public

hasGenEd(gened: String, course: Course): Boolean: *

Checks if a course has a gened.

public

isCurrentSemester(year: Number, semester: Number, schedule: Schedule): Boolean: *

Checks if a schedule is in a certain year and semester.

public

isCurrentYear(year: Number, schedule: Schedule): Boolean: *

Checks if a schedule is in a certain year.

public

isRequiredCourse(requiredCourses: Array<Course>, checkAgainst: Course): Boolean: *

Takes a list of required courses and checks if a course matches.

public

isTrue(val: Boolean): Boolean: *

Checks if a value is true

public
public
public

onlyCoursesAboveNumber(number: Number, courses: Array): Array: *

Looks for courses above a given number.

public

onlyCoursesAtLevel(level: Number, courses: Array): Array: *

Looks for courses at a given level.

public

Looks for courses at or above a given level.

public

partialName(partial: String, course: Course): Boolean: *

Checks if a course has a string in its name property.

public

partialNameOrTitle(partial: String | Array<String>, course: Course): Boolean: *

Checks if a course has a string or list of strings in either the name or title property.

public

partialTitle(partial: String, course: Course): Boolean: *

Checks if a course has a string in its title property.

public

sticky: *

public
public
public