35 lines
1 KiB
TypeScript
35 lines
1 KiB
TypeScript
// Module ID: 5032
|
|
// Function ID: 5033
|
|
// Name: QualtricsStore
|
|
// Dependencies: [504, 585, 2]
|
|
|
|
// Module 5032 (QualtricsStore)
|
|
import get_initializedDefault from "get initialized" /* 504 */;
|
|
import DispatcherDefault from "Dispatcher" /* 585 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const obj = { surveys: new Map() };
|
|
new Map();
|
|
const Store = get_initializedDefault.Store;
|
|
class QualtricsStore extends Store {
|
|
getSurvey(arg0) {
|
|
const surveys = obj.surveys;
|
|
let value = surveys.get(arg0);
|
|
if (value == null) {
|
|
value = null;
|
|
}
|
|
return value;
|
|
}
|
|
}
|
|
const prototype = QualtricsStore.prototype;
|
|
QualtricsStore.displayName = "QualtricsStore";
|
|
const obj2 = {
|
|
QUALTRICS_SURVEY_FETCH_SUCCESS: function handleSurveyFetchSuccess(surveyId) {
|
|
const surveys = obj.surveys;
|
|
const result = surveys.set(surveyId.surveyId, surveyId.surveyDetails);
|
|
}
|
|
};
|
|
const qualtricsStore = new QualtricsStore(DispatcherDefault, obj2);
|
|
let result = size.fileFinishedImporting("modules/qualtrics/QualtricsStore.tsx");
|
|
|
|
export default qualtricsStore;
|