Commit 10cfa19
committed
refactor(tools): pf-3836 allow resource uris in search tool
* build, tsconfig move to es2023 target
* pf.getResource, hash, uri, and path index maps for search
* pf.search, hash, uri, and path as search, dynamic filtering option
* resources, optimize entry lookup loops, separate responses for templates
* server.getResources, optimize processDocsFunction for metadata, better errors
* server.helpers, new isUrlObject, parseUrl, enhance buildSearchString, add decodeURIComponent
* server.search, enhance findClosest with distance and memo
* tool.patternFlyDocs, zod add min to urlList
* tool.searchPatternFlyDocs, recommendations for available sections, categories1 parent 20faaba commit 10cfa19
20 files changed
Lines changed: 616 additions & 235 deletions
File tree
- src
- __tests__
- __snapshots__
- tests/e2e
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
Lines changed: 0 additions & 34 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
154 | 162 | | |
0 commit comments