diff --git a/src/api/index.ts b/src/api/index.ts index 8c00360385..c60f6aedb2 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 58687899a4..7c3ba4a0b1 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 d781fff5d4..daf3eb7ee6 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 { diff --git a/src/transaction/types.ts b/src/transaction/types.ts index cba2534195..9bcdb7280a 100644 --- a/src/transaction/types.ts +++ b/src/transaction/types.ts @@ -1,5 +1,3 @@ -// 🌲☀🌲 -import type { TransactionError } from '@/api/types'; import type { ReactNode } from 'react'; import type { Address, @@ -10,6 +8,8 @@ import type { import type { WalletCapabilities as ViemWalletCapabilities } from 'viem'; import type { Config } from 'wagmi'; import type { SendTransactionMutateAsync } from 'wagmi/query'; +// 🌲☀🌲 +import type { TransactionError } from '../api/types'; export type Call = { to: Hex; data?: Hex; value?: bigint };