@parca/store
Advanced tools
Comparing version 0.16.53 to 0.16.54
@@ -6,2 +6,6 @@ # Change Log | ||
## 0.16.54 (2023-02-08) | ||
**Note:** Version bump only for package @parca/store | ||
## 0.16.53 (2023-01-25) | ||
@@ -8,0 +12,0 @@ |
@@ -5,2 +5,3 @@ import store from './store'; | ||
export * from './slices/profileSlice'; | ||
export * from './slices/colorsSlice'; | ||
export { store, useAppDispatch, useAppSelector }; |
@@ -17,2 +17,3 @@ // Copyright 2022 The Parca Authors | ||
export * from './slices/profileSlice'; | ||
export * from './slices/colorsSlice'; | ||
export { store, useAppDispatch, useAppSelector }; |
/// <reference types="redux-persist/types/persistReducer" /> | ||
import { UiState } from './slices/uiSlice'; | ||
import { ProfileState } from './slices/profileSlice'; | ||
import type { Persistor } from 'redux-persist'; | ||
import type { Store } from 'redux'; | ||
declare const rootReducer: import("redux").Reducer<import("redux").CombinedState<{ | ||
ui: UiState; | ||
profile: ProfileState; | ||
ui: import("./slices/uiSlice").UiState; | ||
profile: import("./slices/profileSlice").ProfileState; | ||
colors: import("./slices/colorsSlice").ColorsState; | ||
}>, import("redux").AnyAction>; | ||
@@ -13,7 +12,9 @@ export type RootState = ReturnType<typeof rootReducer>; | ||
declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<import("redux").EmptyObject & { | ||
ui: UiState; | ||
profile: ProfileState; | ||
ui: import("./slices/uiSlice").UiState; | ||
profile: import("./slices/profileSlice").ProfileState; | ||
colors: import("./slices/colorsSlice").ColorsState; | ||
} & import("redux-persist/es/persistReducer").PersistPartial, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("@reduxjs/toolkit").ThunkMiddleware<import("redux").EmptyObject & { | ||
ui: UiState; | ||
profile: ProfileState; | ||
ui: import("./slices/uiSlice").UiState; | ||
profile: import("./slices/profileSlice").ProfileState; | ||
colors: import("./slices/colorsSlice").ColorsState; | ||
} & import("redux-persist/es/persistReducer").PersistPartial, import("redux").AnyAction, undefined>]>>; | ||
@@ -24,3 +25,5 @@ declare const defaultExports: () => { | ||
}; | ||
export type { ProfileState, UiState }; | ||
export * from './slices/uiSlice'; | ||
export * from './slices/profileSlice'; | ||
export * from './slices/colorsSlice'; | ||
export default defaultExports; |
@@ -16,2 +16,3 @@ // Copyright 2022 The Parca Authors | ||
import profileReducer from './slices/profileSlice'; | ||
import colorsReducer from './slices/colorsSlice'; | ||
import storage from 'redux-persist/lib/storage'; | ||
@@ -22,2 +23,3 @@ import { persistReducer, FLUSH, REHYDRATE, PAUSE, PERSIST, PURGE, REGISTER, persistStore, } from 'redux-persist'; | ||
profile: profileReducer, | ||
colors: colorsReducer, | ||
}); | ||
@@ -47,2 +49,5 @@ var slicesToPersist = ['ui']; | ||
}; | ||
export * from './slices/uiSlice'; | ||
export * from './slices/profileSlice'; | ||
export * from './slices/colorsSlice'; | ||
export default defaultExports; |
{ | ||
"name": "@parca/store", | ||
"version": "0.16.53", | ||
"version": "0.16.54", | ||
"description": "State management for Parca UI", | ||
@@ -16,2 +16,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@parca/functions": "^0.16.60", | ||
"@reduxjs/toolkit": "^1.7.2", | ||
@@ -25,3 +26,3 @@ "react-redux": "^8.0.2", | ||
}, | ||
"gitHead": "4f76548f34c4efe032fc04d91c19777d6ea05de9" | ||
"gitHead": "8c8cab18adf50850d4f9c03c3d0ff1e84e5d8e97" | ||
} |
@@ -15,4 +15,5 @@ // Copyright 2022 The Parca Authors | ||
import {configureStore, combineReducers} from '@reduxjs/toolkit'; | ||
import uiReducer, {UiState} from './slices/uiSlice'; | ||
import profileReducer, {ProfileState} from './slices/profileSlice'; | ||
import uiReducer from './slices/uiSlice'; | ||
import profileReducer from './slices/profileSlice'; | ||
import colorsReducer from './slices/colorsSlice'; | ||
import storage from 'redux-persist/lib/storage'; | ||
@@ -35,2 +36,3 @@ import { | ||
profile: profileReducer, | ||
colors: colorsReducer, | ||
}); | ||
@@ -70,4 +72,6 @@ | ||
export type {ProfileState, UiState}; | ||
export * from './slices/uiSlice'; | ||
export * from './slices/profileSlice'; | ||
export * from './slices/colorsSlice'; | ||
export default defaultExports; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42158
23
623
4
+ Added@parca/functions@^0.16.60
+ Added@nodelib/fs.scandir@2.1.5(transitive)
+ Added@nodelib/fs.stat@2.0.5(transitive)
+ Added@nodelib/fs.walk@1.2.8(transitive)
+ Added@parca/client@0.16.124(transitive)
+ Added@parca/functions@0.16.70(transitive)
+ Added@protobuf-ts/runtime@2.9.4(transitive)
+ Added@protobuf-ts/runtime-rpc@2.9.4(transitive)
+ Added@rehooks/local-storage@2.4.5(transitive)
+ Addedacorn@7.4.1(transitive)
+ Addedacorn-node@1.8.2(transitive)
+ Addedacorn-walk@7.2.0(transitive)
+ Addedanymatch@3.1.3(transitive)
+ Addedarg@5.0.2(transitive)
+ Addedbinary-extensions@2.3.0(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedcamelcase-css@2.0.1(transitive)
+ Addedchokidar@3.6.0(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.5(transitive)
+ Addedcssesc@3.0.0(transitive)
+ Addeddefined@1.0.1(transitive)
+ Addeddetective@5.2.1(transitive)
+ Addeddidyoumean@1.2.2(transitive)
+ Addeddlv@1.1.3(transitive)
+ Addedfast-glob@3.3.2(transitive)
+ Addedfastq@1.17.1(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfsevents@2.3.3(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedglob-parent@5.1.26.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-binary-path@2.1.0(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedlilconfig@2.1.0(transitive)
+ Addedmerge2@1.4.1(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addednanoid@3.3.7(transitive)
+ Addednode-cleanup@2.1.2(transitive)
+ Addednormalize-path@3.0.0(transitive)
+ Addedobject-hash@3.0.0(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedpify@2.3.0(transitive)
+ Addedpostcss@8.4.49(transitive)
+ Addedpostcss-import@14.1.0(transitive)
+ Addedpostcss-js@4.0.1(transitive)
+ Addedpostcss-load-config@3.1.4(transitive)
+ Addedpostcss-nested@6.0.0(transitive)
+ Addedpostcss-selector-parser@6.1.2(transitive)
+ Addedpostcss-value-parser@4.2.0(transitive)
+ Addedps-tree@1.2.0(transitive)
+ Addedqueue-microtask@1.2.3(transitive)
+ Addedquick-lru@5.1.1(transitive)
+ Addedread-cache@1.0.0(transitive)
+ Addedreaddirp@3.6.0(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedreusify@1.0.4(transitive)
+ Addedrun-parallel@1.2.0(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsource-map-js@1.2.1(transitive)
+ Addedstring-argv@0.3.2(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtailwindcss@3.2.4(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addedtsc-watch@6.2.0(transitive)
+ Addedtypescript@5.6.3(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedxtend@4.0.2(transitive)
+ Addedyaml@1.10.2(transitive)