Skip to content

Commit

Permalink
feat(geography)!: move error matcher injection token to state subpack…
Browse files Browse the repository at this point in the history
…age (#2645)

BREAKING CHANGE: error matcher injection token has moved to state subpackage
  • Loading branch information
griest024 committed Dec 11, 2023
1 parent 5cacb5d commit d704e0b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion libs/geography/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
*/
export * from './models/public_api';
export * from './comparators/public_api';
export * from './injection-tokens/public_api';
6 changes: 2 additions & 4 deletions libs/geography/state/src/effects/geography.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ import {

import { DaffError } from '@daffodil/core';
import { ErrorTransformer } from '@daffodil/core/state';
import {
DaffCountry,
DAFF_GEOGRAPHY_ERROR_MATCHER,
} from '@daffodil/geography';
import { DaffCountry } from '@daffodil/geography';
import {
DaffGeographyServiceInterface,
DaffGeographyDriver,
Expand All @@ -34,6 +31,7 @@ import {
DaffCountryListSuccess,
DaffCountryListFailure,
} from '../actions/public_api';
import { DAFF_GEOGRAPHY_ERROR_MATCHER } from '../injection-tokens/public_api';

@Injectable()
export class DaffGeographyEffects<T extends DaffCountry> {
Expand Down
8 changes: 1 addition & 7 deletions libs/geography/state/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
export * from './selectors/public_api';
export * from './reducers/public_api';
export * from './actions/public_api';

export { DaffGeographyFacade } from './facades/geography/geography.facade';
export { DaffGeographyFacadeInterface } from './facades/geography/geography-facade.interface';
export { DaffGeographyStateModule } from './geography-state.module';
export * from './public_api';
8 changes: 8 additions & 0 deletions libs/geography/state/src/public_api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export * from './selectors/public_api';
export * from './reducers/public_api';
export * from './actions/public_api';
export * from './injection-tokens/public_api';

export { DaffGeographyFacade } from './facades/geography/geography.facade';
export { DaffGeographyFacadeInterface } from './facades/geography/geography-facade.interface';
export { DaffGeographyStateModule } from './geography-state.module';

0 comments on commit d704e0b

Please sign in to comment.