Represents a pattern for formatting the display name of a participant.

0.12.0

interface DisplayNamePattern<P> {
    name: string;
    operator:
        | "EQ"
        | "NEQ"
        | "GT"
        | "LS"
        | "GEQ"
        | "LEQ"
        | "CONTAINS";
    property: keyof P;
    sequence: SequenceItem[];
    value: P[keyof P];
}

Type Parameters

Properties

name: string

The name of the pattern.

operator:
    | "EQ"
    | "NEQ"
    | "GT"
    | "LS"
    | "GEQ"
    | "LEQ"
    | "CONTAINS"
property: keyof P
sequence: SequenceItem[]

List of sequences to evaluate the output

value: P[keyof P]