MCPcopy Create free account

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

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

MethodIsRegistered
()
relaykit/types/file_source.go:58
FunctionIsRequestPluginProtectedHeader
IsRequestPluginProtectedHeader reports a header a request plugin header.patch must not change: the requestpatch protected headers and the adaptor cred
relay/common/request_plugin.go:196
MethodIsStream
(ctx *http.Request)
relaykit/dto/claude.go:421
MethodIsStream
(c *http.Request)
relaykit/dto/openai_request.go:294
MethodIsStream
(c *http.Request)
relaykit/dto/openai_request.go:1197
MethodIsStream
(c *http.Request)
relaykit/dto/embedding.go:69
MethodIsStream
(_ *http.Request)
relaykit/dto/deepseek_tools_request.go:26
MethodIsStream
(c *http.Request)
relaykit/dto/gemini.go:653
MethodIsStream
(c *http.Request)
relaykit/dto/gemini.go:681
MethodIsStream
(c *http.Request)
relaykit/dto/rerank.go:21
MethodIsStream
(c *http.Request)
relaykit/dto/audio.go:43
MethodIsStream
(c *http.Request)
relaykit/dto/openai_image.go:184
MethodIsStream
(c *http.Request)
relaykit/dto/openai_responses_compaction_request.go:42
MethodIsStream
(_ *http.Request)
relaykit/dto/alpha_search_request.go:30
MethodIsStream
(c *http.Request)
relaykit/dto/request_common.go:22
MethodIsStringContent
()
relaykit/dto/claude.go:64
FunctionIsSupportedMimeType
IsSupportedMimeType reports whether Gemini accepts inline data of the MIME type.
relaykit/relayconvert/internal/shared/gemini/request.go:52
FunctionIsTextMimeType
IsTextMimeType reports whether a MIME type is plain text that a target can carry as text: text/* and application/json, ignoring parameters.
relaykit/relayconvert/internal/media/media.go:69
FunctionIsTwoFAEnabled
IsTwoFAEnabled 检查用户是否启用了2FA
model/twofa.go:57
MethodIsURL
IsURL 判断是否是 URL 来源
relaykit/types/request_meta.go:66
MethodIsURL
()
relaykit/types/file_source.go:79
MethodIsURL
()
relaykit/types/file_source.go:102
MethodIsUserIDTaken
(string)
controller/auth_flow_test.go:328
MethodIsUserIDTaken
(string)
controller/auth_flow_test.go:648
MethodIsUserIDTaken
(providerUserID string)
controller/auth_flow_test.go:841
MethodIsUserIDTaken
(id string)
oauth/telegram.go:187
MethodIsUserIDTaken
(providerUserID string)
oauth/github.go:206
MethodIsUserIDTaken
(providerUserID string)
oauth/oidc.go:160
MethodIsUserIDTaken
(providerUserID string)
oauth/linuxdo.go:167
MethodIsUserIDTaken
(providerUserID string)
oauth/discord.go:155
MethodIsUserIDTaken
(providerUserID string)
oauth/generic.go:288
FunctionIsVendorNameDuplicated
IsVendorNameDuplicated 检查供应商名称是否重复(排除自身 ID)
model/vendor_meta.go:47
FunctionIsolatedHtmlContent
(props: { className?: string html: string })
web/src/components/html-content.tsx:139
FunctionItem
({ className, variant = 'default', size = 'default', render, ...props }: useRender.ComponentProps<'d
web/src/components/ui/item.tsx:77
FunctionItemActions
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/item.tsx:172
FunctionItemContent
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/item.tsx:133
FunctionItemDescription
({ className, ...props }: React.ComponentProps<'p'>)
web/src/components/ui/item.tsx:159
FunctionItemFooter
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/item.tsx:195
FunctionItemGroup
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/item.tsx:27
FunctionItemHeader
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/item.tsx:182
FunctionItemMedia
({ className, variant = 'default', ...props }: React.ComponentProps<'div'> & VariantProps<typeof itemMed
web/src/components/ui/item.tsx:118
FunctionItemSeparator
({ className, ...props }: React.ComponentProps<typeof Separator>)
web/src/components/ui/item.tsx:41
FunctionItemTitle
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/item.tsx:146
MethodJSValueFor
JSValueFor is RouteRequestContext.JSValueFor with the protocol fields.
pkg/jsplugin/routing.go:400
FunctionJavaScriptViewer
(props: JavaScriptViewerProps)
web/src/features/task-plugins/components/javascript-viewer.tsx:33
FunctionJsonCodeEditor
({ value, onChange, name, onBlur, textareaRef, disabled, heightClassName = 'h-56 min-h-56 max-h-
web/src/components/json-code-editor.tsx:61
FunctionJsonEditor
({ value, onChange, disabled = false, keyPlaceholder, valuePlaceholder, keyLabel, valueLabel,
web/src/components/json-editor.tsx:63
FunctionJsonToggleSection
({ value, title, toggleDescription, optionKey, enabledKey, defaultEnabled, defaultValue, fallb
web/src/features/system-settings/content/json-toggle-section.tsx:69
FunctionKbd
({ className, ...props }: React.ComponentProps<'kbd'>)
web/src/components/ui/kbd.tsx:21
FunctionKbdGroup
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/kbd.tsx:34
FunctionKey
(props: { children: ReactNode })
web/src/features/home/components/hero-terminal-demo.tsx:519
FunctionKeysPage
()
web/src/features/keys/components/__tests__/api-key-listing.test.tsx:297
FunctionLabel
({ className, children, required = false, ...props }: React.ComponentProps<'label'> & { required?: boo
web/src/components/ui/label.tsx:25
FunctionLanguagePreferencesCard
(props: LanguagePreferencesCardProps)
web/src/features/profile/components/language-preferences-card.tsx:43
FunctionLanguageSwitcher
()
web/src/components/language-switcher.tsx:38
FunctionLatencyTrendChart
(props: { series: LatencyTimePoint[] className?: string })
web/src/features/pricing/components/model-details-charts.tsx:96
FunctionLayoutConfig
()
web/src/components/config-drawer.tsx:571
FunctionLayoutProvider
({ children }: LayoutProviderProps)
web/src/context/layout-provider.tsx:53
FunctionLearnMore
({ children, contentProps, triggerProps, ...props }: LearnMoreProps)
web/src/components/learn-more.tsx:36
FunctionLegacyAudioPreview
(props: { taskId: string })
web/src/features/usage-logs/components/task-artifacts.tsx:103
FunctionLegacyTaskArtifacts
(props: { legacyContentUrl?: string })
web/src/features/usage-logs/components/task-artifacts.tsx:393
FunctionLegacyVideoMedia
(props: LegacyVideoMediaProps)
web/src/features/usage-logs/components/task-artifacts.tsx:497
FunctionLegalConsent
({ status, checked, onCheckedChange, className, }: LegalConsentProps)
web/src/features/auth/components/legal-consent.tsx:34
FunctionLegalDocument
({ title, queryKey, fetchDocument, emptyMessage, }: LegalDocumentProps)
web/src/features/legal/legal-document.tsx:39
FunctionLegalLinks
(props: { leadingSeparator?: boolean })
web/src/components/layout/components/footer.tsx:82
FunctionLineSparkline
(props: { values?: number[]; tone: StatCardTone })
web/src/features/dashboard/components/ui/stat-card.tsx:147
FunctionListAccessTokens
(c *gin.Context)
controller/access_token.go:59
MethodListArtifacts
(task *model.Task)
relay/channel/task/jsplugin/adaptor.go:1249
FunctionListDeploymentContainers
(c *gin.Context)
controller/deployment.go:703
FunctionListSkeleton
()
web/src/components/data-table/layout/mobile-card-list.tsx:66
FunctionListSystemInstances
(c *gin.Context)
controller/system_info.go:14
FunctionListWaffoPancakeCatalog
ListWaffoPancakeCatalog returns the merchant's Stores + OnetimeProducts. Doubles as a credential probe (a successful 200 proves the resolved creds aut
controller/topup_waffo_pancake.go:221
FunctionListWaffoPancakeSubscriptionProductOptions
ListWaffoPancakeSubscriptionProductOptions returns the OnetimeProducts in the saved Pancake store, for the subscription-plan dropdown. The name reflec
controller/topup_waffo_pancake.go:304
FunctionLlmPromptHelper
({ modelName }: LlmPromptHelperProps)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:984
FunctionLoader
({ className, size = 16, ...props }: LoaderProps)
web/src/components/ai-elements/loader.tsx:109
FunctionLoaderIcon
({ size = 16 }: LoaderIconProps)
web/src/components/ai-elements/loader.tsx:28
FunctionLoadingFixture
(props: { loading: boolean; onSearch: () => void })
web/src/features/usage-logs/components/__tests__/mobile-filter.test.tsx:189
FunctionLoadingSkeleton
(props: LoadingSkeletonProps)
web/src/features/pricing/components/loading-skeleton.tsx:28
FunctionLoadingState
(props: LoadingStateProps)
web/src/components/loading-state.tsx:37
FunctionLoadingStep
({ label, status, }: { label: string status: 'pending' | 'loading' | 'done' })
web/src/features/models/components/deployment-access-guard.tsx:65
FunctionLobeIconField
(props: { id?: string value: string onChange: (value: string) => void allowInheritance?: boolean inh
web/src/components/lobe-icon-field.tsx:26
FunctionLogCostDisplay
(props: LogCostDisplayProps)
web/src/features/usage-logs/components/log-cost-display.tsx:81
FunctionLogSettingsSection
(props: LogSettingsSectionProps)
web/src/features/system-settings/maintenance/log-settings-section.tsx:73
FunctionLogStatCards
(props: LogStatCardsProps)
web/src/features/dashboard/components/models/log-stat-cards.tsx:61
FunctionLogStatCardsFallback
()
web/src/features/dashboard/index.tsx:118
FunctionLogin
(c *gin.Context)
controller/user.go:53
FunctionLoginAuth
(username, password string)
common/email-outlook-auth.go:13
FunctionLoginHarness
(props: { onResult: (bundle: AuthBundle | null) => void })
web/src/features/auth/secure-verification/__tests__/verification-flow.test.tsx:106
FunctionLoginPasskeyBegin
(c *gin.Context)
controller/login_verification.go:42
FunctionLoginPasskeyFinish
(c *gin.Context)
controller/login_verification.go:87
FunctionLoginSessionDialogs
({ revokeTarget, confirmOthers, revoking, revokingOthers, onRevokeTargetChange, onConfirmOthersCha
web/src/features/security/components/login-session-dialogs.tsx:35
FunctionLoginSessionItem
({ session, onRevoke }: LoginSessionItemProps)
web/src/features/security/components/login-session-item.tsx:37
FunctionLoginSessionsCard
()
web/src/features/security/components/login-sessions-card.tsx:60
FunctionLogo
({ className, image: SvgImage, name, version, width = 24, height = 24, showName = true, badge,
web/src/components/layout/components/logo.tsx:34
FunctionLogo
({ className, ...props }: SVGProps<SVGSVGElement>)
web/src/assets/logo.tsx:23
FunctionLogsFilterField
(props: LogsFilterFieldProps)
web/src/features/usage-logs/components/logs-filter-toolbar.tsx:69
FunctionLogsFilterInput
(props: ComponentProps<typeof Input>)
web/src/features/usage-logs/components/logs-filter-toolbar.tsx:83
FunctionLogsFilterToolbar
(props: LogsFilterToolbarProps<TData>)
web/src/features/usage-logs/components/logs-filter-toolbar.tsx:93
FunctionLogsFixture
()
web/src/features/usage-logs/components/__tests__/billing-source-visibility.test.tsx:40
FunctionLongText
({ children, className = '', contentClassName = '', }: LongTextProps)
web/src/components/long-text.tsx:40
← previousnext →10,501–10,600 of 15,409, ranked by callers