mirror of
				https://github.com/lingble/twenty.git
				synced 2025-10-31 04:37:56 +00:00 
			
		
		
		
	Migrate to a monorepo structure (#2909)
This commit is contained in:
		| @@ -0,0 +1,23 @@ | ||||
| import { Router } from 'express'; | ||||
|  | ||||
| export enum ExceptionHandlerDriver { | ||||
|   Sentry = 'sentry', | ||||
|   Console = 'console', | ||||
| } | ||||
|  | ||||
| export interface ExceptionHandlerSentryDriverFactoryOptions { | ||||
|   type: ExceptionHandlerDriver.Sentry; | ||||
|   options: { | ||||
|     dns: string; | ||||
|     serverInstance: Router; | ||||
|     debug?: boolean; | ||||
|   }; | ||||
| } | ||||
|  | ||||
| export interface ExceptionHandlerDriverFactoryOptions { | ||||
|   type: ExceptionHandlerDriver.Console; | ||||
| } | ||||
|  | ||||
| export type ExceptionHandlerModuleOptions = | ||||
|   | ExceptionHandlerSentryDriverFactoryOptions | ||||
|   | ExceptionHandlerDriverFactoryOptions; | ||||
		Reference in New Issue
	
	Block a user
	 Charles Bochet
					Charles Bochet