Options
All
  • Public
  • Public/Protected
  • All
Menu

Class default

Hierarchy

Index

Constructors

constructor

Properties

allianceQuery

allianceQuery: { (params: Parameters, query: string, paginator?: false): Promise<Alliance[]>; (params: Parameters, query: string, paginator: true): Promise<AlliancePaginator> } = ...

Type declaration

    • Gets a list of alliances

      Parameters

      • params: Parameters

        Query parameters to customize your results

      • query: string

        The graphql query to get info with

      • Optional paginator: false

        Deliver the data in a paginated format

      Returns Promise<Alliance[]>

      The nations queried or as paginated

    • Parameters

      • params: Parameters
      • query: string
      • paginator: true

      Returns Promise<AlliancePaginator>

bankRecordsQuery

bankRecordsQuery: { (params: Parameters, query: string, paginator?: false): Promise<Bankrec[]>; (params: Parameters, query: string, paginator: true): Promise<BankrecPaginator> } = ...

Type declaration

    • Gets a list of bank records

      Parameters

      • params: Parameters

        Query parameters to customize your results

      • query: string

        The graphql query to get info with

      • Optional paginator: false

        If true it will return paginator info

      Returns Promise<Bankrec[]>

    • Parameters

      • params: Parameters
      • query: string
      • paginator: true

      Returns Promise<BankrecPaginator>

bountyQuery

bountyQuery: { (params: Parameters, query: string, paginator?: false): Promise<Bounty[]>; (params: Parameters, query: string, paginator: true): Promise<BountyPaginator> } = ...

Type declaration

    • Gets a list of bounties

      Parameters

      • params: Parameters

        Query parameters to customize your results

      • query: string

        The graphql query to get info with

      • Optional paginator: false

        If true it will return paginator info

      Returns Promise<Bounty[]>

    • Parameters

      • params: Parameters
      • query: string
      • paginator: true

      Returns Promise<BountyPaginator>

cityQuery

cityQuery: { (params: Parameters, query: string, paginator?: false): Promise<City[]>; (params: Parameters, query: string, paginator: true): Promise<CityPaginator> } = ...

Type declaration

    • Gets a list of cities

      Parameters

      • params: Parameters

        Query parameters to customize your results

      • query: string

        The graphql query to get info with

      • Optional paginator: false

        If true it will return paginator info

      Returns Promise<City[]>

    • Parameters

      • params: Parameters
      • query: string
      • paginator: true

      Returns Promise<CityPaginator>

colorQuery

colorQuery: (query: string) => Promise<Color[]> = ...

Type declaration

    • (query: string): Promise<Color[]>
    • Gets all color trade blocs

      Parameters

      • query: string

        The graphql query to get info with

      Returns Promise<Color[]>

nationQuery

nationQuery: { (params: Parameters, query: string, paginator?: false): Promise<Nation[]>; (params: Parameters, query: string, paginator: true): Promise<NationPaginator> } = ...

Type declaration

    • Gets a list of nations

      Parameters

      • params: Parameters

        Query parameters to customize your results

      • query: string

        The graphql query to get info with

      • Optional paginator: false

        Deliver the data in a paginated format

      Returns Promise<Nation[]>

      The nations queried or as paginated

    • Parameters

      • params: Parameters
      • query: string
      • paginator: true

      Returns Promise<NationPaginator>

tradePricesQuery

tradePricesQuery: { (params: Parameters, query: string, paginator?: false): Promise<Tradeprice[]>; (params: Parameters, query: string, paginator: true): Promise<TradepricePaginator> } = ...

Type declaration

    • Gets a list of trade prices

      Parameters

      • params: Parameters

        Query parameters to customize your results

      • query: string

        The graphql query to get info with

      • Optional paginator: false

        If true, returns paginator information

      Returns Promise<Tradeprice[]>

    • Parameters

      • params: Parameters
      • query: string
      • paginator: true

      Returns Promise<TradepricePaginator>

tradeQuery

tradeQuery: { (params: Parameters, query: string, paginator?: false): Promise<Trade[]>; (params: Parameters, query: string, paginator: true): Promise<TradePaginator> } = ...

Type declaration

    • Gets a list of trades

      Parameters

      • params: Parameters

        Query parameters to customize your results

      • query: string

        The graphql query to get info with

      • Optional paginator: false

        If true returns paginator info

      Returns Promise<Trade[]>

    • Parameters

      • params: Parameters
      • query: string
      • paginator: true

      Returns Promise<TradePaginator>

treasureQuery

treasureQuery: (query: string) => Promise<Treasure[]> = ...

Type declaration

    • Gets a list of all treasures

      Parameters

      • query: string

        The graphql query to get info with

      Returns Promise<Treasure[]>

warQuery

warQuery: { (params: Parameters, query: string, paginator?: false): Promise<War[]>; (params: Parameters, query: string, paginator: true): Promise<WarPaginator> } = ...

Type declaration

    • Gets a list of wars

      Parameters

      • params: Parameters

        Query parameters to customize your results

      • query: string

        The graphql query to get info with

      • Optional paginator: false

        if true it will return paginator info

      Returns Promise<War[]>

    • Parameters

      • params: Parameters
      • query: string
      • paginator: true

      Returns Promise<WarPaginator>

Generated using TypeDoc