text: 'use strict';
  const globalHooks = require('../../../hooks');
  const hooks = require('feathers-hooks');
  const auth = require('feathers-authentication').hooks;
  exports.before = {
      all: [],
      find: [],
      get: [],
      create: [
          auth.verifyToken(),
          auth.populateUser(),
          auth.restrictToAuthenticated(),
          auth.associateCurrentUser({ idField: 'id', as: 'fk_user_id' })
      ],
      update: [hooks.disable()],
      patch: [hooks.disable()],
      remove: [hooks.disable()]
  };
  exports.after = {
      all: [],
      find: [],
      get: [],
      create: [],
      update: [],
      patch: [],
      remove: []
  };
  //# sourceMappingURL=index.js.map