src/lib/service/autocomplete/autocomplete.interface.ts
Represents the response from an autocomplete request.
Properties |
config |
config:
|
Type : literal type
|
entries |
entries:
|
Type : AutocompleteEntry[]
|
export interface AutocompleteEntry {
value: string;
selectable: boolean;
}
/**
* Represents the response from an autocomplete request.
*/
export interface AutocompleteResponse {
config: {
[key: string]: string;
};
entries: AutocompleteEntry[];
}
/**
* Represents the search parameters for an autocomplete request.
*/
export interface SearchParams {
[key: string]: string;
}