@morojs/moro / MoroOptions
Interface: MoroOptions
Defined in: src/core/framework.ts:24
Extends
MoroOptions
Properties
autoDiscover?
optionalautoDiscover:boolean| {enabled?:boolean;failOnError?:boolean;ignorePatterns?:string[];loadingStrategy?:"eager"|"lazy"|"conditional";loadOrder?:"custom"|"alphabetical"|"dependency";maxDepth?:number;paths?:string[];patterns?:string[];recursive?:boolean;watchForChanges?:boolean; }
Defined in: src/types/core.ts:7
Inherited from
CoreMoroOptions.autoDiscover
compression?
optionalcompression:boolean|object
Defined in: src/types/core.ts:46
Inherited from
CoreMoroOptions.compression
config?
optionalconfig:any
Defined in: src/core/framework.ts:40
cors?
optionalcors:boolean|object
Defined in: src/types/core.ts:45
Inherited from
CoreMoroOptions.cors
database?
optionaldatabase:Partial<DatabaseConfig>
Defined in: src/types/core.ts:52
Inherited from
CoreMoroOptions.database
external?
optionalexternal:Partial<ExternalServicesConfig>
Defined in: src/types/core.ts:56
Inherited from
CoreMoroOptions.external
helmet?
optionalhelmet:boolean|object
Defined in: src/types/core.ts:47
Inherited from
CoreMoroOptions.helmet
http2?
optionalhttp2:boolean
Defined in: src/core/framework.ts:25
Overrides
CoreMoroOptions.http2
https?
optionalhttps:object
Defined in: src/core/framework.ts:26
ca?
optionalca:string|Buffer<ArrayBufferLike>
cert
cert:
string|Buffer<ArrayBufferLike>
key
key:
string|Buffer<ArrayBufferLike>
Overrides
CoreMoroOptions.https
logger?
optionallogger:boolean|LoggerOptions
Defined in: src/types/core.ts:48
Inherited from
CoreMoroOptions.logger
logging?
optionallogging:Partial<LoggingConfig>
Defined in: src/types/core.ts:54
Inherited from
CoreMoroOptions.logging
middleware?
optionalmiddleware:any[]
Defined in: src/types/core.ts:22
Inherited from
CoreMoroOptions.middleware
modules?
optionalmodules:Partial<ModuleDefaultsConfig>
Defined in: src/types/core.ts:53
Inherited from
CoreMoroOptions.modules
modulesPath?
optionalmodulesPath:string
Defined in: src/types/core.ts:21
Inherited from
CoreMoroOptions.modulesPath
performance?
optionalperformance:Partial<PerformanceConfig>
Defined in: src/types/core.ts:57
Inherited from
CoreMoroOptions.performance
runtime?
optionalruntime:RuntimeConfig
Defined in: src/types/core.ts:25
Inherited from
CoreMoroOptions.runtime
security?
optionalsecurity:Partial<SecurityConfig>
Defined in: src/types/core.ts:55
Inherited from
CoreMoroOptions.security
server?
optionalserver:Partial<ServerConfig>
Defined in: src/types/core.ts:51
Inherited from
CoreMoroOptions.server
websocket?
optionalwebsocket:false| {adapter?:WebSocketAdapter;compression?:boolean;customIdGenerator?: () =>string;enabled?:boolean;options?:WebSocketAdapterOptions; }
Defined in: src/core/framework.ts:31
Overrides
CoreMoroOptions.websocket