All files / src/queues/jobs index.ts

0% Statements 0/4
100% Branches 0/0
100% Functions 0/0
0% Lines 0/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29                                                         
import { AutoImportJob } from "./autoImport"
import { BudgetJob, EndpointJob, SimpleJob, TransactionJob } from "./BaseJob"
import { CheckBudgetLimitJob } from "./checkBudgetLimit"
import { LinkPaypalTransactionsJob } from "./linkPaypalTransactions"
import { RemoveTransactionMessagesJob } from "./removeTransactionMessages"
import { SetBudgetForTransactionJob } from "./setBudgetForTransaction"
import { SetCategoryForTransactionJob } from "./setCategoryForTransaction"
import { UnbudgetedTransactionsJob } from "./unbudgetedTransactions"
import { UncategorizedTransactionsJob } from "./uncategorizedTransactions"
import { UpdateBillsBudgetLimitJob } from "./updateBillsBudgetLimit"
import { UpdateLeftoverBudgetLimitJob } from "./updateLeftoverBudgetLimit"
 
export const simpleJobs: SimpleJob[] = [
  new UpdateLeftoverBudgetLimitJob(),
  new UpdateBillsBudgetLimitJob(),
  new LinkPaypalTransactionsJob(),
  new AutoImportJob(),
]
 
export const transactionJobs: TransactionJob[] = [
  new UnbudgetedTransactionsJob(),
  new UncategorizedTransactionsJob(),
  new RemoveTransactionMessagesJob(),
]
 
export const budgetJobs: BudgetJob[] = [new CheckBudgetLimitJob()]
 
export const endpointJobs: EndpointJob[] = [new SetCategoryForTransactionJob(), new SetBudgetForTransactionJob()]