@deephaven/redux 0.9.2-beta.0 → 0.9.2-beta.7
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/createMockStore.d.ts +4 -0
- package/dist/createMockStore.d.ts.map +1 -0
- package/dist/createMockStore.js +16 -0
- package/dist/createMockStore.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createMockStore.d.ts","sourceRoot":"","sources":["../src/createMockStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,wBAAgB,eAAe,IAAI,OAAO,KAAK,CAa9C;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export function createMockStore() {
|
|
2
|
+
return {
|
|
3
|
+
dispatch: jest.fn(() => undefined),
|
|
4
|
+
getState: jest.fn(() => ({
|
|
5
|
+
dashboardData: {},
|
|
6
|
+
workspace: {
|
|
7
|
+
data: {
|
|
8
|
+
settings: {}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
})),
|
|
12
|
+
subscribe: jest.fn(() => undefined)
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export default createMockStore;
|
|
16
|
+
//# sourceMappingURL=createMockStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/createMockStore.ts"],"names":["createMockStore","dispatch","jest","fn","undefined","getState","dashboardData","workspace","data","settings","subscribe"],"mappings":"AAEA,OAAO,SAASA,eAAT,GAAyC;AAC9C,SAAQ;AACNC,IAAAA,QAAQ,EAAEC,IAAI,CAACC,EAAL,CAAQ,MAAMC,SAAd,CADJ;AAENC,IAAAA,QAAQ,EAAEH,IAAI,CAACC,EAAL,CAAQ,OAAO;AACvBG,MAAAA,aAAa,EAAE,EADQ;AAEvBC,MAAAA,SAAS,EAAE;AACTC,QAAAA,IAAI,EAAE;AACJC,UAAAA,QAAQ,EAAE;AADN;AADG;AAFY,KAAP,CAAR,CAFJ;AAUNC,IAAAA,SAAS,EAAER,IAAI,CAACC,EAAL,CAAQ,MAAMC,SAAd;AAVL,GAAR;AAYD;AAED,eAAeJ,eAAf","sourcesContent":["import store from './store';\n\nexport function createMockStore(): typeof store {\n return ({\n dispatch: jest.fn(() => undefined),\n getState: jest.fn(() => ({\n dashboardData: {},\n workspace: {\n data: {\n settings: {},\n },\n },\n })),\n subscribe: jest.fn(() => undefined),\n } as unknown) as typeof store;\n}\n\nexport default createMockStore;\n"],"file":"createMockStore.js"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./selectors.js";
|
|
2
2
|
export * from "./actions.js";
|
|
3
|
+
export * from "./createMockStore.js";
|
|
3
4
|
export * from "./reducers/common/index.js";
|
|
4
5
|
export { default as reducers } from "./reducers/index.js";
|
|
5
6
|
export { default as reducerRegistry } from "./reducerRegistry.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":["default","reducers","reducerRegistry","store"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":["default","reducers","reducerRegistry","store"],"mappings":";;;;SAISA,OAAO,IAAIC,Q;SACXD,OAAO,IAAIE,e;;SAEXF,OAAO,IAAIG,K","sourcesContent":["export * from './selectors';\nexport * from './actions';\nexport * from './createMockStore';\nexport * from './reducers/common';\nexport { default as reducers } from './reducers';\nexport { default as reducerRegistry } from './reducerRegistry';\nexport * from './store';\nexport { default as store } from './store';\n"],"file":"index.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/redux",
|
|
3
|
-
"version": "0.9.2-beta.
|
|
3
|
+
"version": "0.9.2-beta.7+1fa42c2",
|
|
4
4
|
"description": "Deephaven Redux",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@babel/cli": "^7.16.0",
|
|
34
|
-
"@deephaven/components": "^0.9.2-beta.
|
|
35
|
-
"@deephaven/console": "^0.9.2-beta.
|
|
36
|
-
"@deephaven/file-explorer": "^0.9.2-beta.
|
|
37
|
-
"@deephaven/iris-grid": "^0.9.2-beta.
|
|
38
|
-
"@deephaven/log": "^0.9.2-beta.
|
|
39
|
-
"@deephaven/tsconfig": "^0.9.2-beta.
|
|
34
|
+
"@deephaven/components": "^0.9.2-beta.7+1fa42c2",
|
|
35
|
+
"@deephaven/console": "^0.9.2-beta.7+1fa42c2",
|
|
36
|
+
"@deephaven/file-explorer": "^0.9.2-beta.7+1fa42c2",
|
|
37
|
+
"@deephaven/iris-grid": "^0.9.2-beta.7+1fa42c2",
|
|
38
|
+
"@deephaven/log": "^0.9.2-beta.7+1fa42c2",
|
|
39
|
+
"@deephaven/tsconfig": "^0.9.2-beta.7+1fa42c2",
|
|
40
40
|
"@types/deep-equal": "^1.0.1",
|
|
41
41
|
"cross-env": "^7.0.2",
|
|
42
42
|
"npm-run-all": "^4.1.5",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "1fa42c25d044cfe46f6b8bc84fb3be48908c61f0"
|
|
57
57
|
}
|