diff --git a/packages/api/src/db/queries.ts b/packages/api/src/db/queries.ts index 22777d0..8e82adf 100644 --- a/packages/api/src/db/queries.ts +++ b/packages/api/src/db/queries.ts @@ -384,6 +384,10 @@ export async function getFlexoptixSuggestions(switchId: string) { LIMIT 1 ) so ON true WHERE LOWER(v.name) = 'flexoptix' + -- Only parts confirmed in Flexoptix's live API catalog (have authoritative + -- datasheet specs). Excludes phantom/misattributed parts not actually + -- orderable from Flexoptix, and parts with no source-of-truth specs. + AND t.fx_specifications IS NOT NULL AND t.speed_gbps IS NOT NULL AND t.speed_gbps > 0 AND EXISTS ( SELECT 1 FROM switch_ports sp