-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from Educado-App/offline-3-merge
[Team Offline Merge] updates models + created and updates routes
- Loading branch information
Showing
25 changed files
with
20,097 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = function makeFakeCourse() { | ||
|
||
return { | ||
sections: [], | ||
title: 'test course', | ||
category: 'test', | ||
difficulty: 1, | ||
hours: 10, | ||
description: "This course is a test course", | ||
dateCreated: new Date(), | ||
dateUpdated: new Date() | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = function makeFakeSection() { | ||
|
||
return { | ||
exercises: [], | ||
title: 'test section', | ||
description: 'this is a test section', | ||
sectionNumber: 1, | ||
createdAt: Date, | ||
modifiedAt: Date, | ||
totalPoints: 100, | ||
components: [], | ||
parentCourse: '', | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.