Change @app/interfaces to new @interfaces path alias

This commit is contained in:
wiz
2024-10-23 11:09:38 +09:00
parent 133df2e4be
commit 221658f6bf
101 changed files with 133 additions and 132 deletions

View File

@@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { ActivatedRoute, ParamMap } from '@angular/router';
import { Observable, of, zip } from 'rxjs';
import { catchError, map, shareReplay, switchMap, tap } from 'rxjs/operators';
import { IChannel } from '@app/interfaces/node-api.interface';
import { IChannel } from '@interfaces/node-api.interface';
import { ElectrsApiService } from '@app/services/electrs-api.service';
import { SeoService } from '@app/services/seo.service';
import { LightningApiService } from '@app/lightning/lightning-api.service';

View File

@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { INodesStatistics } from '@app/interfaces/node-api.interface';
import { INodesStatistics } from '@interfaces/node-api.interface';
@Component({
selector: 'app-channels-statistics',

View File

@@ -1,8 +1,8 @@
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core';
import { map, Observable, of, Subject, Subscription, switchMap, tap, zip } from 'rxjs';
import { IChannel } from '@app/interfaces/node-api.interface';
import { IChannel } from '@interfaces/node-api.interface';
import { LightningApiService } from '@app/lightning/lightning-api.service';
import { Transaction } from '@app/interfaces/electrs.interface';
import { Transaction } from '@interfaces/electrs.interface';
import { ElectrsApiService } from '@app/services/electrs-api.service';
@Component({

View File

@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
import { HttpClient, HttpParams } from '@angular/common/http';
import { BehaviorSubject, Observable, catchError, filter, of, shareReplay, take, tap } from 'rxjs';
import { StateService } from '@app/services/state.service';
import { IChannel, INodesRanking, IOldestNodes, ITopNodesPerCapacity, ITopNodesPerChannels } from '@app/interfaces/node-api.interface';
import { IChannel, INodesRanking, IOldestNodes, ITopNodesPerCapacity, ITopNodesPerChannels } from '@interfaces/node-api.interface';
@Injectable({
providedIn: 'root'

View File

@@ -1,7 +1,7 @@
import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, HostListener, OnInit } from '@angular/core';
import { Observable, merge } from 'rxjs';
import { share } from 'rxjs/operators';
import { INodesRanking, INodesStatistics } from '@app/interfaces/node-api.interface';
import { INodesRanking, INodesStatistics } from '@interfaces/node-api.interface';
import { SeoService } from '@app/services/seo.service';
import { OpenGraphService } from '@app/services/opengraph.service';
import { StateService } from '@app/services/state.service';

View File

@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { INodesStatistics } from '@app/interfaces/node-api.interface';
import { INodesStatistics } from '@interfaces/node-api.interface';
@Component({
selector: 'app-node-statistics',

View File

@@ -3,7 +3,7 @@ import { ActivatedRoute } from '@angular/router';
import { LightningApiService } from '@app/lightning/lightning-api.service';
import { share } from 'rxjs/operators';
import { Observable } from 'rxjs';
import { INodesStatistics } from '@app/interfaces/node-api.interface';
import { INodesStatistics } from '@interfaces/node-api.interface';
@Component({
selector: 'app-nodes-ranking',

View File

@@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core
import { map, Observable } from 'rxjs';
import { GeolocationData } from '@app/shared/components/geolocation/geolocation.component';
import { SeoService } from '@app/services/seo.service';
import { IOldestNodes } from '@app/interfaces/node-api.interface';
import { IOldestNodes } from '@interfaces/node-api.interface';
import { LightningApiService } from '@app/lightning/lightning-api.service';
@Component({

View File

@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';
import { combineLatest, map, Observable } from 'rxjs';
import { INodesRanking, INodesStatistics, ITopNodesPerCapacity } from '@app/interfaces/node-api.interface';
import { INodesRanking, INodesStatistics, ITopNodesPerCapacity } from '@interfaces/node-api.interface';
import { SeoService } from '@app/services/seo.service';
import { StateService } from '@app/services/state.service';
import { GeolocationData } from '@app/shared/components/geolocation/geolocation.component';

View File

@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';
import { combineLatest, map, Observable } from 'rxjs';
import { INodesRanking, INodesStatistics, ITopNodesPerChannels } from '@app/interfaces/node-api.interface';
import { INodesRanking, INodesStatistics, ITopNodesPerChannels } from '@interfaces/node-api.interface';
import { SeoService } from '@app/services/seo.service';
import { StateService } from '@app/services/state.service';
import { GeolocationData } from '@app/shared/components/geolocation/geolocation.component';

View File

@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { Observable, share } from 'rxjs';
import { INodesRanking } from '@app/interfaces/node-api.interface';
import { INodesRanking } from '@interfaces/node-api.interface';
import { SeoService } from '@app/services/seo.service';
import { LightningApiService } from '@app/lightning/lightning-api.service';