From b2774a395e23e560b7c50f2d23bb1f15fda1f092 Mon Sep 17 00:00:00 2001 From: Adam Lessey Date: Mon, 27 Jan 2025 12:23:20 -0500 Subject: [PATCH] fix: remove aliases from types --- src/api/index.ts | 2 ++ src/nft/index.ts | 10 +++++----- src/nft/types.ts | 10 +++++----- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index 8c00360385b..c60f6aedb21 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -26,4 +26,6 @@ export type { GetTokensResponse, GetPortfoliosParams, GetPortfoliosResponse, + TokenDetails, + MintDetails, } from './types'; diff --git a/src/nft/index.ts b/src/nft/index.ts index 58687899a47..7c3ba4a0b18 100644 --- a/src/nft/index.ts +++ b/src/nft/index.ts @@ -15,13 +15,13 @@ export type { NFTMintCardReact, NFTMintCardDefaultReact, UseNFTData, -} from '@/nft/types'; -export type { NFTError } from '@/api/types'; +} from './types'; +export type { NFTError } from '../api/types'; // Hooks -export { useTokenDetails } from '@/nft/hooks/useTokenDetails'; -export { useMintDetails } from '@/nft/hooks/useMintDetails'; +export { useTokenDetails } from './hooks/useTokenDetails'; +export { useMintDetails } from './hooks/useMintDetails'; export type { UseTokenDetailsParams, UseMintDetailsParams, -} from '@/nft/types'; +} from './types'; diff --git a/src/nft/types.ts b/src/nft/types.ts index d781fff5d40..daf3eb7ee64 100644 --- a/src/nft/types.ts +++ b/src/nft/types.ts @@ -1,14 +1,14 @@ +import type { UseQueryOptions } from '@tanstack/react-query'; +import type { ReactNode } from 'react'; +import type { Address, Hex, TransactionReceipt } from 'viem'; import type { ContractType, GetMintDetailsParams, GetTokenDetailsParams, NFTError, NFTPrice, -} from '@/api/types'; -import type { LifecycleStatusUpdate } from '@/internal/types'; -import type { UseQueryOptions } from '@tanstack/react-query'; -import type { ReactNode } from 'react'; -import type { Address, Hex, TransactionReceipt } from 'viem'; +} from '../api/types'; +import type { LifecycleStatusUpdate } from '../internal/types'; import type { Call } from '../transaction/types'; export enum MediaType {