| 73 | type Operations = ">" | "<" | "=" | "<=" | ">="; |
| 74 | |
| 75 | export interface FilterState { |
| 76 | productCode?: string; |
| 77 | productTitle?: string; |
| 78 | productDescription?: string; //Deep search |
| 79 | parentCatalogName?: string; |
| 80 | encapStandard?: string; |
| 81 | voltage?: { operation: Operations | string | null; value: number | null }; //operation referring to "<" ">" "=" |
| 82 | resistance?: { |
| 83 | operation: Operations | string | null; |
| 84 | value: number | null; |
| 85 | }; |
| 86 | power?: { operation: Operations | string | null; value: number | null }; |
| 87 | current?: { operation: Operations | string | null; value: number | null }; |
| 88 | tolerance?: string; //Selector |
| 89 | frequency?: { operation: Operations | string | null; value: number | null }; |
| 90 | capacitance?: { |
| 91 | operation: Operations | string | null; |
| 92 | value: number | null; |
| 93 | }; //value is in pF |
| 94 | inductance?: { |
| 95 | operation: Operations | string | null; |
| 96 | value: number | null; |
| 97 | }; //value is in uH |
| 98 | } |
| 99 | |
| 100 | export default function DashboardPage({ |
| 101 | loadedParts, |
nothing calls this directly
no outgoing calls
no test coverage detected