Files
adopt-a-street/node_modules/kareem/index.d.ts
William Valentin 5aca521c52 feat: Complete CouchDB migration and Docker configuration
- Add comprehensive CouchDB setup and configuration
- Update Docker files for CouchDB compatibility
- Create Kubernetes manifests for CouchDB deployment
- Add migration scripts and documentation
- Update seeding scripts to support both CouchDB and MongoDB
- Add docker-compose for local development
- Create comprehensive setup and deployment guides

🤖 Generated with [AI Assistant]

Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
2025-11-01 13:32:39 -07:00

30 lines
1.3 KiB
TypeScript

declare module "kareem" {
export default class Kareem {
static skipWrappedFunction(): SkipWrappedFunction;
static overwriteMiddlewareResult(): OverwriteMiddlewareResult;
pre(name: string | RegExp, fn: Function): this;
pre(name: string | RegExp, options: Record<string, any>, fn: Function, error?: any, unshift?: boolean): this;
post(name: string | RegExp, fn: Function): this;
post(name: string | RegExp, options: Record<string, any>, fn: Function, unshift?: boolean): this;
clone(): Kareem;
merge(other: Kareem, clone?: boolean): this;
createWrapper(name: string, fn: Function, context?: any, options?: Record<string, any>): Function;
createWrapperSync(name: string, fn: Function): Function;
hasHooks(name: string): boolean;
filter(fn: Function): Kareem;
wrap(name: string, fn: Function, context: any, args: any[], options?: Record<string, any>): Function;
execPostSync(name: string, context: any, args: any[]): any;
execPost(name: string, context: any, args: any[], options?: Record<string, any>, callback?: Function): void;
execPreSync(name: string, context: any, args: any[]): any;
execPre(name: string, context: any, args: any[], callback?: Function): void;
}
class SkipWrappedFunction {}
class OverwriteMiddlewareResult {}
}