Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SearchApi

Hierarchy

  • SearchApi

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Static Private Readonly TypeEnumMap

TypeEnumMap: Record<TypeEnum, string> = ...

Methods

search

  • search<K>(param: { query: string; type?: TypeEnum } & PageParam<NoteProperties> & FieldsParam<K>): Promise<PageRes<Pick<NoteProperties, K> & CommonType>>
  • Type parameters

    • K: keyof NoteProperties

    Parameters

    • param: { query: string; type?: TypeEnum } & PageParam<NoteProperties> & FieldsParam<K>

    Returns Promise<PageRes<Pick<NoteProperties, K> & CommonType>>

Generated using TypeDoc