skipcheck

TM1 client · Docs · The client

Tm1Response

import { Tm1Response } from "@skipcheck/tm1-client";

How the response body is read.

Members

Single staticOne JSON value, read as T.
Collection staticA collection, {"value":[...]}, streamed item by item as T.
Text staticPlain text, such as $value or $count.
Bytes staticRaw bytes, such as a document's content, streamed as DataBuffers as they arrive.
None staticNo content (or content that's ignored).

Single

static
"Single"

One JSON value, read as T.

Collection

static
"Collection"

A collection, {"value":[...]}, streamed item by item as T.

Text

static
"Text"

Plain text, such as $value or $count.

Bytes

static
"Bytes"

Raw bytes, such as a document's content, streamed as DataBuffers as they arrive.

None

static
"None"

No content (or content that's ignored).