import { namespacedWireCommit , namespacedWireDispatch , namespacedWireDispatchWithoutPayload } from '../../wiring/namespaced-wires.factory' ; import { NamespacedWireCommit , NamespacedWireDispatch } from '../../wiring/namespaced-wiring.types' ; import { createWiring } from '../../wiring/wiring.utils' ; /**
 * `relatedTags`  XModuleName .
 *
 *  internal const moduleName = 'relatedTags' ; /**
 * WireCommit for  RelatedTagsXModule .
 *
 *  internal const wireCommit = namespacedWireCommit ( moduleName ) ; /**
 * WireDispatch for  RelatedTagsXModule .
 *
 *  internal const wireDispatch = namespacedWireDispatch ( moduleName ) ; /**
 * WireDispatchWithoutPayload for  RelatedTagsXModule .
 *
 *  internal const wireDispatchWithoutPayload = namespacedWireDispatchWithoutPayload ( moduleName ) ; public export const setRelatedTagsQuery = wireCommit ( 'setQuery' ) ; public export const setRelatedTagsExtraParams = wireCommit ( 'setParams' ) ; public export const fetchAndSaveRelatedTagsWire = wireDispatch ( 'fetchAndSaveRelatedTags' ) ; /**
 * Cancels the  RelatedTagsActions . fetchAndSaveRelatedTags request promise.
 *
 *  public export const cancelFetchAndSaveRelatedTagsWire = wireDispatchWithoutPayload ( 'cancelFetchAndSaveRelatedTags' ) ; public export const toggleRelatedTagWire = wireDispatch ( 'toggleRelatedTag' ) ; public export const clearSelectedRelatedTags = wireCommit ( 'setSelectedRelatedTags' , [ ] ) ; public export const clearRelatedTagsQuery = wireCommit ( 'setQuery' , '' ) ; public export const setUrlParamsWire = wireDispatch ( 'setUrlParams' ) ; /**
 * Wiring configuration for the  RelatedTagsXModule .
 *
 *  internal export const relatedTagsWiring = createWiring ( { UserAcceptedAQuery : { setRelatedTagsQuery , clearSelectedRelatedTags } , UserPickedARelatedTag : { toggleRelatedTagWire } , UserChangedExtraParams : { clearSelectedRelatedTags } , RelatedTagsRequestChanged : { fetchAndSaveRelatedTagsWire } , UserClearedQuery : { cancelFetchAndSaveRelatedTagsWire , clearRelatedTagsQuery , clearSelectedRelatedTags } , ExtraParamsChanged : { setRelatedTagsExtraParams } , ParamsLoadedFromUrl : { setUrlParamsWire } } ) ;