@deephaven/redux 0.46.2-beta.3 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/store.d.ts +2 -3
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +1 -2
- package/dist/store.js.map +1 -1
- package/package.json +5 -5
package/dist/store.d.ts
CHANGED
|
@@ -2,10 +2,9 @@ import type { FileStorage } from '@deephaven/file-explorer';
|
|
|
2
2
|
import type { ValidKeyState } from '@deephaven/components';
|
|
3
3
|
import type { dh as DhType } from '@deephaven/jsapi-types';
|
|
4
4
|
import type { FormattingRule } from '@deephaven/jsapi-utils';
|
|
5
|
+
import type { PluginModule } from '@deephaven/plugin';
|
|
5
6
|
import type { PayloadAction } from './actions';
|
|
6
|
-
export
|
|
7
|
-
}
|
|
8
|
-
export type DeephavenPluginModuleMap = Map<string, DeephavenPluginModule>;
|
|
7
|
+
export type DeephavenPluginModuleMap = Map<string, PluginModule>;
|
|
9
8
|
export interface UserPermissions {
|
|
10
9
|
canUsePanels: boolean;
|
|
11
10
|
canCopy: boolean;
|
package/dist/store.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../src/store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../src/store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,aAA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,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAC7C,aAAa,EAAE,OAAO,CAAC;IACvB,kBAAkB,EAAE,kBAAkB,CAAC;CACxC,CAAC;AAUF,QAAA,MAAM,KAAK,0DAGV,CAAC;AAMF,eAAe,KAAK,CAAC;AAErB,MAAM,MAAM,YAAY,GAAG,OAAO,KAAK,CAAC,QAAQ,CAAC"}
|
package/dist/store.js
CHANGED
|
@@ -2,8 +2,7 @@ var _REDUX_DEVTOOLS_EXTE;
|
|
|
2
2
|
import { applyMiddleware, createStore, compose, combineReducers } from 'redux';
|
|
3
3
|
import rootMiddleware from "./middleware/index.js";
|
|
4
4
|
import reducers from "./reducers/index.js";
|
|
5
|
-
import reducerRegistry from "./reducerRegistry.js";
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
5
|
+
import reducerRegistry from "./reducerRegistry.js";
|
|
7
6
|
Object.entries(reducers).map(_ref => {
|
|
8
7
|
var [name, reducer] = _ref;
|
|
9
8
|
return reducerRegistry.register(name, reducer);
|
package/dist/store.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","names":["applyMiddleware","createStore","compose","combineReducers","rootMiddleware","reducers","reducerRegistry","Object","entries","map","name","reducer","register","composeEnhancers","window","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","store","setListener","newReducers","replaceReducer"],"sources":["../src/store.ts"],"sourcesContent":["import { applyMiddleware, createStore, compose, combineReducers } from 'redux';\nimport type { FileStorage } from '@deephaven/file-explorer';\nimport type { ValidKeyState } from '@deephaven/components';\nimport type { dh as DhType } from '@deephaven/jsapi-types';\nimport type { FormattingRule } from '@deephaven/jsapi-utils';\nimport type { PayloadAction } from './actions';\nimport rootMiddleware from './middleware';\nimport reducers from './reducers';\nimport reducerRegistry from './reducerRegistry';\n\
|
|
1
|
+
{"version":3,"file":"store.js","names":["applyMiddleware","createStore","compose","combineReducers","rootMiddleware","reducers","reducerRegistry","Object","entries","map","name","reducer","register","composeEnhancers","window","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","store","setListener","newReducers","replaceReducer"],"sources":["../src/store.ts"],"sourcesContent":["import { applyMiddleware, createStore, compose, combineReducers } from 'redux';\nimport type { FileStorage } from '@deephaven/file-explorer';\nimport type { ValidKeyState } from '@deephaven/components';\nimport type { dh as DhType } from '@deephaven/jsapi-types';\nimport type { FormattingRule } from '@deephaven/jsapi-utils';\nimport type { PluginModule } from '@deephaven/plugin';\nimport type { PayloadAction } from './actions';\nimport rootMiddleware from './middleware';\nimport reducers from './reducers';\nimport reducerRegistry from './reducerRegistry';\n\nexport type DeephavenPluginModuleMap = Map<string, PluginModule>;\n\nexport interface UserPermissions {\n canUsePanels: boolean;\n canCopy: boolean;\n canDownloadCsv: boolean;\n canLogout: boolean;\n}\n\nexport interface User {\n permissions: UserPermissions;\n name: string;\n operateAs?: string;\n groups: string[];\n displayName?: string;\n fullName?: string;\n image?: string;\n}\n\nexport type ServerConfigValues = Map<string, string>;\n\nexport interface Storage {\n commandHistoryStorage: unknown;\n fileStorage: FileStorage;\n workspaceStorage: WorkspaceStorage;\n}\n\nexport interface WorkspaceSettings {\n defaultDateTimeFormat: string;\n defaultDecimalFormatOptions: {\n defaultFormatString?: string;\n };\n defaultIntegerFormatOptions: {\n defaultFormatString?: string;\n };\n formatter: FormattingRule[];\n timeZone: string;\n showTimeZone: boolean;\n showTSeparator: boolean;\n truncateNumbersWithPound: boolean;\n disableMoveConfirmation: boolean;\n shortcutOverrides?: {\n windows?: { [id: string]: ValidKeyState };\n mac?: { [id: string]: ValidKeyState };\n };\n defaultNotebookSettings: {\n isMinimapEnabled: boolean;\n };\n}\n\nexport interface WorkspaceData {\n closed: unknown[];\n filterSets: unknown[];\n layoutConfig: unknown[];\n links: unknown;\n settings: WorkspaceSettings;\n}\n\nexport interface Workspace {\n data: WorkspaceData;\n}\nexport type DashboardData = Record<string, unknown>;\n\nexport type WorkspaceStorageLoadOptions = {\n isConsoleAvailable: boolean;\n};\n\nexport interface WorkspaceStorage {\n load(options?: WorkspaceStorageLoadOptions): Promise<Workspace>;\n save(workspace: Workspace): Promise<Workspace>;\n}\n\nexport type RootState = {\n api: DhType;\n activeTool: string;\n plugins: DeephavenPluginModuleMap;\n storage: Storage;\n user: User;\n workspace: Workspace;\n dashboardData: Record<string, DashboardData>;\n layoutStorage: unknown;\n serverConfigValues: ServerConfigValues;\n};\n\nObject.entries(reducers).map(([name, reducer]) =>\n reducerRegistry.register(name, reducer)\n);\n\nconst composeEnhancers: typeof compose =\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (window as any).__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ?? compose;\n\nconst store = createStore<RootState, PayloadAction, unknown, unknown>(\n combineReducers(reducerRegistry.reducers),\n composeEnhancers(applyMiddleware(...rootMiddleware))\n);\n\nreducerRegistry.setListener(newReducers => {\n store.replaceReducer(combineReducers(newReducers));\n});\n\nexport default store;\n\nexport type RootDispatch = typeof store.dispatch;\n"],"mappings":";AAAA,SAASA,eAAe,EAAEC,WAAW,EAAEC,OAAO,EAAEC,eAAe,QAAQ,OAAO;AAAC,OAOxEC,cAAc;AAAA,OACdC,QAAQ;AAAA,OACRC,eAAe;AAsFtBC,MAAM,CAACC,OAAO,CAACH,QAAQ,CAAC,CAACI,GAAG,CAAC;EAAA,IAAC,CAACC,IAAI,EAAEC,OAAO,CAAC;EAAA,OAC3CL,eAAe,CAACM,QAAQ,CAACF,IAAI,EAAEC,OAAO,CAAC;AAAA,EACxC;AAED,IAAME,gBAAgC,GACpC;AAAA,wBACCC,MAAM,CAASC,oCAAoC,uEAAIb,OAAO;AAEjE,IAAMc,KAAK,GAAGf,WAAW,CACvBE,eAAe,CAACG,eAAe,CAACD,QAAQ,CAAC,EACzCQ,gBAAgB,CAACb,eAAe,CAAC,GAAGI,cAAc,CAAC,CAAC,CACrD;AAEDE,eAAe,CAACW,WAAW,CAACC,WAAW,IAAI;EACzCF,KAAK,CAACG,cAAc,CAAChB,eAAe,CAACe,WAAW,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,eAAeF,KAAK"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/redux",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "Deephaven Redux",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"build:babel": "babel ./src --out-dir ./dist --extensions \".ts,.tsx,.js,.jsx\" --source-maps --root-mode upward"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@deephaven/jsapi-types": "^0.
|
|
26
|
-
"@deephaven/jsapi-utils": "^0.
|
|
27
|
-
"@deephaven/log": "^0.
|
|
25
|
+
"@deephaven/jsapi-types": "^0.47.0",
|
|
26
|
+
"@deephaven/jsapi-utils": "^0.47.0",
|
|
27
|
+
"@deephaven/log": "^0.47.0",
|
|
28
28
|
"deep-equal": "^2.0.5",
|
|
29
29
|
"redux-thunk": "2.4.1"
|
|
30
30
|
},
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "8d890b724d6c8bdb73eb03463f9c850ca57094bd"
|
|
42
42
|
}
|