On this page
Properties

Type Alias FeatureBase

type FeatureBase = {
    id: string;
    language?: string;
    text: string;
    [text: `text_${string}`]: string;
    [language: `language_${string}`]: string;
}

Indexable

  • [text: `text_${string}`]: string

    A string analogous to the text field that matches the query in the requested language. This field is only returned when multiple languages are requested using the language parameter, and will be present for each requested language.

  • [language: `language_${string}`]: string

    A ISO 639-1 query's fallback language code. This field is only returned when multiple languages are requested using the language parameter, and will be present for each requested language.

Index

Properties

Properties

id: string

Unique feature ID

language?: string

Query's primary ISO 639-1 language code

text: string

Localized feature name

Was this helpful?
SDK JS
Reference
FeatureBase