Posts

Les différents posts publiés par les différents groupes

Appelés Articles dans le code pour des soucis de rétrocompatibilité. Sera renommé en Post partout dans le futur.

Types

Article implements Commentable, Pictured, Reactable

  • author: User?
  • authorId: ID?
  • body: String
  • bodyHtml: String
  • bodyPreview: String
  • canBeEdited: Boolean
  • comments(​after, ​before, ​first, ​last) →  Connection< Comment>

    Arguments

    • after: String?
    • before: String?
    • first: Int?
    • last: Int?
  • createdAt: DateTime
  • event: Event?
  • eventId: ID?
  • group: Group
  • groupId: ID
  • id: ID
  • links: [ Link]
  • localID: LocalID
  • myReactions: BooleanMap
  • notifiedAt: DateTime?
  • pictureFile: String
  • pictureFileDark: String
  • pictureURL(​dark:  Boolean = false) →  String

    Arguments

    • dark: Boolean
  • published: Boolean
  • publishedAt: DateTime
  • reacted(​emoji:  String) →  Boolean
  • reactionCounts: Counts
  • reactions(​emoji:  String) →  Int
  • slug: String
  • title: String
  • uid: String
  • visibility: GroupRestricted | Private | Public | SchoolRestricted | Unlisted

ArticleSearchResultType

  • article: Article
  • highlightedTitle: String
  • id: ID
  • rank: Float?
  • similarity: Float

Queries

articleID(​group:  UID, ​slug:  String) →  LocalID?

LIVE homepage(​after:  String?, ​before:  String?, ​first:  Int?, ​last:  Int?) →  Connection< Article>

Mutations

deleteArticle(​id:  ID) →  Boolean

deleteArticlePicture(​id:  ID) →  Boolean

updateArticlePicture(​file:  File, ​id:  ID) →  String

upsertArticle(​...) →  Result< Article>

Subscriptions

article(​id:  LocalID) →  Article

homepage(​after:  String?, ​before:  String?, ​first:  Int?, ​last:  Int?) →  Connection< Article>

Churros API, version 1.71.0 (at 242e0c3)

Made with <3 by net7 net7

Documentation generated with Graphinx