Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
chore(hub): exclude searchRanking helper from route scanning
Akarshan Biswas273398c6350b
diff --git a/web-app/src/routes/hub/searchRanking.ts b/web-app/src/routes/hub/-searchRanking.tssimilarity index 100%rename from web-app/src/routes/hub/searchRanking.tsrename to web-app/src/routes/hub/-searchRanking.tsdiff --git a/web-app/src/routes/hub/__tests__/searchRanking.test.ts b/web-app/src/routes/hub/__tests__/searchRanking.test.tsindex 3f3b80fe4..96cc9f754 100644--- a/web-app/src/routes/hub/__tests__/searchRanking.test.ts+++ b/web-app/src/routes/hub/__tests__/searchRanking.test.ts@@ -3,7 +3,7 @@ import {cleanHubSearchQuery,prioritizeExactModelMatches,type RankableCatalogModel,-} from '../searchRanking'+} from '../-searchRanking'const model = (model_name: string,diff --git a/web-app/src/routes/hub/index.tsx b/web-app/src/routes/hub/index.tsxindex 3985857b8..1dfd2f4b6 100644--- a/web-app/src/routes/hub/index.tsx+++ b/web-app/src/routes/hub/index.tsx@@ -53,7 +53,7 @@ import Fuse from 'fuse.js'import {cleanHubSearchQuery,prioritizeExactModelMatches,-} from './searchRanking'+} from './-searchRanking'import { useGeneralSetting } from '@/hooks/useGeneralSetting'import { DownloadButtonPlaceholder } from '@/containers/DownloadButton'import { useShallow } from 'zustand/shallow'