Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@deephaven/redux

Package Overview
Dependencies
Maintainers
4
Versions
825
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deephaven/redux - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

dist/reducerRegistry.d.ts

2

dist/index.d.ts

@@ -0,1 +1,3 @@

export { default as reducers } from "./reducers";
export { default as reducerRegistry } from "./reducerRegistry";
export { default as store } from "./store";

@@ -2,0 +4,0 @@ export { getActiveTool, getClosedPanelsForDashboard, getColumnSelectionValidatorForDashboard, getColumnsForDashboard, getCommandHistoryStorage, getConsoleCreatorSettingsForDashboard, getControllerConfiguration, getDashboardClosedPanels, getDashboardColumnSelectionValidators, getDashboardColumns, getDashboardConsoleCreatorSettings, getDashboardInputFilters, getDashboardIsolatedLinkerPanelIds, getDashboardLinks, getDashboardOpenedPanelMaps, getDashboardPanelTableMaps, getDefaultDateTimeFormat, getDisableMoveConfirmation, getDraftManager, getFormatter, getInputFiltersForDashboard, getIsLoggedIn, getIsolatedLinkerPanelIdForDashboard, getLinksForDashboard, getOpenedPanelMapForDashboard, getServerConfigValues, getSettings, getShowSystemBadge, getShowTSeparator, getShowTimeZone, getStorage, getTableMapForDashboard, getTimeZone, getUser, getUserGroups, getUserName, getWorkspace, getWorkspaceStorage } from "./selectors";

@@ -0,4 +1,28 @@

function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
import reducers from './reducers';
import reducerRegistry from './reducerRegistry'; // TODO #70: Separate all reducers into their respective modules, register from there
Object.entries(reducers).map(function (_ref) {
var _ref2 = _slicedToArray(_ref, 2),
name = _ref2[0],
reducer = _ref2[1];
return reducerRegistry.register(name, reducer);
});
export { getActiveTool, getClosedPanelsForDashboard, getColumnSelectionValidatorForDashboard, getColumnsForDashboard, getCommandHistoryStorage, getConsoleCreatorSettingsForDashboard, getControllerConfiguration, getDashboardClosedPanels, getDashboardColumnSelectionValidators, getDashboardColumns, getDashboardConsoleCreatorSettings, getDashboardInputFilters, getDashboardIsolatedLinkerPanelIds, getDashboardLinks, getDashboardOpenedPanelMaps, getDashboardPanelTableMaps, getDefaultDateTimeFormat, getDisableMoveConfirmation, getDraftManager, getFormatter, getInputFiltersForDashboard, getIsLoggedIn, getIsolatedLinkerPanelIdForDashboard, getLinksForDashboard, getOpenedPanelMapForDashboard, getServerConfigValues, getSettings, getShowSystemBadge, getShowTSeparator, getShowTimeZone, getStorage, getTableMapForDashboard, getTimeZone, getUser, getUserGroups, getUserName, getWorkspace, getWorkspaceStorage } from './selectors';
export { addDashboardLinks, deleteDashboardLinks, saveSettings, saveWorkspace, setActiveTool, setCommandHistoryStorage, setControllerConfiguration, setDashboardClosedPanels, setDashboardColumnSelectionValidator, setDashboardColumns, setDashboardConsoleCreatorSettings, setDashboardInputFilters, setDashboardIsolatedLinkerPanelId, setDashboardLinks, setDashboardOpenedPanelMap, setDashboardPanelTableMap, setDraftManager, setIsLoggedIn, setServerConfigValues, setUser, setWorkspace, setWorkspaceStorage, updateWorkspaceData } from './actions';
export { default as reducers } from './reducers';
export { default as reducerRegistry } from './reducerRegistry';
export { default as store } from './store';
//# sourceMappingURL=index.js.map

60

dist/reducers/index.d.ts

@@ -1,24 +0,38 @@

declare var _default: import("reduce-reducers").Reducer<import("redux").Reducer<import("redux").CombinedState<{
activeTool: any;
dashboardClosedPanels: {};
dashboardOpenedPanelMaps: {};
dashboardColumnSelectionValidators: {};
dashboardConsoleCreatorSettings: {};
dashboardInputFilters: {};
dashboardIsolatedLinkerPanelIds: {};
dashboardColumns: {};
dashboardLinks: any;
dashboardPanelTableMaps: {};
isLoggedIn: any;
storage: import("redux").CombinedState<{
commandHistoryStorage: any;
workspaceStorage: any;
}>;
user: any;
workspace: any;
controllerConfiguration: any;
draftManager: any;
serverConfigValues: any;
}>, any>>;
export default _default;
export default reducers;
declare namespace reducers {
export { activeTool };
export { dashboardClosedPanels };
export { dashboardOpenedPanelMaps };
export { dashboardColumnSelectionValidators };
export { dashboardConsoleCreatorSettings };
export { dashboardInputFilters };
export { dashboardIsolatedLinkerPanelIds };
export { dashboardColumns };
export { dashboardLinks };
export { dashboardPanelTableMaps };
export { isLoggedIn };
export { storage };
export { user };
export { workspace };
export { controllerConfiguration };
export { draftManager };
export { serverConfigValues };
}
import activeTool from "./activeTool";
import dashboardClosedPanels from "./dashboardClosedPanels";
import dashboardOpenedPanelMaps from "./dashboardOpenedPanelMaps";
import dashboardColumnSelectionValidators from "./dashboardColumnSelectionValidators";
import dashboardConsoleCreatorSettings from "./dashboardConsoleCreatorSettings";
import dashboardInputFilters from "./dashboardInputFilters";
import dashboardIsolatedLinkerPanelIds from "./dashboardIsolatedLinkerPanelIds";
import dashboardColumns from "./dashboardColumns";
import dashboardLinks from "./dashboardLinks";
import dashboardPanelTableMaps from "./dashboardPanelTableMaps";
import isLoggedIn from "./isLoggedIn";
import storage from "./storage";
import user from "./user";
import workspace from "./workspace";
import controllerConfiguration from "./controllerConfiguration";
import draftManager from "./draftManager";
import serverConfigValues from "./serverConfigValues";
//# sourceMappingURL=index.d.ts.map

@@ -1,3 +0,1 @@

import { combineReducers } from 'redux';
import reduceReducer from 'reduce-reducers';
import activeTool from './activeTool';

@@ -19,5 +17,4 @@ import dashboardClosedPanels from './dashboardClosedPanels';

import draftManager from './draftManager';
import serverConfigValues from './serverConfigValues'; // Reducers that work on one part of the state
var childReducers = combineReducers({
import serverConfigValues from './serverConfigValues';
var reducers = {
activeTool: activeTool,

@@ -40,6 +37,4 @@ dashboardClosedPanels: dashboardClosedPanels,

serverConfigValues: serverConfigValues
}); // Reducers that work on multiple parts of the state (get the whole state)
var stateReducers = [];
export default reduceReducer.apply(void 0, [childReducers].concat(stateReducers));
};
export default reducers;
//# sourceMappingURL=index.js.map

@@ -1,3 +0,3 @@

declare var _default: any;
export default _default;
export default store;
declare const store: any;
//# sourceMappingURL=store.d.ts.map

@@ -13,9 +13,13 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

import { applyMiddleware, createStore, compose } from 'redux';
import { applyMiddleware, createStore, compose, combineReducers } from 'redux';
import rootMiddleware from './middleware';
import rootReducer from './reducers';
import reducerRegistry from './reducerRegistry';
/* eslint-disable-next-line no-underscore-dangle */
var composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
export default createStore(rootReducer, composeEnhancers(applyMiddleware.apply(void 0, _toConsumableArray(rootMiddleware))));
var store = createStore(combineReducers(reducerRegistry.reducers), composeEnhancers(applyMiddleware.apply(void 0, _toConsumableArray(rootMiddleware))));
reducerRegistry.setListener(function (reducers) {
store.replaceReducer(combineReducers(reducers));
});
export default store;
//# sourceMappingURL=store.js.map
{
"name": "@deephaven/redux",
"version": "0.1.3",
"version": "0.1.4",
"description": "Deephaven Redux",

@@ -43,4 +43,4 @@ "author": "Deephaven Data Labs LLC",

"@babel/core": "7.12.3",
"@deephaven/log": "^0.1.3",
"@deephaven/tsconfig": "^0.1.3",
"@deephaven/log": "^0.1.4",
"@deephaven/tsconfig": "^0.1.4",
"@types/jest": "^26.0.23",

@@ -66,3 +66,3 @@ "babel-loader": "8.1.0",

},
"gitHead": "b6ce6e7886aed4a9b46369ad78965d76fa64cda3"
"gitHead": "608de23a4efc3f63dee3f5bc81ee220a4d8bb184"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc