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

Group implements Node, Pictured

  • 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: String

    Dé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: GroupType
    • Association
    • Club
    • Group
    • Integration
    • List
    • StudentAssociationSection
  • uid: String
  • unlisted: Boolean
  • vicePresidents: [ GroupMember]
  • website: String

E
GroupJoinPolicy

  • Closed
  • Open

GroupMember

  • canBeEdited: Boolean
  • canEditArticles: Boolean
  • canEditMembers: Boolean
  • canScanEvents: Boolean
  • createdAt: DateTime
  • group: Group
  • groupId: ID
  • groupUid: UID
  • isDeveloper: Boolean
  • member: User

    Dé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

  • canEditArticles: Boolean?
  • canEditMembers: Boolean?
  • canScanEvents: Boolean?
  • createdAt: DateTime?
  • president: Boolean?
  • secretary: Boolean?
  • title: String?
  • treasurer: Boolean?
  • vicePresident: Boolean?

N
GroupProfileInput

  • color: Color?
  • email: Email?
  • longDescription: Markdown?
  • name: String?
  • relatedGroups: [ UID]?
  • room: String?
  • shortDescription: String?
  • unsetColor: Boolean?
  • unsetEmail: Boolean?

Queries

group(​uid:  String) →  Group

groupMember(​group:  UID, ​user:  UID) →  GroupMember?

groups(​types:  [ GroupType]?, ​unlisted:  Boolean = false) →  [ Group]

Arguments

searchGroups(​q:  String?, ​similarityCutoff:  Float?) →  [ GroupSearchResult]

Mutations

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>

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>

    deleteGroup(​uid:  String) →  Boolean

    deleteGroupMember(​group:  UID, ​user:  UID) →  Result< GroupMember>

    deleteGroupPicture(​dark:  Boolean, ​uid:  String) →  Boolean

    Déprécié

    Use setPicture instead

    selfJoinGroup(​uid:  UID) →  Result< GroupMember>

    setGoupRoomOpenState(​group:  UID, ​open:  Boolean) →  Group

    Arguments

    • group: UID
    • open: Boolean

    setGroupJoinPolicy(​policy:  Closed | Open, ​uid:  UID) →  Result< Group>

    setGroupStudentAssociation(​group:  UID, ​studentAssociation:  UID) →  Result< Group>

    setGroupType(​type:  GroupType?, ​uid:  UID, ​unlisted:  Boolean?) →  Result< Group>

    Arguments

    • type: (Association | Club | Group | Integration | List | StudentAssociationSection)?
      • uid: UID
      • unlisted: Boolean?

      setParentGroup(​child:  UID, ​parent:  UID?) →  Result< Group>

      Arguments

      • child: UID
      • parent: UID?

      updateGroupPicture(​dark:  Boolean, ​file:  File, ​uid:  String) →  String

      Déprécié

      Use setPicture instead

      upsertGroupMember(​...) →  GroupMember

      Déprécié

      Utiliser `updateGroupMember` et `addGroupMemberV2` à la place

      Churros API, version dev (at 863fce2)

      Made with <3 by net7 net7

      Documentation generated with Graphinx