feat: support sending "new title" alerts to devices
This commit is contained in:
@@ -2,8 +2,7 @@ import { graphql } from "gql.tada";
|
||||
import { GraphQLClient } from "graphql-request";
|
||||
|
||||
import type { Title } from "~/types/title";
|
||||
|
||||
import { MediaFragment } from "./mediaFragment";
|
||||
import { MediaFragment } from "~/types/title/mediaFragment";
|
||||
|
||||
const GetTitleQuery = graphql(
|
||||
`
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
import { graphql } from "gql.tada";
|
||||
|
||||
export const MediaFragment = graphql(`
|
||||
fragment Media on Media {
|
||||
id
|
||||
idMal
|
||||
title {
|
||||
english
|
||||
userPreferred
|
||||
}
|
||||
type
|
||||
description
|
||||
episodes
|
||||
genres
|
||||
status
|
||||
bannerImage
|
||||
averageScore
|
||||
coverImage {
|
||||
extraLarge
|
||||
large
|
||||
medium
|
||||
}
|
||||
countryOfOrigin
|
||||
mediaListEntry {
|
||||
id
|
||||
progress
|
||||
status
|
||||
}
|
||||
nextAiringEpisode {
|
||||
timeUntilAiring
|
||||
airingAt
|
||||
episode
|
||||
}
|
||||
}
|
||||
`);
|
||||
Reference in New Issue
Block a user