SpoorTrackingModule

spoortracking. SpoorTrackingModule

Module for making course content compatible with spoor

Constructor

new SpoorTrackingModule()

Source:

Extends

  • AbstractModule

Methods

(async) init()

Source:

(async) insertTrackingId(data)

Source:
Adds the latest tracking ID to a block
Parameters:
Name Type Description
data Object The block data to update

(async) resetCourseTrackingIds(_courseId) → {Promise}

Source:
Resets all tracking IDs for a single course
Parameters:
Name Type Description
_courseId String The course _id
Returns:
Type
Promise

(async) resetTrackingHandler(req, res, next)

Source:
Express handler for reseting all tracking IDs for a single course
Parameters:
Name Type Description
req external:ExpressRequest
res external:ExpressResponse
next function