Hierarchy

  • DevRegistry

Constructors

Properties

openSearchApis: OpensearchRequest

Methods

  • prepare payload for bulk insert

    Returns

    Parameters

    Returns Promise<undefined | BulkStats>

  • Parameters

    • queryTxt: string
    • filterOpts: DeveloperSearchPayload = ...

    Returns Promise<StandardResponse>

  • create new search index with data from file or gitlab repo

    Returns

    acknowledgement

    Returns Promise<{
        indexName: string;
        message: string[];
        status: number;
    }>

  • delete scroll snapshots

    Returns

    Parameters

    • ids: string[]

      scroll ids

    Returns Promise<any>

  • Parameters

    • filterOpts: DeveloperSearchPayload = ...

    Returns Promise<DocsCountResponse>

  • set alias to deploy a index, remove alias from old index

    Returns

    Parameters

    • indexName: string

    Returns Promise<{
        indexName: string;
        message: string[];
        status: number;
    }>

  • retrun Error response if

    Returns

    response

    Parameters

    • finalQuery: FilterOptionsSearch

      quey

    • limit: number

      limit

    Returns StandardResponse

  • call scroll docs

    Returns

    Parameters

    • filterOpts: DeveloperSearchPayload

      payload fields

    Returns Promise<StandardResponse>

  • Performs search & filter on the dApps in the registry. This always returns the dApps that are listed.

    Returns

    The filtered & sorted list of dApps

    Parameters

    • queryTxt: string

      The text to search for

    • filterOpts: DeveloperSearchPayload = ...

      The filter options. Defaults to { isListed: true}

    Returns Promise<StandardResponse>

  • Preppaire query for autocomplete search

    Returns

    Parameters

    • search: string
    • payload: DeveloperSearchPayload

    Returns {
        finalQuery: PaginationQuery;
    }

  • search by dapp id

    Returns

    if matches return dappInfo

    Parameters

    • id: string

    Returns Promise<StandardResponse>

  • search by Owner Address

    Returns

    if matches return dappInfo

    Parameters

    • ownerAddress: string

      dappId

    Returns Promise<StandardResponse>

  • Prepaire query for search, filters, search by id, tokens, ownerAddress

    Returns

    Parameters

    • search: string
    • payload: DeveloperSearchPayload

    Returns {
        finalQuery: PaginationQuery;
        limit: number;
    }

  • update multiple docs

    Returns

    Parameters

    Returns Promise<PromiseSettledResult<any>[]>

Generated using TypeDoc