diff --git a/angular.json b/angular.json index 222a0fa687b9f059143d5a45fea84d39f5223168..9d3fdad66aeb2ee8a0b24ece9ff6af470b63346d 100644 --- a/angular.json +++ b/angular.json @@ -24,6 +24,7 @@ ], "styles": [ "src/assets/material-theme.scss", + "src/assets/sass/general.scss", "src/styles.css" ], "scripts": [ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 08abb982fddd73e41e2bf60ede94f9d55f1dc1a9..26971d6773ab3c05f60a8fbe26422d95205e3aee 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,12 +1,14 @@ import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; +import { HttpClientModule } from '@angular/common/http'; import { AppRoutingModule } from './app.routing.module'; import { AppComponent } from './app.component'; import { CoreModule } from './core/core.module'; import { SharedModule } from './shared/shared.module'; import { DegreePlannerModule } from './degree-planner/degree-planner.module'; +import { ConfigService } from './core/config.service'; @NgModule({ imports: [ @@ -15,10 +17,11 @@ import { DegreePlannerModule } from './degree-planner/degree-planner.module'; DegreePlannerModule, CoreModule, SharedModule, - AppRoutingModule + AppRoutingModule, + HttpClientModule ], declarations: [ - AppComponent, + AppComponent ], providers: [], bootstrap: [ AppComponent ], diff --git a/src/app/core/models/courses.ts b/src/app/core/models/courses.ts new file mode 100644 index 0000000000000000000000000000000000000000..3dcfcfaa7449583be5b92e398b7ddebf74fa2714 --- /dev/null +++ b/src/app/core/models/courses.ts @@ -0,0 +1,33 @@ +export interface Course { + id: number; + courseId: string; + termCode: string; + topicId: number; + title: string; + subjectCode: string; + catalogNumber: string; + credits: number; + creditMin: number; + creditMax: number; + grade: any; + classNumber: string; + courseOrder: number; + honors: string; + waitlist: string; + relatedClassNumber1: any; + relatedClassNumber2: any; + classPermissionNumber: any; + sessionCode: any; + validationResults: any[]; + enrollmentResults: any[]; + pendingEnrollments: any[]; + details: any; + classMeetings: any; + enrollmentOptions: any; + packageEnrollmentStatus?: any; + creditRange: any; +} + +export interface TermContainer { + termCode: string; +} diff --git a/src/assets/sass/general.scss b/src/assets/sass/general.scss new file mode 100644 index 0000000000000000000000000000000000000000..97b67203ea91fd52332eb0898e8c005de852c576 --- /dev/null +++ b/src/assets/sass/general.scss @@ -0,0 +1,11 @@ +body { + margin: 0px; +} + +.text-right { + text-align: right; +} + +.semi-bold { + font-weight: 700; +} \ No newline at end of file diff --git a/src/styles.css b/src/styles.css index 63a3f474cc9ce982cae477940d9b9382b9164cae..e50a47e75cc8b5739fd0a0e965708f8e526a321c 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1,4 +1 @@ -/* You can add global styles to this file, and also import other style files */ -body { - margin: 0px; -} +/* You can add global styles to this file, and also import other style files */ \ No newline at end of file