@cfxlabsinc/b2b-services
    Preparing search index...
    BankDashboardOwnMembership: Pick<
        BankDashboardMember,
        "status"
        | "statusDescription"
        | "roleId"
        | "roleName"
        | "isInternal",
    > & {
        bankId: Bank["id"];
        bankName: Bank["name"];
        dashboardDomain: Bank["dashboardDomain"];
        dashboardEnabled: Bank["dashboardEnabled"];
        isLastBank: boolean;
        permissionKeys: string[];
        roleRank: number;
        seenRecently: boolean;
        theme: Bank["theme"];
        workspaceId: SelectBankDashboardWorkspace["externalId"];
    }

    One of the caller's own memberships, whichever bank it is in.

    Type Declaration

    • bankId: Bank["id"]
    • bankName: Bank["name"]
    • dashboardDomain: Bank["dashboardDomain"]

      The host that brands the bank's sign-in page; no part of choosing a tenant.

    • dashboardEnabled: Bank["dashboardEnabled"]

      Whether the bank's dashboard is open to its members.

    • isLastBank: boolean

      The bank the caller last acted in (BankDashboardUserService.markSeen).

    • permissionKeys: string[]

      The role's keys in code-unit order; none without a role, for a refused internal role, or when not ACTIVE.

    • roleRank: number

      0 without a role, with an internal role that grants nothing, or when not ACTIVE.

    • seenRecently: boolean

      last_seen_at is within the markSeen throttle, so a same-bank mark would write nothing.

    • theme: Bank["theme"]
    • workspaceId: SelectBankDashboardWorkspace["externalId"]

      The bank's dashboard workspace, by its public bws_… id.