Skip to content

@sourceloop/audit-service / Exports / AuditServiceComponent

Class: AuditServiceComponent

Implements

  • Component

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new AuditServiceComponent(application, notifConfig?)

Parameters

Name Type
application RestApplication
notifConfig? IAuditServiceConfig

Defined in

services/audit-service/src/component.ts:63

Properties

application

Private Readonly application: RestApplication

Defined in

services/audit-service/src/component.ts:65


bindings

Optional bindings: Binding<any>[] = []

Implementation of

Component.bindings

Defined in

services/audit-service/src/component.ts:132


controllers

Optional controllers: ControllerClass<any>[]

An array of controller classes

Implementation of

Component.controllers

Defined in

services/audit-service/src/component.ts:151


models

Optional models: Class<Model>[]

An optional list of Model classes to bind for dependency injection via app.model() API.

Defined in

services/audit-service/src/component.ts:146


notifConfig

Private Optional Readonly notifConfig: IAuditServiceConfig

Defined in

services/audit-service/src/component.ts:67


providers

Optional providers: ProviderMap = {}

Implementation of

Component.providers

Defined in

services/audit-service/src/component.ts:130


repositories

Optional repositories: Class<Repository<Model>>[]

An optional list of Repository classes to bind for dependency injection via app.repository() API.

Defined in

services/audit-service/src/component.ts:140


services

Optional services: ServiceOrProviderClass<any>[]

Implementation of

Component.services

Defined in

services/audit-service/src/component.ts:134

Methods

setupSequence

setupSequence(): void

Setup ServiceSequence by default if no other sequnce provided

Returns

void

Defined in

services/audit-service/src/component.ts:157