export const FEATURE_REGISTRY = new Map([
['collection:items:search', {
component: SearchFeature,
handlers: { search_collection_items: searchHandler },
primaryTool: 'search_collection_items',
toolNames: ['search_collection_items'],
}],
['collection:items:display', {
component: DisplayFeature,
handlers: { display_collection_item: displayHandler },
primaryTool: 'display_collection_item',
toolNames: ['display_collection_item'],
}],
['collection:items:comparison', {
component: ComparisonFeature,
handlers: { compare_collection_items: compareHandler },
primaryTool: 'compare_collection_items',
toolNames: ['compare_collection_items'],
}],
['bucket:list:crud', {
component: BucketFeature,
handlers: {
add_to_bucket: addHandler,
remove_from_bucket: removeHandler,
list_bucket: listHandler,
clear_bucket: clearHandler,
},
primaryTool: 'add_to_bucket',
toolNames: ['add_to_bucket', 'remove_from_bucket', 'list_bucket', 'clear_bucket'],
}],
]);