Resolve "Add script for exporting questions"
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