MCPcopy Create free account

hub / github.com/CottonCandyZ/bangumi-electron / functions

Functions1,380 in github.com/CottonCandyZ/bangumi-electron

↓ 2 callersFunctiongetTopicReplyForm
({ kind, topicId }: { kind: WebTopicReplyKind; topicId: number })
app/bangumi/src/renderer/src/data/fetch/web/reply.ts:264
↓ 2 callersFunctiongetUnmatchedRelatedItems
(subjects: MonoSubjectItem[], relatedItems: MonoRelatedItem[])
app/bangumi/src/renderer/src/modules/main/mono/content.tsx:300
↓ 2 callersFunctiongetUpdateReplyPath
(target: ReplyTarget, commentId: number)
app/bangumi/src/renderer/src/data/fetch/api/reply.ts:177
↓ 2 callersFunctiongetUpdateTitle
(state: AppUpdateState | null)
app/bangumi/src/renderer/src/modules/update/menu.tsx:22
↓ 2 callersFunctionhandleSelect
(select: string)
app/bangumi/src/renderer/src/components/input-selector/index.tsx:66
↓ 2 callersFunctionhasCurrentUser
(reaction: CommentReaction, session: ReturnType<typeof useSession>)
app/bangumi/src/renderer/src/components/comment/comment-reactions.tsx:254
↓ 2 callersFunctioninsertAccessToken
(sessionInfo: Token)
app/bangumi/src/renderer/src/data/fetch/db/user.ts:37
↓ 2 callersFunctionisElectronBinaryInstalled
(electronDir)
app/bangumi/scripts/with-electron-node-path.mjs:87
↓ 2 callersFunctionisTimelineSubjectCollectItem
( data: Record<string, unknown>, collectId: number, target: ReactionTarget, )
app/bangumi/src/renderer/src/data/hooks/api/reaction.ts:148
↓ 2 callersFunctionisTokenExpired
(token: Token & { create_time: Date }, nowTime = Date.now())
app/bangumi/src/renderer/src/data/fetch/session.ts:66
↓ 2 callersFunctionmergeSubjects
(subjects: MonoSubjectItem[])
app/bangumi/src/renderer/src/modules/main/mono/content.tsx:249
↓ 2 callersFunctionmergeSubjectsWithRelatedItems
( subjects: MonoSubjectItem[], relatedItems: MonoRelatedItem[], )
app/bangumi/src/renderer/src/modules/main/mono/content.tsx:280
↓ 2 callersFunctionmutateByAction
(action: EpisodeCollectionAction)
app/bangumi/src/renderer/src/modules/common/collections/use-episode-collection-actions.ts:156
↓ 2 callersFunctionnormalizeAssetSrc
(src?: string)
app/bangumi/src/renderer/src/components/comment/bmoji.tsx:181
↓ 2 callersFunctionnormalizeIndexRelatedCategoryFilter
(filter: string | undefined, options: string[])
app/bangumi/src/renderer/src/modules/common/index-related-filters.ts:85
↓ 2 callersFunctionnormalizeIndexRelatedSubjectTypeFilter
( filter: string | undefined, options: string[], )
app/bangumi/src/renderer/src/modules/common/index-related-filters.ts:89
↓ 2 callersFunctionnormalizeRoutePath
(path: string)
app/bangumi/src/renderer/src/modules/panel/left-panel/panels/mono-list-panel/shared.tsx:184
↓ 2 callersFunctionparseImportedAppConfig
(value: unknown)
app/bangumi/src/shared/config.ts:176
↓ 2 callersFunctionparseVersion
(value: string)
app/bangumi/src/main/update.ts:283
↓ 2 callersFunctionreadAccessToken
({ user_id }: { user_id: number })
app/bangumi/src/renderer/src/data/fetch/db/user.ts:41
↓ 2 callersFunctionreadEnvToken
(name)
app/bangumi/scripts/with-github-token.mjs:47
↓ 2 callersFunctionrebuildNative
(targetArch, modules = nativeModules)
app/bangumi/scripts/velopack-mac.mjs:250
↓ 2 callersFunctionremoveExcept
(root, keepParts)
app/bangumi/scripts/prune-after-pack.cjs:89
↓ 2 callersFunctionremoveListeners
()
app/bangumi/src/renderer/src/components/virtual/use-native-smooth-virtualizer-scroll-to-top.ts:47
↓ 2 callersFunctionrenderTextWithExternalLinks
(text: string)
app/bangumi/src/renderer/src/components/mono/mono-detail-view.tsx:970
↓ 2 callersFunctionreturnFirstOrUndefined
(res: T[])
app/bangumi/src/renderer/src/lib/utils/data-trans.ts:35
↓ 2 callersFunctionrun
(command, commandArgs, options = {})
app/bangumi/scripts/velopack-win.mjs:166
↓ 2 callersFunctionsafeLogout
(options?: { showLoginDialog?: boolean })
app/bangumi/src/renderer/src/data/hooks/session.ts:27
↓ 2 callersFunctionsafeRefreshToken
(token: Token)
app/bangumi/src/renderer/src/data/fetch/session.ts:74
↓ 2 callersFunctionshouldShowIndexRelatedCategoryFilter
( categoryFilters: Array<{ cat: IndexRelatedCategory; label: string }>, )
app/bangumi/src/renderer/src/modules/common/index-related-filters.ts:64
↓ 2 callersFunctionshouldShowIndexRelatedSubjectTypeFilter
({ categoryFilter, showCategoryFilter, subjectTypeFilters, }: { categoryFilter: string showCategoryF
app/bangumi/src/renderer/src/modules/common/index-related-filters.ts:70
↓ 2 callersFunctionsortCharacterByRelation
(sortList?: string[])
app/bangumi/src/renderer/src/data/transformer/api.ts:7
↓ 2 callersFunctionsortLayers
(layers: BmojiLayer[])
app/bangumi/src/renderer/src/components/comment/bmoji.tsx:192
↓ 2 callersFunctionsplitHotkeyForDisplay
(hotkey: unknown)
app/bangumi/src/renderer/src/lib/shortcut.ts:67
↓ 2 callersFunctionsubmitKeyword
()
app/bangumi/src/renderer/src/modules/main/search/input.tsx:14
↓ 2 callersFunctiontoComment
(reply: TopicReply)
app/bangumi/src/renderer/src/modules/main/community/topic-detail.tsx:468
↓ 2 callersFunctiontoCommunitySubjectTopic
(kind: 'subject' | 'trending-subject')
app/bangumi/src/renderer/src/data/fetch/api/community.ts:273
↓ 2 callersFunctiontoNormalizedIndex
(words: string[], syllableInitials?: string)
app/bangumi/src/renderer/src/data/fetch/db/subject.ts:20
↓ 2 callersFunctiontoggle
(value: number)
app/bangumi/src/renderer/src/components/comment/comment-reactions.tsx:81
↓ 2 callersFunctionupdateCommandWindowBounds
(window: BrowserWindow)
app/bangumi/src/main/command-window.ts:69
↓ 2 callersFunctionupdateMaxScrollTop
()
app/bangumi/src/renderer/src/components/button/back-to-top.tsx:45
↓ 2 callersFunctionupdateShortcut
(hotkey: string, successMessage?: string)
app/bangumi/src/renderer/src/modules/main/settings/shortcuts.tsx:95
↓ 2 callersFunctionuseAvatarViewTransitionName
(monoType: MonoType, monoId: string)
app/bangumi/src/renderer/src/modules/main/mono/content.tsx:148
↓ 2 callersFunctionuseChart
()
app/bangumi/src/renderer/src/components/ui/chart.tsx:26
↓ 2 callersFunctionuseCommentContentState
({ content, disableHeightTransition, maxCollapsedHeight, }: { content: string disableHeightTransitio
app/bangumi/src/renderer/src/components/comment/comment-item.tsx:375
↓ 2 callersFunctionuseEpisodeCollectionActions
({ index, subjectId, episodes, modifyEpisodeCollectionOpt, }: Props)
app/bangumi/src/renderer/src/modules/common/collections/use-episode-collection-actions.ts:26
↓ 2 callersFunctionuseEpisodeInfoByIdQuery
({ episodeId, enabled, }: { episodeId: string enabled?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/episodes.ts:40
↓ 2 callersFunctionuseEpisodesInfoBySubjectIdQuery
({ subjectId, limit = 100, offset = 0, type, enabled, }: { subjectId: SubjectId limit?: number
app/bangumi/src/renderer/src/data/hooks/api/episodes.ts:16
↓ 2 callersFunctionuseGroupByNameQuery
({ groupName, enabled, }: { groupName: string | undefined enabled?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/community.ts:53
↓ 2 callersFunctionuseGroupTopicQuery
({ topicId }: { topicId: number })
app/bangumi/src/renderer/src/data/hooks/api/community.ts:234
↓ 2 callersFunctionuseGroupTopicsQuery
({ enabled, group, groupName, limit = 24, refetchPageLimit, }: { enabled?: boolean group?: SlimG
app/bangumi/src/renderer/src/data/hooks/api/community.ts:92
↓ 2 callersFunctionuseGroupsQuery
({ enabled, limit = 12, refetchPageLimit, sort = 'members', }: { enabled?: boolean limit?: number
app/bangumi/src/renderer/src/data/hooks/api/community.ts:28
↓ 2 callersFunctionuseIndexRelatedQuery
({ cat, enabled, indexId, limit = 20, type, }: { cat?: IndexRelatedCategory enabled?: boolean
app/bangumi/src/renderer/src/data/hooks/api/index.ts:26
↓ 2 callersFunctionuseInfinityQuerySearch
({ searchParam, limit = 9, initialPageParam = 0, }: { limit?: number initialPageParam?: number sea
app/bangumi/src/renderer/src/data/hooks/api/search.ts:5
↓ 2 callersFunctionuseOpenCharacter
(characterId: number, viewTransitionName: string)
app/bangumi/src/renderer/src/modules/main/subject/character/gird/item.tsx:123
↓ 2 callersFunctionuseOpenTagSearchPanel
()
app/bangumi/src/renderer/src/modules/main/search/use-open-tag-search-panel.ts:5
↓ 2 callersFunctionuseRecentSubjectTopicsQuery
({ limit = 20, refetchPageLimit, }: { limit?: number refetchPageLimit?: number } = {})
app/bangumi/src/renderer/src/data/hooks/api/community.ts:169
↓ 2 callersFunctionuseRelatedSubjectsQuery
({ id, needKeepPreviousData, }: { id: SubjectId needKeepPreviousData?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/subject.ts:59
↓ 2 callersFunctionuseResourceIndexesQuery
({ enabled = true, limit = 8, refetchPageLimit, resourceId, resourceType, }: { enabled?: boolean
app/bangumi/src/renderer/src/data/hooks/api/index.ts:53
↓ 2 callersFunctionuseSubjectCollectionTypeMutation
({ subjectId, subjectType, username, onSuccess, onError, }: { subjectId: SubjectId subjectType:
app/bangumi/src/renderer/src/data/hooks/api/collection-mutation.ts:53
↓ 2 callersFunctionuseSubjectCommentsQuery
({ id, enabled, limit = 20, refetchPageLimit, }: { id: SubjectId enabled?: boolean limit?: numbe
app/bangumi/src/renderer/src/data/hooks/api/subject.ts:129
↓ 2 callersFunctionuseSubjectRecommendationsQuery
({ enabled, id, limit = 10, refetchPageLimit, }: { enabled?: boolean id: SubjectId limit?: numbe
app/bangumi/src/renderer/src/data/hooks/api/subject.ts:74
↓ 2 callersFunctionuseSubjectTopicQuery
({ topicId }: { topicId: number })
app/bangumi/src/renderer/src/data/hooks/api/community.ts:242
↓ 2 callersFunctionuseSubjectTopicsQuery
({ enabled, limit = 20, refetchPageLimit, subject, subjectId, }: { enabled?: boolean limit?: num
app/bangumi/src/renderer/src/data/hooks/api/community.ts:188
↓ 2 callersFunctionuseToggleReactionMutation
()
app/bangumi/src/renderer/src/data/hooks/api/reaction.ts:21
↓ 2 callersFunctionuseUpdateActions
(state: AppUpdateState | null)
app/bangumi/src/renderer/src/modules/update/menu.tsx:73
↓ 2 callersFunctionuseUserGroupsQuery
({ enabled, limit = 12, refetchPageLimit, username, }: { enabled?: boolean limit?: number refetc
app/bangumi/src/renderer/src/data/hooks/api/community.ts:119
↓ 2 callersFunctionuseUserInfoByUsernameQuery
({ username, enabled, }: { username: UserInfo['username'] | undefined enabled?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/user.ts:28
↓ 2 callersMethodwebCookieExpire
()
app/bangumi/src/renderer/src/lib/utils/error.ts:43
↓ 1 callersFunctionAuthorizationHeader
(token: string)
app/bangumi/src/renderer/src/data/fetch/config/path.ts:9
↓ 1 callersFunctionaddReaction
({ commentId, target, value }: ReactionInput)
app/bangumi/src/renderer/src/data/fetch/api/reaction.ts:63
↓ 1 callersFunctionappendAjaxQuery
(path: string)
app/bangumi/src/renderer/src/data/fetch/web/reply.ts:425
↓ 1 callersFunctionappendRendererLog
(entry: LogEntry)
app/bangumi/src/main/lib/logger.ts:90
↓ 1 callersFunctionapplyMacOSTrafficLightSpacing
(window: BrowserWindow, gap: number)
app/bangumi/src/main/macos-traffic-lights.ts:39
↓ 1 callersFunctionboot
()
app/bangumi/src/main/index.ts:32
↓ 1 callersFunctionbroadcastUpdateState
()
app/bangumi/src/main/update.ts:244
↓ 1 callersFunctionbuildMenu
()
app/bangumi/src/main/tray.ts:19
↓ 1 callersFunctionbuildNameCnPinyin
(nameCn: string | null | undefined)
app/bangumi/src/renderer/src/data/fetch/db/subject.ts:10
↓ 1 callersFunctioncalcHorizontalPos
({ margin, paddingTop, paddingBottom, paddingLeft, paddingRight, align, trigger, content, pr
app/bangumi/src/renderer/src/components/hover-card/utils.ts:158
↓ 1 callersFunctioncalcPos
({ margin, collisionPadding = {}, align, trigger, content, preferredPlacement, }: CalcPosParams &
app/bangumi/src/renderer/src/components/hover-card/utils.ts:40
↓ 1 callersFunctioncalcVerticalPos
({ margin, paddingTop, paddingBottom, paddingLeft, paddingRight, align, trigger, content, pr
app/bangumi/src/renderer/src/components/hover-card/utils.ts:83
↓ 1 callersFunctioncalculateGradientRange
(scrollTop: number, containerHeight: number)
app/bangumi/src/renderer/src/modules/main/subject/background/filter.tsx:7
↓ 1 callersFunctioncalculatePopCardPosition
( hover: DOMRect, hoverCardSize: HoverCardSize, viewMargins: ViewMargins = { top: 8, left: 8, right: 8,
app/bangumi/src/renderer/src/components/hover-pop-card/utils.ts:22
↓ 1 callersFunctioncancelRestore
()
app/bangumi/src/renderer/src/components/scroll/page-scroll-wrapper.tsx:205
↓ 1 callersFunctioncaptureForegroundWindow
()
app/bangumi/src/main/windows-focus.ts:38
↓ 1 callersFunctioncheckEpisodeFinished
({ queryClient, subjectId, username, episodesQueryKey, subjectCollectionQueryKey, subjectInfoQuery
app/bangumi/src/renderer/src/modules/common/collections/check-episode-finished.ts:15
↓ 1 callersFunctioncheckGitHubForUpdates
(channel = readUpdateChannel())
app/bangumi/src/main/update.ts:352
↓ 1 callersFunctioncleanupInstalledPackages
()
app/bangumi/src/main/update.ts:531
↓ 1 callersFunctionclearUpdateDownloads
()
app/bangumi/src/main/update.ts:737
↓ 1 callersFunctioncomparePrerelease
(left: string[], right: string[])
app/bangumi/src/main/update.ts:295
↓ 1 callersFunctioncreateAppConfigExportData
(config: AppConfig)
app/bangumi/src/shared/config.ts:168
↓ 1 callersFunctioncreateBmojiAssetIndex
()
app/bangumi/src/renderer/src/components/comment/bmoji.tsx:164
↓ 1 callersFunctioncreateHotkeyFromKeyboardEvent
(event: KeyboardEvent)
app/bangumi/src/renderer/src/lib/shortcut.ts:78
↓ 1 callersFunctioncreateMainWindow
()
app/bangumi/src/main/window.ts:108
↓ 1 callersFunctioncreateOptimisticCollectionData
({ subjectId, subjectType, collectionType, }: { subjectId: SubjectId subjectType: SubjectType coll
app/bangumi/src/renderer/src/data/hooks/api/collection-mutation.ts:9
↓ 1 callersFunctioncreatePromiseCache
()
app/bangumi/src/renderer/src/lib/utils/promise.ts:11
↓ 1 callersFunctioncreateSearchPanelId
(searchParam: SearchParam)
app/bangumi/src/renderer/src/modules/main/search/utils.ts:35
↓ 1 callersFunctioncreateSearchPanelTitle
(searchParam: SearchParam)
app/bangumi/src/renderer/src/modules/main/search/utils.ts:22
↓ 1 callersFunctioncreateUpdateManagerForCheck
(channel = readUpdateChannel())
app/bangumi/src/main/update.ts:177
↓ 1 callersFunctioncreateWebSubReply
({ content, form, replyTo, targetId, }: { content: string form: WebTopicReplyForm replyTo: numbe
app/bangumi/src/renderer/src/data/fetch/web/reply.ts:193
← previousnext →201–300 of 1,380, ranked by callers