@morojs/moro


@morojs/moro / MoroOptions

Interface: MoroOptions

Defined in: src/core/framework.ts:86

Extends

  • MoroOptions

Properties

autoDiscover?

optional autoDiscover?: 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?

optional compression?: boolean | object

Defined in: src/types/core.ts:61

Inherited from

CoreMoroOptions.compression


config?

optional config?: any

Defined in: src/core/framework.ts:102


cors?

optional cors?: boolean | object

Defined in: src/types/core.ts:60

Inherited from

CoreMoroOptions.cors


database?

optional database?: Partial<DatabaseConfig>

Defined in: src/types/core.ts:83

Inherited from

CoreMoroOptions.database


external?

optional external?: Partial<ExternalServicesConfig>

Defined in: src/types/core.ts:87

Inherited from

CoreMoroOptions.external


helmet?

optional helmet?: boolean | object

Defined in: src/types/core.ts:62

Inherited from

CoreMoroOptions.helmet


http2?

optional http2?: boolean | Http2ServerOptions

Defined in: src/core/framework.ts:87

Overrides

CoreMoroOptions.http2


https?

optional https?: object

Defined in: src/core/framework.ts:88

ca?

optional ca?: string | Buffer<ArrayBufferLike>

cert

cert: string | Buffer<ArrayBufferLike>

key

key: string | Buffer<ArrayBufferLike>

Overrides

CoreMoroOptions.https


jobs?

optional jobs?: Partial<JobsConfig | undefined>

Defined in: src/types/core.ts:89

Inherited from

CoreMoroOptions.jobs


logger?

optional logger?: boolean | LoggerOptions

Defined in: src/types/core.ts:63

Inherited from

CoreMoroOptions.logger


logging?

optional logging?: Partial<LoggingConfig>

Defined in: src/types/core.ts:85

Inherited from

CoreMoroOptions.logging


middleware?

optional middleware?: any[]

Defined in: src/types/core.ts:22

Inherited from

CoreMoroOptions.middleware


modules?

optional modules?: Partial<ModuleDefaultsConfig>

Defined in: src/types/core.ts:84

Inherited from

CoreMoroOptions.modules


modulesPath?

optional modulesPath?: string

Defined in: src/types/core.ts:21

Inherited from

CoreMoroOptions.modulesPath


performance?

optional performance?: Partial<PerformanceConfig>

Defined in: src/types/core.ts:88

Inherited from

CoreMoroOptions.performance


runtime?

optional runtime?: RuntimeConfig

Defined in: src/types/core.ts:25

Inherited from

CoreMoroOptions.runtime


security?

optional security?: Partial<SecurityConfig>

Defined in: src/types/core.ts:86

Inherited from

CoreMoroOptions.security


server?

optional server?: Partial<ServerConfig>

Defined in: src/types/core.ts:82

Inherited from

CoreMoroOptions.server


validation?

optional validation?: object

Defined in: src/types/core.ts:73

abortEarly?

optional abortEarly?: boolean

allowUnknown?

optional allowUnknown?: boolean

enabled?

optional enabled?: boolean

onError?

optional onError?: ValidationErrorHandler

stripUnknown?

optional stripUnknown?: boolean

Inherited from

CoreMoroOptions.validation


websocket?

optional websocket?: false | { adapter?: WebSocketAdapter; compression?: boolean; customIdGenerator?: () => string; enabled?: boolean; options?: WebSocketAdapterOptions; }

Defined in: src/core/framework.ts:93

Overrides

CoreMoroOptions.websocket


workers?

optional workers?: object

Defined in: src/types/core.ts:66

count?

optional count?: number

enabled?

optional enabled?: boolean

maxQueueSize?

optional maxQueueSize?: number

Inherited from

CoreMoroOptions.workers