( value: unknown, filter: Readonly<Record<string, unknown>>, )
| 1479 | }; |
| 1480 | |
| 1481 | const matchesWhereOperators = ( |
| 1482 | value: unknown, |
| 1483 | filter: Readonly<Record<string, unknown>>, |
| 1484 | ): boolean => { |
| 1485 | for (const [operator, operand] of Object.entries(filter)) { |
| 1486 | if (!matchesWhereOperator(operator, value, operand)) return false; |
| 1487 | } |
| 1488 | return true; |
| 1489 | }; |
| 1490 | |
| 1491 | const rowMatchesPluginStorageWhere = ( |
| 1492 | row: CoreRow<"plugin_storage">, |
no test coverage detected