Weblutions Documentation > Product Documentation > FaxTrack > FaxTrack Events

FaxTrack Events

Events are a great way to build and develop extensions in FaxTrack. Events are always being added and are documented here for your use in extensions or development of FaxTrack.

Using events is easy as pie, all you do is use the associated name and arguments. Here are some examples.

Listen for an event (on)

faxtrack.on('projectCreated', function(userObject, projectObject) {
  // Do as you wish in the event, you can fetch data and even do other actions like make an automated webhook post.
  console.log(userObject);
  // userObject is the data passed in the users session (in an object), this will contain some login service data like their ID, avatar, and possibly guilds.
  console.log(projectObject);
  // This is an SQL object which contains the users database information.
});

Events Dictionary

  • on is a listen event that triggers with faxstore.on()
  • emit is to emit an event to the system with faxstore.emit()


NameArgumentsDescriptionType
projectCreateduserObject, projectObjectEmits when a new project is createdon
projectEditeduserObject, projectObjectEmits when a project is editedon
projectDeleteduserObject, projectObjectEmits when a project is deletedon
issueCreateduserId, issueObjectEmits when an issue is createdon
issueSolveduserObject, solveObject, issueObjectEmits when an issue is marked as solvedon
issueDeleteduserObject, issueObjectEmits when an issue is deletedon
issueCommentuserObject, comment, issueObjectEmits when an issue is commented onon
feedbackCreateduserId, feedbackObjectEmits when a feedback topic is createdon
feedbackSolveduserObject, solveObject, feedbackObjectEmits when a feedback topic is marked as solvedon
feedbackDeleteduserObject, feedbackObjectEmits when a feedback topic is deletedon
feedbackCommentuserObject, comment, feedbackObjectEmits when a feedback topic is commented onon

Improve this page


Suggest an edit

Review this page

FAXES