@cfxlabsinc/b2b-services
    Preparing search index...
    CustomerDashboardMembership: Omit<
        SelectCustomerDashboardMembership,
        | "id"
        | "customerId"
        | "workspaceId"
        | "workspaceKind"
        | "userId"
        | "roleId"
        | "roleAssignedByUserId"
        | "workspaceExternalId"
        | "userExternalId"
        | "roleExternalId"
        | "roleAssignedByUserExternalId"
        | "data",
    > & Pick<
        SelectCustomerDashboardUser["data"],
        "email"
        | "firstName"
        | "lastName"
        | "emailConfirmed",
    > & {
        customerId: Customer["id"];
        customerListed: boolean;
        customerName: Customer["name"];
        isCfxStaff: boolean;
        isInternal: boolean;
        lastSeenAt: CustomerDashboardUser["lastSeenAt"];
        roleId: CustomerDashboardRole["id"] | null;
        roleName: CustomerDashboardRole["name"] | null;
        statusDescription: string;
        userId: CustomerDashboardUser["id"];
        workspaceId: Customer["workspaceId"];
    }

    One customer dashboard membership, whichever customer it is in.

    Type Declaration

    • customerId: Customer["id"]
    • customerListed: boolean

      The customer is live and onboarded, so its feed records the member's activity.

    • customerName: Customer["name"]
    • isCfxStaff: boolean

      A confirmed CFX staff email, from the stored row.

    • isInternal: boolean

      Holds an internal role.

    • lastSeenAt: CustomerDashboardUser["lastSeenAt"]

      When the user was last seen in any customer's dashboard.

    • roleId: CustomerDashboardRole["id"] | null
    • roleName: CustomerDashboardRole["name"] | null
    • statusDescription: string
    • userId: CustomerDashboardUser["id"]
    • workspaceId: Customer["workspaceId"]