"use strict";

import Wrapper from '../constants/wrapper';

const constants = [];

const requests = [
  "LOAD_ASSESSMENT",
  "ASSESSMENT_POST_ANALYTICS",
  "ASSESSMENT_POST_LTI_OUTCOME"
];

export const Constants = Wrapper(constants, requests);

export const loadAssessment = (assessmentId) => ({
  type: Constants.LOAD_ASSESSMENT,
  apiCall:true,
  assessmentId
});

export const assessmentPostAnalytics = (results_id, user_id='') => ({
  type:Constants.ASSESSMENT_POST_ANALYTICS,
  results_id,
  user_id
});

export const assessmentPostLtiOutcome = (results_id) => ({
  type:Constants.ASSESSMENT_POST_LTI_OUTCOME,
  results_id,
});

@@ -15,17 +15,17 @@
 %0Aimport 
-W
+w
 rapper f
@@ -212,9 +212,9 @@
 s = 
-W
+w
 rapp
@@ -270,27 +270,22 @@
 ment = (
-assessmentI
+url, i
 d) =%3E (%7B
@@ -342,19 +342,16 @@
 ,%0A  
-assessmentI
+url,%0A  i
 d%0A%7D)

allow loading of assessment via id or url