From e51dce94550419d51ea63755ed5c724034a21230 Mon Sep 17 00:00:00 2001 From: Canh Trinh Date: Sun, 4 Feb 2024 15:42:13 -0500 Subject: [PATCH] chore: change interface name for InterchainTokenInfoBaseAPIResponse --- cli/wizard/commands/list-squid-token/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/wizard/commands/list-squid-token/index.ts b/cli/wizard/commands/list-squid-token/index.ts index 00dfc9a..b4bf88b 100644 --- a/cli/wizard/commands/list-squid-token/index.ts +++ b/cli/wizard/commands/list-squid-token/index.ts @@ -122,7 +122,7 @@ export async function listSquidToken() { }); } -export type InterchainTokenInfo = { +export type InterchainTokenInfoBaseAPIResponse = { tokenId: string; tokenAddress: string; tokenManagerAddress: string; @@ -136,8 +136,8 @@ export type InterchainTokenInfo = { kind: "canonical" | "interchain" | "customInterchain"; }; -export type InterchainTokenSearchResult = InterchainTokenInfo & { - matchingTokens: InterchainTokenInfo[]; +export type InterchainTokenSearchResult = InterchainTokenInfoBaseAPIResponse & { + matchingTokens: InterchainTokenInfoBaseAPIResponse[]; }; export type RemoteInterchainTokenApiResponse = {