UNPKG

@yext/search-headless

Version:

A library for powering UI components for Yext Search integrations

24 lines (22 loc) 558 B
import { EnumOrLiteral } from '@yext/search-core'; /** * An enum which indicates the type of search that Headless is managing. * * @public */ export enum SearchTypeEnum { /** * Indicates that headless is managing universal search. */ Universal = 'universal', /** * Indicates that headless is managing vertical search. */ Vertical = 'vertical' } /** * An enum and its corresponding string literals which indicate the type of search that Headless is managing. * * @public */ export type SearchType = EnumOrLiteral<SearchTypeEnum>;