This PR moves the entire project to Typescript. Due to the ~1000 ignores this will lead to a messy codebase for a while, but the churn is worth it – all of those ignore comments are places that were never type-safe previously. closes #1282
* Filter search by collectionId * Improve spec, remove recursive import * Add userId filter for documents.search * 💚 * Search filter UI * WIP UI * Date filtering Prevent dupe menu * Refactor * button * Added year option, improved hover states * Add new indexes * Remove manual string interpolation in SQL construction * Move dateFilter validation to controller * Fixes: Double query when changing filter Fixes: Visual jump between filters in dropdown * Add option to clear filters * More clearly define dropdowns in dark mode * Checkbox -> Checkmark