Posts
The posts module’s root lookups. A venue’s posts are on it (Venue.posts).
Root fields
Section titled “Root fields”| Field | Type | Description |
|---|---|---|
posts |
IAudiencePosts! |
The instance’s IAudiencePosts mixin. Left out of the schema where its module isn’t installed. |
Mutations
Section titled “Mutations”| Operation | Returns | Description |
|---|---|---|
addEventPhotoinput: EventPhotoTakeInput! |
EventPhotoTakePayload |
Adds a photo taken with the app’s camera at a venue (only while the app places you there): it’s marked AMATEUR, credited to you, put on the event under way there, and tagged with whoever is on stage, so it shows on the venue’s, the event’s and their pages (IPosts.photos). requires posts:write:self |
createPost staffql onlyinput: PostCreateInput! |
PostCreatePayload |
Posts as a venue on the venue, one of its events or one of its series; or, with asPersonId, as a person (talent) on their own page or an event they’re on. Name exactly one of venueId, eventId, eventSeriesId and personId. requires posts:write:mine or posts:write:my_troupes |
createPostCommentinput: PostCommentCreateInput! |
PostCommentCreatePayload |
Comments on a venue’s or a person’s post, as the signed-in user. Someone banned from the venue’s chat can’t, and nobody can once its comments are closed. requires posts:write:self |
deletePost staffql onlyinput: PostDeleteInput! |
PostDeletePayload |
Removes a venue’s or a person’s post and its comments from the apps. requires posts:write:mine or posts:write:my_troupes |
hidePostFromEvent staffql onlyinput: PostHideFromEventInput! |
PostHideFromEventPayload |
Hides a talent’s post from its event, or shows it again: for the event venue’s managers and admins. requires posts:write:mine |
mutePostAuthorinput: PostAuthorMuteInput! |
PostAuthorMutePayload |
Hides a venue’s or a person’s posts from the signed-in user, or shows them again. Name exactly one of venueId and personId. requires posts:write:self |
removeEventPhotoinput: EventPhotoRemoveInput! |
EventPhotoRemovePayload |
Removes a photo you took with the app’s camera (addEventPhoto), from every page it was on. requires posts:write:self |
removePostCommentinput: PostCommentRemoveInput! |
PostCommentRemovePayload |
Removes a comment on a post: its author’s own, or any on a post for whoever manages its poster (the venue’s managers, the talent listing’s) and admins. requires posts:write:self or posts:moderate:mine |
updatePost staffql onlyinput: PostUpdateInput! |
PostUpdatePayload |
Changes a venue’s or a person’s post. Fields left out aren’t changed. requires posts:write:mine or posts:write:my_troupes |
Objects
Section titled “Objects”AudiencePostsView
Section titled “AudiencePostsView”Object · implements IAudiencePosts
The local Posts implementation of the posts module’s root lookups.
| Field | Type | Description |
|---|---|---|
postid: ID! |
Post |
A post in the audience by its UUID, unless removed. |
Object · implements HasTimestamps, Node
A post made as a venue or as a person (a talent listing): on the venue, one of its events or series, or the person’s own page. Shown as its poster.
| Field | Type | Description |
|---|---|---|
actingPersonName |
String |
On a troupe’s post, the member who wrote it for the troupe (“Kiki Riot for House of Lux”). |
body |
String! |
What it says. |
commentCount |
Int! |
How many comments it has. |
commentsafter: Stringbefore: Stringfirst: Intlast: Int |
PostCommentConnection! |
Its comments, oldest first. |
commentsOpen |
Boolean! |
Whether people can comment on it. |
createdAt |
ISO8601DateTime! |
When it was posted. |
edited |
Boolean! |
Whether its text changed after it was posted. |
event |
Event |
The event it’s on, if it’s on one. |
eventSeries |
EventSeries |
The series it’s on, if it’s on one. |
hiddenFromEvent |
Boolean! |
Whether the event’s venue hid this talent post from the event. It still shows on the person’s page. |
id |
ID! |
Its UUID. |
person |
Person |
The talent listing posting it, when a person posted. |
photoUrl |
PhotoURL |
Its first photo. |
photos |
[PostPhoto!]! |
Its photos, in order: at most four. |
pinned |
Boolean! |
Whether it is pinned above the others. |
posterAvatarUrl |
PhotoURL |
Its poster’s picture. |
posterName |
String! |
Who it shows as: the venue or the person, in full. |
roleLabel |
String |
The tag under the poster’s name: “Venue” for a venue; for talent on an event, their part (“MC”, “DJ”, “Act”, “Duet”, “Troupe”, “Host”); else null. |
updatedAt |
ISO8601DateTime! |
When it last changed. |
venue |
Venue |
The venue posting it; on a talent post, its event’s venue. Null on a talent post on their own page. |
viewerCanHideFromEvent |
Boolean! |
Whether the signed-in user may hide this talent post from its event: the event venue’s managers and admins. |
viewerCanManage |
Boolean! |
Whether the signed-in user may change it: whoever manages its poster (the venue, or the talent listing) and admins. |
visibility |
PostVisibility! |
Who can see it: members in the apps, or the web too. |
PostComment
Section titled “PostComment”Object · implements Node
Someone’s comment on a venue’s or a person’s post.
| Field | Type | Description |
|---|---|---|
authorAvatarUrl |
PhotoURL |
The author’s profile picture. |
authorId |
ID! |
The author’s user id, so apps can show friends by their full name, as in chat. |
authorName |
String! |
Who wrote it, as rooms show names (“Aurora B.”). |
body |
String! |
What they wrote. |
createdAt |
ISO8601DateTime! |
When. |
id |
ID! |
Its UUID. |
viewerCanRemove |
Boolean! |
Whether the signed-in user may remove it: its author, whoever manages its post’s poster, and admins. |
PostCommentConnection
Section titled “PostCommentConnection”Object
The connection type for PostComment.
| Field | Type | Description |
|---|---|---|
edges |
[PostCommentEdge] |
A list of edges. |
nodes |
[PostComment] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
PostCommentEdge
Section titled “PostCommentEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
PostComment |
The item at the end of the edge. |
PostConnection
Section titled “PostConnection”Object
The connection type for Post.
| Field | Type | Description |
|---|---|---|
edges |
[PostEdge] |
A list of edges. |
nodes |
[Post] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
PostEdge
Section titled “PostEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
Post |
The item at the end of the edge. |
PostPhoto
Section titled “PostPhoto”Object
One of a post’s photos.
| Field | Type | Description |
|---|---|---|
altText |
String |
What it shows, for screen readers. |
url |
PhotoURL |
The photo. |
PostsView
Section titled “PostsView”Object · implements IPosts
The local Posts implementation of a venue, event, series, person or locale’s posts.
| Field | Type | Description |
|---|---|---|
listafter: Stringbefore: Stringfirst: Intfrom: PostsFromlast: Int |
PostConnection! |
A venue’s own posts (as the venue, on it, its events and series); an event’s by its venue and the people on it; a series’; a person’s own; a locale’s updates from the last 14 days. Pinned first, then newest; a locale’s newest first. Posts from venues and people the viewer hid are left out. |
photosafter: Stringbefore: Stringfirst: Intlast: Intsources: [EventPhotoSource!] |
EventPhotoConnection! |
Photos of it: photographers’ and members’ taken with the app’s camera, newest first. A venue’s taken there; an event’s taken at it; a series’ at its events; a person’s those they were on stage in. None for a locale. Hidden photos, and members’ photos from people a block stands between the viewer and, are left out. |
Mutation payloads
Section titled “Mutation payloads”EventPhotoRemovePayload
Section titled “EventPhotoRemovePayload”Object
Autogenerated return type of EventPhotoRemove.
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
id |
ID! |
The ID of the photo removed. |
EventPhotoTakePayload
Section titled “EventPhotoTakePayload”Object
Autogenerated return type of EventPhotoTake.
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
photo |
EventPhoto! |
The photo, as it now shows. |
PostAuthorMutePayload
Section titled “PostAuthorMutePayload”Object
Autogenerated return type of PostAuthorMute.
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
muted |
Boolean! |
Whether their posts are now hidden. |
PostCommentCreatePayload
Section titled “PostCommentCreatePayload”Object
Autogenerated return type of PostCommentCreate.
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
comment |
PostComment! |
The comment. |
PostCommentRemovePayload
Section titled “PostCommentRemovePayload”Object
Autogenerated return type of PostCommentRemove.
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
comment |
PostComment! |
The comment, now removed. |
PostCreatePayload
Section titled “PostCreatePayload”Object · staffql only
Autogenerated return type of PostCreate.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
post staffql only |
Post |
The post; null once removed. |
PostDeletePayload
Section titled “PostDeletePayload”Object · staffql only
Autogenerated return type of PostDelete.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
deletedId staffql only |
ID! |
The ID of the post removed. |
post staffql only |
Post |
The post; null once removed. |
PostHideFromEventPayload
Section titled “PostHideFromEventPayload”Object · staffql only
Autogenerated return type of PostHideFromEvent.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
post staffql only |
Post! |
The post. |
PostUpdatePayload
Section titled “PostUpdatePayload”Object · staffql only
Autogenerated return type of PostUpdate.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
post staffql only |
Post |
The post; null once removed. |
Inputs
Section titled “Inputs”EventPhotoRemoveInput
Section titled “EventPhotoRemoveInput”Input
Autogenerated input type of EventPhotoRemove
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
id |
ID! |
The ID of the photo. |
EventPhotoTakeInput
Section titled “EventPhotoTakeInput”Input
Autogenerated input type of EventPhotoTake
| Field | Type | Description |
|---|---|---|
altText |
String |
What it shows, for screen readers. |
caption |
String |
A line about it. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
photo |
String! |
The image (JPEG, up to 10 MB), as a data: URI. |
venueId |
ID! |
The venue you’re at. |
PostAuthorMuteInput
Section titled “PostAuthorMuteInput”Input
Autogenerated input type of PostAuthorMute
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
muted |
Boolean |
Hide them (default) or show them. |
personId |
ID |
A talent listing. |
venueId |
ID |
A venue. |
PostCommentCreateInput
Section titled “PostCommentCreateInput”Input
Autogenerated input type of PostCommentCreate
| Field | Type | Description |
|---|---|---|
body |
String! |
What to say. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
postId |
ID! |
The post. |
PostCommentRemoveInput
Section titled “PostCommentRemoveInput”Input
Autogenerated input type of PostCommentRemove
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
id |
ID! |
The comment. |
PostCreateInput
Section titled “PostCreateInput”Input · staffql only
Autogenerated input type of PostCreate
| Field | Type | Description |
|---|---|---|
asPersonId staffql only |
ID |
Post as this talent listing of yours instead of as the venue. |
body staffql only |
String! |
What it says. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
commentsOpen staffql only |
Boolean |
Whether people can comment. Default: yes. |
eventId staffql only |
ID |
An event: at the venue, or one the person is on. |
eventSeriesId staffql only |
ID |
A series at the venue. |
personId staffql only |
ID |
The person’s own page; only with asPersonId. |
photo staffql only |
String |
One photo: an image URL, or an image uploaded as a data: URI. Use photos for more than one. |
photos staffql only |
[PostPhotoInput!] |
Up to four photos, in order. |
pinned staffql only |
Boolean |
Pin it above the others. |
venueId staffql only |
ID |
The venue itself. |
visibility staffql only |
PostVisibility |
Who can see it. Default: COMMUNITY. |
PostDeleteInput
Section titled “PostDeleteInput”Input · staffql only
Autogenerated input type of PostDelete
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The post. |
PostHideFromEventInput
Section titled “PostHideFromEventInput”Input · staffql only
Autogenerated input type of PostHideFromEvent
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
hidden staffql only |
Boolean |
Hide it (default) or show it again. |
id staffql only |
ID! |
The post. |
PostPhotoInput
Section titled “PostPhotoInput”Input · staffql only
One of a post’s photos.
| Field | Type | Description |
|---|---|---|
altText staffql only |
String |
What it shows, for screen readers. |
photo staffql only |
String! |
An image URL, or an image uploaded as a data: URI. |
PostUpdateInput
Section titled “PostUpdateInput”Input · staffql only
Autogenerated input type of PostUpdate
| Field | Type | Description |
|---|---|---|
body staffql only |
String |
What it says. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
commentsOpen staffql only |
Boolean |
Whether people can comment. |
id staffql only |
ID! |
The post. |
photo staffql only |
String |
A new single photo; an empty string removes them all. Use photos for more. |
photos staffql only |
[PostPhotoInput!] |
Its photos, replacing them all; an empty list removes them. |
pinned staffql only |
Boolean |
Pin it above the others, or unpin it. |
visibility staffql only |
PostVisibility |
Who can see it. |
Interfaces
Section titled “Interfaces”IAudiencePosts
Section titled “IAudiencePosts”Interface · implemented by AudiencePostsView · mixin edge posts on Audience
The posts module’s root lookups. A venue’s posts are on it (Venue.posts).
| Field | Type | Description |
|---|---|---|
postid: ID! |
Post |
A post in the audience by its UUID, unless removed. |
IPosts
Section titled “IPosts”Interface · implemented by PostsView · mixin edge posts on Venue, Event, EventSeries, Person, Locale
Posts on a venue, event, series or person, or a locale’s updates.
| Field | Type | Description |
|---|---|---|
listafter: Stringbefore: Stringfirst: Intfrom: PostsFromlast: Int |
PostConnection! |
A venue’s own posts (as the venue, on it, its events and series); an event’s by its venue and the people on it; a series’; a person’s own; a locale’s updates from the last 14 days. Pinned first, then newest; a locale’s newest first. Posts from venues and people the viewer hid are left out. |
photosafter: Stringbefore: Stringfirst: Intlast: Intsources: [EventPhotoSource!] |
EventPhotoConnection! |
Photos of it: photographers’ and members’ taken with the app’s camera, newest first. A venue’s taken there; an event’s taken at it; a series’ at its events; a person’s those they were on stage in. None for a locale. Hidden photos, and members’ photos from people a block stands between the viewer and, are left out. |
EventPhotoSource
Section titled “EventPhotoSource”Enum
Who took a photo of a venue or event (EventPhoto).
AMATEURA member’s, taken with the app’s camera there.PROFESSIONALA photographer’s, published from hedonism_bot.
PostsFrom
Section titled “PostsFrom”Enum
Whose posts a posts list shows (IPosts.list).
ALLEveryone.GOINGPosts on events the signed-in viewer is going to; none when they’re signed out.TALENTPosts made as people (talent listings).VENUESPosts made as venues.
PostVisibility
Section titled “PostVisibility”Enum
Who can see a post: members in the apps, or the whole internet too. Comments are never public.
COMMUNITYAnyone signed in to the apps. The default.PUBLICThe web too: its page on the audience’s site, share cards and search engines, while its poster is public as well.