MCPcopy Create free account

hub / github.com/Open-Dev-Society/OpenStock / functions

Functions216 in github.com/Open-Dev-Society/OpenStock

FunctionCountrySelect
({ value, onChange, }: { valu
components/forms/CountrySelectField.tsx:33
FunctionCountrySelectField
({ name, label,
components/forms/CountrySelectField.tsx:118
FunctionCreateAlertModal
({ userId, symbol, currentPrice, companyName = "", onAlertCreated, children, open:
components/watchlist/CreateAlertModal.tsx:24
FunctionDialog
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>)
components/ui/dialog.tsx:9
FunctionDialogClose
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>)
components/ui/dialog.tsx:27
FunctionDialogContent
({ className, children, showCloseButton = true, ...props }: React.ComponentProps<typeof DialogPrimitiv
components/ui/dialog.tsx:49
FunctionDialogDescription
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>)
components/ui/dialog.tsx:119
FunctionDialogFooter
({ className, ...props }: React.ComponentProps<"div">)
components/ui/dialog.tsx:93
FunctionDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
components/ui/dialog.tsx:83
FunctionDialogOverlay
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>)
components/ui/dialog.tsx:33
FunctionDialogPortal
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>)
components/ui/dialog.tsx:21
FunctionDialogTitle
({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>)
components/ui/dialog.tsx:106
FunctionDialogTrigger
({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>)
components/ui/dialog.tsx:15
FunctionDonatePopup
()
components/DonatePopup.tsx:20
FunctionDropdownMenu
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>)
components/ui/dropdown-menu.tsx:9
FunctionDropdownMenuCheckboxItem
({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Checkbo
components/ui/dropdown-menu.tsx:85
FunctionDropdownMenuContent
({ className, sideOffset = 4, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>)
components/ui/dropdown-menu.tsx:34
FunctionDropdownMenuGroup
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>)
components/ui/dropdown-menu.tsx:54
FunctionDropdownMenuItem
({ className, inset, variant = "default", ...props }: React.ComponentProps<typeof DropdownMenuPrimitiv
components/ui/dropdown-menu.tsx:62
FunctionDropdownMenuLabel
({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & { inset?:
components/ui/dropdown-menu.tsx:146
FunctionDropdownMenuPortal
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>)
components/ui/dropdown-menu.tsx:15
FunctionDropdownMenuRadioGroup
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>)
components/ui/dropdown-menu.tsx:111
FunctionDropdownMenuRadioItem
({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>)
components/ui/dropdown-menu.tsx:122
FunctionDropdownMenuSeparator
({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>)
components/ui/dropdown-menu.tsx:166
FunctionDropdownMenuShortcut
({ className, ...props }: React.ComponentProps<"span">)
components/ui/dropdown-menu.tsx:179
FunctionDropdownMenuSub
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>)
components/ui/dropdown-menu.tsx:195
FunctionDropdownMenuSubContent
({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>)
components/ui/dropdown-menu.tsx:225
FunctionDropdownMenuSubTrigger
({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigge
components/ui/dropdown-menu.tsx:201
FunctionDropdownMenuTrigger
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>)
components/ui/dropdown-menu.tsx:23
FunctionFeatureCard
({ icon, title, desc, color }: any)
app/(root)/about/page.tsx:106
FunctionFooter
()
components/Footer.tsx:5
FunctionFooterLink
({text, linkText, href}: FooterLinkProps)
components/forms/FooterLink.tsx:4
FunctionForgotPasswordPage
()
app/(auth)/forgot-password/page.tsx:16
FunctionHeader
({ user }: { user: User })
components/Header.tsx:7
FunctionHelpCard
({ icon, title, desc, link, linkText }: any)
app/(root)/help/page.tsx:113
FunctionHelpPage
()
app/(root)/help/page.tsx:17
FunctionHome
()
app/(root)/page.tsx:9
FunctionInput
({ className, type, ...props }: React.ComponentProps<"input">)
components/ui/input.tsx:5
FunctionInputField
({name, label, placeholder, type ="text", register, error, validation, disabled, value}: FormInputProps)
components/forms/InputField.tsx:6
FunctionJobCard
({ icon, title, trigger, desc, color }: any)
app/(root)/api-docs/page.tsx:217
FunctionLabel
({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>)
components/ui/label.tsx:8
FunctionLayout
({ children }: { children: React.ReactNode })
app/(root)/layout.tsx:9
FunctionLayout
({ children }: { children : React.ReactNode })
app/(auth)/layout.tsx:8
FunctionNavItems
({initialStocks}: { initialStocks: StockWithWatchlistStatus[]})
components/NavItems.tsx:21
FunctionNewsGrid
({ news }: NewsGridProps)
components/watchlist/NewsGrid.tsx:12
FunctionODSLogoSVG
({ size = 26 })
components/OpenDevSocietyBranding.tsx:5
FunctionOpenDevSocietyBranding
({ text = "Initiative by",
components/OpenDevSocietyBranding.tsx:156
FunctionPasswordRequirements
({ password }: { password: string })
components/forms/PasswordRequirements.tsx:8
FunctionPopover
({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>)
components/ui/popover.tsx:8
FunctionPopoverAnchor
({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>)
components/ui/popover.tsx:42
FunctionPopoverContent
({ className, align = "center", sideOffset = 4, ...props }: React.ComponentProps<typeof PopoverPrimiti
components/ui/popover.tsx:20
FunctionPopoverTrigger
({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>)
components/ui/popover.tsx:14
FunctionPromiseItem
({ text }: { text: string })
app/(root)/terms/page.tsx:89
FunctionResetPasswordForm
()
app/(auth)/reset-password/ResetPasswordForm.tsx:21
FunctionResetPasswordPage
()
app/(auth)/reset-password/page.tsx:5
FunctionRootLayout
({ children, }: Readonly<{ child
app/layout.tsx:22
FunctionSearchCommand
({ renderAs = 'button', label = 'Add stock', initialStocks }: SearchCommandProps)
components/SearchCommand.tsx:11
FunctionSelect
({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>)
components/ui/select.tsx:9
FunctionSelectContent
({ className, children, position = "popper", ...props }: React.ComponentProps<typeof SelectPrimitive.C
components/ui/select.tsx:53
FunctionSelectField
({name, label, placeholder, options, control, error, required = false}: SelectFieldProps)
components/forms/SelectField.tsx:12
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:101
FunctionSelectLabel
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>)
components/ui/select.tsx:88
FunctionSelectScrollDownButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>)
components/ui/select.tsx:156
FunctionSelectScrollUpButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>)
components/ui/select.tsx:138
FunctionSelectSeparator
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>)
components/ui/select.tsx:125
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
FunctionSignIn
()
app/(auth)/sign-in/page.tsx:14
FunctionSignUp
()
app/(auth)/sign-up/page.tsx:17
FunctionSirayBanner
()
components/SirayBanner.tsx:8
FunctionSocialButton
({ href, icon, label }: any)
app/(root)/about/page.tsx:122
FunctionStackItem
({ title, desc, url }: any)
app/(root)/api-docs/page.tsx:235
FunctionStockDetails
({ params }: StockDetailsPageProps)
app/(root)/stocks/[symbol]/page.tsx:19
FunctionStockSentimentCard
({ insight }: StockSentimentCardProps)
components/stocks/StockSentimentCard.tsx:36
FunctionTermsPage
()
app/(root)/terms/page.tsx:9
FunctionToaster
({ ...props }: ToasterProps)
components/ui/sonner.tsx:6
FunctionTradingViewWatchlist
({ symbols }: TradingViewWatchlistProps)
components/watchlist/TradingViewWatchlist.tsx:10
FunctionTradingViewWidget
({ title, scriptUrl, config, height = 600, className, allowExpand = false }: TradingViewWidgetProps)
components/TradingViewWidget.tsx:18
FunctionUserDropdown
({ user, initialStocks }: {user: User, initialStocks: StockWithWatchlistStatus[]})
components/UserDropdown.tsx:18
FunctionWatchlistButton
({ symbol, company, isInWatchlist, showTrashIcon = false, type = "button", userId,
components/WatchlistButton.tsx:16
FunctionWatchlistManager
({ initialItems, userId }: WatchlistManagerProps)
components/watchlist/WatchlistManager.tsx:15
FunctionWatchlistPage
()
app/(root)/watchlist/page.tsx:14
FunctionWatchlistStockChip
({ symbol, userId }: WatchlistStockChipProps)
components/watchlist/WatchlistStockChip.tsx:14
FunctionWatchlistTable
({ data, userId, onRefresh }: WatchlistTableProps)
components/watchlist/WatchlistTable.tsx:18
Functiondelay
(ms: number)
lib/utils.ts:24
FunctionfetchJSON
(url: string, revalidateSeconds?: number)
lib/actions/finnhub.actions.ts:36
FunctionformatTimeAgo
(timestamp: number)
lib/utils.ts:8
FunctiongetAlertText
(alert: Alert)
lib/utils.ts:144
FunctiongetAllUsersForNewsEmail
()
lib/actions/user.actions.ts:5
FunctiongetTodayDateRange
()
lib/utils.ts:49
FunctiongetTodayString
()
lib/utils.ts:80
FunctiongetWatchlistSymbolsByEmail
(email: string)
lib/actions/watchlist.actions.ts:71
FunctionhandleBellClick
()
components/watchlist/WatchlistStockChip.tsx:19
FunctionhandleClick
(e: React.MouseEvent)
components/WatchlistButton.tsx:33
FunctionhandleDonate
()
components/DonatePopup.tsx:57
FunctionhandleOpenPopup
()
components/DonatePopup.tsx:46
FunctionhandleRemove
()
components/watchlist/WatchlistStockChip.tsx:40
FunctionhandleResize
()
components/TradingViewWidget.tsx:25
FunctionhandleSearch
()
components/SearchCommand.tsx:31
← previousnext →101–200 of 216, ranked by callers