Move types.d.ts -> types.ts (#421)

* Move types.d.ts -> types.ts

* Bump common deps
This commit is contained in:
Jaco Greeff
2018-11-29 12:13:28 +01:00
committed by GitHub
parent b422f45640
commit 9092250acc
18 changed files with 42 additions and 58 deletions
@@ -2,9 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { Observable } from 'rxjs';
import { AccountId, Balance, BlockNumber, bool as Bool, Header, PropIndex, Proposal, ReferendumIndex, u32, VoteThreshold } from '@polkadot/types/index';
import { Tuple } from '@polkadot/types/codec';
import { AccountId, Balance, bool as Bool } from '@polkadot/types/index';
import ApiBase from './Base';
import ApiCalls from './Calls';
@@ -21,14 +19,14 @@ export type RxBalance = {
votingBalance: Balance,
stakingBalance: Balance,
nominators?: Array<RxBalance>
}
};
export type RxFees = {
baseFee: Balance,
byteFee: Balance,
creationFee: Balance,
existentialDeposit: Balance,
transferFee: Balance,
transferFee: Balance
};
export type RxReferendumVote = {
@@ -39,4 +37,4 @@ export type RxReferendumVote = {
export type RxBalanceMap = {
[index: string]: RxBalance
}
};