MCPcopy Create free account

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

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

FunctionUpstreamUpdateHarness
(props: { refresh?: () => Promise<void> })
web/src/features/channels/components/__tests__/upstream-update-dialog.test.tsx:54
FunctionUpstreamUpdateSession
(props: UpstreamUpdateDialogProps)
web/src/features/channels/components/dialogs/upstream-update-dialog.tsx:73
FunctionUpstreamUpdateTags
* Upstream update tags (+N / -N) shown on channel name for model-fetchable channels
web/src/features/channels/components/channels-columns.tsx:132
FunctionUptimeKumaSection
({ enabled, data }: UptimeKumaSectionProps)
web/src/features/system-settings/content/uptime-kuma-section.tsx:92
FunctionUptimePanel
()
web/src/features/dashboard/components/overview/uptime-panel.tsx:48
FunctionUptimeSparkline
(props: UptimeSparklineProps)
web/src/features/pricing/components/model-details-uptime-sparkline.tsx:68
FunctionUptimeStatusRow
(props: { series: UptimeDayPoint[] className?: string })
web/src/features/pricing/components/model-details-uptime-sparkline.tsx:148
FunctionUptimeTrendChart
(props: { series: UptimeDayPoint[] className?: string })
web/src/features/pricing/components/model-details-charts.tsx:194
MethodUsage
()
relaykit/relayconvert/internal/gemini_chat/to_oai_chat_resp.go:466
FunctionUsageFromClaudeAPIUsage
(usage *dto.ClaudeUsage)
relaykit/relayconvert/internal/claude_messages/to_oai_chat_resp.go:292
FunctionUsageFromOpenAI
(usage *dto.Usage)
relaykit/relayconvert/internal/shared/claude/usage.go:5
FunctionUsageLogs
()
web/src/features/usage-logs/index.tsx:188
FunctionUsageLogsContent
()
web/src/features/usage-logs/index.tsx:58
FunctionUsageLogsMobileList
({ table, isLoading = false, emptyTitle, emptyDescription, logCategory, }: UsageLogsMobileListProps<
web/src/features/usage-logs/components/usage-logs-mobile-card.tsx:239
FunctionUsageLogsMobileSkeleton
(props: { separate: boolean })
web/src/features/usage-logs/components/usage-logs-mobile-card.tsx:54
FunctionUsageLogsProvider
({ children }: { children: ReactNode })
web/src/features/usage-logs/components/usage-logs-provider.tsx:57
FunctionUsageLogsTable
({ logCategory }: UsageLogsTableProps)
web/src/features/usage-logs/components/usage-logs-table.tsx:87
FunctionUsageModeStep
({ form }: UsageModeStepProps)
web/src/features/setup/components/usage-mode-step.tsx:70
FunctionUsageSchemaTable
(props: UsageSchemaTableProps)
web/src/features/task-plugins/components/usage-schema-table.tsx:59
MethodUsageText
()
relaykit/relayconvert/internal/oai_chat/to_oai_responses_stream_resp.go:405
MethodUsageText
()
relaykit/relayconvert/internal/oai_responses/to_claude_messages_stream_resp.go:54
MethodUsageText
()
relaykit/relayconvert/internal/oai_responses/to_oai_chat_stream_resp.go:78
FunctionUserAgreement
()
web/src/features/legal/user-agreement.tsx:24
FunctionUserAuthForm
({ className, redirectTo, ...props }: AuthFormProps)
web/src/features/auth/sign-in/components/user-auth-form.tsx:63
FunctionUserBindingDialog
(props: Props)
web/src/features/users/components/dialogs/user-binding-dialog.tsx:167
FunctionUserCharts
(props: UserChartsProps)
web/src/features/dashboard/components/users/user-charts.tsx:75
FunctionUserInfoDialog
({ userId, open, onOpenChange, }: UserInfoDialogProps)
web/src/features/usage-logs/components/dialogs/user-info-dialog.tsx:46
FunctionUserQuotaCell
(props: UserQuotaCellProps)
web/src/features/users/components/user-quota-cell.tsx:32
FunctionUserQuotaDialog
(props: UserQuotaDialogProps)
web/src/features/users/components/user-quota-dialog.tsx:43
FunctionUserResetPassword
()
web/src/routes/(auth)/user/reset.tsx:30
FunctionUserSubscriptionsDialog
(props: Props)
web/src/features/subscriptions/components/dialogs/user-subscriptions-dialog.tsx:108
FunctionUsers
()
web/src/features/users/index.tsx:55
FunctionUsersContent
()
web/src/features/users/index.tsx:29
FunctionUsersDeleteDialog
()
web/src/features/users/components/users-delete-dialog.tsx:32
FunctionUsersMutateDrawer
({ open, onOpenChange, currentRow, }: UsersMutateDrawerProps)
web/src/features/users/components/users-mutate-drawer.tsx:110
FunctionUsersPage
()
web/src/features/users/components/__tests__/quota-display.test.tsx:247
FunctionUsersPrimaryButtons
()
web/src/features/users/components/users-primary-buttons.tsx:26
FunctionUsersProvider
({ children }: { children: React.ReactNode })
web/src/features/users/components/users-provider.tsx:46
FunctionUsersTable
()
web/src/features/users/components/users-table.tsx:65
MethodValid
(data []byte)
relaykit/relayconvert/kitutil/json_test.go:34
MethodValid
(data []byte)
relaykit/relayconvert/kitutil/json.go:40
MethodValid
(data []byte)
common/json.go:39
FunctionValidateJSONPath
ValidateJSONPath checks a path into a JSON document by the rules of a JSON change path: at most 32 segments, each a string key or a non-negative integ
pkg/jsplugin/json_state.go:33
FunctionValidateProxyURL
ValidateProxyURL validates a channel proxy URL without connecting to it.
service/http_client.go:212
MethodValidateRequestAndSetAction
(c *gin.Context, info *relaycommon.RelayInfo)
relay/channel/task/jsplugin/adaptor.go:165
FunctionValidateSessionReference
ValidateSessionReference validates a server-side flow bound to an existing dashboard session without requiring an access token on the callback request
service/auth_session.go:164
MethodValue
Value 实现 driver.Valuer 接口,用于数据库写入 必须返回 string 而非 []byte:PG simple protocol 下 []byte 按 bytea 编码, 写 json 列会触发 SQLSTATE 22P02。
model/prefill_group.go:25
MethodValue
Value implements driver.Valuer interface 必须返回 string 而非 []byte:PG simple protocol 下 []byte 参数按 bytea 编码,写 json 列会触发 SQLSTATE 22P02。
model/channel.go:182
MethodValue
()
model/task.go:240
FunctionVendorLink
Vendor pages open in a new tab that keeps no reference to this one.
web/src/features/channels/components/dialogs/plugin-login-steps.tsx:54
FunctionVendorLink
(props: VendorLinkProps)
web/src/features/rankings/components/entity-links.tsx:69
FunctionVendorLinkedModels
({ vendor, onNavigate, }: { vendor: Vendor onNavigate: (navigate: () => void) => void })
web/src/features/models/components/vendor-linked-models.tsx:43
FunctionVendorList
(props: { rows: VendorRanking[] colourMap: Record<string, string> })
web/src/features/rankings/components/market-share-section.tsx:274
FunctionVendorMutateDialog
(props: { open: boolean onOpenChange: (open: boolean) => void currentVendor?: Vendor | null })
web/src/features/models/components/dialogs/vendor-mutate-dialog.tsx:69
FunctionVendorOperationDialog
(props: { selection: VendorOperation onClose: () => void onSuccess?: () => void })
web/src/features/models/components/dialogs/vendor-operation-dialog.tsx:45
FunctionVendorsManagementDialog
(props: { open: boolean onOpenChange: (open: boolean) => void })
web/src/features/models/components/dialogs/vendors-management-dialog.tsx:37
FunctionVendorsTable
()
web/src/features/models/components/vendors-table.tsx:54
FunctionVerify2FALogin
Verify2FALogin 登录时验证2FA
controller/twofa.go:156
FunctionVideoProxy
(c *gin.Context)
controller/video_proxy.go:65
FunctionViewDetailsDialog
({ open, onOpenChange, deploymentId, }: { open: boolean onOpenChange: (open: boolean) => void depl
web/src/features/models/components/dialogs/view-details-dialog.tsx:56
FunctionViewLogsDialog
({ open, onOpenChange, deploymentId, }: ViewLogsDialogProps)
web/src/features/models/components/dialogs/view-logs-dialog.tsx:65
MethodVisit
(node *ast.Node)
pkg/billingexpr/compile.go:43
FunctionVisualBillingDocumentEditor
(props: { document: VisualBillingDocument currency: PricingCurrency issues: VisualBillingIssue[] onCha
web/src/features/system-settings/models/visual-billing-document-editor.tsx:381
FunctionVisualConditionTree
(props: ConditionProps)
web/src/features/system-settings/models/visual-condition-tree.tsx:351
FunctionWaffoPancakeSettingsSection
({ defaultValues, values, onValueChange, selectedBinding, savedBinding, onSelectedBindingChange, }
web/src/features/system-settings/integrations/waffo-pancake-settings-section.tsx:69
FunctionWaffoPancakeWebhook
(c *gin.Context)
controller/topup_waffo_pancake.go:431
FunctionWaffoSettingsSection
({ values, onValueChange, payMethods, onPayMethodsChange, }: Props)
web/src/features/system-settings/integrations/waffo-settings-section.tsx:73
FunctionWaffoWebhook
WaffoWebhook 处理 Waffo 回调通知(支付/退款/订阅)
controller/topup_waffo.go:336
FunctionWallet
(props: WalletProps)
web/src/features/wallet/index.tsx:62
FunctionWalletStatsCard
(props: WalletStatsCardProps)
web/src/features/wallet/components/wallet-stats-card.tsx:33
MethodWarn
(context.Context, string, ...any)
model/user_session_migration_test.go:38
FunctionWeChatAuth
(c *gin.Context)
controller/wechat.go:59
FunctionWeChatBind
(c *gin.Context)
controller/wechat.go:111
FunctionWeChatBindDialog
(props: WeChatBindDialogProps)
web/src/features/security/components/dialogs/wechat-bind-dialog.tsx:58
MethodWebAuthnCredentials
()
service/passkey/user.go:51
MethodWebAuthnDisplayName
()
service/passkey/user.go:40
MethodWebAuthnID
()
service/passkey/user.go:22
FunctionWebPreview
({ className, children, defaultUrl = '', onUrlChange, ...props }: WebPreviewProps)
web/src/components/ai-elements/web-preview.tsx:70
FunctionWebPreviewBody
({ className, loading, src, ...props }: WebPreviewBodyProps)
web/src/components/ai-elements/web-preview.tsx:202
FunctionWebPreviewConsole
({ className, logs = [], children, ...props }: WebPreviewConsoleProps)
web/src/components/ai-elements/web-preview.tsx:233
FunctionWebPreviewNavigation
({ className, children, ...props }: WebPreviewNavigationProps)
web/src/components/ai-elements/web-preview.tsx:109
FunctionWebPreviewNavigationButton
({ onClick, disabled, tooltip, children, ...props }: WebPreviewNavigationButtonProps)
web/src/components/ai-elements/web-preview.tsx:126
FunctionWebPreviewUrl
({ value, onChange, onKeyDown, ...props }: WebPreviewUrlProps)
web/src/components/ai-elements/web-preview.tsx:158
FunctionWeightCell
* Weight cell component with inline editing
web/src/features/channels/components/channels-columns.tsx:286
FunctionWorkerSettingsSection
({ defaultValues, }: WorkerSettingsSectionProps)
web/src/features/system-settings/integrations/worker-settings-section.tsx:64
FunctionWorkspace
()
web/src/features/system-settings/request-policies/__tests__/routing.test.tsx:97
FunctionWrapper
(props: { children: ReactNode })
web/src/features/system-update/__tests__/update-checking.test.tsx:60
FunctionWrapper
(props: { children: ReactNode })
web/src/hooks/__tests__/sidebar-config.test.tsx:83
MethodWrite
(p []byte)
relay/channel/openai/relay_responses_billing_test.go:73
MethodWrite
(p []byte)
relay/helper/stream_scanner.go:105
MethodWrite
(data []byte)
relay/requestplugin/report.go:80
MethodWriteHeader
(status int)
relay/helper/common.go:48
MethodWriteHeader
(code int)
relay/helper/stream_scanner_test.go:30
MethodWriteHeaderNow
()
relay/helper/common.go:53
MethodWriteString
(s string)
relay/helper/stream_scanner.go:110
MethodWriteString
(text string)
relay/requestplugin/report.go:89
MethodWritten
()
relay/helper/common.go:75
FunctionWssAuth
(c *gin.Context)
middleware/auth.go:422
FunctionabortWithMidjourneyMessage
(c *gin.Context, statusCode int, code int, description string)
middleware/utils.go:47
Functionadapter
(config)
web/src/lib/__tests__/server-error-notifications.test.ts:55
← previousnext →14,401–14,500 of 15,409, ranked by callers