{
  "type": "featherpanel.events.category",
  "category": "Notifications",
  "slug": "notifications",
  "total": 8,
  "events": [
    {
      "name": "featherpanel:admin:notifications:notification:created",
      "method": "onNotificationCreated",
      "category": "Notifications",
      "callback": "array notification data.",
      "emitted": true,
      "data_keys": [
        "created_by",
        "emailed",
        "notification_data",
        "notification_id"
      ],
      "source_files": [
        "backend/app/Controllers/Admin/NotificationsController.php"
      ]
    },
    {
      "name": "featherpanel:admin:notifications:notification:deleted",
      "method": "onNotificationDeleted",
      "category": "Notifications",
      "callback": "int notification id, array notification data.",
      "emitted": true,
      "data_keys": [
        "deleted_by",
        "notification_data",
        "notification_id"
      ],
      "source_files": [
        "backend/app/Controllers/Admin/NotificationsController.php"
      ]
    },
    {
      "name": "featherpanel:user:notifications:notification:dismissed",
      "method": "onNotificationDismissed",
      "category": "Notifications",
      "callback": "int notification id, int user id.",
      "emitted": true,
      "data_keys": [
        "notification_id",
        "user",
        "user_id"
      ],
      "source_files": [
        "backend/app/Controllers/User/NotificationController.php"
      ]
    },
    {
      "name": "featherpanel:admin:notifications:notification:not:found",
      "method": "onNotificationNotFound",
      "category": "Notifications",
      "callback": "int notification id, string error message.",
      "emitted": true,
      "data_keys": [
        "error_message",
        "notification_id"
      ],
      "source_files": [
        "backend/app/Controllers/Admin/NotificationsController.php"
      ]
    },
    {
      "name": "featherpanel:admin:notifications:notification:retrieved",
      "method": "onNotificationRetrieved",
      "category": "Notifications",
      "callback": "int notification id, array notification data.",
      "emitted": true,
      "data_keys": [
        "notification_data",
        "notification_id"
      ],
      "source_files": [
        "backend/app/Controllers/Admin/NotificationsController.php"
      ]
    },
    {
      "name": "featherpanel:admin:notifications:error",
      "method": "onNotificationsError",
      "category": "Notifications",
      "callback": "string error message, array context.",
      "emitted": false,
      "data_keys": [],
      "source_files": []
    },
    {
      "name": "featherpanel:admin:notifications:retrieved",
      "method": "onNotificationsRetrieved",
      "category": "Notifications",
      "callback": "array notifications list.",
      "emitted": true,
      "data_keys": [
        "filters",
        "limit",
        "notifications",
        "page",
        "pagination",
        "search",
        "total",
        "type"
      ],
      "source_files": [
        "backend/app/Controllers/Admin/NotificationsController.php"
      ]
    },
    {
      "name": "featherpanel:admin:notifications:notification:updated",
      "method": "onNotificationUpdated",
      "category": "Notifications",
      "callback": "int notification id, array old data, array new data.",
      "emitted": true,
      "data_keys": [
        "new_data",
        "notification_id",
        "old_data",
        "updated_by"
      ],
      "source_files": [
        "backend/app/Controllers/Admin/NotificationsController.php"
      ]
    }
  ]
}
