The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Trim two design-justification comments
Rafi247973db458f
diff --git a/apps/web/lib/api/partners/search/providers/shared.ts b/apps/web/lib/api/partners/search/providers/shared.tsindex a99d89c4dd..ee010bc1db 100644--- a/apps/web/lib/api/partners/search/providers/shared.ts+++ b/apps/web/lib/api/partners/search/providers/shared.ts@@ -5,10 +5,6 @@ const NGRAM_SIZE = 3;/*** Three-character tokens, which is what lets a partial email match without a* leading-wildcard query.- *- * Returns the tokens rather than a joined string because the two callers below- * want them differently: an indexed address is stored joined, while a query's- * trigrams are checked for emptiness before the caller joins them.*/function toNgrams(value: string): string[] {return Array.from(diff --git a/apps/web/lib/api/partners/search/providers/turbopuffer.ts b/apps/web/lib/api/partners/search/providers/turbopuffer.tsindex d14f9bcc58..c581cc19a9 100644--- a/apps/web/lib/api/partners/search/providers/turbopuffer.ts+++ b/apps/web/lib/api/partners/search/providers/turbopuffer.ts@@ -367,7 +367,6 @@ export function createTurbopufferPartnerSearchProvider({include_attributes: false,}));- // One round trip regardless of branch count.const { results } = await withQueryDeadline(() => resolvedNamespace.multiQuery({ queries: branches }),QUERY_OPERATION_TIMEOUT_MS,