Collection

A collection of posts.

Implements

Connections

posts (PostConnection!)

Lookup posts which are part of the collection.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

topics (TopicConnection!)

Look up topics that are associated with the object.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Fields

coverImage (String)

Cover image for the collection.

Argument Type Description
height Int
width Int
createdAt (DateTime!)

Identifies the date and time when collection was created.

description (String)

Description of the collection in plain text.

featuredAt (DateTime)

Identifies the date and time when collection was featured.

followersCount (Int!)

Number of users following the collection.

id (ID!)

ID of the collection.

isFollowing (Boolean!)

Whether the viewer is following the collection or not.

name (String!)

Name of the collection.

tagline (String!)

Tagline of the collection.

url (String!)

Public URL of the goal.

user (User!)

User who created the collection.

userId (ID!)

ID of User who created the collection.