UNPKG

surrogate

Version:

Object method hooks made easy

1 lines 929 B
{"mappings":"","sources":["src/index.ts"],"sourcesContent":["export type { RunCondition, RunConditionParameters } from './interfaces/runCondition';\nexport type { SurrogateEventManager } from './interfaces/surrogateEventManager';\nexport type { SurrogateOptions } from './interfaces/surrogateOptions';\nexport { SurrogateContext, MethodWrapper } from './constants';\nexport type { HandlerContainer } from './containers';\nexport { POST, PRE, BOTH, HookType } from './which';\nexport type { INext, NextOptions } from './next';\nexport { wrapSurrogate } from './proxy';\nexport * from './interfaces/surrogate';\nexport * from './decorate';\nexport type {\n RunOnBail,\n RunOnError,\n RunOnBailParameters,\n RunOnErrorParameters,\n} from './interfaces/runOn';\nexport type {\n NextHandler,\n NextParameters,\n SurrogateHandlerOptions,\n} from './interfaces/handlerOptions';\n"],"names":[],"version":3,"file":"module.mjs.map"}