Skip to content

Commit

Permalink
Move db files to models and update SIS models
Browse files Browse the repository at this point in the history
Updated SIS models based on official documentation instead of just sampling.

Also, since these schemas also describe API responses, I felt it more appropriate to (re)name them to models.
  • Loading branch information
kevinzwang committed Nov 7, 2023
1 parent 240d1fe commit 331f3dd
Show file tree
Hide file tree
Showing 21 changed files with 468 additions and 623 deletions.
2 changes: 1 addition & 1 deletion backend/src/bootstrap/loaders/passport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type { Application } from "express";
import session from "express-session";
import passport from "passport";
import GoogleStrategy from "passport-google-oauth20";
import { UserModel } from "../../db/user";
import { UserModel } from "../../models/user";
import { config } from "../../config";

const LOGIN_ROUTE = "/login";
Expand Down
115 changes: 0 additions & 115 deletions backend/src/db/class.ts

This file was deleted.

207 changes: 0 additions & 207 deletions backend/src/db/course.ts

This file was deleted.

Loading

0 comments on commit 331f3dd

Please sign in to comment.