text: /* eslint-disable no-unused-vars */
  const { authenticate } = require('@feathersjs/authentication').hooks;
  const { authorize } = require('feathers-casl').hooks;
  const { getEnvAdapterDB } = require('../../plugins/db-helpers');
  
  const authorizeHook = authorize({ adapter: getEnvAdapterDB() });
  
  module.exports = {
    before: {
      all: [authorizeHook],
      find: [],
      get: [],
      create: [],
      update: [],
      patch: [],
      remove: []
    },
  
    after: {
      all: [authorizeHook],
      find: [],
      get: [],
      create: [],
      update: [],
      patch: [],
      remove: []
    },
  
    error: {
      all: [],
      find: [],
      get: [],
      create: [],
      update: [],
      patch: [],
      remove: []
    }
  };
  