src/app/shared/class/class.ts
BookUsefulnessAvg |
BookUsefulnessAvg: |
Type : number
|
BookUsefulnessCount |
BookUsefulnessCount: |
Type : number
|
category |
category: |
Type : string
|
ClassName |
ClassName: |
Type : string
|
computerScience |
computerScience: |
Type : { isComputerScience: boolean; category?: string; }
|
courseId |
courseId: |
Type : string
|
CourseNumber |
CourseNumber: |
Type : string
|
dataScience |
dataScience: |
Type : { isDataScience: boolean; category?: string; }
|
DifficultyAvg |
DifficultyAvg: |
Type : number
|
DifficultyCount |
DifficultyCount: |
Type : number
|
GraphicColor |
GraphicColor: |
Type : string
|
GraphicThumbnail |
GraphicThumbnail: |
Type : string
|
GraphicUrl |
GraphicUrl: |
Type : string
|
languages |
languages: |
Type : string[]
|
lastUpdated |
lastUpdated: |
Type : Timestamp
|
LectureQualityAvg |
LectureQualityAvg: |
Type : number
|
LectureQualityCount |
LectureQualityCount: |
Type : number
|
meta |
meta: |
Type : { exams: boolean; homework: boolean; "peer reviewed": boolean; projects: boolean; proofs: boolean...
|
PiazzaCommunityAvg |
PiazzaCommunityAvg: |
Type : number
|
PiazzaCommunityCount |
PiazzaCommunityCount: |
Type : number
|
ProfessorQualityAvg |
ProfessorQualityAvg: |
Type : number
|
ProfessorQualityCount |
ProfessorQualityCount: |
Type : number
|
RatingAvg |
RatingAvg: |
Type : number
|
RatingCount |
RatingCount: |
Type : number
|
season |
season: |
Type : { spring: boolean; summer: boolean; fall: boolean; }
|
semesters |
semesters: |
Type : { [key: string]: number; }
|
Teacher |
Teacher: |
Type : string
|
Textbook |
Textbook: |
Type : boolean
|
TextbookName |
TextbookName: |
Type : string
|
WorkloadAvg |
WorkloadAvg: |
Type : number
|
WorkloadCount |
WorkloadCount: |
Type : number
|
import { Timestamp } from "@firebase/firestore-types";
export interface ClassData {
courseId: string,
BookUsefulnessAvg: number,
BookUsefulnessCount: number,
ClassName: string,
CourseNumber: string,
DifficultyAvg: number,
DifficultyCount: number,
GraphicThumbnail: string,
GraphicColor: string,
GraphicUrl: string,
LectureQualityAvg: number,
LectureQualityCount: number,
PiazzaCommunityAvg: number,
PiazzaCommunityCount: number,
ProfessorQualityAvg: number,
ProfessorQualityCount: number,
RatingAvg: number,
RatingCount: number,
Teacher: string,
Textbook: boolean,
TextbookName: string,
WorkloadAvg: number,
WorkloadCount: number,
category: string,
computerScience: {
isComputerScience: boolean,
category?: string,
},
dataScience: {
isDataScience: boolean,
category?: string,
},
languages: string[] | null,
lastUpdated: Timestamp,
meta: {
exams: boolean,
homework: boolean,
"peer reviewed": boolean,
projects: boolean,
proofs: boolean,
},
season: {
spring: boolean,
summer: boolean,
fall: boolean
},
semesters: {[key: string]: number},
}