AnsweredAssumed Answered

Error in importing ResponseFacetQueryList model and SearchFilterList model.

Question asked by rohit9637 on Nov 16, 2018

I am developing a custom search filter component. I am getting issue while importing ResponseFacetQueryList model, SearchFilterList model following is the issue:

 

ERROR in ./src/app/components/custom-search/custom-search-filter/custom-search-filter.component.ts
Module not found: Error: Can't resolve '@alfresco/adf-content-services/search/components/search-filter/models/response-facet-query-list.model'
ERROR in ./src/app/components/custom-search/custom-search-filter/custom-search-filter.component.ts
Module not found: Error: Can't resolve '@alfresco/adf-content-services/search/components/search-filter/models/search-filter-list.model'

 

This how I have imported.

 

import { ResponseFacetQueryList } from "@alfresco/adf-content-services/search/components/search-filter/models/response-facet-query-list.model";
import { SearchFilterList } from "@alfresco/adf-content-services/search/components/search-filter/models/search-filter-list.model";

Outcomes