mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2025-01-09 20:40:03 +00:00
Reorganize imports
This commit is contained in:
parent
3ca5926f59
commit
44677c3666
4 changed files with 23 additions and 77 deletions
|
@ -1,6 +1,5 @@
|
||||||
import { HttpClient, HttpErrorResponse } from '@angular/common/http';
|
import { HttpClient, HttpErrorResponse } from '@angular/common/http';
|
||||||
import { EventEmitter, Injectable } from '@angular/core';
|
import { EventEmitter, Injectable } from '@angular/core';
|
||||||
import { BlockCount } from '../../../../common/BlockCount';
|
|
||||||
import { firstValueFrom } from 'rxjs';
|
import { firstValueFrom } from 'rxjs';
|
||||||
import {
|
import {
|
||||||
GetBlockCountRequest, GetBlockHashRequest, GetBlockTemplateRequest, JsonRPCRequest,
|
GetBlockCountRequest, GetBlockHashRequest, GetBlockTemplateRequest, JsonRPCRequest,
|
||||||
|
@ -8,79 +7,27 @@ import {
|
||||||
GetBlockHeaderByHashRequest, GetBlockHeaderByHeightRequest, GetBlockHeadersRangeRequest,
|
GetBlockHeaderByHashRequest, GetBlockHeaderByHeightRequest, GetBlockHeadersRangeRequest,
|
||||||
GetConnectionsRequest, GetInfoRequest, HardForkInfoRequest, SetBansRequest, GetBansRequest,
|
GetConnectionsRequest, GetInfoRequest, HardForkInfoRequest, SetBansRequest, GetBansRequest,
|
||||||
BannedRequest, FlushTxPoolRequest, GetOutputHistogramRequest, GetCoinbaseTxSumRequest,
|
BannedRequest, FlushTxPoolRequest, GetOutputHistogramRequest, GetCoinbaseTxSumRequest,
|
||||||
SyncInfoRequest, GetOutsRequest,
|
SyncInfoRequest, GetOutsRequest, GetVersionRequest, GetFeeEstimateRequest,
|
||||||
GetVersionRequest,
|
GetAlternateChainsRequest, GetTxPoolBacklogRequest, PruneBlockchainRequest,
|
||||||
GetFeeEstimateRequest,
|
CalculatePoWHashRequest, FlushCacheRequest, GetMinerDataRequest, EmptyRpcRequest, RPCRequest,
|
||||||
GetAlternateChainsRequest,
|
AddAuxPoWRequest, GetOutputDistributionRequest, GetBlockRequest, UpdateRequest,
|
||||||
GetTxPoolBacklogRequest,
|
PopBlocksRequest, GetTransactionPoolHashesRequest, GetTransactionPoolHashesBinaryRequest,
|
||||||
PruneBlockchainRequest,
|
GetPublicNodesRequest, GetNetStatsRequest, InPeersRequest, OutPeersRequest,
|
||||||
CalculatePoWHashRequest,
|
SetLimitRequest, StopDaemonRequest, MiningStatusRequest, StopMiningRequest,
|
||||||
FlushCacheRequest,
|
StartMiningRequest, SendRawTransactionRequest, IsKeyImageSpentRequest,
|
||||||
GetMinerDataRequest,
|
GetAltBlockHashesRequest, SaveBcRequest, SetBootstrapDaemonRequest, MethodNotFoundError,
|
||||||
EmptyRpcRequest, RPCRequest,
|
SetLogLevelRequest, SetLogHashRateRequest, SetLogCategoriesRequest, DaemonSettings,
|
||||||
AddAuxPoWRequest,
|
GetTransactionPoolRequest, GetPeerListRequest, GetTransactionPoolStatsRequest, MiningStatus,
|
||||||
GetOutputDistributionRequest,
|
BlockTemplate, GeneratedBlocks, BlockHeader, Connection, DaemonInfo, HardForkInfo,
|
||||||
GetBlockRequest,
|
Ban, HistogramEntry, SyncInfo, DaemonVersion, FeeEstimate, Chain, AddedAuxPow, TxInfo,
|
||||||
UpdateRequest,
|
RelayTxRequest, TxBacklogEntry, BlockchainPruneInfo, MinerData, CoreIsBusyError, NetStats,
|
||||||
PopBlocksRequest,
|
AuxPoW, OutputDistribution, CoinbaseTxSum, Block, Output, OutKey, UpdateInfo, PublicNode,
|
||||||
GetTransactionPoolHashesRequest,
|
PeerInfo, ProcessStats, TimeUtils, TxPool, TxPoolStats, BlockCount
|
||||||
GetTransactionPoolHashesBinaryRequest,
|
} from '../../../../common';
|
||||||
GetPublicNodesRequest,
|
|
||||||
GetNetStatsRequest,
|
|
||||||
InPeersRequest,
|
|
||||||
OutPeersRequest,
|
|
||||||
SetLimitRequest,
|
|
||||||
StopDaemonRequest,
|
|
||||||
MiningStatusRequest,
|
|
||||||
StopMiningRequest,
|
|
||||||
StartMiningRequest,
|
|
||||||
SendRawTransactionRequest,
|
|
||||||
IsKeyImageSpentRequest,
|
|
||||||
GetAltBlockHashesRequest,
|
|
||||||
SaveBcRequest,
|
|
||||||
SetBootstrapDaemonRequest,
|
|
||||||
SetLogLevelRequest,
|
|
||||||
SetLogHashRateRequest,
|
|
||||||
SetLogCategoriesRequest,
|
|
||||||
GetTransactionPoolRequest,
|
|
||||||
GetPeerListRequest,
|
|
||||||
GetTransactionPoolStatsRequest
|
|
||||||
} from '../../../../common/request';
|
|
||||||
import { BlockTemplate } from '../../../../common/BlockTemplate';
|
|
||||||
import { GeneratedBlocks } from '../../../../common/GeneratedBlocks';
|
|
||||||
import { BlockHeader } from '../../../../common/BlockHeader';
|
|
||||||
import { Connection } from '../../../../common/Connection';
|
|
||||||
import { DaemonInfo } from '../../../../common/DaemonInfo';
|
|
||||||
import { HardForkInfo } from '../../../../common/HardForkInfo';
|
|
||||||
import { Ban } from '../../../../common/Ban';
|
|
||||||
import { HistogramEntry } from '../../../../common/HistogramEntry';
|
|
||||||
import { SyncInfo } from '../../../../common/SyncInfo';
|
|
||||||
import { DaemonVersion } from '../../../../common/DaemonVersion';
|
|
||||||
import { FeeEstimate } from '../../../../common/FeeEstimate';
|
|
||||||
import { Chain } from '../../../../common/Chain';
|
|
||||||
import { RelayTxRequest } from '../../../../common/request/RelayTxRequest';
|
|
||||||
import { TxBacklogEntry } from '../../../../common/TxBacklogEntry';
|
|
||||||
import { BlockchainPruneInfo } from '../../../../common/BlockchainPruneInfo';
|
|
||||||
import { MinerData } from '../../../../common/MinerData';
|
|
||||||
import { CoreIsBusyError } from '../../../../common/error';
|
|
||||||
import { ElectronService } from '../electron/electron.service';
|
|
||||||
import { AddedAuxPow } from '../../../../common/AddedAuxPow';
|
|
||||||
import { AuxPoW } from '../../../../common/AuxPoW';
|
|
||||||
import { OutputDistribution } from '../../../../common/OutputDistribution';
|
|
||||||
import { CoinbaseTxSum } from '../../../../common/CoinbaseTxSum';
|
|
||||||
import { Block } from '../../../../common/Block';
|
|
||||||
import { Output } from '../../../../common/Output';
|
|
||||||
import { OutKey } from '../../../../common/OutKey';
|
|
||||||
import { UpdateInfo } from '../../../../common/UpdateInfo';
|
|
||||||
import { PublicNode } from '../../../../common/PublicNode';
|
|
||||||
import { NetStats } from '../../../../common/NetStats';
|
|
||||||
import { MiningStatus } from '../../../../common/MiningStatus';
|
|
||||||
import { TxInfo } from '../../../../common/TxInfo';
|
|
||||||
import { DaemonSettings } from '../../../../common/DaemonSettings';
|
|
||||||
import { MethodNotFoundError } from '../../../../common/error/MethodNotFoundError';
|
|
||||||
import { openDB, IDBPDatabase } from "idb"
|
|
||||||
import { PeerInfo, ProcessStats, TimeUtils, TxPool, TxPoolStats } from '../../../../common';
|
|
||||||
import { MoneroInstallerService } from '../monero-installer/monero-installer.service';
|
import { MoneroInstallerService } from '../monero-installer/monero-installer.service';
|
||||||
|
import { ElectronService } from '../electron/electron.service';
|
||||||
|
import { openDB, IDBPDatabase } from "idb"
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { AfterViewInit, Component, NgZone } from '@angular/core';
|
import { AfterViewInit, Component, NgZone } from '@angular/core';
|
||||||
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
|
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
|
||||||
import { DaemonSettings } from '../../../common/DaemonSettings';
|
import { DaemonSettings } from '../../../common';
|
||||||
import { DaemonService } from '../../core/services/daemon/daemon.service';
|
import { DaemonService } from '../../core/services/daemon/daemon.service';
|
||||||
import { ElectronService } from '../../core/services';
|
import { ElectronService } from '../../core/services';
|
||||||
import { DaemonSettingsError } from '../../../common';
|
import { DaemonSettingsError } from '../../../common';
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { AfterViewInit, Component, NgZone } from '@angular/core';
|
||||||
import { DaemonService } from '../../core/services/daemon/daemon.service';
|
import { DaemonService } from '../../core/services/daemon/daemon.service';
|
||||||
import { NavbarService } from '../../shared/components/navbar/navbar.service';
|
import { NavbarService } from '../../shared/components/navbar/navbar.service';
|
||||||
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
|
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
|
||||||
import { TxBacklogEntry } from '../../../common/TxBacklogEntry';
|
import { TxBacklogEntry } from '../../../common';
|
||||||
import { SimpleBootstrapCard } from '../../shared/utils';
|
import { SimpleBootstrapCard } from '../../shared/utils';
|
||||||
import { DaemonDataService } from '../../core/services';
|
import { DaemonDataService } from '../../core/services';
|
||||||
import { FeeEstimate, SpentKeyImage, TxPoolHisto, TxPoolStats, UnconfirmedTx } from '../../../common';
|
import { FeeEstimate, SpentKeyImage, TxPoolHisto, TxPoolStats, UnconfirmedTx } from '../../../common';
|
||||||
|
|
|
@ -2,9 +2,8 @@ import { AfterViewInit, Component, NgZone } from '@angular/core';
|
||||||
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
|
import { NavbarLink } from '../../shared/components/navbar/navbar.model';
|
||||||
import { DaemonService } from '../../core/services/daemon/daemon.service';
|
import { DaemonService } from '../../core/services/daemon/daemon.service';
|
||||||
import { SimpleBootstrapCard } from '../../shared/utils';
|
import { SimpleBootstrapCard } from '../../shared/utils';
|
||||||
import { DaemonVersion } from '../../../common/DaemonVersion';
|
|
||||||
import { DaemonDataService, ElectronService, MoneroInstallerService } from '../../core/services';
|
import { DaemonDataService, ElectronService, MoneroInstallerService } from '../../core/services';
|
||||||
import { DaemonSettings } from '../../../common';
|
import { DaemonSettings, DaemonVersion } from '../../../common';
|
||||||
import { StringUtils } from '../../core/utils';
|
import { StringUtils } from '../../core/utils';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
|
Loading…
Reference in a new issue