Interface TileProxy

A proxy class that wraps around tile get calls. Used to avoid putting Nomic login logic in deepscatter while fetching tiles with authentication.

Hierarchy

  • TileProxy

Properties

Properties

apiCall: ((endpoint: string, method: "GET", d1: unknown, d2: unknown, options: Record<string, string | number | boolean>) => Promise<Uint8Array>)

Type declaration

    • (endpoint: string, method: "GET", d1: unknown, d2: unknown, options: Record<string, string | number | boolean>): Promise<Uint8Array>
    • Parameters

      • endpoint: string
      • method: "GET"
      • d1: unknown
      • d2: unknown
      • options: Record<string, string | number | boolean>

      Returns Promise<Uint8Array>

Generated using TypeDoc