@deephaven/redux 0.42.1-beta.4 → 0.44.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 +0 -7
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js.map +1 -1
- package/package.json +5 -5
package/dist/store.d.ts
CHANGED
|
@@ -7,14 +7,7 @@ export interface DeephavenPluginModule {
|
|
|
7
7
|
}
|
|
8
8
|
export type DeephavenPluginModuleMap = Map<string, DeephavenPluginModule>;
|
|
9
9
|
export interface UserPermissions {
|
|
10
|
-
isACLEditor: boolean;
|
|
11
|
-
isSuperUser: boolean;
|
|
12
|
-
isQueryViewOnly: boolean;
|
|
13
|
-
isNonInteractive: boolean;
|
|
14
10
|
canUsePanels: boolean;
|
|
15
|
-
canCreateDashboard: boolean;
|
|
16
|
-
canCreateCodeStudio: boolean;
|
|
17
|
-
canCreateQueryMonitor: boolean;
|
|
18
11
|
canCopy: boolean;
|
|
19
12
|
canDownloadCsv: boolean;
|
|
20
13
|
canLogout: 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,aAAa,EAAE,MAAM,WAAW,CAAC;AAO/C,MAAM,WAAW,qBAAqB;CAAG;AAEzC,MAAM,MAAM,wBAAwB,GAAG,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;AAE1E,MAAM,WAAW,eAAe;IAC9B,
|
|
1
|
+
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AO,EAAE,wBAAwB,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,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.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\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 UserPermissions {\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 { 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 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,OAMxEC,cAAc;AAAA,OACdC,QAAQ;AAAA,OACRC,eAAe,8BAEtB;AACA;AAuFAC,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.44.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.44.0",
|
|
26
|
+
"@deephaven/jsapi-utils": "^0.44.0",
|
|
27
|
+
"@deephaven/log": "^0.44.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": "ba13c9139b3b7a5f5d64d79069f1de9d4727eeb6"
|
|
42
42
|
}
|