diff --git a/packages/api-derive/src/society/member.ts b/packages/api-derive/src/society/member.ts index 86b5cd2927..f2d86549e9 100644 --- a/packages/api-derive/src/society/member.ts +++ b/packages/api-derive/src/society/member.ts @@ -3,7 +3,7 @@ // of the Apache-2.0 license. See the LICENSE file for details. import { ApiInterfaceRx } from '@polkadot/api/types'; -import { AccountId, Balance, BlockNumber, StrikeCount, VouchingStatus, Vote } from '@polkadot/types/interfaces'; +import { AccountId, Balance, BlockNumber, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces'; import { ITuple } from '@polkadot/types/types'; import { DeriveSocietyMember } from '../types'; @@ -13,7 +13,7 @@ import { bool, Option, Vec } from '@polkadot/types'; import { memo } from '../util'; -type Result = [Vec>, StrikeCount, Option, bool, Option]; +type Result = [Vec>, StrikeCount, Option, bool, Option]; /** * @description Get the member info for a society diff --git a/packages/api-derive/src/types.ts b/packages/api-derive/src/types.ts index 98ecd6fe6c..024ca72cd6 100644 --- a/packages/api-derive/src/types.ts +++ b/packages/api-derive/src/types.ts @@ -2,7 +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 { AccountId, AccountIndex, Balance, BalanceLock, BalanceOf, Bid, BidKind, BlockNumber, EraIndex, EraPoints, Exposure, Hash, Index, Keys, Proposal, PropIndex, ProposalIndex, ReferendumInfo, RegistrationJudgement, RewardDestination, SessionIndex, SetIndex, StakingLedger, StrikeCount, TreasuryProposal, ValidatorPrefs, Vote, Votes, VoteIndex, VouchingStatus } from '@polkadot/types/interfaces'; +import { AccountId, AccountIndex, Balance, BalanceLock, BalanceOf, Bid, BidKind, BlockNumber, EraIndex, EraPoints, Exposure, Hash, Index, Keys, Proposal, PropIndex, ProposalIndex, ReferendumInfo, RegistrationJudgement, RewardDestination, SessionIndex, SetIndex, SocietyVote, StakingLedger, StrikeCount, TreasuryProposal, ValidatorPrefs, Vote, Votes, VoteIndex, VouchingStatus } from '@polkadot/types/interfaces'; import BN from 'bn.js'; import { u32, Vec } from '@polkadot/types'; @@ -171,7 +171,7 @@ export interface DeriveSocietyMember { isSuspended: boolean; payouts: [BlockNumber, Balance][]; strikes: StrikeCount; - vote?: Vote; + vote?: SocietyVote; vouching?: VouchingStatus; }