Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
Checks / checks (push) Successful in 2m11s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-01 04:23:53 +11:00
parent 3cd159a63e
commit a6ad8651b3
605 changed files with 11480 additions and 9125 deletions
+5 -2
View File
@@ -80,7 +80,10 @@ export function fuzzyMatch(query: string, text: string): FuzzyMatch | null {
}
/** Best fuzzy match across multiple strings (title, keywords, etc.). */
export function fuzzyMatchAny(query: string, texts: Array<string | undefined | null>): FuzzyMatch | null {
export function fuzzyMatchAny(
query: string,
texts: Array<string | undefined | null>,
): FuzzyMatch | null {
let best: FuzzyMatch | null = null;
for (const text of texts) {
if (!text) continue;
@@ -95,7 +98,7 @@ export function fuzzyMatchAny(query: string, texts: Array<string | undefined | n
export function fuzzyFilter<T>(
items: T[],
query: string,
getTexts: (item: T) => Array<string | undefined | null>
getTexts: (item: T) => Array<string | undefined | null>,
): Array<{ item: T; score: number }> {
const q = query.trim();
if (!q) {