MCPcopy Create free account

hub / github.com/QuantumNous/new-api / functions

Functions15,409 in github.com/QuantumNous/new-api

FunctionSignIn
()
web/src/features/auth/sign-in/index.tsx:28
FunctionSignOutDialog
({ open, onOpenChange }: SignOutDialogProps)
web/src/components/sign-out-dialog.tsx:35
FunctionSignUp
()
web/src/features/auth/sign-up/index.tsx:28
FunctionSignUpForm
({ className, ...props }: React.HTMLAttributes<HTMLFormElement>)
web/src/features/auth/sign-up/components/sign-up-form.tsx:62
MethodSignUpstreamRequest
SignUpstreamRequest signs the submit request.
relay/channel/task/jsplugin/credential.go:166
MethodSignUpstreamRequest
SignUpstreamRequest runs the plugin's signRequest on every request the channel sends, after the header overrides.
relay/channel/providerplugin/adaptor.go:131
FunctionSiteSettings
()
web/src/features/system-settings/site/index.tsx:43
MethodSize
()
common/body_storage.go:40
MethodSize
()
common/body_storage.go:136
MethodSize
()
common/body_storage.go:303
MethodSize
()
common/body_storage.go:428
MethodSize
()
relay/helper/common.go:69
FunctionSkeleton
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/skeleton.tsx:21
FunctionSkipToMain
()
web/src/components/skip-to-main.tsx:21
FunctionSlider
({ className, defaultValue, value, min = 0, max = 100, ...props }: SliderPrimitive.Root.Props)
web/src/components/ui/slider.tsx:23
FunctionSource
({ href, title, children, ...props }: SourceProps)
web/src/components/ai-elements/sources.tsx:87
MethodSource
()
service/funding_source.go:40
MethodSource
()
service/funding_source.go:95
FunctionSourceDiff
(props: SourceDiffProps)
web/src/features/task-plugins/components/source-diff.tsx:71
FunctionSources
({ className, ...props }: SourcesProps)
web/src/components/ai-elements/sources.tsx:34
FunctionSourcesContent
({ className, ...props }: SourcesContentProps)
web/src/components/ai-elements/sources.tsx:71
FunctionSourcesTrigger
({ className, count, children, ...props }: SourcesTriggerProps)
web/src/components/ai-elements/sources.tsx:45
FunctionSpinner
({ className, strokeWidth = 2, ...props }: SpinnerProps)
web/src/components/ui/spinner.tsx:31
FunctionSplitHeaderTableView
({ props, rows, colSpan, getColumnClassName, }: { props: DataTableViewProps<TData> rows: Row<TData
web/src/components/data-table/core/data-table-view.tsx:119
FunctionStaggerContainer
(props: StaggerContainerProps)
web/src/components/page-transition.tsx:95
FunctionStaggerItem
(props: StaggerItemProps)
web/src/components/page-transition.tsx:120
MethodStart
(_ *smtp.ServerInfo)
common/email-outlook-auth.go:17
FunctionStartStepItem
(props: { step: StartStep index: number isLast: boolean })
web/src/features/dashboard/components/overview/overview-dashboard.tsx:224
FunctionStatBadge
(props: { label: string value: string | number accent: string })
web/src/features/usage-logs/components/common-logs-stats.tsx:35
FunctionStatCard
(props: { icon: React.ComponentType<{ className?: string }> label: string value: React.ReactNode hint?
web/src/features/pricing/components/model-details-performance.tsx:48
FunctionStatCard
(props: StatCardProps)
web/src/features/dashboard/components/ui/stat-card.tsx:234
FunctionStatCardDetails
(props: { details: StatCardDetail[] })
web/src/features/dashboard/components/ui/stat-card.tsx:208
FunctionStatItem
({ value, suffix, description }: StatItemProps)
web/src/features/home/components/stat-item.tsx:33
FunctionStaticDataTable
( props: StaticDataTableProps<TData> )
web/src/components/data-table/static/static-data-table.tsx:74
FunctionStaticDataTableEmptyRow
({ colSpan, children, className, }: StaticDataTableEmptyRowProps)
web/src/components/data-table/static/static-data-table.tsx:226
FunctionStaticDataTableRow
({ row, index, columns, getRowClassName, renderRow, }: StaticDataTableRowProps<TData>)
web/src/components/data-table/static/static-data-table.tsx:153
FunctionStaticDataTableWithColumns
({ columns, data, getRowKey, getRowClassName, renderRow, empty, emptyContent, emptyClassName,
web/src/components/data-table/static/static-data-table.tsx:95
FunctionStaticRowActions
(props: StaticRowActionsProps)
web/src/components/data-table/static/static-row-actions.tsx:40
FunctionStatisticsCard
({ label, count, total }: StatisticsCardProps)
web/src/features/channels/components/dialogs/multi-key-statistics-card.tsx:27
FunctionStats
(_props: StatsProps)
web/src/features/home/components/sections/stats.tsx:97
MethodStatus
()
relay/helper/common.go:63
FunctionStatusBadge
({ label, children, icon: Icon, variant, size = 'sm', pulse = false, showDot = false, copyable
web/src/components/status-badge.tsx:138
FunctionStatusBadgeList
(props: StatusBadgeListProps<T>)
web/src/components/status-badge.tsx:229
FunctionStatusCodeRiskDialog
({ open, onOpenChange, detailItems, onConfirm, }: StatusCodeRiskDialogProps)
web/src/features/channels/components/dialogs/status-code-risk-dialog.tsx:49
FunctionStepNavigation
({ currentStep, totalSteps, onBack, onNext, onSubmit, isSubmitting = false, }: StepNavigationProps
web/src/features/setup/components/step-navigation.tsx:33
MethodStopContainer
StopContainer stops a specific container (if supported by the API)
pkg/ionet/container.go:251
FunctionStrToJsonArray
(str string)
common/str.go:58
MethodStreamContainerLogs
StreamContainerLogs streams real-time logs for a specific container This method uses a callback function to handle incoming log entries
pkg/ionet/container.go:168
FunctionStreamResponseClaude2OpenAI
(claudeResponse *dto.ClaudeResponse)
relay/channel/claude/relay-claude.go:38
FunctionStreamTpsCell
(props: StreamTpsCellProps)
web/src/features/usage-logs/components/timing-metrics-cell.tsx:171
MethodStreamUsage
()
relaykit/relayconvert/internal/oai_chat/to_gemini_chat_resp.go:393
MethodStreamUsage
()
relaykit/relayconvert/internal/oai_chat/to_oai_responses_stream_resp.go:126
MethodStreamUsage
()
relaykit/relayconvert/internal/oai_responses/to_claude_messages_stream_resp.go:71
MethodStreamUsage
()
relaykit/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:65
MethodString
()
relay/channel/volcengine/protocols.go:128
MethodString
()
relay/channel/volcengine/protocols.go:256
FunctionStringText
(props: { children: ReactNode })
web/src/features/home/components/hero-terminal-demo.tsx:525
FunctionStringToByteSlice
StringToByteSlice []byte only read, panic on append
common/str.go:90
FunctionStripeWebhook
(c *gin.Context)
controller/topup_stripe.go:164
FunctionSubHeading
(props: { title: string icon?: ReactNode iconTone?: IconBadgeTone status?: ChannelConfigurationStatus
web/src/features/channels/components/drawers/channel-mutate-drawer.tsx:419
FunctionSubscriptionEpayNotify
(c *gin.Context)
controller/subscription_payment_epay.go:118
FunctionSubscriptionEpayReturn
SubscriptionEpayReturn handles browser return after payment. It verifies the payload and completes the order, then redirects to console.
controller/subscription_payment_epay.go:173
FunctionSubscriptionPlansCard
({ topupInfo, onAvailabilityChange, userQuota, onPurchaseSuccess, }: SubscriptionPlansCardProps)
web/src/features/wallet/components/subscription-plans-card.tsx:97
FunctionSubscriptionPurchaseDialog
(props: Props)
web/src/features/subscriptions/components/dialogs/subscription-purchase-dialog.tsx:65
FunctionSubscriptionRequestBalancePay
(c *gin.Context)
controller/subscription.go:99
FunctionSubscriptionRequestCreemPay
(c *gin.Context)
controller/subscription_payment_creem.go:22
FunctionSubscriptionRequestEpay
(c *gin.Context)
controller/subscription_payment_epay.go:24
FunctionSubscriptionRequestStripePay
(c *gin.Context)
controller/subscription_payment_stripe.go:23
FunctionSubscriptionRequestWaffoPancakePay
(c *gin.Context)
controller/subscription_payment_waffo_pancake.go:23
FunctionSubscriptionStatusBadge
(props: { sub: UserSubscriptionRecord['subscription'] t: (key: string) => string })
web/src/features/subscriptions/components/dialogs/user-subscriptions-dialog.tsx:73
FunctionSubscriptions
()
web/src/features/subscriptions/index.tsx:79
FunctionSubscriptionsContent
()
web/src/features/subscriptions/index.tsx:33
FunctionSubscriptionsDialogs
()
web/src/features/subscriptions/components/subscriptions-dialogs.tsx:24
FunctionSubscriptionsMutateDrawer
({ open, onOpenChange, currentRow, }: Props)
web/src/features/subscriptions/components/subscriptions-mutate-drawer.tsx:93
FunctionSubscriptionsPrimaryButtons
()
web/src/features/subscriptions/components/subscriptions-primary-buttons.tsx:26
FunctionSubscriptionsProvider
({ children, }: { children: React.ReactNode })
web/src/features/subscriptions/components/subscriptions-provider.tsx:44
FunctionSubscriptionsTable
()
web/src/features/subscriptions/components/subscriptions-table.tsx:30
FunctionSuggestion
({ suggestion, onClick, className, variant = 'outline', size = 'sm', children, ...props }: Sugge
web/src/components/ai-elements/suggestion.tsx:47
FunctionSuggestions
({ className, children, ...props }: SuggestionsProps)
web/src/components/ai-elements/suggestion.tsx:29
FunctionSumUsedToken
(logType int, startTimestamp int64, endTimestamp int64, modelName string, username string, tokenName string)
model/log.go:755
FunctionSummaryCards
()
web/src/features/dashboard/components/overview/summary-cards.tsx:140
FunctionSummaryField
({ label, cell, className, valueClassName, primaryOnly = false, }: { label?: string cell?: Cell<
web/src/features/usage-logs/components/usage-logs-mobile-card.tsx:123
FunctionSupportedMimeTypesList
()
relaykit/relayconvert/internal/shared/gemini/request.go:293
FunctionSupportedParametersSection
(props: { model: PricingModel })
web/src/features/pricing/components/model-details-api.tsx:555
FunctionSupportsResponsesCompact
(channelType, apiType int)
common/api_type.go:97
FunctionSwitch
({ className, size = 'default', ...props }: SwitchPrimitive.Root.Props & { size?: 'sm' | 'default' })
web/src/components/ui/switch.tsx:23
FunctionSyncCell
Whether a node has loaded the latest settings, channels, plugins and so on.
web/src/features/system-info/components/system-instances-panel.tsx:250
FunctionSyncDiskCacheStats
SyncDiskCacheStats 从实际磁盘状态同步统计信息 用于修正统计与实际不符的情况
common/disk_cache_config.go:160
FunctionSyncFieldsEditor
(syncFieldsEditorProps: SyncFieldsEditorProps)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:3189
FunctionSyncPriceCell
(props: { values: PricingSyncValues compareTo?: PricingSyncValues })
web/src/features/system-settings/models/upstream-price-cells.tsx:38
FunctionSyncPriceMetrics
(props: { lines: Array<{ label: string; value: string }> })
web/src/features/system-settings/models/upstream-price-cells.tsx:128
FunctionSyncSourceHeader
(props: { source: string })
web/src/features/system-settings/models/upstream-price-cells.tsx:145
FunctionSyncSourcePriceCell
(props: { row: PricingSyncRow source: string })
web/src/features/system-settings/models/upstream-price-cells.tsx:175
FunctionSyncUpstreamModels
(c *gin.Context)
controller/model_sync.go:413
FunctionSyncUpstreamPreview
(c *gin.Context)
controller/model_sync.go:317
FunctionSyncWizardDialog
(props: { open: boolean onOpenChange: (open: boolean) => void })
web/src/features/models/components/dialogs/sync-wizard-dialog.tsx:82
FunctionSystemBehaviorSection
({ defaultValues, }: SystemBehaviorSectionProps)
web/src/features/system-settings/general/system-behavior-section.tsx:55
FunctionSystemBrand
(props: SystemBrandProps)
web/src/components/layout/components/system-brand.tsx:48
FunctionSystemInfo
()
web/src/features/system-info/index.tsx:27
FunctionSystemInfoSection
({ defaultValues }: SystemInfoSectionProps)
web/src/features/system-settings/general/system-info-section.tsx:77
← previousnext →11,501–11,600 of 15,409, ranked by callers