MCPcopy Create free account

hub / github.com/destruc7i0n/bedrock-dot-dev / functions

Functions92 in github.com/destruc7i0n/bedrock-dot-dev

↓ 12 callersFunctioncn
(...inputs: ClassValue[])
src/lib/cn.ts:5
↓ 10 callersFunctiont
(key: string, options?: TOptions)
src/lib/i18n.ts:92
↓ 7 callersFunctiongetEnvVar
(name: string)
src/lib/constants/env.ts:3
↓ 4 callersFunctiongetVersionParts
(version: string)
src/lib/versions/helpers.ts:6
↓ 4 callersFunctiongetVersionTag
( version: string[], tags: TagsResponse, )
src/lib/tags/util.ts:5
↓ 4 callersFunctionremoveHashIfNeeded
(s: string)
src/lib/util.ts:43
↓ 4 callersFunctionscrapeTable
(html: string, id: string)
src/lib/html/scrape/table.ts:24
↓ 4 callersFunctionuseAppTranslation
()
src/lib/use-app-translation.ts:7
↓ 3 callersFunctionensureI18n
()
src/lib/i18n.ts:57
↓ 3 callersFunctiongetLink
( major: string, minor: string, file: string, tags: TagsResponse, replaceWithTagged: boolean = true,
src/lib/util.ts:8
↓ 3 callersFunctiongetTags
(locale: Locale)
src/lib/tags/index.ts:27
↓ 3 callersFunctionsetHeadingOpen
(heading: string, value: boolean)
src/components/sidebar/sidebar-content.tsx:89
↓ 2 callersFunctionareVersionsEqual
(a: string[], b: string[])
src/lib/versions/helpers.ts:3
↓ 2 callersFunctioncompareBedrockVersions
(a: string, b: string)
src/lib/versions/helpers.ts:9
↓ 2 callersFunctiondecompressVersions
( data: CompressedVersions, )
src/lib/versions/transform.ts:9
↓ 2 callersFunctiondevOnly
(fn: (...args: unknown[]) => void)
src/lib/log.ts:1
↓ 2 callersFunctiongetInitialOpen
(sidebar: SidebarStructure, file: string)
src/components/sidebar/sidebar-content.tsx:22
↓ 2 callersFunctiongetMinorVersionTitle
( version: string[], tags: TagsResponse, t: (a: string) => string, )
src/lib/util.ts:25
↓ 2 callersFunctiongetTDMatch
(prefix: string)
src/lib/html/regex.ts:7
↓ 2 callersFunctiongetTable
(html: string, id: string, tagNum: number)
src/lib/html/scrape/table.ts:10
↓ 2 callersFunctiongetVersionsFile
()
src/lib/versions/list.ts:53
↓ 2 callersFunctionhighlightMarkdownCode
(html: string)
src/lib/html/highlight.ts:32
↓ 2 callersFunctionhighlightTextarea
(html: string, file: string)
src/lib/html/highlight.ts:10
↓ 2 callersFunctionisVersionSince
(version: string, since: string)
src/lib/util.ts:88
↓ 2 callersFunctiononeLine
(str: string)
src/lib/util.ts:101
↓ 1 callersFunctionaddAnchors
(html: string)
src/lib/html/scrape/sections.ts:8
↓ 1 callersFunctionaddAnchorsToMoLangQueries
(html: string)
src/lib/html/clean/molang.ts:4
↓ 1 callersFunctionbedrockVersionsInOrder
( versions: BedrockVersions, )
src/lib/versions/helpers.ts:22
↓ 1 callersFunctioncheckCache
()
src/lib/versions/list.ts:82
↓ 1 callersFunctioncleanHtmlForDisplay
( html: string, file: string, version: string, )
src/lib/html/clean.ts:13
↓ 1 callersFunctionencloseDocumentationText
(html: string, file: string)
src/lib/html/clean.ts:40
↓ 1 callersFunctionextractDataFromHtml
( html: string, file: string, )
src/lib/html/index.ts:66
↓ 1 callersFunctionfetchHtml
(version: string[], locale: Locale)
src/lib/html/fetch.ts:7
↓ 1 callersFunctionformatTree
(resp: GitHubTreeResponse)
src/lib/versions/list.ts:8
↓ 1 callersFunctiongenerateVercelRoutes
()
src/integrations/vercel-redirects.ts:35
↓ 1 callersFunctiongetAIGoals
(html: string)
src/lib/html/scrape/table.ts:60
↓ 1 callersFunctiongetAsset
(file: string)
src/pages/api/og.png.ts:33
↓ 1 callersFunctiongetBgColor
( taggedVersion: string | null, versionParam: string | null, )
src/pages/api/og.png.ts:46
↓ 1 callersFunctiongetBoxShadowColor
(taggedVersion: string | null)
src/pages/api/og.png.ts:55
↓ 1 callersFunctiongetComponentsList
(html: string)
src/lib/html/scrape/table.ts:43
↓ 1 callersFunctiongetDefaultValue
()
src/stores/sidebar-open.ts:5
↓ 1 callersFunctiongetDocsFilesFromRepo
( filePath: string, // eslint-disable-next-line @typescript-eslint/no-unused-vars _locale: Locale, )
src/lib/docs/files.ts:13
↓ 1 callersFunctiongetFormattedFilesList
(locale: Locale)
src/lib/versions/list.ts:44
↓ 1 callersFunctiongetFromTitle
(section: string)
src/lib/html/scrape/sections.ts:36
↓ 1 callersFunctiongetLocale
(_locale?: string)
src/lib/i18n.ts:29
↓ 1 callersFunctiongetSection
(html: string, title: string)
src/lib/html/scrape/sections.ts:23
↓ 1 callersFunctiongetSidebarContent
(html: string)
src/lib/html/index.ts:15
↓ 1 callersFunctiongetTitle
(html: string)
src/lib/html/scrape/title.ts:19
↓ 1 callersFunctiongroupVersionsByLocale
({ versions }: BedrockVersionsFile)
src/lib/i18n.ts:44
↓ 1 callersFunctionhighlightHtml
(html: string, file: string)
src/lib/html/highlight.ts:57
↓ 1 callersFunctionisVersionBefore
(version: string, before: string)
src/lib/util.ts:92
↓ 1 callersFunctionlistAllFilesFromRepo
( // eslint-disable-next-line @typescript-eslint/no-unused-vars _locale: Locale, )
src/lib/docs/fs.ts:15
↓ 1 callersFunctionmain
()
scripts/generate-sitemap.ts:18
↓ 1 callersFunctionmain
()
scripts/generate-docs-manifest.ts:9
↓ 1 callersFunctionparseUrlQuery
( query: string, versions: BedrockVersions, )
src/lib/util.ts:60
↓ 1 callersFunctionreadTagsFromSubmodule
(locale: Locale)
src/lib/tags/index.ts:8
↓ 1 callersFunctionremoveDisplayHtml
(html: string)
src/lib/html/clean.ts:90
↓ 1 callersFunctionscanDirectory
(dirPath: string, relativePath = "")
src/lib/docs/fs.ts:27
↓ 1 callersFunctionsetCache
(file: BedrockVersionsFile)
src/lib/versions/list.ts:96
↓ 1 callersFunctiontoTitleCase
(s: string)
src/lib/html/scrape/title.ts:8
↓ 1 callersFunctiontranslateFileName
(fileName: string)
src/components/sidebar/sidebar-selectors.tsx:41
FunctionDocSearchInput
({ placeHolder = "Search", size = "md", locale = "en", })
src/components/docsearch/docsearch-input.tsx:17
FunctionGET
({ request })
src/pages/api/og.png.ts:61
FunctionSidebarContent
({ sidebar, file })
src/components/sidebar/sidebar-content.tsx:31
FunctionSidebarGroupItem
({ title, id, hash, onClick, })
src/components/sidebar/sidebar-group-item.tsx:14
FunctionSidebarGroupTitle
({ title, id, children, hash, open, onToggle, })
src/components/sidebar/sidebar-group-title.tsx:18
FunctionSidebarSelectors
({ major, minor, file, compressedVersions, tags, })
src/components/sidebar/sidebar-selectors.tsx:26
FunctionSpecificVersionChooser
({ majorVersions, minorVersions, major, minor, setMinor, setMajor, tags, })
src/components/version-chooser/specific-version-chooser.tsx:22
FunctionTagVersionChooser
({ tags, setMajor, setMinor, })
src/components/version-chooser/tag-version-chooser.tsx:11
FunctionVersionChooser
({ compressedVersions, tags, })
src/components/version-chooser/version-chooser.tsx:34
FunctionVersionFile
({ title, link })
src/components/version-chooser/version-chooser.tsx:21
FunctionaddHashIfNeeded
(s: string)
src/lib/util.ts:39
FunctionallFilesList
(locale: Locale)
src/lib/versions/list.ts:65
FunctionchangeLocale
(locale: Locale)
src/lib/i18n.ts:89
FunctioncompressVersions
(data: BedrockVersions)
src/lib/versions/transform.ts:29
FunctiongetDocAlerts
(doc: string, version: string)
src/lib/constants/docs-alerts.ts:73
FunctiongetOgImageUrl
(params?: { file?: string; version?: string; })
src/lib/og-image.ts:3
FunctiongetRepository
(locale: Locale)
src/lib/i18n.ts:35
FunctiongetSections
(html: string, sections: string[])
src/lib/html/scrape/sections.ts:47
FunctiongetTagFromSlug
(slug: string | string[] | undefined)
src/lib/util.ts:45
FunctionhandleSummaryClick
(e: MouseEvent)
src/components/sidebar/sidebar-group-title.tsx:32
FunctionhandleToggle
(e: React.SyntheticEvent<HTMLDetailsElement>)
src/components/sidebar/sidebar-group-title.tsx:28
FunctionisNewMolangFilename
(version: string)
src/lib/util.ts:96
FunctionisProduction
()
src/lib/util.ts:107
FunctionlistReleases
( repo: string, )
src/lib/github/api.ts:11
FunctiononFileChange
({ target: { value }, }: ChangeEvent<HTMLSelectElement>)
src/components/sidebar/sidebar-selectors.tsx:127
FunctiononHashChange
()
src/components/sidebar/sidebar-content.tsx:61
FunctiononVersionChange
({ target: { value }, }: ChangeEvent<HTMLSelectElement>)
src/components/sidebar/sidebar-selectors.tsx:102
FunctionprocessDocFile
( pathParts: string[], locale: Locale, )
src/lib/docs/process-file.ts:25
FunctionupdateFileNames
(fileName: string)
src/lib/util.ts:79
FunctionupdateVersion
()
src/components/version-chooser/tag-version-chooser.tsx:19
FunctionvercelRedirectsIntegration
()
src/integrations/vercel-redirects.ts:98