1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-10-11 21:51:56 +00:00
* Added: Current Title rule for settings profiles. Matches against the title of the current stream or video. Allows for regular expressions.
* API Added: Added several methods for working with polls to the Twitch data module.
* Changed: Move queries into a separate file to reduce initial load file size.
* Fixed: Remove debug logging from stream up-time metadata.
* Fixed: Display the count of new settings on the FFZ menu button when not disabled.
* Maintenance: Updated to the current version of `displacejs`, no longer using a fork.
This commit is contained in:
SirStendec 2019-12-31 17:44:36 -05:00
parent 51eea310a8
commit a4a16af5e1
14 changed files with 464 additions and 102 deletions

View file

@ -0,0 +1,8 @@
mutation FFZ_ArchivePoll($id: ID!) {
archivePoll(input: {pollID: $id}) {
poll {
id
status
}
}
}

View file

@ -0,0 +1,12 @@
mutation FFZ_CreatePoll($input: CreatePollInput!) {
createPoll(input: $input) {
poll {
id
status
choices {
id
title
}
}
}
}

View file

@ -0,0 +1,25 @@
query FFZ_FetchPoll($id: ID!) {
poll(id: $id) {
id
status
title
ownedBy {
id
login
displayName
}
endedAt
startedAt
totalVoters
choices {
id
title
votes {
id
base
bits
total
}
}
}
}

View file

@ -0,0 +1,8 @@
mutation FFZ_TerminatePoll($id: ID!) {
terminatePoll(input: {pollID: $id}) {
poll {
id
status
}
}
}