feature/IO-3096-GlobalNotifications - Check-point
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
const tasksUpdatedCreatedBuilder = require("../scenarioBuilders/tasksUpdatedCreatedBuilder");
|
||||
|
||||
// Key: scenario name
|
||||
// Table: table name to check for changes
|
||||
// Fields: fields to check for changes
|
||||
// OnNew: whether the scenario should be triggered on new data
|
||||
// Builder: function to handle the scenario
|
||||
|
||||
const tasksUpdatedCreatedBuilder = require("../scenarioBuilders/tasksUpdatedCreatedBuilder");
|
||||
const notificationScenarios = [
|
||||
{ key: "job-assigned-to-me", table: "jobs" },
|
||||
{ key: "job-assigned-to-me", table: "jobs", fields: ["scheduled_in", "scheduled_completion", "scheduled_delivery"] },
|
||||
{ key: "bill-posted", table: "bills" },
|
||||
{ key: "new-note-added", table: "notes", onNew: true },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user