Skip to content

@sourceloop/audit-service / Exports

@sourceloop/audit-service

Table of contents

Namespaces

Enumerations

Classes

Interfaces

Type Aliases

Variables

Type Aliases

AuditLogExportFn

Ƭ AuditLogExportFn: (data: AnyObject[]) => Promise<void>

Type declaration

▸ (data): Promise<void>

Parameters
Name Type
data AnyObject[]
Returns

Promise<void>

Defined in

services/audit-service/src/types.ts:23


ColumnBuilderFn

Ƭ ColumnBuilderFn: (auditLogs: AuditLog[]) => Promise<AnyObject[]>

Type declaration

▸ (auditLogs): Promise<AnyObject[]>

Parameters
Name Type
auditLogs AuditLog[]
Returns

Promise<AnyObject[]>

Defined in

services/audit-service/src/types.ts:24


CustomFilterWithRelations

Ƭ CustomFilterWithRelations: CustomFilter

Defined in

services/audit-service/src/models/custom-filter.model.ts:44


ExportHandlerFn

Ƭ ExportHandlerFn: (fileBuffer: Buffer) => Promise<void>

Type declaration

▸ (fileBuffer): Promise<void>

Parameters
Name Type
fileBuffer Buffer
Returns

Promise<void>

Defined in

services/audit-service/src/types.ts:22


ExportToCsvFn

Ƭ ExportToCsvFn: (selectedAuditLogs: AuditLog[]) => Promise<string>

Type declaration

▸ (selectedAuditLogs): Promise<string>

Parameters
Name Type
selectedAuditLogs AuditLog[]
Returns

Promise<string>

Defined in

services/audit-service/src/types.ts:20


JobWithRelations

Ƭ JobWithRelations: Job

Defined in

services/audit-service/src/models/job.model.ts:49


MappingLogsWithRelations

Ƭ MappingLogsWithRelations: MappingLog

Defined in

services/audit-service/src/models/mapping-log.model.ts:36


QuerySelectedFilesFn

Ƭ QuerySelectedFilesFn: (fileName: string, filter: Filter<AuditLog>) => Promise<AuditLog[]>

Type declaration

▸ (fileName, filter): Promise<AuditLog[]>

Parameters
Name Type
fileName string
filter Filter<AuditLog>
Returns

Promise<AuditLog[]>

Defined in

services/audit-service/src/types.ts:15

Variables

AuditSourceName

Const AuditSourceName: "AuditDB"

Defined in

services/audit-service/src/types.ts:36