MCPcopy Create free account

hub / github.com/KunMoe/kun-touchgal-next / functions

Functions1,854 in github.com/KunMoe/kun-touchgal-next

↓ 4 callersFunctionkunCookieOptions
(maxAgeSeconds: number)
app/api/utils/cookieOptions.ts:1
↓ 4 callersFunctionkunGetActions
( params: z.infer<typeof getMessageSchema> )
app/message/actions.ts:9
↓ 4 callersFunctionkunParseFormData
( req: NextRequest, schema: T )
app/api/utils/parseQuery.ts:63
↓ 4 callersFunctionlogGalgameListCacheError
(message: string, error: unknown)
app/api/galgame/service.ts:34
↓ 4 callersFunctionlogHomeCacheError
(message: string, error: unknown)
app/api/home/service.ts:32
↓ 4 callersFunctionnormalizeSessionValue
( value: string | null | undefined, maxLength: number )
app/api/utils/jwt.ts:78
↓ 4 callersFunctionpadDatePart
(value: number)
utils/time.ts:46
↓ 4 callersFunctionpaginate
(newDirection: number)
components/home/carousel/KunCarousel.tsx:104
↓ 4 callersFunctionparseBlockedTagIds
(value?: string | null)
utils/blockedTag.ts:3
↓ 4 callersFunctionparseNonNegativeIntParam
( value: string | null | undefined, fallback: number )
utils/galgameFilter.ts:58
↓ 4 callersFunctionparsePositiveIntParam
( value: string | null | undefined, fallback: number )
utils/galgameFilter.ts:46
↓ 4 callersFunctionpurgeCloudflareCache
(files: string[])
app/api/utils/purgeCloudflareCache.ts:1
↓ 4 callersFunctionreleaseKvLock
(key: string, token: string)
lib/redis.ts:302
↓ 4 callersFunctionrestorePatchUserAvatarForViewer
( patch: CachedPatch, viewer: KunViewer | null )
app/api/patch/_content.ts:126
↓ 4 callersFunctionrunCommand
( command: string, env: NodeJS.ProcessEnv = process.env )
scripts/deployBuild.ts:18
↓ 4 callersFunctionshouldBypassSharedCacheForShadowBan
( viewer: KunViewer | null )
app/api/utils/shadowBan.ts:49
↓ 4 callersFunctionupdateDropdownRect
()
components/settings/user/BlockedTags.tsx:72
↓ 4 callersFunctionverifyKunTokenWithUser
(refreshToken: string)
app/api/utils/jwt.ts:489
↓ 4 callersFunctionwithPatchFavoriteStatus
( uniqueId: string, patch: CachedPatch, uid: number )
app/api/patch/_content.ts:230
↓ 3 callersFunctionapplyAiResult
( task: moderation_taskModel, result: ModerationAiResult )
server/tasks/moderationTask.ts:67
↓ 3 callersFunctionapplyModerationVerdict
( options: ApplyVerdictOptions )
server/moderation/apply.ts:82
↓ 3 callersFunctionarraysAreEqual
(arr1, arr2)
migration/backup/_syncResourceCategories.mjs:3
↓ 3 callersFunctionbuildCounterTriggerStatements
( name: string, column: string, table: string )
migration/ensurePatchCounters.ts:29
↓ 3 callersFunctionbuildVisibilityCacheKey
( visibilityWhere: Prisma.patchWhereInput )
app/api/utils/visibilityCacheKey.ts:28
↓ 3 callersFunctioncheckBufferSize
(buffer: Buffer, maxSizeInMegabyte: number)
app/api/utils/checkBufferSize.ts:1
↓ 3 callersFunctioncleanupRejectedUpload
(token: string, s3Key: string)
app/api/patch/resource/_helper.ts:22
↓ 3 callersFunctioncopyObject
(srcKey: string, dstKey: string)
lib/s3.ts:106
↓ 3 callersFunctioncreateCodeMirrorState
({ onChange, content }: StateOptions)
components/kun/milkdown/codemirror/setup.ts:61
↓ 3 callersFunctioncreateDefaultLink
(section: string)
components/patch/resource/publish/PublishResource.tsx:51
↓ 3 callersFunctioncreateForgotPasswordResetKey
(token: string)
app/api/utils/sendResetPasswordLinkEmail.ts:9
↓ 3 callersFunctionensureCompanies
( patchId: number, names: string[], uid: number )
app/api/edit/processExternalData.ts:79
↓ 3 callersFunctionensureFulfilled
(result: PromiseSettledResult<T>)
scripts/dynamic-routes/getKunDynamicPatches.ts:3
↓ 3 callersFunctionfetchBlacklist
()
components/admin/moderation/Container.tsx:101
↓ 3 callersFunctionfetchDlsiteData
( code: string )
lib/arnebiae/dlsite.ts:14
↓ 3 callersFunctionfetchSteamAppData
( steamId: number )
lib/arnebiae/steam.ts:29
↓ 3 callersFunctiongenerateKunToken
( uid: number, name: string, role: number, expire: string, context?: LoginSessionContext )
app/api/utils/jwt.ts:271
↓ 3 callersFunctiongetAllPosts
()
lib/mdx/getPosts.ts:11
↓ 3 callersFunctiongetAuthenticatedBlockedTagIds
(req: NextRequest)
app/api/utils/getBlockedTagIds.ts:27
↓ 3 callersFunctiongetBlockedTagIds
(req: NextRequest)
app/api/utils/getBlockedTagIds.ts:6
↓ 3 callersFunctiongetGalgame
( input: z.infer<typeof galgameSchema>, visibilityWhere: Prisma.patchWhereInput )
app/api/galgame/service.ts:112
↓ 3 callersFunctiongetLegacyAccessTokenKey
(uid: number)
app/api/utils/jwt.ts:66
↓ 3 callersFunctiongetMarkdown
()
components/kun/milkdown/KunEditorProvider.tsx:27
↓ 3 callersFunctiongetModerationConfig
()
server/moderation/config.ts:16
↓ 3 callersFunctiongetModerationSetting
()
app/api/admin/setting/moderation/service.ts:7
↓ 3 callersFunctiongetNodeHref
(node: KunTreeNode)
components/doc/SideTreeItem.tsx:15
↓ 3 callersFunctiongetPatchCacheKey
(uniqueId: string)
app/api/patch/cache.ts:12
↓ 3 callersFunctiongetPatchFavoriteVersionKey
(uid: number)
app/api/patch/cache.ts:21
↓ 3 callersFunctiongetPatchIntroductionCacheKey
(uniqueId: string)
app/api/patch/cache.ts:15
↓ 3 callersFunctiongetPatchPageTitle
( patch: Pick<Patch, 'alias' | 'name' | 'platform'> )
utils/patch/getPatchPageTitle.ts:20
↓ 3 callersFunctiongetReport
( input: z.infer<typeof adminReportPaginationSchema> )
app/api/admin/report/service.ts:6
↓ 3 callersFunctiongetSupportedValueSchema
(values: string[], message: string)
validations/galgame.ts:14
↓ 3 callersFunctiongetUserAvatarKeys
(uid: number)
app/api/user/setting/_upload.ts:7
↓ 3 callersFunctionhandleClickSuggestion
(suggestions: SearchSuggestionType[])
components/search/Suggestion.tsx:65
↓ 3 callersFunctionhandlePageChange
(newPage: number)
components/kun/Pagination.tsx:46
↓ 3 callersFunctionhandleSearch
(searchQuery = query)
components/company/Container.tsx:54
↓ 3 callersFunctionhandleSubmit
()
components/settings/user/appeal/AppealCard.tsx:44
↓ 3 callersFunctionidsOf
(type: string)
app/api/admin/appeal/get.ts:33
↓ 3 callersFunctionisDocPath
(pathname: string)
constants/routes/matcher.ts:13
↓ 3 callersFunctionisMarkdownHtmlCacheAvailable
()
app/api/utils/render/markdownHtmlCache.ts:34
↓ 3 callersFunctionisPatchPath
(pathname: string)
constants/routes/matcher.ts:1
↓ 3 callersFunctionisShadowBanExemptViewer
( viewer: KunViewer | null, ownerId: number )
app/api/utils/shadowBan.ts:10
↓ 3 callersFunctionisWithinByteLimit
(value: string, maxBytes: number)
app/api/utils/render/markdownHtmlCache.ts:42
↓ 3 callersFunctionkunErrorHandlerAsync
(res: T | string)
utils/kunErrorHandler.ts:32
↓ 3 callersFunctionlogSessionCacheError
(message: string, error: unknown)
app/api/user/session/cache.ts:7
↓ 3 callersFunctionnotifyReadyWhenLoaded
()
components/kun/milkdown/plugins/components/video/Plyr.tsx:70
↓ 3 callersFunctionparseHost
(value: string)
middleware/_csrf.ts:12
↓ 3 callersFunctionparseLoginSessionMetadata
(value: string | null)
app/api/utils/jwt.ts:104
↓ 3 callersFunctionrenderMarkdownHtmlWithCache
( variant: MarkdownHtmlCacheVariant, markdown: string, render: MarkdownHtmlRenderer, options: Markdown
app/api/utils/render/markdownHtmlCache.ts:143
↓ 3 callersFunctionrunCommand
(command: string)
scripts/deployInstall.ts:4
↓ 3 callersFunctionsanitizeUserUrl
( url: string, allowedProtocols: readonly string[] = SAFE_LINK_PROTOCOLS )
utils/safeUrl.ts:27
↓ 3 callersFunctionshouldIgnoreFsError
(error: unknown, codes: Set<string>)
server/tasks/setCleanupTask.ts:14
↓ 3 callersFunctionshuffleKunArray
(array: T[])
app/api/auth/captcha/_utils.ts:4
↓ 3 callersFunctionsortMessagesByTime
(msgs: PrivateMessage[])
components/message/chat/ChatContainer.tsx:31
↓ 3 callersFunctiontoPositiveInteger
(value: string | undefined)
app/api/utils/algorithm.ts:53
↓ 3 callersFunctionverifyAdmin
(req: NextRequest)
app/api/admin/moderation/blacklist/route.ts:14
↓ 3 callersFunctionverifyKunCsrf
(req: NextRequest)
middleware/_csrf.ts:35
↓ 3 callersFunctionverifyPassword
( password: string, hashedPassword: string )
app/api/utils/algorithm.ts:159
↓ 3 callersFunctionwithCacheTimeout
(operation: Promise<T>, fallback: T)
app/api/utils/render/markdownHtmlCache.ts:53
↓ 2 callersFunctionSidebarContent
({ pathname }: { pathname: string })
components/admin/SidebarContent.tsx:105
↓ 2 callersFunctionacknowledgePatchViewBuffer
(key: string)
app/api/patch/views/buffer.ts:54
↓ 2 callersFunctionaddTag
()
components/tag/CreateTagModal.tsx:52
↓ 2 callersFunctionaddTag
()
components/tag/detail/EditTagModal.tsx:65
↓ 2 callersFunctionapplyExternalLinkNavigation
(anchor: HTMLAnchorElement)
components/patch/introduction/IntroductionTab.tsx:165
↓ 2 callersFunctionbindUploadedResource
( patchId: number, token: string, uid: number )
app/api/patch/resource/_helper.ts:27
↓ 2 callersFunctionbuildBlockedTagWhere
( blockedTagIds: number[] )
utils/blockedTag.ts:34
↓ 2 callersFunctionbuildCachedPatch
(patch: CachedPatchSource)
app/api/patch/_content.ts:92
↓ 2 callersFunctionbuildPatchIntroduction
( patch: PatchIntroductionSource )
app/api/patch/_content.ts:143
↓ 2 callersFunctioncheckImageDimensions
(img: HTMLImageElement)
components/kun/image-viewer/AutoImageViewer.tsx:42
↓ 2 callersFunctioncheckStringArrayValid
(type: 'alias' | 'tag', aliasString: string)
app/api/edit/route.ts:9
↓ 2 callersFunctionclamp
(v: number, min: number, max: number)
components/kun/Rating.tsx:53
↓ 2 callersFunctioncleanupRejectedUpload
(token: string, s3Key: string)
app/api/upload/complete/route.ts:24
↓ 2 callersFunctioncloseRevokeModal
()
components/settings/user/LoginSessions.tsx:323
↓ 2 callersFunctioncompressDataURLToWebp
( dataUrl: string, options: CompressDataURLOptions = {} )
utils/resizeImage.ts:21
↓ 2 callersFunctioncreateEmailChangeRevertKey
(token: string)
app/api/user/setting/email/_emailChange.ts:13
↓ 2 callersFunctioncreateEmptyLink
(section: string, role: number)
components/patch/resource/publish/ResourceLinksInput.tsx:52
↓ 2 callersFunctioncreateLoginSessionMetadata
( jti: string, context?: LoginSessionContext )
app/api/utils/jwt.ts:89
↓ 2 callersFunctioncreateMentionMessage
( uniqueId: string, patchName: string, commentId: number, senderUid: number, senderUsername: string,
app/api/utils/createMentionMessage.ts:10
↓ 2 callersFunctiondelKvs
(keys: string[])
lib/redis.ts:137
↓ 2 callersFunctiondeleteKunTokenSession
(uid: number, jti: string)
app/api/utils/jwt.ts:412
↓ 2 callersFunctiondeleteResource
( input: z.infer<typeof resourceIdSchema>, uid: number )
app/api/admin/resource/delete.ts:19
← previousnext →101–200 of 1,854, ranked by callers