OBJECT
Member
Account of a member. One member can be managed by multiple users.
link GraphQL Schema definition
- type Member {
- # Unique identifier
- : Int!
- # First name
- : String!
- # Last name
- : String!
- # Gender
- : Gender!
- # Nickname
- : String!
- # Profile image
- # If not set, placeholder image is sent instead.
- : String!
- # Birthdate
- #
- # Rights: 'member.detail', can be accessed freely on self and on counselors
- : String
- # Is student? If true, 'school' and 'schoolClass' should be filled.
- #
- # Rights: 'member.detail', can be accessed freely on self
- : Boolean!
- # School, has valid info only if 'isStudent' is true
- #
- # Rights: 'member.detail', can be accessed freely on self
- : String
- # SchoolClass, has valid info only if 'isStudent' is true
- #
- # Rights: 'member.detail', can be accessed freely on self
- : String
- # Is employee? If true, 'job' and 'employer' should be filled.
- #
- # Rights: 'member.detail', can be accessed freely on self
- : Boolean!
- # Job, has valid info only if 'isEmployee' is true
- #
- # Rights: 'member.detail', can be accessed freely on self
- : String
- # Employer, has valid info only if 'isEmployee' is true
- #
- # Rights: 'member.detail', can be accessed freely on self
- : String
- # Contact email
- #
- # Rights: 'member.detail', can be accessed freely on self and on counselors
- : String!
- # Contact phone
- #
- # Rights: 'member.detail', can be accessed freely on self and on counselors
- : String
- # Home address
- #
- # Rights: 'member.detail', can be accessed freely on self
- : String!
- # Medical or other info
- #
- # Rights: 'member.detail', can be accessed freely on self
- : String
- # Does the member have any organization role with public info?
- #
- # Calculated
- : Boolean!
- # Birch leaf level
- : Int
- # Moto of the day
- : String
- # Array of additional counselor information, such as hobbies, contacts, ...
- : [CounselorInfo]!
- # Does the member have currently any valid membership?
- #
- # Calculated
- : Boolean!
- # List of all memberships of the member
- #
- # Rights: 'member.detail', can be accessed freely on self
- : [Membership]!
- # List of all membership requests of the member
- #
- # Rights: 'member.change-membership', can be accessed freely on self.
- : [MembershipRequest]!
- # Legal representatives
- #
- # Rights: 'member.detail', can be accessed freely on self
- : [Representative]!
- # All past and currently active certificates
- : [MembersToCertificates]!
- # Managers of the member account
- #
- # Rights: only on self
- : [UsersToMembers]!
- # Roles
- #
- # Rights: 'member.detail', can be accessed freely on self
- : [Role]!
- # Organization roles
- : [OrganizationRole]!
- # Events lead by the member.
- # This is a paged result.
- #
- # Arguments
- # sortOrder: Array of sorters
- # pageInput: Paged query input
- (: [SortOrder], : PageInput!): EventArrayPagedResult
- }
link Require by
- Articlenull
- AuthAsMutationMutation for operations as a specific member.
- AuthAsQueryQuery for operations as a specific member. This query contains most of the operations within the system.
- AuthMutationMutation for logged users
- AuthQueryQuery for logged users
- EventInformation about past or upcoming event
- EventAttendeeRelation table between registered members and events
- MemberArrayPagedResultPaged version of [Member]!
- MembershipRequestInformation about a membership request
- MembersToCertificatesRelation table between Member and Certificate (m-n relation)
- OrganizationRoleRepresents user role in the organization
- UsersToMembersRelation table between User and Member (m-n relation)