skipcheck

TM1 client · Docs · Versions and capabilities

Tm1Support

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

What a TM1 server does with one feature: the answer to Tm1Capabilities.status.

A feature is a coverage-gate endpoint ID, such as EntitySet Threads, ActionImport ExecuteMDX, Action Cube/Unload or Action Collection(Cube)/Op, or a write, by verb, type and property path, such as Patch User/Enabled.

Members

Tm1Support constructor@param feature the feature @param status what the server does with it.
feature property
status property
fact property
certified property
of staticWhat the facts say a version does with a feature, without its $metadata.
equalsWhether other is the same answer.

Tm1Support

constructor
constructor( readonly feature: string, readonly status: Tm1SupportStatus, readonly fact: Tm1SupportFact | null, readonly certified: boolean, )

@param feature the feature @param status what the server does with it: SUPPORTED if nothing says otherwise @param fact the fact the status comes from, or null if it comes from the server's $metadata or no fact covers the feature @param certified whether the status was seen on this very version: the server's own $metadata says so, or the fact was observed on it. A status extrapolated from other versions isn't, nor is SUPPORTED for want of a fact

Throws

RangeError if the feature isn't an endpoint ID or a write, or a fact is given for SUPPORTED, or one for another feature

feature

property
readonly feature: string

status

property
readonly status: Tm1SupportStatus

fact

property
readonly fact: Tm1SupportFact | null

certified

property
readonly certified: boolean

of

static
static of(feature: string, productVersion: Tm1Version | string | null | undefined, facts: readonly Tm1SupportFact[]): Tm1Support

What the facts say a version does with a feature, without its $metadata: the status of the fact whose range holds the version, or SUPPORTED if none does. Certified if the fact was observed on that very version. With no version, no fact applies.

Throws

RangeError if the feature isn't an endpoint ID or a write, or two facts for it hold the version

equals

equals(other: unknown): boolean

Whether other is the same answer: every component equal, the fact by value, as the Java record's equals.