Skip to content

Commit

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

BREAKING CHANGE: error matcher injection token has moved to state subpackage
  • Loading branch information
griest024 committed Dec 11, 2023
1 parent 40a72e9 commit 81a170e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions libs/newsletter/src/public_api.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
export { DaffNewsletterSubmission } from './models/newsletter.model';
export { DaffNewsletterUnion } from './models/newsletter-union';

export * from './injection-tokens/public_api';
6 changes: 2 additions & 4 deletions libs/newsletter/state/src/effects/newsletter.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ import {

import { DaffError } from '@daffodil/core';
import { ErrorTransformer } from '@daffodil/core/state';
import {
DaffNewsletterSubmission,
DAFF_NEWSLETTER_ERROR_MATCHER,
} from '@daffodil/newsletter';
import { DaffNewsletterSubmission } from '@daffodil/newsletter';
import {
DaffNewsletterDriver,
DaffNewsletterServiceInterface,
Expand All @@ -35,6 +32,7 @@ import {
DaffNewsletterRetry,
DaffNewsletterCancel,
} from '../actions/newsletter.actions';
import { DAFF_NEWSLETTER_ERROR_MATCHER } from '../injection-tokens/public_api';

@Injectable()
export class DaffNewsletterEffects<T extends DaffNewsletterSubmission, V>{
Expand Down
1 change: 1 addition & 0 deletions libs/newsletter/state/src/public_api.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './actions/newsletter.actions';
export * from './injection-tokens/public_api';
export {
DaffNewsletterState,
reducer,
Expand Down

0 comments on commit 81a170e

Please sign in to comment.