MCPcopy Create free account

hub / github.com/adrianhajdin/coinpulse / functions

Functions65 in github.com/adrianhajdin/coinpulse

↓ 39 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:5
↓ 12 callersFunctionformatCurrency
( value: number | null | undefined, digits?: number, currency?: string, showSymbol?: boolean, )
lib/utils.ts:9
↓ 4 callersFunctionfetcher
( endpoint: string, params?: QueryParams, revalidate = 60, )
lib/coingecko.actions.ts:11
↓ 4 callersFunctionformatPercentage
(change: number | null | undefined)
lib/utils.ts:33
↓ 4 callersFunctionsend
(payload: Record<string, unknown>)
hooks/useCoinGeckoWebSocket.ts:25
↓ 3 callersFunctionhandlePageChange
(page: number)
components/CoinsPagination.tsx:18
↓ 3 callersFunctionsubscribe
(channel: string, data?: Record<string, unknown>)
hooks/useCoinGeckoWebSocket.ts:107
↓ 2 callersFunctionconvertOHLCData
(data: OHLCData[])
lib/utils.ts:72
↓ 1 callersFunctionbuildPageNumbers
( currentPage: number, totalPages: number, )
lib/utils.ts:85
↓ 1 callersFunctionfetchOHLCData
(selectedPeriod: Period)
components/CandlestickChart.tsx:35
↓ 1 callersFunctiongetCandlestickConfig
()
constants.ts:34
↓ 1 callersFunctiongetChartConfig
( height: number, timeVisible: boolean = true, )
constants.ts:43
↓ 1 callersFunctiongetPools
( id: string, network?: string | null, contractAddress?: string | null, )
lib/coingecko.actions.ts:41
↓ 1 callersFunctionhandlePeriodChange
(newPeriod: Period)
components/CandlestickChart.tsx:54
↓ 1 callersFunctiontimeAgo
(date: string | number | Date)
lib/utils.ts:51
↓ 1 callersFunctionunsubscribeAll
()
hooks/useCoinGeckoWebSocket.ts:96
↓ 1 callersFunctionuseCoinGeckoWebSocket
({ coinId, poolId, liveInterval, }: UseCoinGeckoWebSocketProps)
hooks/useCoinGeckoWebSocket.ts:7
FunctionBadge
({ className, variant, asChild = false, ...props }: React.ComponentProps<"span"> & VariantProps<type
components/ui/badge.tsx:28
FunctionButton
({ className, variant = "default", size = "default", asChild = false, ...props }: React.ComponentPro
components/ui/button.tsx:39
FunctionCandlestickChart
({ children, data, coinId, height = 360, initialPeriod = 'daily', liveOhlcv = null, mode = 'hist
components/CandlestickChart.tsx:15
FunctionCategories
()
components/home/Categories.tsx:8
FunctionCategoriesFallback
()
components/home/fallback.tsx:63
FunctionCoinHeader
({ livePriceChangePercentage24h, priceChangePercentage30d, name, image, livePrice, priceChange24h,
components/CoinHeader.tsx:6
FunctionCoinOverview
()
components/home/CoinOverview.tsx:8
FunctionCoinOverviewFallback
()
components/home/fallback.tsx:5
FunctionCoins
({ searchParams }: NextPageProps)
app/coins/page.tsx:9
FunctionCoinsPagination
({ currentPage, totalPages, hasMorePages }: Pagination)
components/CoinsPagination.tsx:15
FunctionConverter
({ symbol, icon, priceList }: ConverterProps)
components/Converter.tsx:18
FunctionDataTable
({ columns, data, rowKey, tableClassName, headerClassName, headerRowClassName, headerCellClassNa
components/DataTable.tsx:11
FunctionHeader
()
components/Header.tsx:8
FunctionInput
({ className, type, ...props }: React.ComponentProps<"input">)
components/ui/input.tsx:5
FunctionLiveDataWrapper
({ children, coinId, poolId, coin, coinOHLCData }: LiveDataProps)
components/LiveDataWrapper.tsx:11
FunctionPage
()
app/page.tsx:11
FunctionPage
({ params }: NextPageProps)
app/coins/[id]/page.tsx:9
FunctionPagination
({ className, ...props }: React.ComponentProps<"nav">)
components/ui/pagination.tsx:11
FunctionPaginationContent
({ className, ...props }: React.ComponentProps<"ul">)
components/ui/pagination.tsx:23
FunctionPaginationEllipsis
({ className, ...props }: React.ComponentProps<"span">)
components/ui/pagination.tsx:102
FunctionPaginationItem
({ ...props }: React.ComponentProps<"li">)
components/ui/pagination.tsx:36
FunctionPaginationLink
({ className, isActive, size = "icon", ...props }: PaginationLinkProps)
components/ui/pagination.tsx:45
FunctionPaginationNext
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
components/ui/pagination.tsx:85
FunctionPaginationPrevious
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
components/ui/pagination.tsx:68
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:21
FunctionSelect
({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>)
components/ui/select.tsx:9
FunctionSelectContent
({ className, children, position = "item-aligned", align = "center", ...props }: React.ComponentProp
components/ui/select.tsx:53
FunctionSelectGroup
({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>)
components/ui/select.tsx:15
FunctionSelectItem
({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>)
components/ui/select.tsx:103
FunctionSelectLabel
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>)
components/ui/select.tsx:90
FunctionSelectScrollDownButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>)
components/ui/select.tsx:161
FunctionSelectScrollUpButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>)
components/ui/select.tsx:143
FunctionSelectSeparator
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>)
components/ui/select.tsx:130
FunctionSelectTrigger
({ className, size = "default", children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trig
components/ui/select.tsx:27
FunctionSelectValue
({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>)
components/ui/select.tsx:21
FunctionSeparator
({ className, orientation = "horizontal", decorative = true, ...props }: React.ComponentProps<typeof S
components/ui/separator.tsx:8
FunctionTable
({ className, ...props }: React.ComponentProps<'table'>)
components/ui/table.tsx:7
FunctionTableBody
({ className, ...props }: React.ComponentProps<'tbody'>)
components/ui/table.tsx:23
FunctionTableCaption
({ className, ...props }: React.ComponentProps<'caption'>)
components/ui/table.tsx:82
FunctionTableCell
({ className, ...props }: React.ComponentProps<'td'>)
components/ui/table.tsx:69
FunctionTableFooter
({ className, ...props }: React.ComponentProps<'tfoot'>)
components/ui/table.tsx:33
FunctionTableHead
({ className, ...props }: React.ComponentProps<'th'>)
components/ui/table.tsx:56
FunctionTableHeader
({ className, ...props }: React.ComponentProps<'thead'>)
components/ui/table.tsx:19
FunctionTableRow
({ className, ...props }: React.ComponentProps<'tr'>)
components/ui/table.tsx:43
FunctionTrendingCoins
()
components/home/TrendingCoins.tsx:9
FunctionTrendingCoinsFallback
()
components/home/fallback.tsx:22
FunctionhandleMessage
(event: MessageEvent)
hooks/useCoinGeckoWebSocket.ts:27
FunctiontrendingClasses
(value: number)
lib/utils.ts:41