Skip to content

Commit

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

BREAKING CHANGE: error matcher injection token has moved to state subpackage
  • Loading branch information
griest024 committed Dec 11, 2023
1 parent ab2221a commit 8be4957
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import {
daffCollectionBuildRequestFromMetadata,
} from '@daffodil/core';
import { ErrorTransformer } from '@daffodil/core/state';
import { DAFF_SEARCH_ERROR_MATCHER } from '@daffodil/search';
import { DaffSearchDriver } from '@daffodil/search/driver';
import { DAFF_SEARCH_ERROR_MATCHER } from '@daffodil/search/state';
import {
DaffSearchPageFacade,
DaffSearchLoadFailure,
Expand Down
1 change: 0 additions & 1 deletion libs/search/src/public_api.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export * from './models/public_api';
export * from './injection-tokens/public_api';
export * from './transforms/public_api';
6 changes: 2 additions & 4 deletions libs/search/state/src/effects/incremental.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ import {

import { DaffError } from '@daffodil/core';
import { ErrorTransformer } from '@daffodil/core/state';
import {
DaffSearchResult,
DAFF_SEARCH_ERROR_MATCHER,
} from '@daffodil/search';
import { DaffSearchResult } from '@daffodil/search';
import {
DaffSearchDriverInterface,
DaffSearchDriver,
Expand All @@ -40,6 +37,7 @@ import {
DaffSearchStateConfig,
DAFF_SEARCH_STATE_CONFIG,
} from '../config/public_api';
import { DAFF_SEARCH_ERROR_MATCHER } from '../injection-tokens/public_api';

@Injectable()
export class DaffSearchIncrementalEffects<
Expand Down
6 changes: 2 additions & 4 deletions libs/search/state/src/effects/page.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 {
DaffSearchResult,
DAFF_SEARCH_ERROR_MATCHER,
} from '@daffodil/search';
import { DaffSearchResult } from '@daffodil/search';
import {
DaffSearchDriverInterface,
DaffSearchDriver,
Expand All @@ -31,6 +28,7 @@ import {
DaffSearchLoadSuccess,
DaffSearchLoadFailure,
} from '../actions/search.actions';
import { DAFF_SEARCH_ERROR_MATCHER } from '../injection-tokens/public_api';

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

export * from './search.module';
export * from './incremental.module';
Expand Down

0 comments on commit 8be4957

Please sign in to comment.