MCPcopy Create free account

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

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

FunctionCopyButton
({ value, children, className, iconClassName, variant = 'ghost', size = 'icon', tooltip, succe
web/src/components/copy-button.tsx:44
FunctionCopyChannelDialog
({ open, onOpenChange, }: CopyChannelDialogProps)
web/src/features/channels/components/dialogs/copy-channel-dialog.tsx:38
FunctionCostEstimator
({ modelName, effectiveExpr, fullExpr, currency, }: EstimatorProps)
web/src/features/system-settings/models/tiered-pricing-editor.tsx:729
FunctionCountAllChannels
CountAllChannels returns total channels in DB
model/channel.go:1322
FunctionCountAllTags
CountAllTags returns number of non-empty distinct tags
model/channel.go:1329
FunctionCountChannelsByType
Count channels of specific type
model/channel.go:1351
FunctionCountChannelsGroupByType
Return map[type]count for all channels
model/channel.go:1358
FunctionCounter
(props: CounterProps)
web/src/features/home/components/sections/stats.tsx:30
FunctionCreateAccessToken
CreateAccessToken validates the whole request before consuming the proof, so a rejected grant never burns the user's verification.
controller/access_token.go:117
FunctionCreateCustomOAuthProvider
CreateCustomOAuthProvider creates a new custom OAuth provider
controller/custom_oauth.go:217
FunctionCreateDeployment
(c *gin.Context)
controller/deployment.go:494
FunctionCreateDeploymentDrawer
({ open, onOpenChange, }: { open: boolean onOpenChange: (open: boolean) => void })
web/src/features/models/components/dialogs/create-deployment-drawer.tsx:106
FunctionCreateDrawer
()
web/src/features/redemption-codes/components/__tests__/redemptions-export.test.tsx:74
FunctionCreateLogCleanupSystemTask
(c *gin.Context)
controller/system_task.go:14
FunctionCreateModelMeta
CreateModelMeta 新建模型
controller/model_meta.go:107
FunctionCreatePrefillGroup
CreatePrefillGroup 创建新的预填组
controller/prefill_group.go:24
FunctionCreateSessionDataFlow
(purpose string, security FlowSecurity, data *webauthn.SessionData)
service/passkey/session.go:30
FunctionCreateUser
(c *gin.Context)
controller/user.go:1000
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:340
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
(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:1015
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
FunctionDeleteVendorMeta
DeleteVendorMeta 删除供应商
controller/vendor_meta.go:80
← previousnext →9,701–9,800 of 15,592, ranked by callers