text: const { authenticate } = require('@feathersjs/authentication').hooks;
  
  module.exports = {
    before: {
      all: [],
      find: [],
      get: [ authenticate('jwt') ],
      create: [ authenticate('jwt') ],
      update: [ authenticate('jwt') ],
      patch: [ authenticate('jwt') ],
      remove: [ authenticate('jwt') ]
    },
  
    after: {
      all: [],
      find: [],
      get: [],
      create: [],
      update: [],
      patch: [],
      remove: []
    },
  
    error: {
      all: [],
      find: [],
      get: [],
      create: [],
      update: [],
      patch: [],
      remove: []
    }
  };
  