import { Action } from '@ngrx/store' ; import { SearchOptionModel } from '../models/search-option.model' ; export enum SearchActionTypes { SearchByTerm = 'SEARCH_BY_TERM' } export class SearchByTermAction implements Action { readonly type = SearchActionTypes . SearchByTerm ; constructor ( public payload , public searchOptions ? ) { } }