@sourceloop/audit-service / Exports / ExportToCsvProvider
Class: ExportToCsvProvider¶
Implements¶
Provider
<ExportToCsvFn
>
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new ExportToCsvProvider(config
, auditLogRepository
)
Parameters¶
Name | Type |
---|---|
config |
AwsS3Config |
auditLogRepository |
EntityCrudRepository <AuditLog , string , {}> |
Defined in¶
services/audit-service/src/services/export-to-csv.service.ts:11
Properties¶
auditLogRepository¶
• auditLogRepository: EntityCrudRepository
<AuditLog
, string
, {}>
Defined in¶
services/audit-service/src/services/export-to-csv.service.ts:15
config¶
• Private
Readonly
config: AwsS3Config
Defined in¶
services/audit-service/src/services/export-to-csv.service.ts:13
Methods¶
exportToCsv¶
▸ exportToCsv(selectedAuditLogs
): Promise
<string
>
Parameters¶
Name | Type |
---|---|
selectedAuditLogs |
AuditLog [] |
Returns¶
Promise
<string
>
Defined in¶
services/audit-service/src/services/export-to-csv.service.ts:22
value¶
▸ value(): ExportToCsvFn
Returns¶
Implementation of¶
Provider.value
Defined in¶
services/audit-service/src/services/export-to-csv.service.ts:17