MCPcopy Create free account

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

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

FunctionCreateVendorMeta
CreateVendorMeta 新建供应商
controller/vendor_meta.go:46
FunctionCreateWaffoPancakePair
CreateWaffoPancakePair mints a Store + OnetimeProduct pair in one round- trip. Surfaces an orphan-store flag when the product half fails so the fronte
controller/topup_waffo_pancake.go:171
FunctionCreateWaffoPancakeSubscriptionProduct
CreateWaffoPancakeSubscriptionProduct mints an OnetimeProduct (not SubscriptionProduct — see service.CreateWaffoPancakeProductForPlan) sized to a plan
controller/topup_waffo_pancake.go:252
FunctionCredentialRow
(props: { item: PluginCredentialSummary multiKey: boolean disabled: boolean onLogin: () => void })
web/src/features/channels/components/drawers/plugin-credential-panel.tsx:184
FunctionCreemConfirmDialog
({ open, onOpenChange, onConfirm, product, processing, }: CreemConfirmDialogProps)
web/src/features/wallet/components/dialogs/creem-confirm-dialog.tsx:37
FunctionCreemProductDialog
({ open, onOpenChange, onSave, editData, }: CreemProductDialogProps)
web/src/features/system-settings/integrations/creem-product-dialog.tsx:71
FunctionCreemProductsSection
({ products, onProductSelect, loading, }: CreemProductsSectionProps)
web/src/features/wallet/components/creem-products-section.tsx:34
FunctionCreemProductsVisualEditor
({ value, onChange, }: CreemProductsVisualEditorProps)
web/src/features/system-settings/integrations/creem-products-visual-editor.tsx:44
FunctionCreemWebhook
(c *gin.Context)
controller/topup_creem.go:238
FunctionCustomEmptyHarness
()
web/src/features/keys/components/__tests__/auto-group-order-editor.test.tsx:119
FunctionCustomOAuthSection
(props: CustomOAuthSectionProps)
web/src/features/system-settings/auth/custom-oauth/custom-oauth-section.tsx:36
FunctionCustomProviderIcon
(props: { iconUrl?: string })
web/src/features/users/components/dialogs/user-binding-dialog.tsx:153
FunctionDashboard
()
web/src/features/dashboard/index.tsx:199
FunctionDashboardListModels
(c *gin.Context)
controller/model.go:325
FunctionDashboardSection
({ defaultValues }: DashboardSectionProps)
web/src/features/system-settings/content/dashboard-section.tsx:73
FunctionDataTableBulkActions
({ table, entityName, placement = 'floating', children, }: DataTableBulkActionsProps<TData>)
web/src/components/data-table/toolbar/bulk-actions.tsx:51
FunctionDataTableBulkActions
({ table }: DataTableBulkActionsProps)
web/src/features/users/components/data-table-bulk-actions.tsx:29
FunctionDataTableBulkActions
({ table, }: DataTableBulkActionsProps<TData>)
web/src/features/channels/components/data-table-bulk-actions.tsx:55
FunctionDataTableBulkActions
(props: DataTableBulkActionsProps)
web/src/features/redemption-codes/components/data-table-bulk-actions.tsx:46
FunctionDataTableBulkActions
({ table, }: DataTableBulkActionsProps<TData>)
web/src/features/models/components/data-table-bulk-actions.tsx:45
FunctionDataTableBulkActions
({ table, }: DataTableBulkActionsProps<TData>)
web/src/features/keys/components/data-table-bulk-actions.tsx:42
FunctionDataTableCardGrid
(props: DataTableCardGridProps<TData>)
web/src/components/data-table/layout/card-grid.tsx:136
FunctionDataTableColgroup
({ table, }: { table: TanstackTable<TData> })
web/src/components/data-table/core/data-table-colgroup.tsx:23
FunctionDataTableColumnHeader
({ column, title, className, }: DataTableColumnHeaderProps<TData, TValue>)
web/src/components/data-table/core/column-header.tsx:44
FunctionDataTableFacetedFilterInner
({ column, title, options, singleSelect = false, }: DataTableFacetedFilterProps<TData, TValue>)
web/src/components/data-table/toolbar/faceted-filter.tsx:57
FunctionDataTableHeader
({ table, applyHeaderSize, className, rowClassName, getColumnClassName, }: DataTableHeaderProps<TDat
web/src/components/data-table/core/data-table-header.tsx:42
FunctionDataTableMobileFilterPanel
( props: DataTableMobileFilterPanelProps )
web/src/components/data-table/toolbar/mobile-filter-panel.tsx:38
FunctionDataTablePage
(props: DataTablePageProps<TData>)
web/src/components/data-table/layout/data-table-page.tsx:317
FunctionDataTablePagination
({ table, compact = false, }: DataTablePaginationProps<TData>)
web/src/components/data-table/core/pagination.tsx:50
FunctionDataTableRow
(props: DataTableRowProps<TData>)
web/src/components/data-table/core/data-table-row.tsx:112
FunctionDataTableRowActionMenu
(props: DataTableRowActionMenuProps)
web/src/components/data-table/core/row-action-menu.tsx:39
FunctionDataTableRowActions
({ row }: DataTableRowActionsProps)
web/src/features/users/components/data-table-row-actions.tsx:77
FunctionDataTableRowActions
({ row }: DataTableRowActionsProps)
web/src/features/channels/components/data-table-row-actions.tsx:82
FunctionDataTableRowActions
({ row, }: DataTableRowActionsProps<TData>)
web/src/features/redemption-codes/components/data-table-row-actions.tsx:48
FunctionDataTableRowActions
({ row }: DataTableRowActionsProps)
web/src/features/models/components/data-table-row-actions.tsx:42
FunctionDataTableRowActions
({ row }: DataTableRowActionsProps)
web/src/features/subscriptions/components/data-table-row-actions.tsx:37
FunctionDataTableRowActions
({ row, }: DataTableRowActionsProps<TData>)
web/src/features/keys/components/data-table-row-actions.tsx:79
FunctionDataTableRowInner
({ row, isSelected, className, getColumnClassName, cellRenderColumns, visibleColumnIds, ...rowPr
web/src/components/data-table/core/data-table-row.tsx:50
FunctionDataTableTagRowActions
({ row }: DataTableTagRowActionsProps)
web/src/features/channels/components/data-table-tag-row-actions.tsx:45
FunctionDataTableToolbar
(props: DataTableToolbarProps<TData>)
web/src/components/data-table/toolbar/toolbar.tsx:159
FunctionDataTableView
(props: DataTableViewProps<TData>)
web/src/components/data-table/core/data-table-view.tsx:50
FunctionDataTableViewModeToggle
(props: DataTableViewModeToggleProps)
web/src/components/data-table/toolbar/view-mode-toggle.tsx:52
FunctionDataTableViewOptions
({ table, }: DataTableViewOptionsProps<TData>)
web/src/components/data-table/toolbar/view-options.tsx:37
FunctionDatabaseStep
({ status }: DatabaseStepProps)
web/src/features/setup/components/database-step.tsx:71
FunctionDatePicker
({ selected, onSelect, placeholder, }: DatePickerProps)
web/src/components/date-picker.tsx:48
FunctionDateTimePicker
({ value, onChange, placeholder, className, }: DateTimePickerProps)
web/src/components/datetime-picker.tsx:52
FunctionDeclaredRouteRow
* One route the plugin declares itself, at its declared path or, when * `showKeyAddress` is set, at its /{key} address. A declared path the gateway
web/src/features/task-plugins/components/plugin-endpoints.tsx:101
MethodDecode
(s string)
pkg/cachex/codec.go:21
MethodDecode
(s string)
pkg/cachex/codec.go:32
MethodDecode
(s string)
pkg/cachex/codec.go:44
MethodDecode
(reader io.Reader, value any)
pkg/jsplugin/engine_test.go:459
MethodDecode
(r io.Reader, v any)
relaykit/relayconvert/kitutil/json_test.go:29
MethodDecode
(r io.Reader, v any)
relaykit/relayconvert/kitutil/json.go:36
MethodDecode
(r io.Reader, v any)
common/json.go:35
FunctionDecodeBase64AudioData
(audioBase64 string)
service/audio.go:35
FunctionDecodeBase64FileData
(base64String string)
service/image.go:43
FunctionDecodeBase64FileData
(base64String string)
relaykit/relayconvert/internal/media/media.go:41
FunctionDecodeLocalTaskID
DecodeLocalTaskID decodes a base64-encoded upstream operation name.
relay/channel/task/taskcommon/helpers.go:55
FunctionDecodeText
DecodeText decodes base64 file data as text. It reports false when the data is not valid base64 or the bytes are not UTF-8.
relaykit/relayconvert/internal/media/media.go:77
FunctionDecodeUrlImageData
(imageUrl string)
service/image.go:119
FunctionDeepCopy
(src *T)
common/copy.go:11
FunctionDefaultInt
DefaultInt returns val if non-zero, otherwise fallback.
relay/channel/task/taskcommon/helpers.go:41
FunctionDefaultString
DefaultString returns val if non-empty, otherwise fallback.
relay/channel/task/taskcommon/helpers.go:33
FunctionDeleteAccessToken
DeleteAccessToken checks ownership before consuming the proof, so probing other users' token IDs never burns a verification.
controller/access_token.go:267
FunctionDeleteAccountDialog
(props: DeleteAccountDialogProps)
web/src/features/security/components/dialogs/delete-account-dialog.tsx:41
FunctionDeleteChannelByStatus
(status int64)
model/channel.go:1087
FunctionDeleteCustomOAuthProvider
DeleteCustomOAuthProvider deletes a custom OAuth provider
controller/custom_oauth.go:398
FunctionDeleteDeployment
(c *gin.Context)
controller/deployment.go:469
FunctionDeleteDisabledChannel
(c *gin.Context)
controller/channel.go:1011
FunctionDeleteInvalidRedemption
(c *gin.Context)
controller/redemption.go:192
FunctionDeleteLoginSession
(c *gin.Context)
controller/auth_session.go:110
FunctionDeletePrefillGroup
DeletePrefillGroup 删除预填组
controller/prefill_group.go:78
FunctionDeleteRedemption
(c *gin.Context)
controller/redemption.go:131
FunctionDeleteRedemptionBatch
(c *gin.Context)
controller/redemption.go:213
FunctionDeleteSelf
(c *gin.Context)
controller/user.go:967
FunctionDeleteStaleSystemInstance
(c *gin.Context)
controller/system_info.go:57
FunctionDeleteStaleSystemInstances
(c *gin.Context)
controller/system_info.go:45
FunctionDeleteSystemTaskHistory
(c *gin.Context)
controller/system_task.go:98
FunctionDeleteToken
(c *gin.Context)
controller/token.go:380
FunctionDeleteTokenBatch
(c *gin.Context)
controller/token.go:518
FunctionDeleteTokenById
(id int, userId int)
model/token.go:369
FunctionDeleteUser
(c *gin.Context)
controller/user.go:929
FunctionDeleteUserById
DeleteUserById soft-deletes a user and returns how many scoped access tokens were deleted with it.
model/user.go:554
FunctionDeleteVendorMeta
DeleteVendorMeta 删除供应商
controller/vendor_meta.go:80
FunctionDeltaUpdateUserQuota
(id int, delta int)
model/user.go:1412
FunctionDeploymentAccessGuard
({ children, loading, loadingPhase = 'settings', isEnabled, connectionLoading, connectionOk, con
web/src/features/models/components/deployment-access-guard.tsx:95
FunctionDeploymentsSection
()
web/src/features/models/index.tsx:154
FunctionDeploymentsTable
()
web/src/features/models/components/deployments-table.tsx:54
FunctionDescriptionCell
({ modelName, description, }: DescriptionCellProps)
web/src/features/models/components/description-cell.tsx:28
FunctionDescriptionDialog
({ open, onOpenChange, modelName, description, }: DescriptionDialogProps)
web/src/features/models/components/dialogs/description-dialog.tsx:31
FunctionDesktopFixture
()
web/src/features/usage-logs/components/__tests__/mobile-filter.test.tsx:231
FunctionDetailPreview
(props: { other: LogOtherData isAdmin: boolean type?: number })
web/src/features/usage-logs/components/__tests__/detail-preview.test.tsx:77
FunctionDetailRow
(props: { label: React.ReactNode value: React.ReactNode mono?: boolean })
web/src/features/usage-logs/components/dialogs/task-details-dialog.tsx:35
FunctionDetailRow
(props: { label: ReactNode value: ReactNode mono?: boolean muted?: boolean })
web/src/features/usage-logs/components/dialogs/log-detail-layout.tsx:25
FunctionDetailSection
(props: { label: string icon?: React.ReactNode children: React.ReactNode })
web/src/features/usage-logs/components/dialogs/task-details-dialog.tsx:55
FunctionDetailSection
(props: { icon?: ReactNode iconTone?: IconBadgeTone label: string variant?: 'default' | 'danger' chi
web/src/features/usage-logs/components/dialogs/log-detail-layout.tsx:49
FunctionDetailsDialog
(props: DetailsDialogProps)
web/src/features/usage-logs/components/dialogs/details-dialog.tsx:525
FunctionDetectChannelUpstreamModelUpdates
(c *gin.Context)
controller/channel_upstream_update.go:1013
FunctionDeviceStep
(props: { userCode: string verificationUri: string verificationUriComplete?: string secondsLeft: numbe
web/src/features/channels/components/dialogs/plugin-login-steps.tsx:203
MethodDiagnostics
()
relaykit/relayconvert/internal/convdiag/collector.go:51
← previousnext →9,601–9,700 of 15,409, ranked by callers