graycoreio/daffodil

View on GitHub
libs/navigation/state/src/reducers/navigation-reducers.interface.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { DaffGenericNavigationTree } from '@daffodil/navigation';

import { DAFF_NAVIGATION_STORE_FEATURE_KEY } from './navigation-store-feature-key';
import { DaffNavigationReducerState } from '../reducers/navigation/navigation-reducer-state.interface';

export interface DaffNavigationReducersState<T extends DaffGenericNavigationTree<T>> {
  navigation: DaffNavigationReducerState<T>;
}

export interface DaffNavigationStateRootSlice<T extends DaffGenericNavigationTree<T>> {
  [DAFF_NAVIGATION_STORE_FEATURE_KEY]: DaffNavigationReducersState<T>;
}