Methods (1)

Constants (1)

▶ SearchResultType enum (5 values)
'person'
'case'
'application'
'task'
'appointment'

Types (4)

▶ SearchResult 7 fields
interface SearchResult {
id: string
type: enum: "person", "case", "application", "task", "appointment"
title: string
score?: number
attributes: array[object]
createdAt: string
updatedAt: string
}
▶ SearchFacet 2 fields
interface SearchFacet {
type: enum: "person", "case", "application", "task", "appointment"
count: number
}
▶ SearchResultAttribute 4 fields
interface SearchResultAttribute {
field: string
label?: string
value: string
type: enum: "string", "date", "currency"
}
▶ SearchResultList 6 fields
interface SearchResultList {
items: array[object]
total: number
limit: number
offset: number
hasNext?: boolean
facets?: array[object]
}