@appbaseio/reactivecore
Advanced tools
Comparing version 9.9.0 to 9.10.0
@@ -1,1 +0,1 @@ | ||
Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};exports.setSuggestionsSearchValue=setSuggestionsSearchValue;exports.clearSuggestionsSearchValue=clearSuggestionsSearchValue;exports.updateAnalyticsConfig=updateAnalyticsConfig;exports.recordResultClick=recordResultClick;exports.recordSuggestionClick=recordSuggestionClick;exports.recordImpressions=recordImpressions;var _constants=require('../constants');function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function setSuggestionsSearchValue(value){return{type:_constants.SET_SUGGESTIONS_SEARCH_VALUE,value:value};}function clearSuggestionsSearchValue(){return{type:_constants.CLEAR_SUGGESTIONS_SEARCH_VALUE};}function updateAnalyticsConfig(analyticsConfig){return{type:_constants.UPDATE_ANALYTICS_CONFIG,analyticsConfig:analyticsConfig};}function recordClick(_ref){var url=_ref.url,app=_ref.app,credentials=_ref.credentials,headers=_ref.headers,documentId=_ref.documentId,clickPosition=_ref.clickPosition,queryId=_ref.queryId,clickType=_ref.clickType;if(!documentId){console.warn('ReactiveSearch: document id is required to record the click analytics');}else{fetch(url+'/'+app+'/_analytics/click',{method:'PUT',body:JSON.stringify({query_id:queryId,click_type:clickType||'result',click_on:_defineProperty({},documentId,clickPosition+1)}),headers:_extends({},headers,{'Content-Type':'application/json',Authorization:'Basic '+btoa(credentials)})});}}function recordResultClick(searchPosition,documentId){return function(dispatch,getState){var _getState=getState(),config=_getState.config,searchId=_getState.analytics.searchId,headers=_getState.headers,_getState$appbaseRef=_getState.appbaseRef,url=_getState$appbaseRef.url,protocol=_getState$appbaseRef.protocol,credentials=_getState$appbaseRef.credentials;var app=config.app;var esURL=protocol+'://'+url;if(config.analytics&&searchId){var parsedHeaders=headers;delete parsedHeaders['X-Search-Query'];var parsedURL=(esURL||'').replace(/\/+$/,'');if(parsedURL.includes('scalr.api.appbase.io')){fetch(parsedURL+'/'+app+'/_analytics',{method:'POST',headers:_extends({},parsedHeaders,{'Content-Type':'application/json',Authorization:'Basic '+btoa(credentials),'X-Search-Id':searchId,'X-Search-Click':true,'X-Search-ClickPosition':searchPosition+1})});}else{recordClick({url:parsedURL,app:app,credentials:credentials,parsedHeaders:parsedHeaders,documentId:documentId,clickPosition:searchPosition,queryId:searchId});}}};}function recordSuggestionClick(searchPosition,documentId){return function(dispatch,getState){var _getState2=getState(),config=_getState2.config,suggestionsSearchId=_getState2.analytics.suggestionsSearchId,headers=_getState2.headers,_getState2$appbaseRef=_getState2.appbaseRef,url=_getState2$appbaseRef.url,protocol=_getState2$appbaseRef.protocol,credentials=_getState2$appbaseRef.credentials;var app=config.app;var esURL=protocol+'://'+url;if(config.analytics&&(config.analyticsConfig===undefined||config.analyticsConfig.suggestionAnalytics===undefined||config.analyticsConfig.suggestionAnalytics)&&suggestionsSearchId&&searchPosition!==undefined){var parsedHeaders=headers;delete parsedHeaders['X-Search-Query'];var parsedURL=(esURL||'').replace(/\/+$/,'');if(parsedURL.includes('scalr.api.appbase.io')){fetch(parsedURL+'/'+app+'/_analytics',{method:'POST',headers:_extends({},parsedHeaders,{'Content-Type':'application/json',Authorization:'Basic '+btoa(credentials),'X-Search-Id':suggestionsSearchId,'X-Search-Suggestions-Click':true,'X-Search-Suggestions-ClickPosition':searchPosition+1})});}else{recordClick({url:parsedURL,app:app,credentials:credentials,parsedHeaders:parsedHeaders,documentId:documentId,clickPosition:searchPosition,clickType:'suggestion',queryId:suggestionsSearchId});}}};}function recordImpressions(queryId){var impressions=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];return function(dispatch,getState){var _getState3=getState(),app=_getState3.config.app,headers=_getState3.headers,_getState3$appbaseRef=_getState3.appbaseRef,url=_getState3$appbaseRef.url,protocol=_getState3$appbaseRef.protocol,credentials=_getState3$appbaseRef.credentials;var esURL=protocol+'://'+url;var parsedURL=esURL.replace(/\/+$/,'');if(!parsedURL.includes('scalr.api.appbase.io')&&queryId&&impressions.length){fetch(parsedURL+'/'+app+'/_analytics/search',{method:'PUT',body:JSON.stringify({query_id:queryId,impressions:impressions}),keepalive:true,headers:_extends({},headers,{'Content-Type':'application/json',Authorization:'Basic '+btoa(credentials)})});}};} | ||
Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};exports.setSuggestionsSearchValue=setSuggestionsSearchValue;exports.clearSuggestionsSearchValue=clearSuggestionsSearchValue;exports.updateAnalyticsConfig=updateAnalyticsConfig;exports.getRecentSearches=getRecentSearches;exports.recordResultClick=recordResultClick;exports.recordSuggestionClick=recordSuggestionClick;exports.recordImpressions=recordImpressions;var _constants=require('../constants');function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function setSuggestionsSearchValue(value){return{type:_constants.SET_SUGGESTIONS_SEARCH_VALUE,value:value};}function clearSuggestionsSearchValue(){return{type:_constants.CLEAR_SUGGESTIONS_SEARCH_VALUE};}function updateAnalyticsConfig(analyticsConfig){return{type:_constants.UPDATE_ANALYTICS_CONFIG,analyticsConfig:analyticsConfig};}function getRecentSearches(){var queryOptions=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{size:5,minChars:3};return function(dispatch,getState){var _getState=getState(),config=_getState.config,headers=_getState.headers,_getState$appbaseRef=_getState.appbaseRef,url=_getState$appbaseRef.url,protocol=_getState$appbaseRef.protocol,credentials=_getState$appbaseRef.credentials;var app=config.app;var esURL=protocol+'://'+url;var parsedURL=(esURL||'').replace(/\/+$/,'');var requestOptions={headers:_extends({},headers,{'Content-Type':'application/json',Authorization:'Basic '+btoa(credentials)})};var queryString='';var addParam=function addParam(key,value){if(queryString){queryString+='&'+key+'='+value;}else{queryString+=key+'='+value;}};if(config.analyticsConfig&&config.analyticsConfig.userId){addParam('user_id',config.analyticsConfig.userId);}if(queryOptions){if(queryOptions.size){addParam('size',String(queryOptions.size));}if(queryOptions.from){addParam('from',queryOptions.from);}if(queryOptions.to){addParam('to',queryOptions.to);}if(queryOptions.minChars){addParam('min_chars',String(queryOptions.minChars));}if(queryOptions.customEvents){Object.keys(queryOptions.customEvents).forEach(function(key){addParam(key,queryOptions.customEvents[key]);});}}fetch(parsedURL+'/_analytics/'+app+'/recent-searches?'+queryString,requestOptions).then(function(res){if(res.status>=500||res.status>=400){return dispatch({type:_constants.RECENT_SEARCHES_ERROR,error:res});}return res.json().then(function(recentSearches){return dispatch({type:_constants.RECENT_SEARCHES_SUCCESS,data:recentSearches});}).catch(function(e){return dispatch({type:_constants.RECENT_SEARCHES_ERROR,error:e});});}).catch(function(e){return dispatch({type:_constants.RECENT_SEARCHES_ERROR,error:e});});};}function recordClick(_ref){var url=_ref.url,app=_ref.app,credentials=_ref.credentials,headers=_ref.headers,documentId=_ref.documentId,clickPosition=_ref.clickPosition,queryId=_ref.queryId,clickType=_ref.clickType;if(!documentId){console.warn('ReactiveSearch: document id is required to record the click analytics');}else{fetch(url+'/'+app+'/_analytics/click',{method:'PUT',body:JSON.stringify({query_id:queryId,click_type:clickType||'result',click_on:_defineProperty({},documentId,clickPosition+1)}),headers:_extends({},headers,{'Content-Type':'application/json',Authorization:'Basic '+btoa(credentials)})});}}function recordResultClick(searchPosition,documentId){return function(dispatch,getState){var _getState2=getState(),config=_getState2.config,searchId=_getState2.analytics.searchId,headers=_getState2.headers,_getState2$appbaseRef=_getState2.appbaseRef,url=_getState2$appbaseRef.url,protocol=_getState2$appbaseRef.protocol,credentials=_getState2$appbaseRef.credentials;var app=config.app;var esURL=protocol+'://'+url;if(config.analytics&&searchId){var parsedHeaders=headers;delete parsedHeaders['X-Search-Query'];var parsedURL=(esURL||'').replace(/\/+$/,'');if(parsedURL.includes('scalr.api.appbase.io')){fetch(parsedURL+'/'+app+'/_analytics',{method:'POST',headers:_extends({},parsedHeaders,{'Content-Type':'application/json',Authorization:'Basic '+btoa(credentials),'X-Search-Id':searchId,'X-Search-Click':true,'X-Search-ClickPosition':searchPosition+1})});}else{recordClick({url:parsedURL,app:app,credentials:credentials,parsedHeaders:parsedHeaders,documentId:documentId,clickPosition:searchPosition,queryId:searchId});}}};}function recordSuggestionClick(searchPosition,documentId){return function(dispatch,getState){var _getState3=getState(),config=_getState3.config,suggestionsSearchId=_getState3.analytics.suggestionsSearchId,headers=_getState3.headers,_getState3$appbaseRef=_getState3.appbaseRef,url=_getState3$appbaseRef.url,protocol=_getState3$appbaseRef.protocol,credentials=_getState3$appbaseRef.credentials;var app=config.app;var esURL=protocol+'://'+url;if(config.analytics&&(config.analyticsConfig===undefined||config.analyticsConfig.suggestionAnalytics===undefined||config.analyticsConfig.suggestionAnalytics)&&suggestionsSearchId&&searchPosition!==undefined){var parsedHeaders=headers;delete parsedHeaders['X-Search-Query'];var parsedURL=(esURL||'').replace(/\/+$/,'');if(parsedURL.includes('scalr.api.appbase.io')){fetch(parsedURL+'/'+app+'/_analytics',{method:'POST',headers:_extends({},parsedHeaders,{'Content-Type':'application/json',Authorization:'Basic '+btoa(credentials),'X-Search-Id':suggestionsSearchId,'X-Search-Suggestions-Click':true,'X-Search-Suggestions-ClickPosition':searchPosition+1})});}else{recordClick({url:parsedURL,app:app,credentials:credentials,parsedHeaders:parsedHeaders,documentId:documentId,clickPosition:searchPosition,clickType:'suggestion',queryId:suggestionsSearchId});}}};}function recordImpressions(queryId){var impressions=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];return function(dispatch,getState){var _getState4=getState(),app=_getState4.config.app,headers=_getState4.headers,_getState4$appbaseRef=_getState4.appbaseRef,url=_getState4$appbaseRef.url,protocol=_getState4$appbaseRef.protocol,credentials=_getState4$appbaseRef.credentials;var esURL=protocol+'://'+url;var parsedURL=esURL.replace(/\/+$/,'');if(!parsedURL.includes('scalr.api.appbase.io')&&queryId&&impressions.length){fetch(parsedURL+'/'+app+'/_analytics/search',{method:'PUT',body:JSON.stringify({query_id:queryId,impressions:impressions}),keepalive:true,headers:_extends({},headers,{'Content-Type':'application/json',Authorization:'Basic '+btoa(credentials)})});}};} |
@@ -1,1 +0,1 @@ | ||
Object.defineProperty(exports,"__esModule",{value:true});var ADD_COMPONENT=exports.ADD_COMPONENT='ADD_COMPONENT';var REMOVE_COMPONENT=exports.REMOVE_COMPONENT='REMOVE_COMPONENT';var WATCH_COMPONENT=exports.WATCH_COMPONENT='WATCH_COMPONENT';var SET_QUERY=exports.SET_QUERY='SET_QUERY';var SET_QUERY_OPTIONS=exports.SET_QUERY_OPTIONS='SET_QUERY_OPTIONS';var EXECUTE_QUERY=exports.EXECUTE_QUERY='EXECUTE_QUERY';var UPDATE_HITS=exports.UPDATE_HITS='UPDATE_HITS';var UPDATE_AGGS=exports.UPDATE_AGGS='UPDATE_AGGS';var UPDATE_COMPOSITE_AGGS=exports.UPDATE_COMPOSITE_AGGS='UPDATE_COMPOSITE_AGGS';var ADD_CONFIG=exports.ADD_CONFIG='ADD_CONFIG';var ADD_APPBASE_REF=exports.ADD_APPBASE_REF='ADD_APPBASE_REF';var LOG_QUERY=exports.LOG_QUERY='LOG_QUERY';var LOG_COMBINED_QUERY=exports.LOG_COMBINED_QUERY='LOG_COMBINED_QUERY';var SET_VALUE=exports.SET_VALUE='SET_VALUE';var SET_INTERNAL_VALUE=exports.SET_INTERNAL_VALUE='SET_INTERNAL_VALUE';var PATCH_VALUE=exports.PATCH_VALUE='PATCH_VALUE';var CLEAR_VALUES=exports.CLEAR_VALUES='CLEAR_VALUES';var SET_LOADING=exports.SET_LOADING='SET_LOADING';var SET_ERROR=exports.SET_ERROR='SET_ERROR';var SET_STREAMING=exports.SET_STREAMING='SET_STREAMING';var PUSH_TO_STREAM_HITS=exports.PUSH_TO_STREAM_HITS='PUSH_TO_STREAM_HITS';var SET_TIMESTAMP=exports.SET_TIMESTAMP='SET_TIMESTAMP';var SET_HEADERS=exports.SET_HEADERS='SET_HEADERS';var SET_MAP_DATA=exports.SET_MAP_DATA='SET_MAP_DATA';var SET_QUERY_LISTENER=exports.SET_QUERY_LISTENER='SET_QUERY_LISTENER';var STORE_KEY=exports.STORE_KEY='__REACTIVESEARCH__';var SET_SEARCH_ID=exports.SET_SEARCH_ID='SET_SEARCH_ID';var SET_PROMOTED_RESULTS=exports.SET_PROMOTED_RESULTS='SET_PROMOTED_RESULTS';var SET_DEFAULT_QUERY=exports.SET_DEFAULT_QUERY='SET_DEFAULT_QUERY';var SET_CUSTOM_QUERY=exports.SET_CUSTOM_QUERY='SET_CUSTOM_QUERY';var SET_CUSTOM_HIGHLIGHT_OPTIONS=exports.SET_CUSTOM_HIGHLIGHT_OPTIONS='SET_CUSTOM_HIGHLIGHT_OPTIONS';var SET_CUSTOM_DATA=exports.SET_CUSTOM_DATA='SET_CUSTOM_DATA';var SET_APPLIED_SETTINGS=exports.SET_APPLIED_SETTINGS='SET_APPLIED_SETTINGS';var SET_PROPS=exports.SET_PROPS='SET_PROPS';var UPDATE_PROPS=exports.UPDATE_PROPS='UPDATE_PROPS';var REMOVE_PROPS=exports.REMOVE_PROPS='REMOVE_PROPS';var SET_SUGGESTIONS_SEARCH_VALUE=exports.SET_SUGGESTIONS_SEARCH_VALUE='SET_SUGGESTIONS_SEARCH_VALUE';var CLEAR_SUGGESTIONS_SEARCH_VALUE=exports.CLEAR_SUGGESTIONS_SEARCH_VALUE='CLEAR_SUGGESTIONS_SEARCH_VALUE';var SET_SUGGESTIONS_SEARCH_ID=exports.SET_SUGGESTIONS_SEARCH_ID='SET_SUGGESTIONS_SEARCH_ID';var UPDATE_ANALYTICS_CONFIG=exports.UPDATE_ANALYTICS_CONFIG='UPDATE_ANALYTICS_CONFIG';var SET_RAW_DATA=exports.SET_RAW_DATA='SET_RAW_DATA';var SET_POPULAR_SUGGESTIONS=exports.SET_POPULAR_SUGGESTIONS='SET_POPULAR_SUGGESTIONS';var SET_DEFAULT_POPULAR_SUGGESTIONS=exports.SET_DEFAULT_POPULAR_SUGGESTIONS='SET_DEFAULT_POPULAR_SUGGESTIONS';var SET_QUERY_TO_HITS=exports.SET_QUERY_TO_HITS='SET_QUERY_TO_HITS'; | ||
Object.defineProperty(exports,"__esModule",{value:true});var ADD_COMPONENT=exports.ADD_COMPONENT='ADD_COMPONENT';var REMOVE_COMPONENT=exports.REMOVE_COMPONENT='REMOVE_COMPONENT';var WATCH_COMPONENT=exports.WATCH_COMPONENT='WATCH_COMPONENT';var SET_QUERY=exports.SET_QUERY='SET_QUERY';var SET_QUERY_OPTIONS=exports.SET_QUERY_OPTIONS='SET_QUERY_OPTIONS';var EXECUTE_QUERY=exports.EXECUTE_QUERY='EXECUTE_QUERY';var UPDATE_HITS=exports.UPDATE_HITS='UPDATE_HITS';var UPDATE_AGGS=exports.UPDATE_AGGS='UPDATE_AGGS';var UPDATE_COMPOSITE_AGGS=exports.UPDATE_COMPOSITE_AGGS='UPDATE_COMPOSITE_AGGS';var ADD_CONFIG=exports.ADD_CONFIG='ADD_CONFIG';var ADD_APPBASE_REF=exports.ADD_APPBASE_REF='ADD_APPBASE_REF';var LOG_QUERY=exports.LOG_QUERY='LOG_QUERY';var LOG_COMBINED_QUERY=exports.LOG_COMBINED_QUERY='LOG_COMBINED_QUERY';var SET_VALUE=exports.SET_VALUE='SET_VALUE';var SET_INTERNAL_VALUE=exports.SET_INTERNAL_VALUE='SET_INTERNAL_VALUE';var PATCH_VALUE=exports.PATCH_VALUE='PATCH_VALUE';var CLEAR_VALUES=exports.CLEAR_VALUES='CLEAR_VALUES';var SET_LOADING=exports.SET_LOADING='SET_LOADING';var SET_ERROR=exports.SET_ERROR='SET_ERROR';var SET_STREAMING=exports.SET_STREAMING='SET_STREAMING';var PUSH_TO_STREAM_HITS=exports.PUSH_TO_STREAM_HITS='PUSH_TO_STREAM_HITS';var SET_TIMESTAMP=exports.SET_TIMESTAMP='SET_TIMESTAMP';var SET_HEADERS=exports.SET_HEADERS='SET_HEADERS';var SET_MAP_DATA=exports.SET_MAP_DATA='SET_MAP_DATA';var SET_QUERY_LISTENER=exports.SET_QUERY_LISTENER='SET_QUERY_LISTENER';var STORE_KEY=exports.STORE_KEY='__REACTIVESEARCH__';var SET_SEARCH_ID=exports.SET_SEARCH_ID='SET_SEARCH_ID';var SET_PROMOTED_RESULTS=exports.SET_PROMOTED_RESULTS='SET_PROMOTED_RESULTS';var SET_DEFAULT_QUERY=exports.SET_DEFAULT_QUERY='SET_DEFAULT_QUERY';var SET_CUSTOM_QUERY=exports.SET_CUSTOM_QUERY='SET_CUSTOM_QUERY';var SET_CUSTOM_HIGHLIGHT_OPTIONS=exports.SET_CUSTOM_HIGHLIGHT_OPTIONS='SET_CUSTOM_HIGHLIGHT_OPTIONS';var SET_CUSTOM_DATA=exports.SET_CUSTOM_DATA='SET_CUSTOM_DATA';var SET_APPLIED_SETTINGS=exports.SET_APPLIED_SETTINGS='SET_APPLIED_SETTINGS';var SET_PROPS=exports.SET_PROPS='SET_PROPS';var UPDATE_PROPS=exports.UPDATE_PROPS='UPDATE_PROPS';var REMOVE_PROPS=exports.REMOVE_PROPS='REMOVE_PROPS';var SET_SUGGESTIONS_SEARCH_VALUE=exports.SET_SUGGESTIONS_SEARCH_VALUE='SET_SUGGESTIONS_SEARCH_VALUE';var CLEAR_SUGGESTIONS_SEARCH_VALUE=exports.CLEAR_SUGGESTIONS_SEARCH_VALUE='CLEAR_SUGGESTIONS_SEARCH_VALUE';var SET_SUGGESTIONS_SEARCH_ID=exports.SET_SUGGESTIONS_SEARCH_ID='SET_SUGGESTIONS_SEARCH_ID';var UPDATE_ANALYTICS_CONFIG=exports.UPDATE_ANALYTICS_CONFIG='UPDATE_ANALYTICS_CONFIG';var SET_RAW_DATA=exports.SET_RAW_DATA='SET_RAW_DATA';var SET_POPULAR_SUGGESTIONS=exports.SET_POPULAR_SUGGESTIONS='SET_POPULAR_SUGGESTIONS';var SET_DEFAULT_POPULAR_SUGGESTIONS=exports.SET_DEFAULT_POPULAR_SUGGESTIONS='SET_DEFAULT_POPULAR_SUGGESTIONS';var SET_QUERY_TO_HITS=exports.SET_QUERY_TO_HITS='SET_QUERY_TO_HITS';var RECENT_SEARCHES_SUCCESS=exports.RECENT_SEARCHES_SUCCESS='RECENT_SEARCHES_SUCCESS';var RECENT_SEARCHES_ERROR=exports.RECENT_SEARCHES_ERROR='RECENT_SEARCHES_ERROR'; |
@@ -1,1 +0,1 @@ | ||
Object.defineProperty(exports,"__esModule",{value:true});var _redux=require('redux');var _componentsReducer=require('./componentsReducer');var _componentsReducer2=_interopRequireDefault(_componentsReducer);var _watchManReducer=require('./watchManReducer');var _watchManReducer2=_interopRequireDefault(_watchManReducer);var _dependencyTreeReducer=require('./dependencyTreeReducer');var _dependencyTreeReducer2=_interopRequireDefault(_dependencyTreeReducer);var _queryReducer=require('./queryReducer');var _queryReducer2=_interopRequireDefault(_queryReducer);var _queryOptionsReducer=require('./queryOptionsReducer');var _queryOptionsReducer2=_interopRequireDefault(_queryOptionsReducer);var _configReducer=require('./configReducer');var _configReducer2=_interopRequireDefault(_configReducer);var _appbaseRefReducer=require('./appbaseRefReducer');var _appbaseRefReducer2=_interopRequireDefault(_appbaseRefReducer);var _hitsReducer=require('./hitsReducer');var _hitsReducer2=_interopRequireDefault(_hitsReducer);var _logsReducer=require('./logsReducer');var _logsReducer2=_interopRequireDefault(_logsReducer);var _combinedLogsReducer=require('./combinedLogsReducer');var _combinedLogsReducer2=_interopRequireDefault(_combinedLogsReducer);var _valueReducer=require('./valueReducer');var _valueReducer2=_interopRequireDefault(_valueReducer);var _internalValueReducer=require('./internalValueReducer');var _internalValueReducer2=_interopRequireDefault(_internalValueReducer);var _loadingReducer=require('./loadingReducer');var _loadingReducer2=_interopRequireDefault(_loadingReducer);var _errorReducer=require('./errorReducer');var _errorReducer2=_interopRequireDefault(_errorReducer);var _streamingReducer=require('./streamingReducer');var _streamingReducer2=_interopRequireDefault(_streamingReducer);var _streamHitsReducer=require('./streamHitsReducer');var _streamHitsReducer2=_interopRequireDefault(_streamHitsReducer);var _timestampReducer=require('./timestampReducer');var _timestampReducer2=_interopRequireDefault(_timestampReducer);var _headersReducer=require('./headersReducer');var _headersReducer2=_interopRequireDefault(_headersReducer);var _mapDataReducer=require('./mapDataReducer');var _mapDataReducer2=_interopRequireDefault(_mapDataReducer);var _queryListenerReducer=require('./queryListenerReducer');var _queryListenerReducer2=_interopRequireDefault(_queryListenerReducer);var _analyticsReducer=require('./analyticsReducer');var _analyticsReducer2=_interopRequireDefault(_analyticsReducer);var _promotedResultsReducer=require('./promotedResultsReducer');var _promotedResultsReducer2=_interopRequireDefault(_promotedResultsReducer);var _customDataReducer=require('./customDataReducer');var _customDataReducer2=_interopRequireDefault(_customDataReducer);var _defaultQueryReducer=require('./defaultQueryReducer');var _defaultQueryReducer2=_interopRequireDefault(_defaultQueryReducer);var _customQueryReducer=require('./customQueryReducer');var _customQueryReducer2=_interopRequireDefault(_customQueryReducer);var _propsReducer=require('./propsReducer');var _propsReducer2=_interopRequireDefault(_propsReducer);var _aggsReducer=require('./aggsReducer');var _aggsReducer2=_interopRequireDefault(_aggsReducer);var _compositeAggsReducer=require('./compositeAggsReducer');var _compositeAggsReducer2=_interopRequireDefault(_compositeAggsReducer);var _appliedSettingsReducer=require('./appliedSettingsReducer');var _appliedSettingsReducer2=_interopRequireDefault(_appliedSettingsReducer);var _customHighlightReducer=require('./customHighlightReducer');var _customHighlightReducer2=_interopRequireDefault(_customHighlightReducer);var _rawDataReducer=require('./rawDataReducer');var _rawDataReducer2=_interopRequireDefault(_rawDataReducer);var _querySuggestionsReducer=require('./querySuggestionsReducer');var _querySuggestionsReducer2=_interopRequireDefault(_querySuggestionsReducer);var _defaultPopularSuggestions=require('./defaultPopularSuggestions');var _defaultPopularSuggestions2=_interopRequireDefault(_defaultPopularSuggestions);var _queryToHitsReducer=require('./queryToHitsReducer');var _queryToHitsReducer2=_interopRequireDefault(_queryToHitsReducer);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=(0,_redux.combineReducers)({components:_componentsReducer2.default,customQueries:_customQueryReducer2.default,defaultQueries:_defaultQueryReducer2.default,customHighlightOptions:_customHighlightReducer2.default,settings:_appliedSettingsReducer2.default,watchMan:_watchManReducer2.default,queryList:_queryReducer2.default,queryOptions:_queryOptionsReducer2.default,dependencyTree:_dependencyTreeReducer2.default,appbaseRef:_appbaseRefReducer2.default,config:_configReducer2.default,hits:_hitsReducer2.default,promotedResults:_promotedResultsReducer2.default,customData:_customDataReducer2.default,aggregations:_aggsReducer2.default,compositeAggregations:_compositeAggsReducer2.default,queryLog:_logsReducer2.default,combinedLog:_combinedLogsReducer2.default,selectedValues:_valueReducer2.default,internalValues:_internalValueReducer2.default,isLoading:_loadingReducer2.default,error:_errorReducer2.default,stream:_streamingReducer2.default,streamHits:_streamHitsReducer2.default,timestamp:_timestampReducer2.default,headers:_headersReducer2.default,mapData:_mapDataReducer2.default,queryListener:_queryListenerReducer2.default,analytics:_analyticsReducer2.default,props:_propsReducer2.default,rawData:_rawDataReducer2.default,querySuggestions:_querySuggestionsReducer2.default,defaultPopularSuggestions:_defaultPopularSuggestions2.default,queryToHits:_queryToHitsReducer2.default}); | ||
Object.defineProperty(exports,"__esModule",{value:true});var _redux=require('redux');var _componentsReducer=require('./componentsReducer');var _componentsReducer2=_interopRequireDefault(_componentsReducer);var _watchManReducer=require('./watchManReducer');var _watchManReducer2=_interopRequireDefault(_watchManReducer);var _dependencyTreeReducer=require('./dependencyTreeReducer');var _dependencyTreeReducer2=_interopRequireDefault(_dependencyTreeReducer);var _queryReducer=require('./queryReducer');var _queryReducer2=_interopRequireDefault(_queryReducer);var _queryOptionsReducer=require('./queryOptionsReducer');var _queryOptionsReducer2=_interopRequireDefault(_queryOptionsReducer);var _configReducer=require('./configReducer');var _configReducer2=_interopRequireDefault(_configReducer);var _appbaseRefReducer=require('./appbaseRefReducer');var _appbaseRefReducer2=_interopRequireDefault(_appbaseRefReducer);var _hitsReducer=require('./hitsReducer');var _hitsReducer2=_interopRequireDefault(_hitsReducer);var _logsReducer=require('./logsReducer');var _logsReducer2=_interopRequireDefault(_logsReducer);var _combinedLogsReducer=require('./combinedLogsReducer');var _combinedLogsReducer2=_interopRequireDefault(_combinedLogsReducer);var _valueReducer=require('./valueReducer');var _valueReducer2=_interopRequireDefault(_valueReducer);var _internalValueReducer=require('./internalValueReducer');var _internalValueReducer2=_interopRequireDefault(_internalValueReducer);var _loadingReducer=require('./loadingReducer');var _loadingReducer2=_interopRequireDefault(_loadingReducer);var _errorReducer=require('./errorReducer');var _errorReducer2=_interopRequireDefault(_errorReducer);var _streamingReducer=require('./streamingReducer');var _streamingReducer2=_interopRequireDefault(_streamingReducer);var _streamHitsReducer=require('./streamHitsReducer');var _streamHitsReducer2=_interopRequireDefault(_streamHitsReducer);var _timestampReducer=require('./timestampReducer');var _timestampReducer2=_interopRequireDefault(_timestampReducer);var _headersReducer=require('./headersReducer');var _headersReducer2=_interopRequireDefault(_headersReducer);var _mapDataReducer=require('./mapDataReducer');var _mapDataReducer2=_interopRequireDefault(_mapDataReducer);var _queryListenerReducer=require('./queryListenerReducer');var _queryListenerReducer2=_interopRequireDefault(_queryListenerReducer);var _analyticsReducer=require('./analyticsReducer');var _analyticsReducer2=_interopRequireDefault(_analyticsReducer);var _promotedResultsReducer=require('./promotedResultsReducer');var _promotedResultsReducer2=_interopRequireDefault(_promotedResultsReducer);var _customDataReducer=require('./customDataReducer');var _customDataReducer2=_interopRequireDefault(_customDataReducer);var _defaultQueryReducer=require('./defaultQueryReducer');var _defaultQueryReducer2=_interopRequireDefault(_defaultQueryReducer);var _customQueryReducer=require('./customQueryReducer');var _customQueryReducer2=_interopRequireDefault(_customQueryReducer);var _propsReducer=require('./propsReducer');var _propsReducer2=_interopRequireDefault(_propsReducer);var _aggsReducer=require('./aggsReducer');var _aggsReducer2=_interopRequireDefault(_aggsReducer);var _compositeAggsReducer=require('./compositeAggsReducer');var _compositeAggsReducer2=_interopRequireDefault(_compositeAggsReducer);var _appliedSettingsReducer=require('./appliedSettingsReducer');var _appliedSettingsReducer2=_interopRequireDefault(_appliedSettingsReducer);var _customHighlightReducer=require('./customHighlightReducer');var _customHighlightReducer2=_interopRequireDefault(_customHighlightReducer);var _rawDataReducer=require('./rawDataReducer');var _rawDataReducer2=_interopRequireDefault(_rawDataReducer);var _querySuggestionsReducer=require('./querySuggestionsReducer');var _querySuggestionsReducer2=_interopRequireDefault(_querySuggestionsReducer);var _defaultPopularSuggestions=require('./defaultPopularSuggestions');var _defaultPopularSuggestions2=_interopRequireDefault(_defaultPopularSuggestions);var _queryToHitsReducer=require('./queryToHitsReducer');var _queryToHitsReducer2=_interopRequireDefault(_queryToHitsReducer);var _recentSearches=require('./recentSearches');var _recentSearches2=_interopRequireDefault(_recentSearches);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=(0,_redux.combineReducers)({components:_componentsReducer2.default,customQueries:_customQueryReducer2.default,defaultQueries:_defaultQueryReducer2.default,customHighlightOptions:_customHighlightReducer2.default,settings:_appliedSettingsReducer2.default,watchMan:_watchManReducer2.default,queryList:_queryReducer2.default,queryOptions:_queryOptionsReducer2.default,dependencyTree:_dependencyTreeReducer2.default,appbaseRef:_appbaseRefReducer2.default,config:_configReducer2.default,hits:_hitsReducer2.default,promotedResults:_promotedResultsReducer2.default,customData:_customDataReducer2.default,aggregations:_aggsReducer2.default,compositeAggregations:_compositeAggsReducer2.default,queryLog:_logsReducer2.default,combinedLog:_combinedLogsReducer2.default,selectedValues:_valueReducer2.default,internalValues:_internalValueReducer2.default,isLoading:_loadingReducer2.default,error:_errorReducer2.default,stream:_streamingReducer2.default,streamHits:_streamHitsReducer2.default,timestamp:_timestampReducer2.default,headers:_headersReducer2.default,mapData:_mapDataReducer2.default,queryListener:_queryListenerReducer2.default,analytics:_analyticsReducer2.default,props:_propsReducer2.default,rawData:_rawDataReducer2.default,querySuggestions:_querySuggestionsReducer2.default,defaultPopularSuggestions:_defaultPopularSuggestions2.default,queryToHits:_queryToHitsReducer2.default,recentSearches:_recentSearches2.default}); |
{ | ||
"name": "@appbaseio/reactivecore", | ||
"version": "9.9.0", | ||
"version": "9.10.0", | ||
"description": "Core architecture of reactive UI libraries", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
162102
62
52
6