src/lib/service/autocomplete/autocomplete.interface.ts
Represents an entry in the autocomplete response.
Properties |
selectable |
selectable:
|
Type : boolean
|
value |
value:
|
Type : string
|
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;
}