From 3c95d2a8d1aae5e315b3866c2db066cd7feebdb5 Mon Sep 17 00:00:00 2001 From: Nicholas Addison Date: Thu, 24 Jun 2021 23:02:58 +1000 Subject: [PATCH] chore: export types in main index.ts file --- index.ts | 3 +++ package.json | 1 - types/machines.ts | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index 9d1f0e9f..f6bd398d 100644 --- a/index.ts +++ b/index.ts @@ -1,3 +1,6 @@ // Export functions from the package/module export * from "./test-utils" export * from "./tasks/utils" + +// Export types +export * from "./types" diff --git a/package.json b/package.json index 5d446143..f1b153b0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "./index.ts" ], "main": "./index.ts", - "types": "./types", "scripts": { "compile-abis": "typechain --target=ethers-v5 --out-dir types/generated \"?(contracts|build)/!(build-info)/**/+([a-zA-Z0-9]).json\"", "lint": "yarn run lint-ts; yarn run lint-sol", diff --git a/types/machines.ts b/types/machines.ts index 3fe0412c..547e6ae8 100644 --- a/types/machines.ts +++ b/types/machines.ts @@ -12,7 +12,7 @@ export interface CTokenDetails { cToken: Address } -export enum Platform { +export enum IntegrationPlatform { none, aave, compound, @@ -21,7 +21,7 @@ export enum Platform { export interface BassetIntegrationDetails { bAssets: Array bAssetTxFees: boolean[] - platforms?: Array + platforms?: Array aavePlatformAddress?: Address aTokens?: Array cTokens?: Array