@cfxlabsinc/b2b-services
    Preparing search index...

    One admin.dashboard_user: a cfx-admin Cognito identity, keyed on cognitoSub, with its single role.

    type AdminDashboardUser = {
        cognitoSub: string | null;
        colorScheme: ColorScheme;
        colorSchemeDescription: string;
        createdAt: Date;
        email: string;
        firstName?: string;
        googleHostedDomain?: string;
        id: string;
        lastName?: string;
        lastSeenAt: Date;
        passkeyEnrolledAt: Date | null;
        roleAssignedAt: Date | null;
        roleAssignedByUserId: AdminDashboardUser["id"] | null;
        roleAssignedByUserName: string | null;
        roleId: AdminDashboardRole["id"] | null;
        roleName: AdminDashboardRole["name"] | null;
        status: "ACTIVE" | "DISABLED";
        statusDescription: string;
        timeZone: TimeZonePreference;
        updatedAt: Date;
    }
    Index
    cognitoSub: string | null

    The cfx-admin Cognito sub; for lookup, never returned through external APIs. null on a pre-cutover row not yet signed in through Cognito.

    colorScheme: ColorScheme

    Their appearance preference; system follows the OS.

    colorSchemeDescription: string
    createdAt: Date
    email: string
    firstName?: string
    googleHostedDomain?: string
    id: string

    adusr_…

    lastName?: string
    lastSeenAt: Date
    passkeyEnrolledAt: Date | null

    When the operator's Cognito login was first seen holding a passkey; null while it holds none.

    roleAssignedAt: Date | null
    roleAssignedByUserId: AdminDashboardUser["id"] | null

    Who assigned the current role; null for none or the bootstrap grant.

    roleAssignedByUserName: string | null
    roleId: AdminDashboardRole["id"] | null

    null when unassigned.

    roleName: AdminDashboardRole["name"] | null
    status: "ACTIVE" | "DISABLED"
    statusDescription: string

    Their display time zone; auto uses the request's, then UTC.

    updatedAt: Date