@stamhoofd/common-filters
v2.161.1
Published
Readme
@stamhoofd/common-filters
The StamhoofdFilter and SortList types and the generic filter compiler (compileFilter, filterDefinitionsToCompiler, ...).
This lives outside @stamhoofd/structures so that @stamhoofd/node-sql can compile filters to SQL without depending on all structures. It only depends on other libraries in /packages and does not use the $t or STAMHOOFD globals; @stamhoofd/structures re-exports everything from here, so application code keeps importing from @stamhoofd/structures.
Import by subpath, e.g. @stamhoofd/common-filters/StamhoofdFilter.
