Skip to content

Commit

Permalink
feat(customer)!: 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 f8fc914 commit a6ecaea
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
1 change: 0 additions & 1 deletion libs/customer/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';
6 changes: 2 additions & 4 deletions libs/customer/state/src/effects/address.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 {
DaffCustomerAddress,
DAFF_CUSTOMER_ERROR_MATCHER,
} from '@daffodil/customer';
import { DaffCustomerAddress } from '@daffodil/customer';
import {
DaffCustomerAddressDriver,
DaffCustomerAddressDriverInterface,
Expand All @@ -43,6 +40,7 @@ import {
DaffCustomerAddressListFailure,
DaffCustomerAddressListSuccess,
} from '../actions/address.actions';
import { DAFF_CUSTOMER_ERROR_MATCHER } from '../injection-tokens/public_api';

@Injectable()
export class DaffCustomerAddressEffects<
Expand Down
6 changes: 2 additions & 4 deletions libs/customer/state/src/effects/customer.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 {
DaffCustomer,
DAFF_CUSTOMER_ERROR_MATCHER,
} from '@daffodil/customer';
import { DaffCustomer } from '@daffodil/customer';
import {
DaffCustomerDriverInterface,
DaffCustomerDriver,
Expand All @@ -40,6 +37,7 @@ import {
DaffCustomerChangePasswordFailure,
DaffCustomerChangePasswordSuccess,
} from '../actions/customer.actions';
import { DAFF_CUSTOMER_ERROR_MATCHER } from '../injection-tokens/public_api';

@Injectable()
export class DaffCustomerEffects<
Expand Down
1 change: 1 addition & 0 deletions libs/customer/state/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ export * from './reducers/public_api';
export * from './selectors/public_api';
export * from './facades/public_api';
export * from './models/public_api';
export * from './injection-tokens/public_api';

export * from './customer.module';

0 comments on commit a6ecaea

Please sign in to comment.