Joystream Stats 3 лет назад
Родитель
Сommit
967f4e311f
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      api.ts
  2. 1 1
      rewards.ts
  3. 1 1
      types.ts

+ 1 - 1
api.ts

@@ -47,7 +47,7 @@ import {
   ProposalOf,
   ProposalDetailsOf,
   WorkerOf,
-} from "@joystream/types/augment-codec/all";
+} from "@joystream/types/augment/types";
 
 // blocks
 export const getBlock = (api: ApiPromise, hash: Hash): Promise<SignedBlock> =>

+ 1 - 1
rewards.ts

@@ -7,11 +7,11 @@ import { Hash } from "@polkadot/types/interfaces";
 import { Membership } from "@joystream/types/members";
 import { Mint, MintId } from "@joystream/types/mint";
 import { Stake } from "@joystream/types/stake";
-import { WorkerOf } from "@joystream/types/augment/all";
 import {
   RewardRelationship,
   RewardRelationshipId,
 } from "@joystream/types/recurring-rewards";
+import { WorkerOf } from "@joystream/types/augment/types";
 
 // lib
 import { getPercent, getTotalMinted } from "./";

+ 1 - 1
types.ts

@@ -1,9 +1,9 @@
 import { AccountId, AccountData } from "@polkadot/types/interfaces";
 import { GenericEventData } from "@polkadot/types/generic/Event";
 import { MemberId } from "@joystream/types/members";
-import { VotingResults } from "@joystream/types/proposals";
 import { Stake } from "@joystream/types/stake";
 import { RewardRelationship } from "@joystream/types/recurring-rewards";
+import { VotingResults } from "@joystream/types/augment/all";
 
 export interface AccountBalance {
   accountId: string;