feat: search parser overhaul

Overhaul of the search parser to include:
* Numeric range queries with support for both inclusive, exclusive, and
  half open ranges
* Better parsing of dates
* Virtual fields (search on "minutes" and have it translated to a
  "duration" query)
* More tests
* First class support for date fields
This commit is contained in:
Christian Benincasa
2025-11-18 16:06:53 -05:00
parent 4ac97a5f8c
commit fa6db00f27
9 changed files with 1779 additions and 111 deletions

3
pnpm-lock.yaml generated
View File

@@ -461,6 +461,9 @@ importers:
tsup:
specifier: ^8.0.2
version: 8.0.2(@microsoft/api-extractor@7.43.0(@types/node@22.10.7))(@swc/core@1.13.5)(postcss@8.5.6)(ts-node@10.9.2(@swc/core@1.13.5)(@types/node@22.10.7)(typescript@5.7.3))(typescript@5.7.3)
tsx:
specifier: ^4.20.5
version: 4.20.6
typescript:
specifier: 5.7.3
version: 5.7.3