@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
34 lines (33 loc) • 1.26 kB
TypeScript
import type { ServiceModelProperties } from "../common/ServiceModelProperties";
/**
* Configuration for the search service.
*/
export interface SearchServiceProperties extends ServiceModelProperties {
/**
* Design-time property to store a Portal Item ID of a newly created Search
* app configuration. This property is required by Studio Search backend to
* register an app configuration.
*/
studioSearchAppPortalId?: string;
/**
* Both design- & runtime property to store a unique ID of a newly created
* Search app configuration.
*/
studioSearchAppId?: string;
/**
* Runtime property to store a Studio Search app configuration token.
*/
studioSearchAppToken?: string;
/**
* Runtime property to store an URL of Studio Search.
*/
studioSearchUrl?: string;
/**
* Allow search term to be broken up into sub-terms (tokenization). Disable
* if users are searching for known items such as IDs or addresses. Enable
* if users are searching to discover the existence of items. This setting
* applies only to Standard Esri Search (query backed search on Esri map and
* feature services). Defaults to 'true'.
*/
tokenizeSearchString?: boolean;
}