Skip to content

Karaoke

The karaoke module’s root lookups.

Field Type Description
karaoke IAudienceKaraoke! The instance’s IAudienceKaraoke mixin. Left out of the schema where its module isn’t installed.
Operation Returns Description
connectVenueKaraoke staffql only
input: VenueKaraokeConnectInput!
VenueKaraokeConnectPayload Connects a venue to its karaoke partner, or changes the connection: its standing session code and, for partners with an API, its API token, stored encrypted. Omitted arguments keep their value; an empty string clears it. requires karaoke:write:mine
disconnectVenueKaraoke staffql only
input: VenueKaraokeDisconnectInput!
VenueKaraokeDisconnectPayload Disconnects a venue from its karaoke partner and forgets its API token. Its karaoke nights stay karaoke nights, without a session. requires karaoke:write:mine
setEventKaraoke staffql only
input: EventKaraokeSetInput!
EventKaraokeSetPayload Marks an event as a karaoke night, or not, and links it to the session singers join that night on its venue’s karaoke partner. Without a session code of its own, a night uses its venue’s standing one. requires karaoke:write:mine or karaoke:write:my_troupes
verifyVenueKaraoke staffql only
input: VenueKaraokeVerifyInput!
VenueKaraokeVerifyPayload Checks a venue’s stored karaoke API token with its partner, without changing anything there. requires karaoke:write:mine

Object · implements IAudienceKaraoke

The local Karaoke implementation of the karaoke module’s root lookups.

Field Type Description
providers
after: String
before: String
first: Int
last: Int
KaraokeProviderConnection! The karaoke partners venues can connect, and what each supports.

Object · implements IKaraokeAccount

A venue’s AudienceKit karaoke connection (Karaoke::AudienceKit): no partner, no session. Singers sign up from the venue’s chat while a host is on, and the host calls them up (Venue.requests.karaoke).

Field Type Description
hasApiToken Boolean! Whether an API token for the partner is stored, e.g. KaraFun Box’s.
id ID! Unique identifier.
joinUrl String Where singers join its standing session.
lastError String Why the last check with the partner failed, if it did.
lastVerifiedAt ISO8601DateTime When the partner last accepted its token.
name String The venue’s name for its account on the partner.
provider KaraokeProvider! The karaoke partner.
sessionCode String Its standing session code, used by karaoke nights that have none of their own.

Object · implements IKaraokeAccount

A venue’s custom karaoke URL connection (Karaoke::CustomUrl): its standing session URL.

Field Type Description
hasApiToken Boolean! Whether an API token for the partner is stored, e.g. KaraFun Box’s.
id ID! Unique identifier.
joinUrl String Where singers join its standing session.
lastError String Why the last check with the partner failed, if it did.
lastVerifiedAt ISO8601DateTime When the partner last accepted its token.
name String The venue’s name for its account on the partner.
provider KaraokeProvider! The karaoke partner.
sessionCode String Its standing session code, used by karaoke nights that have none of their own.

Object · implements IKaraokeAccount

A venue’s KaraFun Business connection (Karaoke::KaraFun): its standing remote code and, for KaraFun Box, its Session Management API token.

Field Type Description
hasApiToken Boolean! Whether an API token for the partner is stored, e.g. KaraFun Box’s.
id ID! Unique identifier.
joinUrl String Where singers join its standing session.
lastError String Why the last check with the partner failed, if it did.
lastVerifiedAt ISO8601DateTime When the partner last accepted its token.
name String The venue’s name for its account on the partner.
provider KaraokeProvider! The karaoke partner.
sessionCode String Its standing session code, used by karaoke nights that have none of their own.

Object · implements IKaraokeNight

The local Karaoke implementation of a karaoke night.

Field Type Description
joinUrl String The partner’s page singers open to join the night’s session and request songs. Null without a session.
ownProvider String The night’s own provider, e.g. sing_along, set over its venue’s partner. Null when the night uses its venue’s.
ownSessionCode String The night’s own session code, set over its venue’s standing one. Null when the night uses its venue’s.
provider String The night’s karaoke provider, e.g. karafun or sing_along: its own, else its venue’s partner. Null when there is neither.
providerName String The partner’s name, e.g. KaraFun.
queue [KaraokeQueueEntry!] The singer queue that night, soonest first, when the venue’s partner lets the server read one (AudienceKit: the night’s karaoke signups from the chat). Null otherwise.
sessionCode String The partner’s session singers join that night, e.g. a KaraFun remote code: the night’s own, else its venue’s standing one.
singAlong Boolean! Whether the room sings along (provider sing_along): the night’s playlist (Event.playlist) plays with the lyrics on the venue’s screens.

Object · implements IProvider

A karaoke partner venues can connect, and what AudienceKit can do with it. Partners publish little, so the console offers only what a partner supports.

Field Type Description
key String! Its key, e.g. karafun.
name String! Its name, e.g. KaraFun.
readsQueue Boolean! Whether a night’s singer queue can be read from it.
searchesCatalog Boolean! Whether its song catalog can be searched.
sessions Boolean! Whether a karaoke night can be linked to its session, which singers join with a code.
singsAlong Boolean! Whether the room sings with the night’s playlist, lyrics on the venue’s screens, instead of singers taking turns.
verifies Boolean! Whether a venue’s API token can be checked with it on this server.

Object

The connection type for KaraokeProvider.

Field Type Description
edges [KaraokeProviderEdge] A list of edges.
nodes [KaraokeProvider] A list of nodes.
pageInfo PageInfo! Information to aid in pagination.

Object

An edge in a connection.

Field Type Description
cursor String! A cursor for use in pagination.
node KaraokeProvider The item at the end of the edge.

Object

One singer’s turn in a karaoke session’s queue, as the venue’s karaoke provider reads it (Karaoke::QueueEntry).

Field Type Description
artist String Who the song is by.
position Int! Their place in the queue, from 0.
singer String Who is singing, as they gave it.
songId ID The provider’s ID for the song or the turn, if it has one.
title String The song.

Object · implements IKaraokeAccount

A venue’s Sing-along karaoke (Karaoke::SingAlong): no partner and no singer queue. The room sings with the night’s playlist (Event.playlist) while the venue’s screens show the lyrics.

Field Type Description
hasApiToken Boolean! Whether an API token for the partner is stored, e.g. KaraFun Box’s.
id ID! Unique identifier.
joinUrl String Where singers join its standing session.
lastError String Why the last check with the partner failed, if it did.
lastVerifiedAt ISO8601DateTime When the partner last accepted its token.
name String The venue’s name for its account on the partner.
provider KaraokeProvider! The karaoke partner.
sessionCode String Its standing session code, used by karaoke nights that have none of their own.

Object · implements IVenueKaraoke

The local Karaoke implementation of a venue’s karaoke defaults.

Field Type Description
accounts [IKaraokeAccount!] Its connections to karaoke partners, each as its provider shows it. Admins and its listing managers only; null for everyone else. requires karaoke:read:mine
joinUrl String The partner’s page singers open to join its standing session. Null without one.
provider String Its karaoke partner, e.g. karafun. Null until it connects one.
providerName String The partner’s name, e.g. KaraFun.
queue [KaraokeQueueEntry!] The singer queue of its standing session, soonest first, when its partner lets the server read one (AudienceKit: tonight’s karaoke signups from the chat). Null otherwise.
sessionCode String Its standing session on the partner, e.g. a KaraFun remote code. Null when it has none, or the partner has no sessions.
tonight Boolean! Whether tonight is one of its karaoke nights: one of tonight’s events there is one (Event.karaoke). The apps show its karaoke only then.

Object · staffql only

Autogenerated return type of EventKaraokeSet.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
event staffql only Event! The event, after the change.

Object · staffql only

Autogenerated return type of VenueKaraokeConnect.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
karaokeAccount staffql only IKaraokeAccount! The connection, after the change.

Object · staffql only

Autogenerated return type of VenueKaraokeDisconnect.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
venue staffql only Venue! The venue, after the change.

Object · staffql only

Autogenerated return type of VenueKaraokeVerify.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
message staffql only String! What the partner said, for the admin.
ok staffql only Boolean! Whether the partner accepted the token.

Input · staffql only

Autogenerated input type of EventKaraokeSet

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
id staffql only ID! The ID of the event.
karaoke staffql only Boolean! Whether it is a karaoke night.
provider staffql only String Its own provider over its venue’s partner, e.g. sing_along. Omitted keeps the one it has; an empty string goes back to its venue’s.
sessionCode staffql only String The partner’s session code, or the join link singers are given. Omitted keeps the one it has; an empty string clears it.

Input · staffql only

Autogenerated input type of VenueKaraokeConnect

Field Type Description
apiToken staffql only String The partner’s API token, e.g. from KaraFun Box’s Dashboard > API.
clientMutationId staffql only String A unique identifier for the client performing the mutation.
name staffql only String The venue’s name for its account on the partner.
provider staffql only String! The partner, e.g. karafun.
sessionCode staffql only String Its standing session: a code, or the link singers are given.
venueId staffql only ID! The ID of the venue.

Input · staffql only

Autogenerated input type of VenueKaraokeDisconnect

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
venueId staffql only ID! The ID of the venue.

Input · staffql only

Autogenerated input type of VenueKaraokeVerify

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
venueId staffql only ID! The ID of the venue.

Interface · implemented by AudienceKaraokeView · mixin edge karaoke on Audience

The karaoke module’s root lookups.

Field Type Description
providers
after: String
before: String
first: Int
last: Int
KaraokeProviderConnection! The karaoke partners venues can connect, and what each supports.

Interface · implemented by AudienceKitKaraokeAccount, CustomUrlAccount, KaraFunAccount, SingAlongKaraokeAccount

A venue’s connection to a karaoke partner, as its provider shows it (Karaoke::Provider#account_type). Its API token is stored encrypted and never returned.

Field Type Description
hasApiToken Boolean! Whether an API token for the partner is stored, e.g. KaraFun Box’s.
id ID! Unique identifier.
joinUrl String Where singers join its standing session.
lastError String Why the last check with the partner failed, if it did.
lastVerifiedAt ISO8601DateTime When the partner last accepted its token.
name String The venue’s name for its account on the partner.
provider KaraokeProvider! The karaoke partner.
sessionCode String Its standing session code, used by karaoke nights that have none of their own.

Interface · implemented by KaraokeNightView · mixin edge karaoke on Event · facet tag karaoke

An event that is a karaoke night, run with its venue’s karaoke partner. A facet: only events marked as karaoke nights have it, not every event at a karaoke venue.

Field Type Description
joinUrl String The partner’s page singers open to join the night’s session and request songs. Null without a session.
ownProvider String The night’s own provider, e.g. sing_along, set over its venue’s partner. Null when the night uses its venue’s.
ownSessionCode String The night’s own session code, set over its venue’s standing one. Null when the night uses its venue’s.
provider String The night’s karaoke provider, e.g. karafun or sing_along: its own, else its venue’s partner. Null when there is neither.
providerName String The partner’s name, e.g. KaraFun.
queue [KaraokeQueueEntry!] The singer queue that night, soonest first, when the venue’s partner lets the server read one (AudienceKit: the night’s karaoke signups from the chat). Null otherwise.
sessionCode String The partner’s session singers join that night, e.g. a KaraFun remote code: the night’s own, else its venue’s standing one.
singAlong Boolean! Whether the room sings along (provider sing_along): the night’s playlist (Event.playlist) plays with the lyrics on the venue’s screens.

Interface · implemented by VenueKaraokeView · mixin edge karaoke on Venue · facet tag karaoke

A venue’s karaoke: its connections to karaoke partners, and the defaults its karaoke nights use unless they have their own. A facet: only venues connected to a partner have it.

Field Type Description
accounts [IKaraokeAccount!] Its connections to karaoke partners, each as its provider shows it. Admins and its listing managers only; null for everyone else. requires karaoke:read:mine
joinUrl String The partner’s page singers open to join its standing session. Null without one.
provider String Its karaoke partner, e.g. karafun. Null until it connects one.
providerName String The partner’s name, e.g. KaraFun.
queue [KaraokeQueueEntry!] The singer queue of its standing session, soonest first, when its partner lets the server read one (AudienceKit: tonight’s karaoke signups from the chat). Null otherwise.
sessionCode String Its standing session on the partner, e.g. a KaraFun remote code. Null when it has none, or the partner has no sessions.
tonight Boolean! Whether tonight is one of its karaoke nights: one of tonight’s events there is one (Event.karaoke). The apps show its karaoke only then.