Skip to content

Commit

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

BREAKING CHANGE: error matcher injection token has moved to state subpackage
  • Loading branch information
griest024 committed Dec 11, 2023
1 parent 9caf019 commit 9647c9c
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion libs/category/src/public_api.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './models/public_api';
export * from './injection-tokens/public_api';
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
import {
DaffGenericCategory,
DaffGetCategoryResponse,
DAFF_CATEGORY_ERROR_MATCHER,
DaffCategoryRequestKind,
DaffCategoryIdRequest,
} from '@daffodil/category';
Expand All @@ -50,6 +49,7 @@ import {
DaffCategoryPageLoadFailure,
} from '../actions/category-page.actions';
import { DaffCategoryProductCollectionFacade } from '../facades/public_api';
import { DAFF_CATEGORY_ERROR_MATCHER } from '../injection-tokens/public_api';

@Injectable()
export class DaffCategoryPageFilterEffects<
Expand Down
2 changes: 1 addition & 1 deletion libs/category/state/src/effects/category-page.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
import {
DaffGenericCategory,
DaffGetCategoryResponse,
DAFF_CATEGORY_ERROR_MATCHER,
DaffCategoryRequestKind,
DaffCategoryIdRequest,
DaffCategoryPageMetadata,
Expand Down Expand Up @@ -54,6 +53,7 @@ import {
DaffCategoryPageActionTypes,
DaffCategoryPageLoadByUrl,
} from '../actions/category-page.actions';
import { DAFF_CATEGORY_ERROR_MATCHER } from '../injection-tokens/public_api';
import { getDaffCategorySelectors } from '../selectors/category.selector';

@Injectable()
Expand Down
2 changes: 1 addition & 1 deletion libs/category/state/src/effects/category.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
import {
DaffGenericCategory,
DaffGetCategoryResponse,
DAFF_CATEGORY_ERROR_MATCHER,
} from '@daffodil/category';
import {
DaffCategoryDriver,
Expand All @@ -37,6 +36,7 @@ import {
DaffCategoryLoadSuccess,
DaffCategoryLoadFailure,
} from '../actions/category.actions';
import { DAFF_CATEGORY_ERROR_MATCHER } from '../injection-tokens/public_api';

@Injectable()
export class DaffCategoryEffects<
Expand Down
1 change: 1 addition & 0 deletions libs/category/state/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export * from './facades/public_api';
export * from './actions/category.actions';
export * from './actions/category-page.actions';
export * from './actions/category-page-filter.actions';
export * from './injection-tokens/public_api';

0 comments on commit 9647c9c

Please sign in to comment.