MCPcopy Create free account

hub / github.com/bettergovph/bettergov / functions

Functions461 in github.com/bettergovph/bettergov

↓ 1 callersFunctionfetchContent
( env: Env, url: string, crawlerType?: string )
functions/lib/crawler.ts:110
↓ 1 callersMethodfetchContent
(env: Env, url: string)
functions/lib/crawler.ts:13
↓ 1 callersFunctionfetchHrep
()
scripts/fetch-hrep.js:34
↓ 1 callersFunctionfetchProjectGitHubData
( repositoryUrls: string[] )
src/components/ui/ProjectCard.tsx:165
↓ 1 callersFunctionfindContractorBySlug
(slug: string)
src/pages/flood-control-projects/contractors/[contractor-name].tsx:507
↓ 1 callersFunctionformatList
(data)
scripts/fetch-hrep.js:3
↓ 1 callersFunctionformatRegionName
(name: string)
src/pages/philippines/regions/index.tsx:20
↓ 1 callersFunctionformatRelativeTime
(date: Date)
src/components/ui/ProjectCard.tsx:30
↓ 1 callersFunctionformatStandardDescription
(subject: string)
src/lib/seoTemplates.ts:7
↓ 1 callersFunctionformatStandardTitle
(subject: string)
src/lib/seoTemplates.ts:3
↓ 1 callersFunctiongenerateBatchInsertSQL
* Generate SQL for batch insert with UPSERT logic
src/data/flood_control/load_flood_control.js:206
↓ 1 callersFunctiongenerateBatchInsertSQL
* Generate SQL for batch insert with UPSERT logic
src/data/flood_control/load_flood_control_arcgis.js:284
↓ 1 callersFunctiongenerateGovernmentDirectory
(governmentData)
scripts/generate-llms-txt.js:135
↓ 1 callersFunctiongenerateGovernmentUrls
(siteUrl, governmentData)
scripts/generate-sitemap.js:135
↓ 1 callersFunctiongenerateHistoricalData
(currentRate: number, timeframe: string)
src/pages/data/forex.tsx:122
↓ 1 callersFunctiongenerateLlmsContent
( mainNavigation, serviceCategories, governmentData )
scripts/generate-llms-txt.js:371
↓ 1 callersFunctiongenerateServicesDirectory
(serviceCategories)
scripts/generate-llms-txt.js:353
↓ 1 callersFunctiongenerateSiteUrls
(mainNavigation, governmentData)
scripts/generate-sitemap.js:273
↓ 1 callersFunctiongenerateSitemap
(mainNavigation, governmentData)
scripts/generate-llms-txt.js:242
↓ 1 callersFunctiongenerateSitemapXml
(urls)
scripts/generate-sitemap.js:380
↓ 1 callersFunctiongenerateSlug
scripts/extract-websites.js:8
↓ 1 callersFunctiongenerateSlug
(record)
scripts/index_flood_control.cjs:92
↓ 1 callersFunctiongenerateSlug
(name)
scripts/add-directory-slugs.js:46
↓ 1 callersFunctiongenerateSlug
(name)
scripts/extract-regions.js:39
↓ 1 callersFunctiongetCFBrowserContentByUrl
( env: Env, url: string )
functions/lib/cf-browser.ts:247
↓ 1 callersFunctiongetCategoryHotlines
(category: string)
src/pages/philippines/Hotlines.tsx:71
↓ 1 callersFunctiongetComplexityColor
(complexity: string)
src/pages/Ideas.tsx:89
↓ 1 callersFunctiongetConstitutionalSEOData
( officeName?: string )
src/utils/seo-data.ts:142
↓ 1 callersFunctiongetContentByUrl
( env: Env, url: string, crawlerType?: string )
functions/lib/crawler.ts:140
↓ 1 callersMethodgetContentByUrl
(env: Env, url: string)
functions/lib/crawler.ts:18
↓ 1 callersFunctiongetCountryIso2
(countryName: string)
src/pages/travel/visa/index.tsx:226
↓ 1 callersFunctiongetCurrencyFlag
(code: string)
src/pages/data/forex.tsx:44
↓ 1 callersFunctiongetCurrencyIcon
(code: string)
src/components/ui/Ticker.tsx:14
↓ 1 callersFunctiongetCurrencyIcon
(code: string, size = 'h-6 w-6')
src/pages/data/forex.tsx:30
↓ 1 callersFunctiongetExecutiveSEOData
(officeName?: string)
src/utils/seo-data.ts:23
↓ 1 callersFunctiongetForexData
()
src/components/home/InfoWidgets.tsx:51
↓ 1 callersFunctiongetForexData
()
src/components/ui/Ticker.tsx:43
↓ 1 callersFunctiongetForexData
()
src/pages/data/forex.tsx:90
↓ 1 callersFunctiongetFormattedDate
()
src/lib/exportData.ts:68
↓ 1 callersFunctiongetIcon
(category: string)
src/components/home/ServicesSection.tsx:22
↓ 1 callersFunctiongetJinaContentByUrl
( env: Env, url: string )
functions/lib/jina.ts:195
↓ 1 callersFunctiongetPriorityColor
(priority: string)
src/pages/Ideas.tsx:76
↓ 1 callersFunctiongetSocialIcon
(label: string)
src/components/layout/Footer.tsx:34
↓ 1 callersFunctiongetStatusBadge
(type: string, duration?: string)
src/pages/travel/visa/index.tsx:416
↓ 1 callersFunctiongetStatusColor
(status: string)
src/pages/accessibility/index.tsx:119
↓ 1 callersFunctiongetStatusIcon
(status: string)
src/pages/accessibility/index.tsx:108
↓ 1 callersFunctiongetTimeoutByRoute
(pathname: string)
src/pages/government/GovernmentPageContainer.tsx:52
↓ 1 callersFunctiongetWeatherBackground
(condition: string)
src/pages/data/weather.tsx:62
↓ 1 callersFunctiongetWeatherData
()
src/components/home/InfoWidgets.tsx:27
↓ 1 callersFunctiongetWeatherData
()
src/components/ui/Ticker.tsx:71
↓ 1 callersFunctiongetWeatherData
()
src/pages/data/weather.tsx:20
↓ 1 callersFunctiongetWeatherDescription
(condition: string)
src/pages/data/weather.tsx:53
↓ 1 callersFunctiongetWeatherIcon
(iconName: string)
src/components/home/InfoWidgets.tsx:20
↓ 1 callersFunctionghFetchOnce
( slug: string, path: string, fallback: T )
src/components/ui/ProjectCard.tsx:98
↓ 1 callersFunctionhandleCategoryClick
(categoryId: string)
src/pages/travel/visa-types/[type].tsx:44
↓ 1 callersFunctionhandleCategoryClick
(categoryId: string)
src/pages/travel/visa-types/index.tsx:31
↓ 1 callersFunctionhandleContractorNavigation
(contractorSlug: string)
src/pages/flood-control-projects/contractors.tsx:550
↓ 1 callersFunctionhandleDeptSelect
(dept: Department)
src/pages/government/departments/components/DepartmentsSidebar.tsx:32
↓ 1 callersFunctionhandleDropdownMouseEnter
(label: string)
src/components/layout/Navbar.tsx:130
↓ 1 callersFunctionhandleOfficeSelect
(office: ConstitutionalOffice)
src/pages/government/constitutional/components/ConstitutionalSidebar.tsx:38
↓ 1 callersFunctionhandleResetZoom
()
src/pages/philippines/map/index.tsx:239
↓ 1 callersFunctionhandleSearch
(val: string)
src/components/ui/CivicAssistant.tsx:22
↓ 1 callersFunctionhandleSearch
(query: string)
src/pages/services/index.tsx:123
↓ 1 callersFunctionhandleSearchChange
(query: string)
src/pages/flood-control-projects/table.tsx:753
↓ 1 callersFunctionhandleSearchChange
(value: string)
src/pages/flood-control-projects/index.tsx:570
↓ 1 callersFunctionhandleSelect
(option: SelectPickerOption)
src/components/ui/SelectPicker.tsx:66
↓ 1 callersFunctionhandleSort
(field: string)
src/pages/flood-control-projects/contractors.tsx:259
↓ 1 callersFunctionhandleSort
(field: string)
src/pages/flood-control-projects/table.tsx:382
↓ 1 callersFunctionhandleSort
(field: string)
src/pages/flood-control-projects/contractors/[contractor-name].tsx:267
↓ 1 callersFunctionhandleSubcategoryChange
(subcategorySlug: string)
src/pages/services/index.tsx:136
↓ 1 callersFunctioninit
()
src/components/ui/CivicAssistant.tsx:15
↓ 1 callersMethodinitialize
()
src/lib/assistant.ts:26
↓ 1 callersFunctioninsertBatch
* Insert a batch of contracts using wrangler d1 execute
src/data/flood_control/load_flood_control.js:169
↓ 1 callersFunctioninsertBatch
* Insert a batch of projects using wrangler d1 execute
src/data/flood_control/load_flood_control_arcgis.js:247
↓ 1 callersFunctioninsertContractsInBatches
* Insert contracts into D1 database using wrangler CLI
src/data/flood_control/load_flood_control.js:141
↓ 1 callersFunctioninsertProjectsInBatches
* Insert projects into D1 database using wrangler CLI
src/data/flood_control/load_flood_control_arcgis.js:219
↓ 1 callersFunctionisActive
(path: string)
src/pages/government/executive/components/ExecutiveSidebar.tsx:13
↓ 1 callersFunctionisActive
(path: string)
src/pages/government/legislative/components/LegislativeSidebar.tsx:14
↓ 1 callersFunctionisActive
(path: string)
src/pages/government/diplomatic/components/DiplomaticSidebar.tsx:9
↓ 1 callersFunctionisActiveChildRoute
(href: string)
src/components/layout/Navbar.tsx:104
↓ 1 callersFunctionisValidUrl
* Validate URL to prevent SSRF and other attacks * @param url The URL to validate * @returns Whether the URL is valid
functions/api/crawl.ts:9
↓ 1 callersFunctionlastUpdatedTier
(date: Date)
src/components/ui/ProjectCard.tsx:299
↓ 1 callersFunctionloadData
()
scripts/generate-sitemap.js:95
↓ 1 callersFunctionloadData
()
scripts/generate-llms-txt.js:95
↓ 1 callersFunctionloadRegionLgu
( slug: string | undefined | null )
src/lib/lgu.ts:44
↓ 1 callersFunctionlsGet
(key: string)
src/components/ui/ProjectCard.tsx:75
↓ 1 callersFunctionmain
()
manual-security-test.cjs:136
↓ 1 callersFunctionmain
* Main execution function
src/data/flood_control/load_flood_control.js:29
↓ 1 callersFunctionmain
* Main execution function
src/data/flood_control/load_flood_control_arcgis.js:35
↓ 1 callersFunctionmain
()
scripts/split-lgu.cjs:20
↓ 1 callersFunctionmain
()
scripts/extract-websites.js:174
↓ 1 callersFunctionmain
()
scripts/index_contractors.cjs:170
↓ 1 callersFunctionmain
()
scripts/index_flood_control.cjs:121
↓ 1 callersFunctionmain
()
scripts/generate-sitemap.js:403
↓ 1 callersFunctionmain
()
scripts/index_flood_control_arcgis.js:100
↓ 1 callersFunctionmain
()
scripts/index_meilisearch.cjs:90
↓ 1 callersFunctionmain
()
scripts/split-services.js:19
↓ 1 callersFunctionmain
()
scripts/generate-llms-txt.js:469
↓ 1 callersFunctionmapWeatherIconToLucide
(iconCode: string)
src/lib/weather.ts:9
↓ 1 callersFunctionnormalizeQuery
(search: string)
src/components/SEO.tsx:41
← previousnext →101–200 of 461, ranked by callers