__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/**
* Retrieves notifications from the server.
*
* @module message_popup/notification_repository
* @copyright 2016 Ryan Wyllie <ryan@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
define("message_popup/notification_repository",["core/ajax","core/notification"],(function(Ajax,Notification){return{query:function(args){void 0===args.limit&&(args.limit=20),void 0===args.offset&&(args.offset=0);var request={methodname:"message_popup_get_popup_notifications",args:args},promise=Ajax.call([request])[0];return promise.fail(Notification.exception),promise},countUnread:function(args){var request={methodname:"message_popup_get_unread_popup_notification_count",args:args},promise=Ajax.call([request])[0];return promise.fail(Notification.exception),promise},markAllAsRead:function(args){var request={methodname:"core_message_mark_all_notifications_as_read",args:args},promise=Ajax.call([request])[0];return promise.fail(Notification.exception),promise},markAsRead:function(id,timeread){var args={notificationid:id};timeread&&(args.timeread=timeread);var request={methodname:"core_message_mark_notification_read",args:args},promise=Ajax.call([request])[0];return promise.fail(Notification.exception),promise}}}));
//# sourceMappingURL=notification_repository.min.js.map| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| notification_area_content_area.min.js | File | 3.12 KB | 0777 |
|
| notification_area_content_area.min.js.map | File | 9.02 KB | 0777 |
|
| notification_area_control_area.min.js | File | 6.48 KB | 0777 |
|
| notification_area_control_area.min.js.map | File | 20.23 KB | 0777 |
|
| notification_area_events.min.js | File | 388 B | 0777 |
|
| notification_area_events.min.js.map | File | 1.34 KB | 0777 |
|
| notification_popover_controller.min.js | File | 6.89 KB | 0777 |
|
| notification_popover_controller.min.js.map | File | 20.75 KB | 0777 |
|
| notification_repository.min.js | File | 1.28 KB | 0777 |
|
| notification_repository.min.js.map | File | 4.38 KB | 0777 |
|