From 9ef06bf383e9ec1437d986706cd33c3c87ae05a5 Mon Sep 17 00:00:00 2001
From: Benoit Lavenier <benoit.lavenier@e-is.pro>
Date: Tue, 16 May 2023 09:50:14 +0200
Subject: [PATCH] Code format

---
 app/lib/dal/fileDAL.ts | 112 ++++++++++++++++++++---------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

diff --git a/app/lib/dal/fileDAL.ts b/app/lib/dal/fileDAL.ts
index 0f1586155..5579b7ba5 100644
--- a/app/lib/dal/fileDAL.ts
+++ b/app/lib/dal/fileDAL.ts
@@ -13,12 +13,12 @@
 
 import * as fs from "fs";
 import * as path from "path";
-import {SQLiteDriver} from "./drivers/SQLiteDriver";
-import {ConfDAL} from "./fileDALs/ConfDAL";
-import {ConfDTO} from "../dto/ConfDTO";
-import {BlockDTO} from "../dto/BlockDTO";
-import {DBHead} from "../db/DBHead";
-import {DBIdentity, IdentityDAL} from "./sqliteDAL/IdentityDAL";
+import { SQLiteDriver } from "./drivers/SQLiteDriver";
+import { ConfDAL } from "./fileDALs/ConfDAL";
+import { ConfDTO } from "../dto/ConfDTO";
+import { BlockDTO } from "../dto/BlockDTO";
+import { DBHead } from "../db/DBHead";
+import { DBIdentity, IdentityDAL } from "./sqliteDAL/IdentityDAL";
 import {
   CindexEntry,
   FullCindexEntry,
@@ -31,56 +31,56 @@ import {
   SimpleUdEntryForWallet,
   SindexEntry,
 } from "../indexer";
-import {TransactionDTO} from "../dto/TransactionDTO";
-import {CertDAL, DBCert} from "./sqliteDAL/CertDAL";
-import {DBBlock} from "../db/DBBlock";
-import {DBMembership, MembershipDAL} from "./sqliteDAL/MembershipDAL";
-import {MerkleDTO} from "../dto/MerkleDTO";
-import {CommonConstants} from "../common-libs/constants";
-import {PowDAL} from "./fileDALs/PowDAL";
-import {Initiable} from "./sqliteDAL/Initiable";
-import {MetaDAL} from "./sqliteDAL/MetaDAL";
-import {DataErrors} from "../common-libs/errors";
-import {BasicRevocableIdentity, IdentityDTO} from "../dto/IdentityDTO";
-import {FileSystem} from "../system/directory";
-import {RustDbTx, RustServer, Wot} from "../../../neon/lib";
-import {IIndexDAO} from "./indexDAL/abstract/IIndexDAO";
-import {BIndexDAO} from "./indexDAL/abstract/BIndexDAO";
-import {MIndexDAO} from "./indexDAL/abstract/MIndexDAO";
-import {SIndexDAO} from "./indexDAL/abstract/SIndexDAO";
-import {CIndexDAO} from "./indexDAL/abstract/CIndexDAO";
-import {IdentityForRequirements} from "../../service/BlockchainService";
-import {NewLogger} from "../logger";
-import {BlockchainDAO} from "./indexDAL/abstract/BlockchainDAO";
-import {WalletDAO} from "./indexDAL/abstract/WalletDAO";
-import {PeerDAO} from "./indexDAL/abstract/PeerDAO";
-import {DBTx} from "../db/DBTx";
-import {DBWallet} from "../db/DBWallet";
-import {Tristamp} from "../common/Tristamp";
-import {CFSCore} from "./fileDALs/CFSCore";
-import {Underscore} from "../common-libs/underscore";
-import {DBPeer} from "../db/DBPeer";
-import {MonitorFlushedIndex} from "../debug/MonitorFlushedIndex";
-import {cliprogram} from "../common-libs/programOptions";
-import {DividendDAO, UDSource} from "./indexDAL/abstract/DividendDAO";
-import {HttpSource, HttpUD} from "../../modules/bma/lib/dtos";
-import {GenericDAO} from "./indexDAL/abstract/GenericDAO";
-import {MonitorExecutionTime} from "../debug/MonitorExecutionTime";
-import {LevelDBDividend} from "./indexDAL/leveldb/LevelDBDividend";
-import {LevelDBBindex} from "./indexDAL/leveldb/LevelDBBindex";
-
-import {LevelUp} from "levelup";
-import {LevelDBBlockchain} from "./indexDAL/leveldb/LevelDBBlockchain";
-import {LevelDBSindex} from "./indexDAL/leveldb/LevelDBSindex";
-import {SqlitePeers} from "./indexDAL/sqlite/SqlitePeers";
-import {LevelDBWallet} from "./indexDAL/leveldb/LevelDBWallet";
-import {LevelDBCindex} from "./indexDAL/leveldb/LevelDBCindex";
-import {LevelDBIindex} from "./indexDAL/leveldb/LevelDBIindex";
-import {LevelDBMindex} from "./indexDAL/leveldb/LevelDBMindex";
-import {ConfDAO} from "./indexDAL/abstract/ConfDAO";
-import {ServerDAO} from "./server-dao";
-import {PeerDTO} from "../dto/PeerDTO";
-import {RustPendingTx} from "../../../neon/native/server";
+import { TransactionDTO } from "../dto/TransactionDTO";
+import { CertDAL, DBCert } from "./sqliteDAL/CertDAL";
+import { DBBlock } from "../db/DBBlock";
+import { DBMembership, MembershipDAL } from "./sqliteDAL/MembershipDAL";
+import { MerkleDTO } from "../dto/MerkleDTO";
+import { CommonConstants } from "../common-libs/constants";
+import { PowDAL } from "./fileDALs/PowDAL";
+import { Initiable } from "./sqliteDAL/Initiable";
+import { MetaDAL } from "./sqliteDAL/MetaDAL";
+import { DataErrors } from "../common-libs/errors";
+import { BasicRevocableIdentity, IdentityDTO } from "../dto/IdentityDTO";
+import { FileSystem } from "../system/directory";
+import { RustDbTx, RustServer, Wot } from "../../../neon/lib";
+import { IIndexDAO } from "./indexDAL/abstract/IIndexDAO";
+import { BIndexDAO } from "./indexDAL/abstract/BIndexDAO";
+import { MIndexDAO } from "./indexDAL/abstract/MIndexDAO";
+import { SIndexDAO } from "./indexDAL/abstract/SIndexDAO";
+import { CIndexDAO } from "./indexDAL/abstract/CIndexDAO";
+import { IdentityForRequirements } from "../../service/BlockchainService";
+import { NewLogger } from "../logger";
+import { BlockchainDAO } from "./indexDAL/abstract/BlockchainDAO";
+import { WalletDAO } from "./indexDAL/abstract/WalletDAO";
+import { PeerDAO } from "./indexDAL/abstract/PeerDAO";
+import { DBTx } from "../db/DBTx";
+import { DBWallet } from "../db/DBWallet";
+import { Tristamp } from "../common/Tristamp";
+import { CFSCore } from "./fileDALs/CFSCore";
+import { Underscore } from "../common-libs/underscore";
+import { DBPeer } from "../db/DBPeer";
+import { MonitorFlushedIndex } from "../debug/MonitorFlushedIndex";
+import { cliprogram } from "../common-libs/programOptions";
+import { DividendDAO, UDSource } from "./indexDAL/abstract/DividendDAO";
+import { HttpSource, HttpUD } from "../../modules/bma/lib/dtos";
+import { GenericDAO } from "./indexDAL/abstract/GenericDAO";
+import { MonitorExecutionTime } from "../debug/MonitorExecutionTime";
+import { LevelDBDividend } from "./indexDAL/leveldb/LevelDBDividend";
+import { LevelDBBindex } from "./indexDAL/leveldb/LevelDBBindex";
+
+import { LevelUp } from "levelup";
+import { LevelDBBlockchain } from "./indexDAL/leveldb/LevelDBBlockchain";
+import { LevelDBSindex } from "./indexDAL/leveldb/LevelDBSindex";
+import { SqlitePeers } from "./indexDAL/sqlite/SqlitePeers";
+import { LevelDBWallet } from "./indexDAL/leveldb/LevelDBWallet";
+import { LevelDBCindex } from "./indexDAL/leveldb/LevelDBCindex";
+import { LevelDBIindex } from "./indexDAL/leveldb/LevelDBIindex";
+import { LevelDBMindex } from "./indexDAL/leveldb/LevelDBMindex";
+import { ConfDAO } from "./indexDAL/abstract/ConfDAO";
+import { ServerDAO } from "./server-dao";
+import { PeerDTO } from "../dto/PeerDTO";
+import { RustPendingTx } from "../../../neon/native/server";
 
 const readline = require("readline");
 const indexer = require("../indexer").Indexer;
-- 
GitLab