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 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
  • email: Email?
  • events(​after, ​before, ​first, ​last) →  GroupEventsConnection

    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: [ GroupMember]
  • 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?
  • secretaries: [ GroupMember]
  • selfJoinable: Boolean
  • services: [ Service]
  • shopItem(​id:  LocalID) →  ShopItem?
  • shopItems(​after, ​before, ​first, ​last) →  GroupShopItemsConnection

    Arguments

    • after: String?
    • before: String?
    • first: Int?
    • last: Int?
  • shopOrders: [ ShopPayment]
  • shortDescription: String
  • studentAssociation: StudentAssociation
  • treasurers: [ GroupMember]
  • type: Association | Club | Group | Integration | List | StudentAssociationSection
  • uid: String
  • unlisted: Boolean
  • vicePresidents: [ GroupMember]
  • website: String

E
GroupJoinPolicy

  • Closed
  • Open

GroupMember

  • canEditArticles: Boolean
  • canEditMembers: Boolean
  • canScanEvents: Boolean
  • createdAt: DateTime
  • group: Group
  • groupId: ID
  • isDeveloper: Boolean
  • member: User
  • memberId: ID
  • 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?

GroupSearchResult

  • group: Group
  • highlightedDescription: String
  • id: ID
  • rank: Float?
  • similarity: Float

E
GroupType

  • Association
  • Club
  • Group
  • Integration
  • List
  • StudentAssociationSection

N
UpsertGroupInput

  • address: String
  • color: String?
  • description: String
  • email: String?
  • longDescription: String
  • mailingList: String?
  • name: String
  • parent: UID?
  • related: [ String]
  • selfJoinable: Boolean
  • studentAssociation: UID?
  • type: Association | Club | Group | Integration | List | StudentAssociationSection
  • uid: UID?
  • website: String

Queries

group(​uid:  String) →  Group

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

Arguments

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

Mutations

addGroupMember(​groupUid:  String, ​title:  String, ​uid:  String) →  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(​groupId:  ID, ​memberId:  ID) →  Boolean

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

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

Churros API, version dev (at ab9f305)

Made with <3 by net7 net7

Documentation generated with Graphinx