File

src/modules/generic-search/entities/search-state.entity.intf.ts

Description

This interface describes the object which is stored in @ngrx/store and used by the Generic Search to make its job.

Index

Properties

Properties

criteria
criteria: T
Type : T

Criteria to be used for a search.

hasBeenSearched
hasBeenSearched: boolean
Type : boolean
Optional

Indicates if the searchState has been already searched.

export interface StarkSearchState<T> {
	/**
	 * Indicates if the searchState has been already searched.
	 */
	hasBeenSearched?: boolean;

	/**
	 * Criteria to be used for a search.
	 */
	criteria: T;
}

results matching ""

    No results matching ""