Update GraphQL queries to match API changes
This commit is contained in:
parent
52aabc2b12
commit
47a4be2cf9
@ -4,8 +4,8 @@
|
|||||||
mutation (
|
mutation (
|
||||||
$userId: ID!
|
$userId: ID!
|
||||||
$id: ID!,
|
$id: ID!,
|
||||||
$type: media_type!,
|
$type: MediaTypeEnum!,
|
||||||
$status: LibraryEntryStatus!,
|
$status: LibraryEntryStatusEnum!,
|
||||||
) {
|
) {
|
||||||
libraryEntry {
|
libraryEntry {
|
||||||
create(input: {
|
create(input: {
|
||||||
|
@ -6,7 +6,7 @@ mutation(
|
|||||||
$ratingTwenty: Int,
|
$ratingTwenty: Int,
|
||||||
$reconsumeCount: Int!,
|
$reconsumeCount: Int!,
|
||||||
$reconsuming: Boolean,
|
$reconsuming: Boolean,
|
||||||
$status: LibraryEntryStatus!,
|
$status: LibraryEntryStatusEnum!,
|
||||||
) {
|
) {
|
||||||
libraryEntry{
|
libraryEntry{
|
||||||
update(input: {
|
update(input: {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
query (
|
query (
|
||||||
$slug: String!,
|
$slug: String!,
|
||||||
$type: media_type!,
|
$type: MediaTypeEnum!,
|
||||||
$status: [LibraryEntryStatus!],
|
$status: [LibraryEntryStatusEnum!],
|
||||||
$after: String
|
$after: String
|
||||||
) {
|
) {
|
||||||
findProfileBySlug(slug: $slug) {
|
findProfileBySlug(slug: $slug) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
query ($slug: String!, $type: media_type!, $status: [LibraryEntryStatus!]) {
|
query ($slug: String!, $type: MediaTypeEnum!, $status: [LibraryEntryStatusEnum!]) {
|
||||||
findProfileBySlug(slug: $slug) {
|
findProfileBySlug(slug: $slug) {
|
||||||
library {
|
library {
|
||||||
all(first: 1, mediaType: $type, status: $status) {
|
all(first: 1, mediaType: $type, status: $status) {
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user