MCPcopy Create free account

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

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

↓ 1 callersFunctionrestoreForegroundWindow
()
app/bangumi/src/main/windows-focus.ts:50
↓ 1 callersFunctionrestoreScrollPosition
()
app/bangumi/src/renderer/src/components/scroll/page-scroll-wrapper.tsx:156
↓ 1 callersFunctionrun
(command, commandArgs)
app/bangumi/scripts/ensure-native-arch.mjs:71
↓ 1 callersFunctionsafeRecoverAccessTokenAfterUnauthorized
( userId: string | null = store.get(userIdAtom) ?? null, )
app/bangumi/src/renderer/src/data/fetch/session.ts:110
↓ 1 callersFunctionsanitizeColor
(color: unknown)
app/bangumi/src/renderer/src/lib/utils/bbcode.ts:184
↓ 1 callersFunctionsanitizeFilename
(filename: string)
app/bangumi/src/main/tipc/utils.ts:33
↓ 1 callersFunctionsanitizeFontSize
(size: unknown)
app/bangumi/src/renderer/src/lib/utils/bbcode.ts:190
↓ 1 callersFunctionsanitizeUserPathSegment
(value: unknown)
app/bangumi/src/renderer/src/lib/utils/bbcode.ts:197
↓ 1 callersFunctionsave
()
app/bangumi/src/renderer/src/data/fetch/web/login.ts:192
↓ 1 callersFunctionscheduleFlush
()
app/bangumi/src/main/lib/logger.ts:63
↓ 1 callersFunctionsearchSubjectsInDb
({ keyword, limit = 20, }: { keyword: string limit?: number })
app/bangumi/src/renderer/src/data/fetch/db/subject.ts:201
↓ 1 callersFunctionsetIndexCollectionByWeb
({ collected, indexId, }: { collected: boolean indexId: number })
app/bangumi/src/renderer/src/data/fetch/web/collection.ts:23
↓ 1 callersFunctionsetMainWindowGetter
(getter: () => BrowserWindow)
app/bangumi/src/main/app-context.ts:5
↓ 1 callersFunctionsetPopoverOpen
(nextOpen: boolean)
app/bangumi/src/renderer/src/components/comment/comment-reactions.tsx:76
↓ 1 callersFunctionsetSection
(nextSection: SettingsSection)
app/bangumi/src/renderer/src/modules/main/settings/index.tsx:44
↓ 1 callersFunctionsetupAutoUpdate
()
app/bangumi/src/main/update.ts:547
↓ 1 callersFunctionsetupMacOSTrafficLightSpacing
(window: BrowserWindow)
app/bangumi/src/main/macos-traffic-lights.ts:18
↓ 1 callersFunctionsetupTray
(getOrCreateMainWindow: () => BrowserWindow)
app/bangumi/src/main/tray.ts:8
↓ 1 callersFunctionshouldShowUpdate
(state: AppUpdateState | null)
app/bangumi/src/renderer/src/modules/update/menu.tsx:10
↓ 1 callersFunctionshowCommandWindow
(payload?: { mode?: 'palette' | 'subject-search' })
app/bangumi/src/main/command-window.ts:217
↓ 1 callersFunctionstableStringify
(value: unknown)
app/bangumi/src/renderer/src/modules/main/search/utils.ts:39
↓ 1 callersFunctionstartOfUtcDay
(date: Date)
app/bangumi/src/main/lib/logger.ts:153
↓ 1 callersFunctionstash
(value: string)
app/bangumi/src/renderer/src/lib/utils/markdown-bbcode.ts:31
↓ 1 callersFunctionstringifyData
(data: unknown)
app/bangumi/src/main/lib/logger.ts:40
↓ 1 callersFunctionsumSubjectStats
(profile: UserProfile | null | undefined)
app/bangumi/src/renderer/src/components/user-hover-card.tsx:300
↓ 1 callersFunctiontestErrorHandling
()
app/bangumi/scripts/test/test-ofetch-error.js:35
↓ 1 callersFunctiontoCharacterMonoDetail
(character: CharacterDetail)
app/bangumi/src/renderer/src/modules/main/mono/content.tsx:169
↓ 1 callersFunctiontoCommentFromSubjectInterest
(comment: SubjectInterestComment)
app/bangumi/src/renderer/src/data/transformer/comment.ts:3
↓ 1 callersFunctiontoCommunityGroupTopicFromList
( topic: GroupTopicListItem, group: SlimGroup | null | undefined, )
app/bangumi/src/renderer/src/data/fetch/api/community.ts:224
↓ 1 callersFunctiontoCommunitySubjectTopicFromList
( topic: GroupTopicListItem, subjectId: SubjectId, subject: SubjectTopicSource | null | undefined, )
app/bangumi/src/renderer/src/data/fetch/api/community.ts:248
↓ 1 callersFunctiontoDrizzleResult
(rows: Record<string, unknown> | Array<Record<string, unknown>>)
app/bangumi/src/main/lib/db.ts:45
↓ 1 callersFunctiontoElectronAccelerator
(hotkey: string)
app/bangumi/src/main/shortcuts.ts:50
↓ 1 callersFunctiontoHoverUser
(profile: UserProfile | null | undefined, fallback: HoverUser)
app/bangumi/src/renderer/src/components/user-hover-card.tsx:287
↓ 1 callersFunctiontoModifierState
(e: MouseEvent<HTMLButtonElement>)
app/bangumi/src/renderer/src/modules/common/episodes/grid/item.tsx:81
↓ 1 callersFunctiontoPersonMonoDetail
(person: Person)
app/bangumi/src/renderer/src/modules/main/mono/content.tsx:155
↓ 1 callersFunctiontoRoutePath
(filePath: string)
app/bangumi/src/renderer/src/router.tsx:10
↓ 1 callersFunctiontoSerializable
(value: unknown, seen = new WeakSet<object>())
app/bangumi/src/renderer/src/lib/logger.ts:5
↓ 1 callersFunctiontoTimelineRows
(entries: UserTimelineItem[])
app/bangumi/src/renderer/src/modules/panel/left-panel/panels/mono-list-panel/site-timeline-content.tsx:188
↓ 1 callersFunctiontoTimelineRows
(entries: UserTimelineItem[])
app/bangumi/src/renderer/src/modules/panel/right-panel/panels/user-timeline.tsx:179
↓ 1 callersFunctiontoTimelineSubject
( collection: CollectionData, )
app/bangumi/src/renderer/src/data/fetch/api/user.ts:169
↓ 1 callersFunctiontoggleCommandWindow
(payload?: { mode?: 'palette' | 'subject-search' })
app/bangumi/src/main/command-window.ts:240
↓ 1 callersFunctionupdateButtonState
()
app/bangumi/src/renderer/src/components/button/back-to-top.tsx:34
↓ 1 callersFunctionupdateChannel
(channel: AppUpdateChannel)
app/bangumi/src/renderer/src/modules/main/settings/about.tsx:47
↓ 1 callersFunctionupdateContentHeight
()
app/bangumi/src/renderer/src/components/comment/comment-item.tsx:414
↓ 1 callersFunctionupdateReactionData
( data: unknown, variables: ToggleReactionInput, user?: CommentReactionUser, )
app/bangumi/src/renderer/src/data/hooks/api/reaction.ts:60
↓ 1 callersFunctionupdateReactions
( reactions: CommentReaction[] | undefined, variables: ToggleReactionInput, user?: CommentReactionUser,
app/bangumi/src/renderer/src/data/hooks/api/reaction.ts:107
↓ 1 callersFunctionupdateTitleInView
()
app/bangumi/src/renderer/src/modules/main/community/topic-detail.tsx:329
↓ 1 callersFunctionupdateTitleInView
()
app/bangumi/src/renderer/src/modules/main/catalog/index.tsx:100
↓ 1 callersFunctionupdateWebTopicReply
({ commentId, content, kind, topicId, }: UpdateWebTopicReplyInput)
app/bangumi/src/renderer/src/data/fetch/web/reply.ts:157
↓ 1 callersFunctionupload
(outputDir, packChannel)
app/bangumi/scripts/velopack-mac.mjs:137
↓ 1 callersFunctionuploadPkg
(outputDir, packChannel)
app/bangumi/scripts/velopack-mac.mjs:148
↓ 1 callersFunctionuploadRelease
()
app/bangumi/scripts/velopack-win.mjs:84
↓ 1 callersFunctionuseAddBlockMutation
()
app/bangumi/src/renderer/src/data/hooks/api/relationship.ts:139
↓ 1 callersFunctionuseAddFriendMutation
()
app/bangumi/src/renderer/src/data/hooks/api/relationship.ts:113
↓ 1 callersFunctionuseAuthQueries
({ queryKey, queryFn, queryIds, apiParams, enabled = true, needKeepPreviousData = true, ...props
app/bangumi/src/renderer/src/data/hooks/factory.ts:48
↓ 1 callersFunctionuseBlocklistQuery
({ enabled }: { enabled?: boolean } = {})
app/bangumi/src/renderer/src/data/hooks/api/relationship.ts:29
↓ 1 callersFunctionuseCalendarQuery
()
app/bangumi/src/renderer/src/data/hooks/api/calendar.ts:4
↓ 1 callersFunctionuseCharacterCollectionQuery
({ characterId, enabled, username, }: { characterId: CharacterId | undefined enabled?: boolean use
app/bangumi/src/renderer/src/data/hooks/api/collection.ts:91
↓ 1 callersFunctionuseCharacterIndexesQuery
({ enabled, id, limit = 8, refetchPageLimit, }: { enabled?: boolean id: CharacterId limit?: numb
app/bangumi/src/renderer/src/data/hooks/api/character.ts:91
↓ 1 callersFunctionuseCopyToClipboard
()
app/bangumi/src/renderer/src/hooks/use-copy-to-clipboard.ts:4
↓ 1 callersFunctionuseCreateGroupTopicMutation
()
app/bangumi/src/renderer/src/data/hooks/api/community.ts:250
↓ 1 callersFunctionuseCreateReplyMutation
()
app/bangumi/src/renderer/src/data/hooks/api/reply.ts:11
↓ 1 callersFunctionuseDBQueries
({ queryKey, apiQueryFn, apiParams, dbQueryFn, updateDB, dbParams, dbStaleTime = DB_CONFIG.DEFAU
app/bangumi/src/renderer/src/data/hooks/factory.ts:191
↓ 1 callersFunctionuseDBQuery
({ queryKey, apiQueryFn, apiParams, dbQueryFn, updateDB, dbParams, dbStaleTime = DB_CONFIG.DEFAU
app/bangumi/src/renderer/src/data/hooks/factory.ts:95
↓ 1 callersFunctionuseDeleteReplyMutation
()
app/bangumi/src/renderer/src/data/hooks/api/reply.ts:25
↓ 1 callersFunctionuseEnableAnimation
()
app/bangumi/src/renderer/src/components/resize-panel/index.tsx:36
↓ 1 callersFunctionuseEpisodeCommentsByIdQuery
({ episodeId, enabled, }: { episodeId: string enabled?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/episodes.ts:57
↓ 1 callersFunctionuseFriendlistQuery
({ enabled }: { enabled?: boolean } = {})
app/bangumi/src/renderer/src/data/hooks/api/relationship.ts:21
↓ 1 callersFunctionuseGroupMembersQuery
({ groupName, enabled, limit = 24, refetchPageLimit, }: { groupName: string | undefined enabled?:
app/bangumi/src/renderer/src/data/hooks/api/community.ts:67
↓ 1 callersFunctionuseInfinityQueryP1Collections
({ collectionType, enabled, initialPageParam = 0, limit = 20, needKeepPreviousData, refetchPageLim
app/bangumi/src/renderer/src/data/hooks/api/collection.ts:60
↓ 1 callersFunctionuseLoadAppConfig
()
app/bangumi/src/renderer/src/state/app-config.ts:14
↓ 1 callersFunctionuseLocalLoginInfoQuery
()
app/bangumi/src/renderer/src/data/hooks/db/user.ts:4
↓ 1 callersFunctionuseLogoutMutation
()
app/bangumi/src/renderer/src/data/hooks/session.ts:13
↓ 1 callersFunctionuseMutationEpisodesCollectionBySubjectId
({ mutationKey, onSuccess, onMutate, onSettled, onError, }: ApiMutationOptionsWithoutToken<typeof Mo
app/bangumi/src/renderer/src/data/hooks/api/collection.ts:204
↓ 1 callersFunctionuseOpenCollectionPanel
({ ownProfile, subjectType, userTitle, username, }: { ownProfile: boolean subjectType: SubjectType
app/bangumi/src/renderer/src/app/profile/page.tsx:448
↓ 1 callersFunctionusePersonCollectionQuery
({ enabled, personId, username, }: { enabled?: boolean personId: PersonId | undefined username: Us
app/bangumi/src/renderer/src/data/hooks/api/collection.ts:108
↓ 1 callersFunctionusePersonIndexesQuery
({ enabled, id, limit = 8, refetchPageLimit, }: { enabled?: boolean id: PersonId | undefined lim
app/bangumi/src/renderer/src/data/hooks/api/person.ts:100
↓ 1 callersFunctionuseProfileAvatarViewTransitionName
(to: string)
app/bangumi/src/renderer/src/app/profile/page.tsx:529
↓ 1 callersFunctionuseQueryCharacterComments
({ id, enabled, }: { id: CharacterId enabled?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/character.ts:75
↓ 1 callersFunctionuseQueryCharacterRelatedPersons
({ id, enabled, }: { id: CharacterId enabled?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/character.ts:58
↓ 1 callersFunctionuseQueryCharacterRelatedSubjects
({ id, enabled, }: { id: CharacterId enabled?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/character.ts:41
↓ 1 callersFunctionuseQueryPersonComments
({ id, enabled, }: { id: PersonId | undefined enabled?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/person.ts:84
↓ 1 callersFunctionuseQueryPersonRelatedCharacters
({ id, enabled, }: { id: PersonId | undefined enabled?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/person.ts:67
↓ 1 callersFunctionuseQueryPersonRelatedSubjects
({ id, enabled, }: { id: PersonId | undefined enabled?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/person.ts:50
↓ 1 callersFunctionuseQuerySearch
({ searchParam, limit = 20, offset = 0, keepPreviousData = false, }: { limit?: number offset?: num
app/bangumi/src/renderer/src/data/hooks/api/search.ts:28
↓ 1 callersFunctionuseQuerySubjectCharacters
({ id, needKeepPreviousData, }: { id: SubjectId needKeepPreviousData?: boolean })
app/bangumi/src/renderer/src/data/hooks/api/character.ts:17
↓ 1 callersFunctionuseRemoveBlockMutation
()
app/bangumi/src/renderer/src/data/hooks/api/relationship.ts:153
↓ 1 callersFunctionuseRemoveFriendMutation
()
app/bangumi/src/renderer/src/data/hooks/api/relationship.ts:126
↓ 1 callersFunctionuseResourceCollectionMutation
()
app/bangumi/src/renderer/src/data/hooks/api/collection.ts:125
↓ 1 callersFunctionuseSessionQuery
()
app/bangumi/src/renderer/src/data/hooks/session.ts:47
↓ 1 callersFunctionuseSubjectIndexesQuery
({ enabled, id, limit = 8, refetchPageLimit, }: { enabled?: boolean id: SubjectId limit?: number
app/bangumi/src/renderer/src/data/hooks/api/subject.ts:100
↓ 1 callersFunctionuseSubjectInfoAPIQuery
({ subjectId: id, enabled, needKeepPreviousData, }: { subjectId: SubjectId | undefined enabled?: boo
app/bangumi/src/renderer/src/data/hooks/api/subject.ts:21
↓ 1 callersFunctionuseSubjectsInfoQuery
({ subjectIds: ids, dbStaleTime, enabled, needKeepPreviousData, }: { subjectIds: SubjectId[] | undef
app/bangumi/src/renderer/src/data/hooks/db/subject.ts:53
↓ 1 callersFunctionuseTimelineInfiniteQuery
({ enabled = true, limit = 20, mode, refetchPageLimit = DEFAULT_INFINITE_REFETCH_PAGE_LIMIT, staleTi
app/bangumi/src/renderer/src/data/hooks/api/timeline.ts:50
↓ 1 callersFunctionuseTimelineQuery
({ enabled = true, limit = 10, mode, staleTime = SITE_TIMELINE_STALE_TIME, }: { enabled?: boolean
app/bangumi/src/renderer/src/data/hooks/api/timeline.ts:26
↓ 1 callersFunctionuseTooltipHover
({ delay = 0, }: { delay?: number } = {})
app/bangumi/src/renderer/src/hooks/use-tooltip-hover.ts:6
↓ 1 callersFunctionuseTopListQuery
(sectionPath: SectionPath)
app/bangumi/src/renderer/src/data/hooks/web/subject.ts:24
↓ 1 callersFunctionuseTrendsInfiniteQuery
(sectionPath: SectionPath)
app/bangumi/src/renderer/src/data/hooks/web/subject.ts:34
↓ 1 callersFunctionuseUpdateReplyMutation
()
app/bangumi/src/renderer/src/data/hooks/api/reply.ts:39
↓ 1 callersFunctionuseUserTimelineInfiniteQuery
({ username, limit = 20, enabled, refetchPageLimit = DEFAULT_INFINITE_REFETCH_PAGE_LIMIT, }: { usern
app/bangumi/src/renderer/src/data/hooks/api/user.ts:72
← previousnext →501–600 of 1,380, ranked by callers