@morojs/moro / MoroOptions
Interface: MoroOptions
Defined in: src/core/framework.ts:86
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:61
Inherited from
CoreMoroOptions.compression
config?
optionalconfig?:any
Defined in: src/core/framework.ts:102
cors?
optionalcors?:boolean|object
Defined in: src/types/core.ts:60
Inherited from
CoreMoroOptions.cors
database?
optionaldatabase?:Partial<DatabaseConfig>
Defined in: src/types/core.ts:83
Inherited from
CoreMoroOptions.database
external?
optionalexternal?:Partial<ExternalServicesConfig>
Defined in: src/types/core.ts:87
Inherited from
CoreMoroOptions.external
helmet?
optionalhelmet?:boolean|object
Defined in: src/types/core.ts:62
Inherited from
CoreMoroOptions.helmet
http2?
optionalhttp2?:boolean|Http2ServerOptions
Defined in: src/core/framework.ts:87
Overrides
CoreMoroOptions.http2
https?
optionalhttps?:object
Defined in: src/core/framework.ts:88
ca?
optionalca?:string|Buffer<ArrayBufferLike>
cert
cert:
string|Buffer<ArrayBufferLike>
key
key:
string|Buffer<ArrayBufferLike>
Overrides
CoreMoroOptions.https
jobs?
optionaljobs?:Partial<JobsConfig|undefined>
Defined in: src/types/core.ts:89
Inherited from
CoreMoroOptions.jobs
logger?
optionallogger?:boolean|LoggerOptions
Defined in: src/types/core.ts:63
Inherited from
CoreMoroOptions.logger
logging?
optionallogging?:Partial<LoggingConfig>
Defined in: src/types/core.ts:85
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:84
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:88
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:86
Inherited from
CoreMoroOptions.security
server?
optionalserver?:Partial<ServerConfig>
Defined in: src/types/core.ts:82
Inherited from
CoreMoroOptions.server
validation?
optionalvalidation?:object
Defined in: src/types/core.ts:73
abortEarly?
optionalabortEarly?:boolean
allowUnknown?
optionalallowUnknown?:boolean
enabled?
optionalenabled?:boolean
onError?
optionalonError?:ValidationErrorHandler
stripUnknown?
optionalstripUnknown?:boolean
Inherited from
CoreMoroOptions.validation
websocket?
optionalwebsocket?:false| {adapter?:WebSocketAdapter;compression?:boolean;customIdGenerator?: () =>string;enabled?:boolean;options?:WebSocketAdapterOptions; }
Defined in: src/core/framework.ts:93
Overrides
CoreMoroOptions.websocket
workers?
optionalworkers?:object
Defined in: src/types/core.ts:66
count?
optionalcount?:number
enabled?
optionalenabled?:boolean
maxQueueSize?
optionalmaxQueueSize?:number
Inherited from
CoreMoroOptions.workers