@modelhealth/modelhealth
    Preparing search index...

    Interface ActivityTypeInfo

    The activity type as reported, carrying {id, name, slug, displayName} through unchanged — including a type this SDK build doesn't otherwise recognize.

    interface ActivityTypeInfo {
        description: string | null;
        displayName: string;
        id: number;
        isCustom: boolean | null;
        name: string;
        slug: string;
    }
    Index
    description: string | null

    Freeform description, or null on a type reported alongside an activity.

    displayName: string

    Human-readable label, e.g. "Counter Movement Jump".

    id: number
    isCustom: boolean | null

    Whether the type belongs to the account rather than being one everybody has, or null on a type reported alongside an activity.

    name: string

    Machine name, e.g. "counter_movement_jump".

    slug: string

    Machine-readable key, e.g. "squat_exercise".

    What to branch on: it is derived from the name once and then stays put, so renaming the type in the dashboard does not change it, while name and displayName both can. Empty when none was reported.