kalisio/kBilling

View on GitHub
src/services/billing/billing.hooks.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { populateBillingObject } from '../../hooks'

module.exports = {
  before: {
    all: [],
    find: [],
    get: [],
    create: [populateBillingObject],
    update: [populateBillingObject],
    patch: [],
    remove: [populateBillingObject]
  },

  after: {
    all: [],
    find: [],
    get: [],
    create: [],
    update: [],
    patch: [],
    remove: []
  },

  error: {
    all: [],
    find: [],
    get: [],
    create: [],
    update: [],
    patch: [],
    remove: []
  }
}