Move our custom fields to a BlockExtension sub object of the IEsploraApi.Block interface

This commit is contained in:
nymkappa
2022-02-04 12:51:45 +09:00
parent 5c1fc7344d
commit 9f0b09295d
19 changed files with 124 additions and 77 deletions

View File

@@ -1,9 +1,10 @@
import { ILoadingIndicators } from '../services/state.service';
import { Block, Transaction } from './electrs.interface';
import { Transaction } from './electrs.interface';
import { BlockExtended } from './node-api.interface';
export interface WebsocketResponse {
block?: Block;
blocks?: Block[];
block?: BlockExtended;
blocks?: BlockExtended[];
conversions?: any;
txConfirmed?: boolean;
historicalDate?: string;