DeclarativeConditionalFormattingValue
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Operand of a conditional formatting condition in the declarative model.
export type DeclarativeConditionalFormattingValue = {
kind: "none";
} | {
kind: "literal";
value: string | number;
} | {
kind: "literalRange";
from: number;
to: number;
} | {
kind: "absoluteDate";
from: string;
to: string;
} | {
kind: "relativeDate";
granularity: DeclarativeDateGranularity;
from: number;
to: number;
};
References: DeclarativeDateGranularity
Remarks
Relative date values use the DeclarativeDateGranularity vocabulary.