Files
Rishi Ghan f65a24da25
Some checks failed
Docker Image CI / build (push) Has been cancelled
Added graphql deps and models
2026-03-26 21:05:13 -04:00

26 lines
359 B
TypeScript

import { gql } from "graphql-tag";
export const typeDefs = gql`
scalar JSON
input AddTorrentInput {
torrentToDownload: String!
comicObjectId: ID!
}
type AddTorrentResult {
result: JSON
}
type Query {
_empty: String
}
type Mutation {
"""
Add a torrent to qBittorrent
"""
addTorrent(input: AddTorrentInput!): AddTorrentResult
}
`;