Skip to content

Commit

Permalink
Added Types and Interfaces to ProgressAD's ORM (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyumat committed Jan 8, 2023
1 parent 6eacae8 commit 5045247
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 257 deletions.
36 changes: 0 additions & 36 deletions backend/models/dixon.js

This file was deleted.

99 changes: 0 additions & 99 deletions backend/models/user.js

This file was deleted.

1 change: 1 addition & 0 deletions backend/models/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const userSchema = new mongoose.Schema<UserType>({
unique: false,
uppercase: true
},
// May be used for future features
// loginDateTime: {
// type: Date,
// required: false,
Expand Down
122 changes: 0 additions & 122 deletions backend/models/workout.js

This file was deleted.

1 change: 1 addition & 0 deletions backend/models/workout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type MachineType = mongoose.Document & {
}

type WorkoutType = mongoose.Document & {
_id: string;
username: string;
workOutType: EWorkoutType;
workOutIntensity: string;
Expand Down

0 comments on commit 5045247

Please sign in to comment.