@deephaven/redux 0.12.1-beta.5 → 0.13.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 +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js.map +1 -1
- package/package.json +5 -4
package/dist/store.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FileStorage } from '@deephaven/file-explorer';
|
|
2
2
|
import type { ValidKeyState } from '@deephaven/components';
|
|
3
|
-
import type { FormattingRule } from '@deephaven/
|
|
3
|
+
import type { FormattingRule } from '@deephaven/jsapi-utils';
|
|
4
4
|
import type { PayloadAction } from './actions';
|
|
5
5
|
export interface DeephavenPluginModule {
|
|
6
6
|
}
|
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,cAAc,EAAE,MAAM,
|
|
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,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAO/C,MAAM,WAAW,qBAAqB;CAAG;AAEzC,oBAAY,wBAAwB,GAAG,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;AAE1E,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,M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IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;CAChD;AAED,oBAAY,SAAS,GAAG;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,wBAAwB,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAUF,QAAA,MAAM,KAAK,0DAGV,CAAC;AAMF,eAAe,KAAK,CAAC;AAErB,oBAAY,YAAY,GAAG,OAAO,KAAK,CAAC,QAAQ,CAAC"}
|
package/dist/store.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/store.ts"],"names":["applyMiddleware","createStore","compose","combineReducers","rootMiddleware","reducers","reducerRegistry","Object","entries","map","name","reducer","register","composeEnhancers","window","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","store","setListener","newReducers","replaceReducer"],"mappings":"AAAA,SAASA,eAAT,EAA0BC,WAA1B,EAAuCC,OAAvC,EAAgDC,eAAhD,QAAuE,OAAvE;OAKOC,c;OACAC,Q;OACAC,e,8BAEP;AACA;;AA8DAC,MAAM,CAACC,OAAP,CAAeH,QAAf,EAAyBI,GAAzB,CAA6B;AAAA,MAAC,CAACC,IAAD,EAAOC,OAAP,CAAD;AAAA,SAC3BL,eAAe,CAACM,QAAhB,CAAyBF,IAAzB,EAA+BC,OAA/B,CAD2B;AAAA,CAA7B;AAIA,IAAME,gBAAgC,GACpC;AACCC,MAAD,CAAgBC,oCAAhB,IAAwDb,OAF1D;AAIA,IAAMc,KAAK,GAAGf,WAAW,CACvBE,eAAe,CAACG,eAAe,CAACD,QAAjB,CADQ,EAEvBQ,gBAAgB,CAACb,eAAe,CAAC,GAAGI,cAAJ,CAAhB,CAFO,CAAzB;AAKAE,eAAe,CAACW,WAAhB,CAA4BC,WAAW,IAAI;AACzCF,EAAAA,KAAK,CAACG,cAAN,CAAqBhB,eAAe,CAACe,WAAD,CAApC;AACD,CAFD;AAIA,eAAeF,KAAf","sourcesContent":["import { applyMiddleware, createStore, compose, combineReducers } from 'redux';\nimport type { FileStorage } from '@deephaven/file-explorer';\nimport type { ValidKeyState } from '@deephaven/components';\nimport type { FormattingRule } from '@deephaven/
|
|
1
|
+
{"version":3,"sources":["../src/store.ts"],"names":["applyMiddleware","createStore","compose","combineReducers","rootMiddleware","reducers","reducerRegistry","Object","entries","map","name","reducer","register","composeEnhancers","window","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","store","setListener","newReducers","replaceReducer"],"mappings":"AAAA,SAASA,eAAT,EAA0BC,WAA1B,EAAuCC,OAAvC,EAAgDC,eAAhD,QAAuE,OAAvE;OAKOC,c;OACAC,Q;OACAC,e,8BAEP;AACA;;AA8DAC,MAAM,CAACC,OAAP,CAAeH,QAAf,EAAyBI,GAAzB,CAA6B;AAAA,MAAC,CAACC,IAAD,EAAOC,OAAP,CAAD;AAAA,SAC3BL,eAAe,CAACM,QAAhB,CAAyBF,IAAzB,EAA+BC,OAA/B,CAD2B;AAAA,CAA7B;AAIA,IAAME,gBAAgC,GACpC;AACCC,MAAD,CAAgBC,oCAAhB,IAAwDb,OAF1D;AAIA,IAAMc,KAAK,GAAGf,WAAW,CACvBE,eAAe,CAACG,eAAe,CAACD,QAAjB,CADQ,EAEvBQ,gBAAgB,CAACb,eAAe,CAAC,GAAGI,cAAJ,CAAhB,CAFO,CAAzB;AAKAE,eAAe,CAACW,WAAhB,CAA4BC,WAAW,IAAI;AACzCF,EAAAA,KAAK,CAACG,cAAN,CAAqBhB,eAAe,CAACe,WAAD,CAApC;AACD,CAFD;AAIA,eAAeF,KAAf","sourcesContent":["import { applyMiddleware, createStore, compose, combineReducers } from 'redux';\nimport type { FileStorage } from '@deephaven/file-explorer';\nimport type { ValidKeyState } from '@deephaven/components';\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\n// A DeephavenPluginModule. This interface should have new fields added to it from different levels of plugins.\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface DeephavenPluginModule {}\n\nexport type DeephavenPluginModuleMap = Map<string, DeephavenPluginModule>;\n\nexport interface User {\n name: string;\n operateAs: string;\n groups: string[];\n}\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 showSystemBadge: boolean;\n shortcutOverrides?: {\n windows?: { [id: string]: ValidKeyState };\n mac?: { [id: string]: ValidKeyState };\n };\n}\n\nexport interface WorkspaceData {\n settings: WorkspaceSettings;\n data: Record<string, unknown>;\n layoutConfig: Record<string, unknown>[];\n closed: Record<string, unknown>[];\n}\n\nexport interface Workspace {\n data: WorkspaceData;\n}\n\nexport interface WorkspaceStorage {\n load(): Promise<Workspace>;\n save(workspace: Workspace): Promise<Workspace>;\n}\n\nexport type RootState = {\n activeTool: string;\n plugins: DeephavenPluginModuleMap;\n storage: Storage;\n user: User;\n workspace: Workspace;\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"],"file":"store.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/redux",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Deephaven Redux",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,14 +27,15 @@
|
|
|
27
27
|
"start": "cross-env NODE_ENV=development npm run watch"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
+
"@deephaven/jsapi-utils": "^0.13.0",
|
|
31
|
+
"@deephaven/log": "^0.13.0",
|
|
30
32
|
"deep-equal": "^2.0.5",
|
|
31
33
|
"redux-thunk": "^2.3.0"
|
|
32
34
|
},
|
|
33
35
|
"devDependencies": {
|
|
34
|
-
"@deephaven/tsconfig": "^0.
|
|
36
|
+
"@deephaven/tsconfig": "^0.13.0"
|
|
35
37
|
},
|
|
36
38
|
"peerDependencies": {
|
|
37
|
-
"@deephaven/log": "^0.12",
|
|
38
39
|
"redux": "^4.0.5"
|
|
39
40
|
},
|
|
40
41
|
"files": [
|
|
@@ -43,5 +44,5 @@
|
|
|
43
44
|
"publishConfig": {
|
|
44
45
|
"access": "public"
|
|
45
46
|
},
|
|
46
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "c345a53be6b92fbeadb6e00f3ff2d6f4570c2c28"
|
|
47
48
|
}
|