Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DigiGov-OSS
AuditRecordDB
Commits
c6173501
Commit
c6173501
authored
Feb 09, 2022
by
Panagiotis Skarvelis
Browse files
add exports
parent
0def8f09
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/index.ts
View file @
c6173501
import
db
from
'
./lib/db.js
'
;
import
{
AuditRecord
,
AuditEngine
,
FS_ERROR
}
from
'
./interfaces/index.js
'
;
import
{
FileEngine
}
from
'
./engines/index.js
'
;
import
{
FileEngine
,
PostgreSqlEngine
}
from
'
./engines/index.js
'
;
/**
* @description Use this on your app to generate and log the audit record
...
...
@@ -41,5 +41,5 @@ export const generateAuditRecord = (auditInit?: AuditRecord | undefined, dbEngin
}
export
default
generateAuditRecord
;
export
{
FileEngine
}
from
'
./engines/index.js
'
;
export
{
AuditRecord
};
export
{
FileEngine
,
PostgreSqlEngine
}
;
export
{
AuditRecord
,
AuditEngine
,
FS_ERROR
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment