@modelhealth/modelhealth
    Preparing search index...

    Interface SubjectGroup

    A named collection of subjects.

    for await (const group of client.groups.list()) {
    console.log(group.name, group.subjectCount);
    }
    interface SubjectGroup {
        canEdit: boolean;
        createdAt: Date;
        createdBy?: string;
        description: string;
        id: number;
        isOwner: boolean;
        lastActivity?: Date;
        name: string;
        subjectCount: number;
        totalActivities: number;
        trashed: boolean;
        trashedAt?: Date;
        updatedAt: Date;
    }
    Index
    canEdit: boolean

    Whether the authenticated account can edit this group.

    createdAt: Date

    When the group was created.

    createdBy?: string

    Username of the account that created this group, if reported.

    description: string

    Freeform description, or an empty string if none was set.

    id: number
    isOwner: boolean

    Whether the authenticated account owns this group.

    lastActivity?: Date

    Timestamp of the most recent activity across the group, if there is one.

    name: string
    subjectCount: number

    Number of subjects in this group.

    totalActivities: number

    Total activities recorded across every subject in this group.

    trashed: boolean

    Whether the group is in the trash.

    trashedAt?: Date

    When the group was trashed, if it is.

    updatedAt: Date

    When the group was last modified.