Hierarchy

  • BaseService
    • AutocompleteService

Constructors

Properties

baseUrl: string = ...
queryStringParams: {
    disableSpellcheck: string;
    facet: string;
    page: string;
    pageSize: string;
    query: string;
    searchWithin: string;
    sort: string;
} = ...

Type declaration

  • disableSpellcheck: string
  • facet: string
  • page: string
  • pageSize: string
  • query: string
  • searchWithin: string
  • sort: string
searchUrl: string = ...

Methods

  • Returns string

  • Parameters

    • prefix: undefined | string
    • url: undefined | string

    Returns undefined | string

  • Returns string

  • Returns string

  • Type Parameters

    • T

    Parameters

    • relativeUrl: string
    • Optional body: any

    Returns Promise<T>

  • Parameters

    • input: string

    Returns string

  • Type Parameters

    • T

    Parameters

    Returns void

  • Type Parameters

    • T

    Parameters

    • name: string
    • data: T

    Returns void