One row of a cohort's membership, as the Members tab lists it: the stored entry (its shortcodeOrUuid handle and role) joined to whatever the handle resolves to.

A row is produced for every stored member, including one whose actor no longer resolves — a cohort must be able to show, and remove, a member it can no longer see. Such a row is named by its raw handle and reports isResolved: false.

interface CohortMemberRow {
    healthBand: undefined | HealthBand;
    healthBandLabel: undefined | string;
    healthPct: undefined | number;
    img: string;
    isLeader: boolean;
    isResolved: boolean;
    name: string;
    ref: string;
    role: string;
    roleLabel: string;
    uuid: null | string;
}

Properties

healthBand: undefined | HealthBand

The qualitative band for healthPct (Excellent…Dead), or undefined when there is no health to band. An internal token — display healthBandLabel instead.

healthBandLabel: undefined | string

Localization key for healthBand, or undefined when there is no band. Localized at render, as CohortMemberRow.roleLabel is.

healthPct: undefined | number

The member's health as a whole percentage of its maximum (0…100), or undefined when the handle does not resolve or the actor exposes no health.

img: string

The resolved actor's portrait, or "".

isLeader: boolean

Whether this member leads the cohort.

isResolved: boolean

Whether the handle resolved to an actor this client can see.

name: string

The resolved actor's name, falling back to the raw handle.

ref: string

The stored handle: a system.shortcode, or a UUID for a Token Actor.

role: string

The member's role within the cohort.

roleLabel: string

Localization key for role.

uuid: null | string

The resolved actor's UUID, or null when it does not resolve.