@empathyco/x-components
Version:
Empathy X Components
18 lines (15 loc) • 582 B
JavaScript
import '@empathyco/x-utils';
import { createStoreEmitters } from '../../../store/utils/store-emitters.utils.js';
import { aiXStoreModule } from './module.js';
/**
* {@link StoreEmitters} For the ai module.
*
* @internal
*/
const aiEmitters = createStoreEmitters(aiXStoreModule, {
AiSuggestionsRequestUpdated: (_, getters) => getters.suggestionsRequest,
AiSuggestionsSearchRequestUpdated: (_, getters) => getters.suggestionsSearchRequest,
AiSuggestionsSearchChanged: state => state.suggestionsSearch,
});
export { aiEmitters };
//# sourceMappingURL=emitters.js.map