Skip to content

Resolve "Add script for exporting questions"

Noel Simmel requested to merge 1130-add-script-for-exporting-questions into main

Closes #1130 (closed)

The problem is that it isn't easily possible (afaik?) to import variables from TS files in JS. So I manually copied configs from CuratedDefaultQuestionStoreService, CuratedExtendedQuestionStoreService and CuratedAdhdQuestionStoreService into a temporary file question_configs.js and import that variable in the script. This seemed like the best solution as we were in a time crunch. I wouldn't wanna add that "temporary" file to the repo since it doesn't serve any purpose by itself and might become outdated quickly. Here it is: question_configs.js

Better ideas are very welcome!

Here is the output: questions.tsv

You can also view it on Google Sheets here

Edited by Noel Simmel

Merge request reports

Loading