Update GraphQL queries to match API changes

This commit is contained in:
Timothy Warren 2020-09-15 08:08:39 -04:00
parent 7584d0a935
commit 913f9082ef
5 changed files with 2070 additions and 2059 deletions

View File

@ -4,8 +4,8 @@
mutation (
$userId: ID!
$id: ID!,
$type: media_type!,
$status: LibraryEntryStatus!,
$type: MediaTypeEnum!,
$status: LibraryEntryStatusEnum!,
) {
libraryEntry {
create(input: {

View File

@ -6,7 +6,7 @@ mutation(
$ratingTwenty: Int,
$reconsumeCount: Int!,
$reconsuming: Boolean,
$status: LibraryEntryStatus!,
$status: LibraryEntryStatusEnum!,
) {
libraryEntry{
update(input: {

View File

@ -1,7 +1,7 @@
query (
$slug: String!,
$type: media_type!,
$status: [LibraryEntryStatus!],
$type: MediaTypeEnum!,
$status: [LibraryEntryStatusEnum!],
$after: String
) {
findProfileBySlug(slug: $slug) {

View File

@ -1,4 +1,4 @@
query ($slug: String!, $type: media_type!, $status: [LibraryEntryStatus!]) {
query ($slug: String!, $type: MediaTypeEnum!, $status: [LibraryEntryStatusEnum!]) {
findProfileBySlug(slug: $slug) {
library {
all(first: 1, mediaType: $type, status: $status) {

File diff suppressed because it is too large Load Diff