Source: job-event-dto.js

/**
 * @typedef {'interceptError' | 'interceptPreProcess' | 'inrterceptPostProcess' | 'interceptRecord' | 'interceptResult' } EventType
 *
 */
class JobEventDTO {
  /**
   *
   * @param {EventType} eventType
   * @param {any} payload
   */
  constructor (eventType, payload) {
    this.eventType = eventType
    this.payload = payload
  }
}

export default JobEventDTO