@parca/store
Advanced tools
Comparing version 0.16.52 to 0.16.53
@@ -6,2 +6,6 @@ # Change Log | ||
## 0.16.53 (2023-01-25) | ||
**Note:** Version bump only for package @parca/store | ||
## 0.16.52 (2023-01-11) | ||
@@ -8,0 +12,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { TypedUseSelectorHook } from 'react-redux'; | ||
import type { TypedUseSelectorHook } from 'react-redux'; | ||
import type { RootState, AppDispatch } from './store'; | ||
export declare const useAppDispatch: () => AppDispatch; | ||
export declare const useAppSelector: TypedUseSelectorHook<RootState>; |
@@ -5,3 +5,2 @@ import store from './store'; | ||
export * from './slices/profileSlice'; | ||
export * from './store'; | ||
export { store, useAppDispatch, useAppSelector }; |
@@ -17,3 +17,2 @@ // Copyright 2022 The Parca Authors | ||
export * from './slices/profileSlice'; | ||
export * from './store'; | ||
export { store, useAppDispatch, useAppSelector }; |
@@ -1,2 +0,2 @@ | ||
import { PayloadAction } from '@reduxjs/toolkit'; | ||
import type { PayloadAction } from '@reduxjs/toolkit'; | ||
import type { RootState } from '../store'; | ||
@@ -3,0 +3,0 @@ export interface ProfileState { |
@@ -1,2 +0,2 @@ | ||
import { PayloadAction } from '@reduxjs/toolkit'; | ||
import type { PayloadAction } from '@reduxjs/toolkit'; | ||
import type { RootState } from '../store'; | ||
@@ -3,0 +3,0 @@ export interface UiState { |
/// <reference types="redux-persist/types/persistReducer" /> | ||
import { UiState } from './slices/uiSlice'; | ||
import { ProfileState } from './slices/profileSlice'; | ||
import { Persistor } from 'redux-persist'; | ||
import { Store } from 'redux'; | ||
import type { Persistor } from 'redux-persist'; | ||
import type { Store } from 'redux'; | ||
declare const rootReducer: import("redux").Reducer<import("redux").CombinedState<{ | ||
@@ -7,0 +7,0 @@ ui: UiState; |
{ | ||
"name": "@parca/store", | ||
"version": "0.16.52", | ||
"version": "0.16.53", | ||
"description": "State management for Parca UI", | ||
@@ -24,3 +24,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "1dd773ebc4ab83aec05bbb78f72f0c1cc74cb869" | ||
"gitHead": "4f76548f34c4efe032fc04d91c19777d6ea05de9" | ||
} |
@@ -14,3 +14,4 @@ // Copyright 2022 The Parca Authors | ||
import {TypedUseSelectorHook, useDispatch, useSelector} from 'react-redux'; | ||
import {useDispatch, useSelector} from 'react-redux'; | ||
import type {TypedUseSelectorHook} from 'react-redux'; | ||
import type {RootState, AppDispatch} from './store'; | ||
@@ -17,0 +18,0 @@ |
@@ -14,3 +14,4 @@ // Copyright 2022 The Parca Authors | ||
import {createSlice, PayloadAction} from '@reduxjs/toolkit'; | ||
import {createSlice} from '@reduxjs/toolkit'; | ||
import type {PayloadAction} from '@reduxjs/toolkit'; | ||
import type {RootState} from '../store'; | ||
@@ -17,0 +18,0 @@ |
@@ -14,3 +14,4 @@ // Copyright 2022 The Parca Authors | ||
import {createSlice, PayloadAction} from '@reduxjs/toolkit'; | ||
import {createSlice} from '@reduxjs/toolkit'; | ||
import type {PayloadAction} from '@reduxjs/toolkit'; | ||
import type {RootState} from '../store'; | ||
@@ -17,0 +18,0 @@ |
@@ -27,5 +27,5 @@ // Copyright 2022 The Parca Authors | ||
persistStore, | ||
Persistor, | ||
} from 'redux-persist'; | ||
import {Store} from 'redux'; | ||
import type {Persistor} from 'redux-persist'; | ||
import type {Store} from 'redux'; | ||
@@ -32,0 +32,0 @@ const rootReducer = combineReducers({ |
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
32662