Hierarchy

  • DappStoreRegistryV1

Constructors

Properties

dappStoreRegistry: DappStoreRegistry
openSearchApis: OpensearchRequest

Methods

  • prepare payload for bulk insert

    Returns

    Parameters

    Returns Promise<undefined | PromiseSettledResult<BulkStats>[]>

  • Parameters

    • queryTxt: string
    • filterOpts: FilterOptionsSearch = ...

    Returns Promise<StandardResponse>

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

    Returns

    acknowledgement

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

  • Returns the list of dApps that are listed in the registry. You can optionally filter the results.

    Returns

    The list of dApps that are listed in the registry

    Parameters

    • filterOpts: FilterOptionsSearch = ...

      The filter options. Defaults to { isListed: true}

    Returns Promise<StandardResponse>

  • delete scroll snapshots

    Returns

    Parameters

    • ids: string[]

      scroll ids

    Returns Promise<any>

  • Get dapps count based on category and subcategory

    Returns

    Parameters

    • filterOpts: FilterOptionsSearch = ...

    Returns Promise<{
        data: any;
        message: string[];
        status: number;
        total: number;
    }>

  • get all dapp Ids matched for query

    Returns

    all Matched dappIds

    Parameters

    • dappId: string
    • size: number = 20

    Returns Promise<DocsCountResponse>

  • get all dapp Ids matched for query

    Returns

    all Matched dappIds

    Parameters

    • storeKey: null | string

    Returns Promise<StandardResponse>

  • Parameters

    • filterOpts: FilterOptionsSearch = ...

    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: FilterOptionsSearch

      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: FilterOptionsSearch = ...

      The filter options. Defaults to { isListed: true}

    Returns Promise<StandardResponse>

  • search by dapp id

    Returns

    if matches return dappInfo

    Parameters

    • queryTxt: string

      dappId

    Returns Promise<StandardResponse>

  • search by Owner Address

    Returns

    if matches return dappInfo

    Parameters

    • ownerAddress: string

      dappId

    Returns Promise<StandardResponse>

  • Parameters

    • index: string
    • body: string

    Returns Promise<any>

  • update multiple docs

    Returns

    Parameters

    • index: string

      string

    • body: DAppSchema[]

      { isVerfied: true, dappId }

    Returns Promise<PromiseSettledResult<any>[]>

Generated using TypeDoc