Commit e3a493a1 authored by Panagiotis Skarvelis's avatar Panagiotis Skarvelis
Browse files

export fileengine from module

parent aba62b10
......@@ -12,4 +12,5 @@ import { FileEngine } from './engines/index.js';
*/
export declare const generateAuditRecord: (auditInit?: AuditRecord | undefined, dbEngine?: FileEngine) => AuditRecord | null;
export default generateAuditRecord;
export { FileEngine } from './engines/index.js';
export { AuditRecord };
......@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateAuditRecord = void 0;
exports.FileEngine = exports.generateAuditRecord = void 0;
const db_js_1 = __importDefault(require("./lib/db.js"));
const index_js_1 = require("./engines/index.js");
/**
......@@ -43,3 +43,5 @@ const generateAuditRecord = (auditInit, dbEngine = new index_js_1.FileEngine("/t
};
exports.generateAuditRecord = generateAuditRecord;
exports.default = exports.generateAuditRecord;
var index_js_2 = require("./engines/index.js");
Object.defineProperty(exports, "FileEngine", { enumerable: true, get: function () { return index_js_2.FileEngine; } });
......@@ -12,4 +12,5 @@ import { FileEngine } from './engines/index.js';
*/
export declare const generateAuditRecord: (auditInit?: AuditRecord | undefined, dbEngine?: FileEngine) => AuditRecord | null;
export default generateAuditRecord;
export { FileEngine } from './engines/index.js';
export { AuditRecord };
......@@ -36,3 +36,4 @@ export const generateAuditRecord = (auditInit, dbEngine = new FileEngine("/tmp")
}
};
export default generateAuditRecord;
export { FileEngine } from './engines/index.js';
......@@ -40,4 +40,5 @@ export const generateAuditRecord = (auditInit?: AuditRecord | undefined, dbEngin
}
export default generateAuditRecord;
export {FileEngine} from './engines/index.js';
export { AuditRecord };
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment