MCPcopy Create free account

hub / github.com/braviaprime/braviaprime.com / functions

Functions740 in github.com/braviaprime/braviaprime.com

↓ 177 callersFunctioncn
(...inputs: ClassValue[])
src/utils/cn.ts:6
↓ 32 callersFunctionrender
(ui: React.ReactNode, options?: RenderOptions)
src/utils/render.tsx:8
↓ 23 callersFunctiongetLocalizedPath
(doc: LocalizedDocument)
src/utils/get-localized-path.ts:10
↓ 16 callersFunctiongetBaseUrl
()
src/utils/get-base-url.ts:3
↓ 13 callersFunctioncreateMetadata
(options: Options)
src/lib/metadata.ts:19
↓ 12 callersFunctiongetNumberFlow
(locator: Locator)
src/tests/e2e/utils/number-flow.ts:3
↓ 12 callersFunctionsetRangeText
(ta: HTMLTextAreaElement, replacement: string, options: SetRangeTextOptions = {})
src/hooks/use-comment-editor.ts:124
↓ 10 callersFunctioncreatedAt
()
src/db/schemas/shared.schema.ts:5
↓ 9 callersFunctionupdatedAt
()
src/db/schemas/shared.schema.ts:7
↓ 9 callersFunctionuseFormattedDate
(date: DateInput, options: Options = {})
src/hooks/use-formatted-date.ts:15
↓ 8 callersFunctiongetPathnames
(options: GetPathnamesOptions = {})
src/utils/get-pathnames.ts:9
↓ 8 callersFunctionuseCommentsContext
()
src/contexts/comments.context.ts:14
↓ 7 callersFunctionrange
(length: number)
src/utils/range.ts:1
↓ 7 callersFunctionsitemap
()
src/app/sitemap.ts:7
↓ 6 callersFunctionclearRedo
()
src/hooks/use-comment-editor.ts:164
↓ 6 callersFunctioncloseMenu
()
src/components/command-menu.tsx:45
↓ 6 callersFunctiongetDefaultImage
(id: string)
src/utils/get-default-image.ts:3
↓ 6 callersFunctiongetPostHogHost
()
src/lib/posthog-config.ts:9
↓ 6 callersFunctionsanitizeProperties
(properties: Record<string, unknown> = {})
src/lib/posthog-sanitize.ts:47
↓ 6 callersFunctiontimestamptz
(name: string)
src/db/schemas/shared.schema.ts:3
↓ 5 callersFunctioncreateCache
(prefix: string, ttl: number = DEFAULT_TTL)
src/lib/kv.ts:20
↓ 5 callersFunctioncreateSnapshot
(ta: HTMLTextAreaElement)
src/hooks/use-comment-editor.ts:132
↓ 5 callersFunctionsimulateIMEInput
(options: SimulateIMEInputOptions)
src/tests/unit/components/comment-editor.test.tsx:15
↓ 4 callersFunctioncaptureClientEvent
( event: TEvent, properties: EventProperties<TEvent>, context: { pathname?: string; locale?: string; use
src/lib/posthog-client.ts:26
↓ 4 callersFunctioncheckAppliedTheme
(page: Page, theme: string)
src/tests/e2e/utils/theme.ts:5
↓ 4 callersFunctiongetErrorKind
(error: unknown)
src/lib/posthog-sanitize.ts:51
↓ 4 callersFunctiongetIp
(headers: Headers)
src/utils/get-ip.ts:3
↓ 4 callersFunctiongetKey
(...parts: Array<string | number>)
src/lib/kv.ts:21
↓ 4 callersFunctiongetPageBySlug
(locale: string, slug: string)
src/lib/content.ts:41
↓ 4 callersFunctiongetPostBySlug
(locale: string, slug: string)
src/lib/content.ts:22
↓ 4 callersFunctionisPostHogClientEnabled
()
src/lib/posthog-client.ts:22
↓ 4 callersFunctionuseCommentContext
()
src/contexts/comment.context.ts:19
↓ 4 callersFunctionuseCommentParams
()
src/hooks/use-comment-params.ts:3
↓ 4 callersFunctionuseSidebar
()
src/components/ui/sidebar.tsx:41
↓ 4 callersFunctionuseSignInDialog
()
src/hooks/use-sign-in-dialog.ts:5
↓ 3 callersFunctioncheckStoredTheme
(page: Page, theme: 'light' | 'dark' | 'system')
src/tests/e2e/utils/theme.ts:11
↓ 3 callersFunctiongetFontPath
(fontName: string)
src/lib/fonts.ts:8
↓ 3 callersFunctiongetPayloadConfigFromPayload
(config: ChartConfig, payload: unknown, key: string)
src/components/ui/chart.tsx:292
↓ 3 callersFunctiongetSession
(request?: NextRequest)
src/lib/auth.ts:57
↓ 3 callersFunctionloadMessages
(locale: string)
src/i18n/utils.ts:5
↓ 3 callersFunctionsetThemeInLocalStorage
(page: Page, theme: string)
src/tests/e2e/utils/theme.ts:39
↓ 2 callersFunctiona11y
(options: Options)
src/tests/e2e/utils/a11y.ts:12
↓ 2 callersFunctionanimate
()
src/components/home/location-card.tsx:105
↓ 2 callersFunctionapplySnapshot
(ta: HTMLTextAreaElement, snap: Snapshot)
src/hooks/use-comment-editor.ts:168
↓ 2 callersFunctioncaptureServerException
( error: unknown, context: ServerCaptureContext, additionalProperties: Record<string, unknown> = {}, )
src/lib/posthog.ts:70
↓ 2 callersFunctioncopy
({ text, timeout, successMessage, errorMessage }: CopyOptions)
src/hooks/use-copy-to-clipboard.ts:16
↓ 2 callersFunctiongenerateOGImage
(title: string, url: string)
src/app/[locale]/og/[...slug]/route.tsx:94
↓ 2 callersFunctionget
(key: string)
src/lib/kv.ts:26
↓ 2 callersFunctiongetAnonKey
(ip: string)
src/utils/get-anon-key.ts:5
↓ 2 callersFunctiongetBaseProperties
(pathname?: string, locale?: string, userRole?: string)
src/lib/posthog-client.ts:11
↓ 2 callersFunctiongetBaseProperties
( source: AnalyticsSource, headers?: Headers, userRole?: string, isAuthenticated = false, )
src/lib/posthog.ts:29
↓ 2 callersFunctiongetDistinctIdFromPostHogCookie
(cookieHeader?: string | string[])
src/lib/posthog-identity.ts:22
↓ 2 callersFunctiongetLatestPosts
(locale: string, limit: number = allPosts.length)
src/lib/content.ts:15
↓ 2 callersFunctiongetMaskedEmail
(email: string)
src/utils/get-masked-email.ts:1
↓ 2 callersFunctiongetPostHogAssetHost
()
src/lib/posthog-config.ts:21
↓ 2 callersFunctiongetPostHogServerOrNull
()
src/lib/posthog.ts:13
↓ 2 callersFunctiongetProjectBySlug
(locale: string, slug: string)
src/lib/content.ts:37
↓ 2 callersFunctiongetRouteContextFromHeaders
(headers: Headers)
src/lib/posthog-identity.ts:48
↓ 2 callersFunctiongetThemeOptions
(isDark: boolean)
src/components/home/location-card.tsx:14
↓ 2 callersFunctionhandleSignIn
(provider: Provider)
src/components/sign-in-dialog.tsx:66
↓ 2 callersFunctionhandleVoteComment
(like: boolean)
src/components/comment-section/comment-actions.tsx:30
↓ 2 callersFunctionisSpace
(char: string)
src/hooks/use-comment-editor.ts:28
↓ 2 callersFunctionopenExternalLink
(url: string)
src/components/command-menu.tsx:57
↓ 2 callersFunctionresetPostHogUser
(context: { pathname?: string; locale?: string })
src/lib/posthog-client.ts:86
↓ 2 callersFunctionresolve
(path: string)
vitest.config.ts:4
↓ 2 callersFunctionresolvePostHogDistinctId
(headers: Headers, userId?: string)
src/lib/posthog-identity.ts:39
↓ 2 callersFunctionsanitizeRecord
(value: Record<string, unknown>)
src/lib/posthog-sanitize.ts:24
↓ 2 callersFunctionsanitizeValue
(value: unknown)
src/lib/posthog-sanitize.ts:35
↓ 2 callersFunctionsendEmail
(options: SendEmailOptions)
src/lib/resend.ts:11
↓ 2 callersFunctionshift
(delta: number)
src/hooks/use-comment-editor.ts:104
↓ 2 callersFunctionsleep
(ms: number)
src/utils/sleep.ts:6
↓ 2 callersFunctionsyncPostHogUser
( user: { id: string; role: string } | null, context: { pathname?: string; locale?: string }, )
src/lib/posthog-client.ts:65
↓ 2 callersFunctiontrimTrailingSlash
(value: string)
src/lib/posthog-config.ts:5
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:28
↓ 2 callersFunctionuseCopyToClipboard
()
src/hooks/use-copy-to-clipboard.ts:12
↓ 2 callersFunctionuseCountComment
(input: CommentCountInput)
src/hooks/queries/comment.query.ts:19
↓ 2 callersFunctionuseCountLike
(input: LikeCountInput)
src/hooks/queries/like.query.ts:7
↓ 2 callersFunctionuseCountView
(input: ViewCountInput)
src/hooks/queries/view.query.ts:7
↓ 2 callersFunctionuseCreatePostComment
(input: CommentListInput, onSuccess?: () => void)
src/hooks/queries/comment.query.ts:23
↓ 2 callersFunctionuseGithubStats
()
src/hooks/queries/stats.query.ts:9
↓ 2 callersFunctionuseListComments
(input: (pageParam: Date | undefined) => CommentListInput, enabled = true)
src/hooks/queries/comment.query.ts:7
↓ 2 callersFunctionuseReactTable
(options: TableOptions<TOptions>)
src/hooks/use-react-table.ts:12
↓ 2 callersFunctionuseSignOut
(options: UseSignOutOptions = {})
src/hooks/use-sign-out.ts:13
↓ 2 callersFunctionuseUpdateUser
(onSuccess?: () => void)
src/hooks/queries/auth.query.ts:22
↓ 2 callersFunctionuseWakatimeStats
()
src/hooks/queries/stats.query.ts:21
↓ 2 callersFunctionverifyUnsubToken
(token: string)
src/lib/unsubscribe.ts:37
↓ 1 callersFunctionCommentEmailTemplate
(props: CommentEmailTemplateProps)
src/emails/templates/comment.tsx:31
↓ 1 callersFunctionReplyEmailTemplate
(props: ReplyEmailTemplateProps)
src/emails/templates/reply.tsx:33
↓ 1 callersFunctionapplyPairAtCaret
(ta: HTMLTextAreaElement, pos: number, marker: string)
src/hooks/use-comment-editor.ts:52
↓ 1 callersFunctioncaptureClientException
( error: unknown, context: { pathname?: string locale?: string userRole?: string additiona
src/lib/posthog-client.ts:47
↓ 1 callersFunctioncomputeNewSelection
( textarea: HTMLTextAreaElement, action: ToggleAction, markerLength: number, position: DecorationPosit
src/hooks/use-comment-editor.ts:95
↓ 1 callersFunctioncreateBrowserContext
(browser: Browser, options: CreateBrowserContextOptions = {})
src/tests/e2e/utils/theme.ts:24
↓ 1 callersFunctioncreateClient
()
src/lib/cloudflare-r2.ts:13
↓ 1 callersFunctioncreateORPCContext
(request: NextRequest)
src/orpc/context.ts:6
↓ 1 callersFunctioncreateQueryClient
()
src/components/query-provider.tsx:8
↓ 1 callersFunctiondjb2
(str: string)
src/app/api/avatar/[id]/route.tsx:14
↓ 1 callersFunctiongenerateBlogOGImage
(locale: Locale, slugs: string[])
src/app/[locale]/og/[...slug]/route.tsx:56
↓ 1 callersFunctiongenerateCommentReplyUnsubToken
(userId: string, commentId: string)
src/lib/unsubscribe.ts:63
↓ 1 callersFunctiongenerateGradient
(id: string)
src/app/api/avatar/[id]/route.tsx:24
↓ 1 callersFunctiongenerateHighlightedHtml
()
src/components/comment-section/comment-code-block.tsx:51
next →1–100 of 740, ranked by callers