38 lines
1.5 KiB
JavaScript
38 lines
1.5 KiB
JavaScript
// This file is part of Moodle - http://moodle.org/
|
|
//
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/**
|
|
* Provides a list of events that can be triggered in the LTI management
|
|
* page.
|
|
*
|
|
* @module mod_lti/events
|
|
* @class events
|
|
* @copyright 2015 Ryan Wyllie <ryan@moodle.com>
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
* @since 3.1
|
|
*/
|
|
define([], function() {
|
|
return /** @alias module:mod_lti/events */ {
|
|
NEW_TOOL_TYPE: 'lti.tool.type.new',
|
|
START_EXTERNAL_REGISTRATION: 'lti.registration.external.start',
|
|
STOP_EXTERNAL_REGISTRATION: 'lti.registration.external.stop',
|
|
START_CARTRIDGE_REGISTRATION: 'lti.registration.cartridge.start',
|
|
STOP_CARTRIDGE_REGISTRATION: 'lti.registration.cartridge.stop',
|
|
REGISTRATION_FEEDBACK: 'lti.registration.feedback',
|
|
CAPABILITIES_AGREE: 'lti.tool.type.capabilities.agree',
|
|
CAPABILITIES_DECLINE: 'lti.tool.type.capabilities.decline',
|
|
};
|
|
});
|