MCPcopy Create free account

hub / github.com/QuantumNous/new-api / types & classes

Types & classes1,481 in github.com/QuantumNous/new-api

↓ 11 callersTypeAliasTaskPlatform
constant/task.go:3
↓ 9 callersTypeAliasTaskStatus
model/task.go:15
↓ 7 callersTypeAliasRelayFormat
types/relay_format.go:3
↓ 4 callersTypeAliasNamespace
Namespace isolates keys between different cache use-cases. (e.g. "channel_affinity:v1").
pkg/cachex/namespace.go:6
↓ 2 callersTypeAliasErrorCode
types/error.go:38
↓ 2 callersTypeAliasIntValue
dto/values.go:30
↓ 2 callersTypeAliasJSONValue
PrefillGroup 用于存储可复用的“组”信息,例如模型组、标签组、端点组等。 Name 字段保持唯一,用于在前端下拉框中展示。 Type 字段用于区分组的类别,可选值如:model、tag、endpoint。 Items 字段使用 JSON 数组保存对应类型的字符串集合,示例: ["gpt-
model/prefill_group.go:20
↓ 1 callersTypeAliasAlias
再正常解析已定义字段
dto/openai_image.go:57
↓ 1 callersTypeAliasBoolValue
dto/values.go:54
↓ 1 callersTypeAliasCompressionBits
relay/channel/volcengine/protocols.go:20
↓ 1 callersTypeAliasDatabaseType
common/database.go:3
↓ 1 callersTypeAliasEndpointType
constant/endpoint_type.go:3
↓ 1 callersTypeAliasFunctionCallingConfigMode
dto/gemini.go:56
↓ 1 callersStructGeminiChatGenerationConfig
dto/gemini.go:329
↓ 1 callersStructGeminiChatRequest
dto/gemini.go:14
↓ 1 callersStructGeminiInlineData
dto/gemini.go:204
↓ 1 callersStructGeminiPart
dto/gemini.go:269
↓ 1 callersStructGeminiThinkingConfig
dto/gemini.go:162
↓ 1 callersTypeAliasHeaderSizeBits
relay/channel/volcengine/protocols.go:18
↓ 1 callersStructImageRequest
dto/openai_image.go:18
↓ 1 callersTypeAliasMsgType
relay/channel/volcengine/protocols.go:15
↓ 1 callersTypeAliasMsgTypeFlagBits
relay/channel/volcengine/protocols.go:16
↓ 1 callersTypeAliasMultiKeyMode
constant/multi_key_mode.go:3
↓ 1 callersTypeAliasRequestConverterQuality
service/relayconvert/request_registry.go:22
↓ 1 callersTypeAliasResponseConverterQuality
service/relayconvert/response_registry.go:27
↓ 1 callersTypeAliasSerializationBits
relay/channel/volcengine/protocols.go:19
↓ 1 callersTypeAliasStringValue
dto/values.go:8
↓ 1 callersTypeAliasVersionBits
relay/channel/volcengine/protocols.go:17
Class
web/src/lib/auth-session.ts:62
Class
web/src/lib/auth-session.ts:81
Class
web/src/features/playground/hooks/use-stream-request.test.ts:33
StructAIProxyUserOverviewResponse
controller/channel-billing.go:63
StructAPGC2DGPTUsageResponse
controller/channel-billing.go:79
StructAPI2GPTUsageResponse
controller/channel-billing.go:72
StructAPIError
APIError represents an API error response
pkg/ionet/types.go:267
StructAbility
model/ability.go:18
StructAbilityWithChannel
model/ability.go:28
StructAccessDeniedError
AccessDeniedError is a direct user-facing access denial message.
oauth/types.go:62
InterfaceAccessTokenDialogProps
web/src/features/profile/components/dialogs/access-token-dialog.tsx:35
InterfaceAccountBindingsTabProps
web/src/features/profile/components/tabs/account-bindings-tab.tsx:61
StructActionButton
dto/midjourney.go:96
StructActionDefinition
ActionDefinition describes a single action exposed by a resource. DefaultRoles lists the role keys that receive this action as part of their baseline
service/authz/registry.go:5
InterfaceAdaptor
relay/channel/adapter.go:15
StructAdaptor
relay/channel/replicate/adaptor.go:28
StructAdaptor
relay/channel/jimeng/adaptor.go:20
StructAdaptor
relay/channel/gemini/adaptor.go:23
StructAdaptor
relay/channel/deepseek/adaptor.go:22
StructAdaptor
relay/channel/ali/adaptor.go:25
StructAdaptor
relay/channel/xunfei/adaptor.go:17
StructAdaptor
relay/channel/ollama/adaptor.go:19
StructAdaptor
relay/channel/mistral/adaptor.go:17
StructAdaptor
relay/channel/zhipu_4v/adaptor.go:22
StructAdaptor
relay/channel/palm/adaptor.go:18
StructAdaptor
relay/channel/jina/adaptor.go:20
StructAdaptor
relay/channel/xai/adaptor.go:21
StructAdaptor
relay/channel/moonshot/adaptor.go:23
StructAdaptor
relay/channel/openai/adaptor.go:39
StructAdaptor
relay/channel/aws/adaptor.go:28
StructAdaptor
relay/channel/submodel/adaptor.go:17
StructAdaptor
relay/channel/minimax/adaptor.go:23
StructAdaptor
relay/channel/perplexity/adaptor.go:20
StructAdaptor
relay/channel/zhipu/adaptor.go:18
StructAdaptor
relay/channel/tencent/adaptor.go:21
StructAdaptor
relay/channel/dify/adaptor.go:24
StructAdaptor
relay/channel/siliconflow/adaptor.go:21
StructAdaptor
relay/channel/sub2api/adaptor.go:20
StructAdaptor
relay/channel/baidu_v2/adaptor.go:20
StructAdaptor
relay/channel/volcengine/adaptor.go:32
StructAdaptor
relay/channel/vertex/adaptor.go:53
StructAdaptor
relay/channel/codex/adaptor.go:21
StructAdaptor
relay/channel/cohere/adaptor.go:18
StructAdaptor
relay/channel/advancedcustom/adaptor.go:30
StructAdaptor
relay/channel/baidu/adaptor.go:19
StructAdaptor
relay/channel/cloudflare/adaptor.go:20
StructAdaptor
relay/channel/mokaai/adaptor.go:19
StructAdaptor
relay/channel/claude/adaptor.go:20
StructAdaptor
relay/channel/coze/adaptor.go:19
InterfaceAddChannelRequest
web/src/features/channels/types.ts:372
StructAddChannelRequest
controller/channel.go:569
StructAdminBindSubscriptionRequest
controller/subscription.go:351
StructAdminCompleteTopupRequest
controller/topup.go:490
StructAdminCreateUserSubscriptionRequest
controller/subscription.go:394
StructAdminResetSubscriptionRequest
controller/subscription.go:398
InterfaceAdminStepProps
web/src/features/setup/components/admin-step.tsx:36
StructAdminUpdateSubscriptionPlanStatusRequest
controller/subscription.go:324
StructAdminUpsertSubscriptionPlanRequest
controller/subscription.go:137
InterfaceAdvancedCustomConfig
web/src/features/channels/types.ts:112
StructAdvancedCustomConfig
dto/channel_settings.go:82
InterfaceAdvancedCustomRoute
web/src/features/channels/types.ts:116
StructAdvancedCustomRoute
dto/channel_settings.go:86
InterfaceAdvancedCustomRouteAuth
web/src/features/channels/types.ts:124
StructAdvancedCustomRouteAuth
dto/channel_settings.go:94
InterfaceAffiliateRewardsCardProps
web/src/features/wallet/components/affiliate-rewards-card.tsx:32
InterfaceAffiliateTransferRequest
web/src/features/wallet/types.ts:218
InterfaceAffinityRule
web/src/features/system-settings/general/channel-affinity/types.ts:25
StructAliChatRequest
relay/channel/ali/dto.go:36
StructAliEmbedding
relay/channel/ali/dto.go:52
StructAliEmbeddingRequest
relay/channel/ali/dto.go:42
StructAliEmbeddingResponse
relay/channel/ali/dto.go:57
StructAliError
relay/channel/ali/dto.go:65
next →1–100 of 1,481, ranked by callers