@deephaven/redux 0.94.0 → 0.95.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.
@@ -1,4 +1,4 @@
1
- import store from './store';
1
+ import type store from './store';
2
2
  export declare function createMockStore(): typeof store;
3
3
  export default createMockStore;
4
4
  //# sourceMappingURL=createMockStore.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"createMockStore.d.ts","sourceRoot":"","sources":["../src/createMockStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,wBAAgB,eAAe,IAAI,OAAO,KAAK,CAa9C;AAED,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"createMockStore.js","names":["createMockStore","dispatch","jest","fn","undefined","getState","dashboardData","workspace","data","settings","subscribe"],"sources":["../src/createMockStore.ts"],"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"],"mappings":"AAEA,OAAO,SAASA,eAAeA,CAAA,EAAiB;EAC9C,OAAO;IACLC,QAAQ,EAAEC,IAAI,CAACC,EAAE,CAAC,MAAMC,SAAS,CAAC;IAClCC,QAAQ,EAAEH,IAAI,CAACC,EAAE,CAAC,OAAO;MACvBG,aAAa,EAAE,CAAC,CAAC;MACjBC,SAAS,EAAE;QACTC,IAAI,EAAE;UACJC,QAAQ,EAAE,CAAC;QACb;MACF;IACF,CAAC,CAAC,CAAC;IACHC,SAAS,EAAER,IAAI,CAACC,EAAE,CAAC,MAAMC,SAAS;EACpC,CAAC;AACH;AAEA,eAAeJ,eAAe"}
1
+ {"version":3,"file":"createMockStore.js","names":["createMockStore","dispatch","jest","fn","undefined","getState","dashboardData","workspace","data","settings","subscribe"],"sources":["../src/createMockStore.ts"],"sourcesContent":["import type 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"],"mappings":"AAEA,OAAO,SAASA,eAAeA,CAAA,EAAiB;EAC9C,OAAO;IACLC,QAAQ,EAAEC,IAAI,CAACC,EAAE,CAAC,MAAMC,SAAS,CAAC;IAClCC,QAAQ,EAAEH,IAAI,CAACC,EAAE,CAAC,OAAO;MACvBG,aAAa,EAAE,CAAC,CAAC;MACjBC,SAAS,EAAE;QACTC,IAAI,EAAE;UACJC,QAAQ,EAAE,CAAC;QACb;MACF;IACF,CAAC,CAAC,CAAC;IACHC,SAAS,EAAER,IAAI,CAACC,EAAE,CAAC,MAAMC,SAAS;EACpC,CAAC;AACH;AAEA,eAAeJ,eAAe"}
@@ -1,4 +1,4 @@
1
- import { Reducer, ReducersMapObject } from 'redux';
1
+ import { type Reducer, type ReducersMapObject } from 'redux';
2
2
  export type ReducerRegistryListener = (reducers: ReducersMapObject) => void;
3
3
  /**
4
4
  * A registry for registering reducers. Whenever a new reducer is added,
@@ -1 +1 @@
1
- {"version":3,"file":"reducerRegistry.d.ts","sourceRoot":"","sources":["../src/reducerRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,MAAM,MAAM,uBAAuB,GAAG,CAAC,QAAQ,EAAE,iBAAiB,KAAK,IAAI,CAAC;AAE5E;;;;;;GAMG;AACH,qBAAa,eAAe;IAC1B,QAAQ,EAAS,iBAAiB,CAAC;IAEnC,QAAQ,EAAE,uBAAuB,GAAG,IAAI,CAAQ;IAEhD,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAK9C,WAAW,CAAC,QAAQ,EAAE,uBAAuB,GAAG,IAAI;CAGrD;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAC9C,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"reducerRegistry.d.ts","sourceRoot":"","sources":["../src/reducerRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE7D,MAAM,MAAM,uBAAuB,GAAG,CAAC,QAAQ,EAAE,iBAAiB,KAAK,IAAI,CAAC;AAE5E;;;;;;GAMG;AACH,qBAAa,eAAe;IAC1B,QAAQ,EAAS,iBAAiB,CAAC;IAEnC,QAAQ,EAAE,uBAAuB,GAAG,IAAI,CAAQ;IAEhD,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAK9C,WAAW,CAAC,QAAQ,EAAE,uBAAuB,GAAG,IAAI;CAGrD;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAC9C,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reducerRegistry.js","names":["ReducerRegistry","constructor","_defineProperty","register","name","reducer","_this$listener","reducers","_objectSpread","listener","call","setListener","reducerRegistry"],"sources":["../src/reducerRegistry.ts"],"sourcesContent":["import { Reducer, ReducersMapObject } from 'redux';\n\nexport type ReducerRegistryListener = (reducers: ReducersMapObject) => void;\n\n/**\n * A registry for registering reducers. Whenever a new reducer is added,\n * the reducers should be replaced in the store.\n *\n * See this blog post for some notes on redux modules/code splitting\n * http://nicolasgallagher.com/redux-modules-and-code-splitting/\n */\nexport class ReducerRegistry {\n reducers = {} as ReducersMapObject;\n\n listener: ReducerRegistryListener | null = null;\n\n register(name: string, reducer: Reducer): void {\n this.reducers = { ...this.reducers, [name]: reducer };\n this.listener?.(this.reducers);\n }\n\n setListener(listener: ReducerRegistryListener): void {\n this.listener = listener;\n }\n}\n\nconst reducerRegistry = new ReducerRegistry();\nexport default reducerRegistry;\n"],"mappings":";;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,eAAe,CAAC;EAAAC,YAAA;IAAAC,eAAA,mBAChB,CAAC,CAAC;IAAAA,eAAA,mBAE8B,IAAI;EAAA;EAE/CC,QAAQA,CAACC,IAAY,EAAEC,OAAgB,EAAQ;IAAA,IAAAC,cAAA;IAC7C,IAAI,CAACC,QAAQ,GAAAC,aAAA,CAAAA,aAAA,KAAQ,IAAI,CAACD,QAAQ;MAAE,CAACH,IAAI,GAAGC;IAAO,EAAE;IACrD,CAAAC,cAAA,OAAI,CAACG,QAAQ,cAAAH,cAAA,uBAAbA,cAAA,CAAAI,IAAA,KAAI,EAAY,IAAI,CAACH,QAAQ,CAAC;EAChC;EAEAI,WAAWA,CAACF,QAAiC,EAAQ;IACnD,IAAI,CAACA,QAAQ,GAAGA,QAAQ;EAC1B;AACF;AAEA,IAAMG,eAAe,GAAG,IAAIZ,eAAe,CAAC,CAAC;AAC7C,eAAeY,eAAe"}
1
+ {"version":3,"file":"reducerRegistry.js","names":["ReducerRegistry","constructor","_defineProperty","register","name","reducer","_this$listener","reducers","_objectSpread","listener","call","setListener","reducerRegistry"],"sources":["../src/reducerRegistry.ts"],"sourcesContent":["import { type Reducer, type ReducersMapObject } from 'redux';\n\nexport type ReducerRegistryListener = (reducers: ReducersMapObject) => void;\n\n/**\n * A registry for registering reducers. Whenever a new reducer is added,\n * the reducers should be replaced in the store.\n *\n * See this blog post for some notes on redux modules/code splitting\n * http://nicolasgallagher.com/redux-modules-and-code-splitting/\n */\nexport class ReducerRegistry {\n reducers = {} as ReducersMapObject;\n\n listener: ReducerRegistryListener | null = null;\n\n register(name: string, reducer: Reducer): void {\n this.reducers = { ...this.reducers, [name]: reducer };\n this.listener?.(this.reducers);\n }\n\n setListener(listener: ReducerRegistryListener): void {\n this.listener = listener;\n }\n}\n\nconst reducerRegistry = new ReducerRegistry();\nexport default reducerRegistry;\n"],"mappings":";;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,eAAe,CAAC;EAAAC,YAAA;IAAAC,eAAA,mBAChB,CAAC,CAAC;IAAAA,eAAA,mBAE8B,IAAI;EAAA;EAE/CC,QAAQA,CAACC,IAAY,EAAEC,OAAgB,EAAQ;IAAA,IAAAC,cAAA;IAC7C,IAAI,CAACC,QAAQ,GAAAC,aAAA,CAAAA,aAAA,KAAQ,IAAI,CAACD,QAAQ;MAAE,CAACH,IAAI,GAAGC;IAAO,EAAE;IACrD,CAAAC,cAAA,OAAI,CAACG,QAAQ,cAAAH,cAAA,uBAAbA,cAAA,CAAAI,IAAA,KAAI,EAAY,IAAI,CAACH,QAAQ,CAAC;EAChC;EAEAI,WAAWA,CAACF,QAAiC,EAAQ;IACnD,IAAI,CAACA,QAAQ,GAAGA,QAAQ;EAC1B;AACF;AAEA,IAAMG,eAAe,GAAG,IAAIZ,eAAe,CAAC,CAAC;AAC7C,eAAeY,eAAe"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/redux",
3
- "version": "0.94.0",
3
+ "version": "0.95.0",
4
4
  "description": "Deephaven Redux",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "Apache-2.0",
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@deephaven/jsapi-types": "^1.0.0-dev0.34.0",
26
- "@deephaven/jsapi-utils": "^0.94.0",
27
- "@deephaven/log": "^0.94.0",
28
- "@deephaven/plugin": "^0.94.0",
26
+ "@deephaven/jsapi-utils": "^0.95.0",
27
+ "@deephaven/log": "^0.95.0",
28
+ "@deephaven/plugin": "^0.95.0",
29
29
  "fast-deep-equal": "^3.1.3",
30
30
  "proxy-memoize": "^3.0.0",
31
31
  "redux-thunk": "2.4.1"
@@ -40,5 +40,5 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "96e3d4326a855ae67e65f036a909be130c66c40d"
43
+ "gitHead": "ec9b41e921e2122879f53e9a266084d529664680"
44
44
  }