Admin API / Types
MemberViewerState
ObjectThe caller's relation to one member. Each value uses the check of the operation that it predicts.
type MemberViewerStateFields
| Field | Type | Description |
|---|---|---|
assignableRoles | [MarketplaceRole!]! | Roles that updateMemberRole accepts for this member now, the current role included. Each is below the caller's role and is not OWNER, has a free seat in the plan's seller and admin limits, and does not give RoleChangeNeedsDashboardError. Empty when the caller's role is below ADMIN or not above the member's stored role. |
canUnban | Boolean! | Whether unbanUser can succeed for this member now, plan limits included. False when the member is not banned, when the caller's role is below MODERATOR or not above the member's stored role, or when the plan's seller or admin limit has no free seat for the member's stored role. |