MCPcopy
hub / github.com/smapiot/piral / filter

Method filter

src/plugins/piral-search/src/create.ts:68–68  ·  view source on GitHub ↗

* Allows filtering of the search providers to query. * @param query The query that should be run. * @param providerNames The names of the available search providers. * @default undefined

(query: string, providerNames: Array<string>)

Source from the content-addressed store, hash-verified

66 * @default undefined
67 */
68 filter?(query: string, providerNames: Array<string>): Array<string>;
69}
70
71function noop() {}

Callers 15

readValidatorOptionsFunction · 0.65
readValidatorDescriptionFunction · 0.65
readValidatorsFunction · 0.65
swapFunction · 0.65
generateBodyFunction · 0.65
offFunction · 0.65
runAllFunction · 0.65
getLoadedVersionsFunction · 0.65
findMatchingPackageFunction · 0.65
unregisterModulesFunction · 0.65
removePiletFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected