Time-series data result. Raw/latest queries populate data; aggregate queries populate aggregates.

interface ESPRMNeoTSDataResult {
    aggregates?: ESPRMNeoTSAggregateEntry[];
    data: ESPRMNeoTSDataPoint[];
    fetchNext?: () => Promise<ESPRMNeoTSDataResult>;
    hasNext?: boolean;
    nextKey?: string;
    pageTotal?: number;
}

Properties

Aggregate entries (aggregate queries only).

Data points, newest first (raw/latest queries; empty for aggregates).

fetchNext?: () => Promise<ESPRMNeoTSDataResult>

Resolves the next page with the same query; set only when hasNext.

hasNext?: boolean

True when more pages exist (see ESPRMNeoTSDataResult.fetchNext).

nextKey?: string

Pass back as startKey to fetch the next page; absent on the last page.

pageTotal?: number

Number of items in this page, as reported by the backend.