Rename api-codec -> types (#183)

* Rename api-codec -> types

* Cleanups with exports (as found with use)

* Docs to build for /types
This commit is contained in:
Jaco Greeff
2018-10-02 11:30:45 +02:00
committed by GitHub
parent 7e191db702
commit 48e57f9a55
127 changed files with 149 additions and 143 deletions
+2 -2
View File
@@ -3,8 +3,8 @@
// of the ISC license. See the LICENSE file for details.
import BN from 'bn.js';
import { AccountId, Balance, BlockNumber, PropIndex, Proposal, ReferendumIndex, VoteThreshold } from '@polkadot/api-codec/index';
import { Struct, Tuple, Vector } from '@polkadot/api-codec/codec';
import { AccountId, Balance, BlockNumber, PropIndex, Proposal, ReferendumIndex, VoteThreshold } from '@polkadot/types/index';
import { Struct, Tuple, Vector } from '@polkadot/types/codec';
export class RxProposal extends Struct.with({ id: PropIndex, proposal: Proposal, address: AccountId }) {
constructor (value: Tuple) {