graycoreio/daffodil

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

Summary

Maintainability
A
0 mins
Test Coverage
import { DaffCountry } from '@daffodil/geography';

import { DaffCountryEntityState } from './country-entities/country-entities-state.interface';
import { DaffGeographyReducerState } from './geography/geography-state.interface';
import { DAFF_GEOGRAPHY_STORE_FEATURE_KEY } from './geography-store-feature-key';

export interface DaffGeographyFeatureState<T extends DaffCountry = DaffCountry> {
  geography: DaffGeographyReducerState;
  countries: DaffCountryEntityState<T>;
}

export interface DaffGeographyStateRootSlice<T extends DaffCountry = DaffCountry> {
  [DAFF_GEOGRAPHY_STORE_FEATURE_KEY]: DaffGeographyFeatureState<T>;
}