import { namespacedWireCommit , namespacedWireDispatch } from '../../wiring/namespaced-wires.factory' ; import { NamespacedWireCommit , NamespacedWireDispatch } from '../../wiring/namespaced-wiring.types' ; import { createWiring } from '../../wiring/wiring.utils' ; /**
 * `nextQueries`  XModuleName .
 *
 *  internal const moduleName = 'nextQueries' ; /**
 * WireCommit for  NextQueriesXModule .
 *
 *  internal const wireCommit = namespacedWireCommit ( moduleName ) ; /**
 * WireDispatch for  NextQueriesXModule .
 *
 *  internal const wireDispatch = namespacedWireDispatch ( moduleName ) ; public export const setNextQueriesQuery = wireCommit ( 'setQuery' ) ; public const setUrlParams = wireDispatch ( 'setUrlParams' ) ; public export const setNextQueriesExtraParams = wireCommit ( 'setParams' ) ; public export const fetchAndSaveNextQueriesWire = wireDispatch ( 'fetchAndSaveNextQueries' ) ; public export const setQueryFromLastHistoryQueryWire = wireDispatch ( 'setQueryFromLastHistoryQuery' ) ; public export const setSearchedQueries = wireCommit ( 'setSearchedQueries' ) ; /**
 * Wiring configuration for the  NextQueriesXModule .
 *
 *  internal export const nextQueriesWiring = createWiring ( { UserAcceptedAQuery : { setNextQueriesQuery } , SessionHistoryQueriesChanged : { setSearchedQueries , setQueryFromLastHistoryQueryWire } , NextQueriesRequestChanged : { fetchAndSaveNextQueriesWire } , ExtraParamsChanged : { setNextQueriesExtraParams } , ParamsLoadedFromUrl : { setUrlParams } } ) ;