-
address
:
String -
ancestors
:
[ Group] -
articles
:
[ Article] -
boardMembers
:
[ GroupMember] -
canCreateThemes
:
Boolean -
canEditDetails(assert: String?)
→Boolean
Arguments
assert:
String?
-
canEditJoinPolicy(assert: String?)
→Boolean
Arguments
assert:
String?
-
canEditLydiaAccounts(assert: String?)
→Boolean
Arguments
assert:
String?
-
canEditMembers(assert: String?)
→Boolean
Arguments
assert:
String?
-
canEditPages
:
Boolean -
canEditParent(assert: String?)
→Boolean
Arguments
assert:
String?
-
canEditStudentAssociation(assert: String?)
→Boolean
Arguments
assert:
String?
-
canEditType(assert: String?)
→Boolean
Arguments
assert:
String?
-
canEditUnlisted(assert: String?)
→Boolean
Arguments
assert:
String?
-
canListPages
:
Boolean -
canSetGroupRoomOpenState
:
Boolean -
children
:
[ Group] -
coOrganizedEvents
:
[ Event] -
color
:
Color? -
createdAt
:
DateTime -
description
:
StringDéprécié
Use `shortDescription` instead
-
email
:
Email? -
events(after, before, first, last)
→Connection< Event>
Arguments
after:
String?
before:
String?
first:
Int?
last:
Int?
-
familyChildren
:
[ Group] -
familyId
:
ID? -
forms
:
[ Form] -
groupId
:
ID -
hasSeparateDarkPicture
:
Boolean -
id
:
ID -
isMember
:
Boolean -
ldapUid
:
String -
links
:
[ Link] -
localID
:
LocalID -
longDescription
:
String -
longDescriptionHtml
:
HTML -
lydiaAccounts
:
[ LydiaAccount] -
mailingList
:
String -
members(...)
→Connection< GroupMember>
Arguments
after:
String?
before:
String?
boardFirst:
Boolean
= true
first:
Int?
last:
Int?
-
membersCount(yearTiers: [ Int] = )
→Int
Arguments
yearTiers:
[ Int]
= []
-
membership
:
GroupMember? -
name
:
String -
ownEvents
:
[ Event] -
page(path: String)
→Page?
Arguments
path:
String
-
pages(after, before, first, last)
→Connection< Page>
Arguments
after:
String?
before:
String?
first:
Int?
last:
Int?
-
pagesCount
:
Int -
parent
:
Group? -
parentId
:
ID? -
pictureAltText
:
String -
pictureFile
:
String -
pictureFileDark
:
String -
pictureURL(dark: Boolean = false, timestamp: Boolean = true)
→String
Arguments
dark:
Boolean
timestamp:
Boolean
= true
-
president
:
GroupMember? -
related
:
[ Group] -
roomIsOpen
:
Boolean -
root
:
Group? -
searchMembers(q: String)
→[ GroupMemberSearchResult]
-
secretaries
:
[ GroupMember] -
selfJoinable
:
Boolean -
services
:
[ Service] -
shortDescription
:
String -
studentAssociation
:
StudentAssociation -
treasurers
:
[ GroupMember] -
type
:
Association | Club | Group | Integration | List | StudentAssociationSection -
uid
:
String -
unlisted
:
Boolean -
vicePresidents
:
[ GroupMember] -
website
:
String
Groupes
Groupes de personnnes: peut être un club, une association, un bureau d'AE, un groupe d'intégration ou un simple groupe (parfois dit "groupe informel").
Types
E
GroupJoinPolicy
E
GroupJoinPolicy
Closed
Open
GroupMember
GroupMember
-
canBeEdited
:
Boolean -
canEditArticles
:
Boolean -
canEditMembers
:
Boolean -
canScanEvents
:
Boolean -
createdAt
:
DateTime -
group
:
Group -
groupId
:
ID -
groupUid
:
UID -
isDeveloper
:
Boolean -
member
:
UserDéprécié
Utiliser `user`
-
memberId
:
ID -
onBoard
:
Boolean -
president
:
Boolean -
roleEmojis
:
String -
secretary
:
Boolean -
title
:
String -
treasurer
:
Boolean -
user
:
User -
userUid
:
UID -
vicePresident
:
Boolean
N
GroupMemberInput
N
GroupMemberInput
-
canEditArticles
:
Boolean? -
canEditMembers
:
Boolean? -
canScanEvents
:
Boolean? -
createdAt
:
DateTime? -
president
:
Boolean? -
secretary
:
Boolean? -
title
:
String? -
treasurer
:
Boolean? -
vicePresident
:
Boolean?
N
GroupProfileInput
N
GroupProfileInput
-
color
:
Color? -
email
:
Email? -
longDescription
:
Markdown? -
name
:
String? -
relatedGroups
:
[ UID]? -
room
:
String? -
shortDescription
:
String? -
unsetColor
:
Boolean? -
unsetEmail
:
Boolean?
E
GroupType
E
GroupType
Association
Club
Group
Integration
List
StudentAssociationSection
N
UpsertGroupInput
N
UpsertGroupInput
-
address
:
String -
color
:
String? -
description
:
String -
email
:
String? -
longDescription
:
String -
mailingList
:
String? -
name
:
String -
parent
:
UID? -
related
:
[ String] -
school
:
UID?Déprécié
N'a aucun effet, les groupes ne peuvent plus être reliés à des écoles directement
-
selfJoinable
:
Boolean -
studentAssociation
:
UID? -
type
:
Association | Club | Group | Integration | List | StudentAssociationSection -
uid
:
UID? -
website
:
String
Queries
group(uid: String)
→ Group
group(uid: String)
→ Group
groupMember(group: UID, user: UID)
→ GroupMember?
groupMember(group: UID, user: UID)
→ GroupMember?
groupMembersCsv(groupUid: String)
→ Error | QueryGroupMembersCsvSuccess | ZodError
groupMembersCsv(groupUid: String)
→ Error | QueryGroupMembersCsvSuccess | ZodError
Arguments
types:
[ GroupType]?
unlisted:
Boolean
searchGroups(q: String?, similarityCutoff: Float?)
→ [ GroupSearchResult]
searchGroups(q: String?, similarityCutoff: Float?)
→ [ GroupSearchResult]
Mutations
addGroupMember(groupUid: String, title: String, uid: String)
→ Result< GroupMember>
addGroupMember(groupUid: String, title: String, uid: String)
→ Result< GroupMember>
Déprécié
Utiliser `addGroupMemberV2` à la place
addGroupMemberV2(group: UID, title: String = Membre, user: UID)
→ Result< GroupMember>
addGroupMemberV2(group: UID, title: String = Membre, user: UID)
→ Result< GroupMember>
createGroup(name: String, studentAssociation: UID, type: GroupType = Group, uid: UID)
→ Result< Group>
createGroup(name: String, studentAssociation: UID, type: GroupType = Group, uid: UID)
→ Result< Group>
Arguments
name:
String
studentAssociation:
UID
type:
Association | Club | Group | Integration | List | StudentAssociationSection
= "Group"
uid:
UID
createGroupAccessToken(group: UID)
→ Result< Credential>
createGroupAccessToken(group: UID)
→ Result< Credential>
deleteGroup(uid: String)
→ Boolean
deleteGroup(uid: String)
→ Boolean
deleteGroupMember(group: UID, user: UID)
→ Result< GroupMember>
deleteGroupMember(group: UID, user: UID)
→ Result< GroupMember>
deleteGroupPicture(dark: Boolean, uid: String)
→ Boolean
deleteGroupPicture(dark: Boolean, uid: String)
→ Boolean
Déprécié
Use setPicture instead
selfJoinGroup(uid: UID)
→ Result< GroupMember>
selfJoinGroup(uid: UID)
→ Result< GroupMember>
setGoupRoomOpenState(group: UID, open: Boolean)
→ Group
setGoupRoomOpenState(group: UID, open: Boolean)
→ Group
Arguments
group:
UID
open:
Boolean
setGroupJoinPolicy(policy: Closed | Open, uid: UID)
→ Result< Group>
setGroupJoinPolicy(policy: Closed | Open, uid: UID)
→ Result< Group>
setGroupStudentAssociation(group: UID, studentAssociation: UID)
→ Result< Group>
setGroupStudentAssociation(group: UID, studentAssociation: UID)
→ Result< Group>
Arguments
type:
(Association | Club | Group | Integration | List | StudentAssociationSection)?
uid:
UID
unlisted:
Boolean?
setParentGroup(child: UID, parent: UID?)
→ Result< Group>
setParentGroup(child: UID, parent: UID?)
→ Result< Group>
Arguments
child:
UID
parent:
UID?
updateGroupMember(group: UID, input: GroupMemberInput, user: UID)
→ Result< GroupMember>
updateGroupMember(group: UID, input: GroupMemberInput, user: UID)
→ Result< GroupMember>
updateGroupPicture(dark: Boolean, file: File, uid: String)
→ String
updateGroupPicture(dark: Boolean, file: File, uid: String)
→ String
Déprécié
Use setPicture instead
updateGroupProfile(profile: GroupProfileInput, uid: UID)
→ Result< Group>
updateGroupProfile(profile: GroupProfileInput, uid: UID)
→ Result< Group>
upsertGroup(input: UpsertGroupInput, uid: UID?)
→ Result< Group>
upsertGroup(input: UpsertGroupInput, uid: UID?)
→ Result< Group>
Déprécié
Mutation séparée en plusieurs mutations plus spécifiques. Voir la documentation du module groups
upsertGroupMember(...)
→ GroupMember
upsertGroupMember(...)
→ GroupMember
Déprécié
Utiliser `updateGroupMember` et `addGroupMemberV2` à la place