Posts
A post on the shop’s page on kaladan.shop.
Its photos go through the platform’s file and media services, as a product’s
do. A post publishes only when every photo is READY: a page with a grey
square on it is worse than a post that waits a few seconds.
ID!
No description.
version
Section titled “version”Version!
No description.
caption
Section titled “caption”String!
Plain text with line breaks, at most 2,200 characters. A URL in it stays text and is never made a link.
status
Section titled “status”PostStatus!
No description.
[Image!]!
The photos, in order: one to ten to publish, and a draft may have none. Each
carries its own status; a post waits until all are READY.
products
Section titled “products”[Product!]!
The products it shows, in order, at most five. A tag is a reference, not a promise: a product taken off the showcase stays tagged here and is not drawn on kaladan.shop, and a deleted product’s tag is dropped.
isFeatured
Section titled “isFeatured”Boolean!
Whether it is kept at the top of the page. At most three are.
featuredAt
Section titled “featuredAt”DateTime
When it was featured. Null when it isn’t.
publishedAt
Section titled “publishedAt”DateTime
When it was first published. Kept through hiding and publishing again: it is the post’s place on the page.
removedReason
Section titled “removedReason”String
Why the platform took it down, in its own words. Null unless REMOVED. Shown
to the shop, never to a reader.
URL
Where it is on kaladan.shop while it is published. Null otherwise.
createdBy
Section titled “createdBy”StaffMember
Who created it.
createdAt
Section titled “createdAt”DateTime!
No description.
updatedAt
Section titled “updatedAt”DateTime!
No description.
PostConnection
Section titled “PostConnection”A page of posts.
[PostEdge!]!
No description.
[Post!]!
No description.
pageInfo
Section titled “pageInfo”PageInfo!
No description.
totalCount
Section titled “totalCount”Int
How many match across every page — when this page is the whole result. Null otherwise: the service behind this list does not count, and a number made up here would be a wrong one that looks right.
PostDeletePayload
Section titled “PostDeletePayload”What postDelete returns.
deletedPostId
Section titled “deletedPostId”ID
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
PostEdge
Section titled “PostEdge”One post in a page of them.
cursor
Section titled “cursor”String!
No description.
Post!
No description.
PostFilter
Section titled “PostFilter”Narrows a list of posts.
status
Section titled “status”[PostStatus!]
Only posts in these states. Omitted, every state.
featured
Section titled “featured”Boolean
Only featured posts, or only the rest. Omitted, both.
PostInput
Section titled “PostInput”What a post is made of. Partial on update: an omitted field is left alone, and a list sent replaces that list whole.
caption
Section titled “caption”String
At most 2,200 characters.
[PostMediaInput!]
The photos, in order, at most ten. Each entry keeps a photo already on this post or adds a new one from a staged upload.
productIds
Section titled “productIds”[ID!]
The products it shows, in order, at most five, each once.
PostMediaInput
Section titled “PostMediaInput”One photo in a post’s list: exactly one of mediaId and stagedUploadId.
mediaId
Section titled “mediaId”ID
A photo already on this post, kept in this place.
stagedUploadId
Section titled “stagedUploadId”ID
A new photo: the staged upload its bytes were PUT to (stagedUploadsCreate).
String
What a screen reader says, at most 512 characters.
PostPayload
Section titled “PostPayload”What the post mutations return.
Post
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
PostStatus
Section titled “PostStatus”Where a post is in its life.
| Value | Meaning |
|---|---|
DRAFT | Being written. Seen by the shop only. |
PUBLISHED | On the page. |
HIDDEN | Taken down by the shop, which can publish it again. |
REMOVED | Taken down by the platform. The shop can’t edit, publish or feature it, only delete it. |