skipcheck

TM1 client · Docs · Versions and capabilities

Tm1SupportFact

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

What a range of TM1 versions does with a feature, beyond what their $metadata says: a declared endpoint that answers with nothing, a write a version drops or refuses. The generated model's Tm1SupportFacts.ALL holds every fact, from spec/tm1-api.json's support section, which is checked against real servers; every client has the same facts.

Members

observed propertyThe versions it was seen on.
Tm1SupportFact constructor@param feature a coverage-gate endpoint ID such as EntitySet Threads, or a write, by verb, type and property path, such as Patch User/Enabled @param from the first version it holds for, or null for every earlier one @param before the version it no longer holds from, or null for every later one @param observed the versions it was seen on.
feature property
status property
from property
before property
reason property
replacement property
condition property
equalsWhether other is the same fact.
appliesToWhether the fact holds for a version.
observedOnWhether the fact was seen on this very version, compared as versions are (so 11.8.3500.6 is 11.8.03500.6), rather than extrapolated to it.

observed

property
observed: readonly Tm1Version[]

The versions it was seen on: the range extrapolates from them.

Tm1SupportFact

constructor
constructor( readonly feature: string, readonly status: Tm1SupportStatus, readonly from: Tm1Version | null, readonly before: Tm1Version | null, observed: readonly Tm1Version[], readonly reason: string, readonly replacement: string | null = null, readonly condition: string | null = null, )

@param feature a coverage-gate endpoint ID such as EntitySet Threads, or a write, by verb, type and property path, such as Patch User/Enabled @param from the first version it holds for, or null for every earlier one @param before the version it no longer holds from, or null for every later one @param observed the versions it was seen on: the range extrapolates from them

Parameters

reason
what TM1 does, in words @param replacement the feature to use instead, or null
condition
for CONDITIONAL: the server setting it depends on, as a path in ActiveConfiguration, such as Administration/LegacyTransactionLog; otherwise null

feature

property
readonly feature: string

status

property
readonly status: Tm1SupportStatus

from

property
readonly from: Tm1Version | null

before

property
readonly before: Tm1Version | null

reason

property
readonly reason: string

replacement

property
readonly replacement: string | null

condition

property
readonly condition: string | null

equals

equals(other: unknown): boolean

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

appliesTo

appliesTo(version: Tm1Version | string): boolean

Whether the fact holds for a version: it's in [from, before).

observedOn

observedOn(version: Tm1Version | string): boolean

Whether the fact was seen on this very version, compared as versions are (so 11.8.3500.6 is 11.8.03500.6), rather than extrapolated to it.