Skip to content

bpmn-server / Configuration

Class: Configuration#

Implements#

Table of contents#

Constructors#

Properties#

Methods#

Constructors#

constructor#

new Configuration(«destructured»): Configuration

Parameters#

Name Type
«destructured» Object
› definitionsPath any
› templatesPath any
› timers any
› database any
› apiKey any
› logger any
› definitions any
› appDelegate any
› dataStore any
› cacheManager any

Returns#

Configuration

Defined in#

common/DefaultConfiguration.ts:36

Properties#

definitionsPath#

definitionsPath: string

Implementation of#

IConfiguration.definitionsPath

Defined in#

common/DefaultConfiguration.ts:12


templatesPath#

templatesPath: string

Implementation of#

IConfiguration.templatesPath

Defined in#

common/DefaultConfiguration.ts:13


timers#

timers: Object

Type declaration#

Name Type
forceTimersDelay number
precision number

Implementation of#

IConfiguration.timers

Defined in#

common/DefaultConfiguration.ts:14


database#

database: Object

Type declaration#

Name Type
MongoDB { db_url: string ; db: string }
MongoDB.db_url string
MongoDB.db string
loopbackRepositories? any

Implementation of#

IConfiguration.database

Defined in#

common/DefaultConfiguration.ts:15


logger#

logger: ILogger

Implementation of#

IConfiguration.logger

Defined in#

common/DefaultConfiguration.ts:19


apiKey#

apiKey: string

Implementation of#

IConfiguration.apiKey

Defined in#

common/DefaultConfiguration.ts:20


sendGridAPIKey#

sendGridAPIKey: string

Defined in#

common/DefaultConfiguration.ts:21

Methods#

definitions#

definitions(server): ModelsDatastore

Parameters#

Name Type
server any

Returns#

ModelsDatastore

Implementation of#

IConfiguration.definitions

Defined in#

common/DefaultConfiguration.ts:22


appDelegate#

appDelegate(server): IAppDelegate

Parameters#

Name Type
server any

Returns#

IAppDelegate

Implementation of#

IConfiguration.appDelegate

Defined in#

common/DefaultConfiguration.ts:25


dataStore#

dataStore(server): DataStore

Parameters#

Name Type
server any

Returns#

DataStore

Implementation of#

IConfiguration.dataStore

Defined in#

common/DefaultConfiguration.ts:28


cacheManager#

cacheManager(server): NoCacheManager

Parameters#

Name Type
server any

Returns#

NoCacheManager

Implementation of#

IConfiguration.cacheManager

Defined in#

common/DefaultConfiguration.ts:31