-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve arrange script (#170)
Re-writes the arranger script to polish off some inconsistencies with the QBs: - Removes all redundant values from the QB. All redundant values are inferred at "compile" time. Example, "questionBank" field from questions. - Removes all boilerplate files. If a given LO has no `annexes`, there won't be an `annex.json` and empty `annex` folder. These will be created if needed. - Add subjects as an LO. A subject now points to an LO as entry point.
- Loading branch information
Showing
5,256 changed files
with
40,396 additions
and
188,625 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Empty file.
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,3 @@ | ||
export const keepUnique = <T>(arr: T[]): T[] => { | ||
return [...new Set(arr)]; | ||
}; |
1 change: 0 additions & 1 deletion
1
libs/content/question-bank-atpl/content/010/010.01/010.01.01/010.01.01.01/annexes.json
This file was deleted.
Oops, something went wrong.
Empty file.
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
1 change: 0 additions & 1 deletion
1
libs/content/question-bank-atpl/content/010/010.01/010.01.01/010.01.01.02/annexes.json
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.