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 static | What the facts say a version does with a feature, without its $metadata. |
equals | Whether other is the same answer. |
Tm1Support
constructorconstructor( 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
propertyreadonly feature: stringstatus
propertyreadonly status: Tm1SupportStatusfact
propertyreadonly fact: Tm1SupportFact | nullcertified
propertyreadonly certified: booleanof
staticstatic of(feature: string, productVersion: Tm1Version | string | null | undefined, facts: readonly Tm1SupportFact[]): Tm1SupportWhat 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): booleanWhether other is the same answer: every component equal, the fact by value, as the Java record's equals.