angee.spaces.schema
GraphQL resources for shared groups, rosters, and their group threads.
SpaceGroupType
python
@strawberry_django.type(Group)
class SpaceGroupType(AngeeNode)GraphQL projection of a shared group.
SpaceMembershipType
python
@strawberry_django.type(Membership)
class SpaceMembershipType(AngeeNode)GraphQL projection of one role-bearing group roster row.
SpaceThreadType
python
@strawberry_django.type(Thread)
class SpaceThreadType(AngeeNode)Read-only projection of a messaging group thread bound to a space.
SpacesMembershipMutation
python
@strawberry.type
class SpacesMembershipMutation()Human decisions on suggested roster rows.
add_space_membership
python
@strawberry.mutation
def add_space_membership(
info: strawberry.Info, group_id: strawberry.ID,
party_id: strawberry.ID,
role: MembershipSource.MembershipRole) -> SpaceMembershipTypeAdd or confirm one party in a writable group at the selected role.
confirm_membership
python
@strawberry.mutation
def confirm_membership(info: strawberry.Info,
id: strawberry.ID) -> SpaceMembershipTypeConfirm a roster row and reconcile its role relationship.
dismiss_membership
python
@strawberry.mutation
def dismiss_membership(info: strawberry.Info,
id: strawberry.ID) -> SpaceMembershipTypeDismiss a roster row and revoke its role relationship.