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.

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.

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.