// Hooks for service `nedb2`. (Can be re-generated.) import * as commonHooks from 'feathers-hooks-common'; import { HooksObject } from '@feathersjs/feathers'; // tslint:disable-next-line:no-unused-variable import nedb2Populate from './nedb-2.populate'; // !code: imports // !end // ! code: used // tslint:disable-next-line:no-unused-variable const { iff } = commonHooks; import validate from './nedb-2.validate'; // tslint:disable-next-line:no-unused-variable const { create, update, patch, validateCreate, validateUpdate, validatePatch } = validate; // !end // !code: init // !end let moduleExports: HooksObject = { before: { // ! code: before all: [], find: [], get: [], create: [], update: [], patch: [], remove: [] // !end }, after: { // ! code: after all: [], find: [], get: [], create: [], update: [], patch: [], remove: [] // !end }, error: { // ! code: error all: [], find: [], get: [], create: [], update: [], patch: [], remove: [] // !end }, // !code: moduleExports // !end }; // !code: exports // !end export default moduleExports; // !code: funcs // !end // !code: end // !end