Add codec exports to types index (#689)
* Add codec exports to types index
* Use actual index exports (internally)
* Merge {AccountId, Balance, Moment}Of into parent classes
This commit is contained in:
@@ -6,8 +6,7 @@ import { Observable } from 'rxjs';
|
||||
import { map } from 'rxjs/operators';
|
||||
import { ApiInterface$Rx } from '@polkadot/api/types';
|
||||
import { ENUMSET_SIZE } from '@polkadot/types/AccountIndex';
|
||||
import { Vector } from '@polkadot/types/codec';
|
||||
import { AccountId, AccountIndex } from '@polkadot/types/index';
|
||||
import { AccountId, AccountIndex, Vector } from '@polkadot/types/index';
|
||||
|
||||
import { drr } from '../util/drr';
|
||||
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
import { Observable, of } from 'rxjs';
|
||||
import { switchMap } from 'rxjs/operators';
|
||||
import { ApiInterface$Rx } from '@polkadot/api/types';
|
||||
import { Vector } from '@polkadot/types/codec';
|
||||
import { AccountId, AccountIndex, Address } from '@polkadot/types/index';
|
||||
import { AccountId, AccountIndex, Address, Vector } from '@polkadot/types/index';
|
||||
|
||||
import { idAndIndex } from '../accounts/idAndIndex';
|
||||
import { DerivedBalances } from '../types';
|
||||
|
||||
@@ -6,8 +6,7 @@ import BN from 'bn.js';
|
||||
import { combineLatest, Observable, of } from 'rxjs';
|
||||
import { map, switchMap } from 'rxjs/operators';
|
||||
import { ApiInterface$Rx } from '@polkadot/api/types';
|
||||
import { Vector } from '@polkadot/types/codec';
|
||||
import { AccountId, Balance, Vote } from '@polkadot/types/index';
|
||||
import { AccountId, Balance, Vector, Vote } from '@polkadot/types/index';
|
||||
|
||||
import { DerivedReferendumVote } from '../types';
|
||||
import { drr } from '../util/drr';
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
import { Observable } from 'rxjs';
|
||||
import { switchMap } from 'rxjs/operators';
|
||||
import { ApiInterface$Rx } from '@polkadot/api/types';
|
||||
import { Vector } from '@polkadot/types/codec';
|
||||
import { AccountId } from '@polkadot/types/index';
|
||||
import { AccountId, Vector } from '@polkadot/types/index';
|
||||
|
||||
import { DerivedBalancesMap } from '../types';
|
||||
import { validatingBalances } from '../balances';
|
||||
|
||||
Reference in New Issue
Block a user