Skip to content

Commit

Permalink
fix: remove aliases from types
Browse files Browse the repository at this point in the history
  • Loading branch information
alessey committed Jan 27, 2025
1 parent 367fb68 commit b2774a3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ export type {
GetTokensResponse,
GetPortfoliosParams,
GetPortfoliosResponse,
TokenDetails,
MintDetails,
} from './types';
10 changes: 5 additions & 5 deletions src/nft/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
10 changes: 5 additions & 5 deletions src/nft/types.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit b2774a3

Please sign in to comment.