diff --git a/app/lib/dal/fileDAL.ts b/app/lib/dal/fileDAL.ts index 406711aa3ae2444ec014a01d68659dc797d2efb2..04c5b2cd63db738cdcc542783b0127c8b9e24944 100644 --- a/app/lib/dal/fileDAL.ts +++ b/app/lib/dal/fileDAL.ts @@ -63,7 +63,7 @@ export class FileDAL { profile:string powDAL:PowDAL - confDAL:any + confDAL:ConfDAL metaDAL:MetaDAL peerDAL:PeerDAL blockDAL:any diff --git a/app/lib/dal/fileDALs/AbstractCFS.ts b/app/lib/dal/fileDALs/AbstractCFS.ts index a8c7d32776f533850456cdddacd841df653ea752..dae85e9024defb11706ddef4a485391f0cba77c9 100644 --- a/app/lib/dal/fileDALs/AbstractCFS.ts +++ b/app/lib/dal/fileDALs/AbstractCFS.ts @@ -16,7 +16,7 @@ import {Initiable} from "../sqliteDAL/Initiable" export abstract class AbstractCFS extends Initiable { - protected coreFS:CFSCore + public coreFS:CFSCore protected dal:any constructor(rootPath:string, qioFS:any) { diff --git a/app/lib/dal/fileDALs/CFSCore.ts b/app/lib/dal/fileDALs/CFSCore.ts index 0de15b707aeac9ac09001b410647699bd4ffd810..094ca53b2547edf6b5952121e3cc3c907077cb76 100644 --- a/app/lib/dal/fileDALs/CFSCore.ts +++ b/app/lib/dal/fileDALs/CFSCore.ts @@ -111,7 +111,7 @@ export class CFSCore { * @param deep Wether to remove the file in the root core or not. * @returns {*} Promise of removal. */ - async remove(filePath:string, deep:boolean): Promise<void> { + async remove(filePath:string, deep = false): Promise<void> { // Make a deep physical deletion // Root core: physical deletion return this.qfs.remove(path.join(this.rootPath, filePath));