feat(service): Plugins may define a priority for their results

Adds an additional parameter for prioritizing the search results from a
specific plugin. The plugin may define a priority which will sort
results after the initial pattern search. The web plugin will be the
first plugin to utilize this feature
This commit is contained in:
Michael Aaron Murphy 2021-08-23 19:54:04 +02:00
parent 454ce19f08
commit 8987565a2a
4 changed files with 36 additions and 1 deletions

View file

@ -2,7 +2,7 @@ mod config;
pub(crate) mod external;
pub mod help;
pub use self::config::{PluginBinary, PluginConfig, PluginQuery};
pub use self::config::{PluginBinary, PluginConfig, PluginPriority, PluginQuery};
pub use self::external::ExternalPlugin;
pub use self::help::HelpPlugin;