Added graphql deps and models
Some checks failed
Docker Image CI / build (push) Has been cancelled

This commit is contained in:
2026-03-26 21:05:13 -04:00
parent 9a4569040f
commit f65a24da25
6 changed files with 688 additions and 352 deletions

25
models/graphql/typedef.ts Normal file
View File

@@ -0,0 +1,25 @@
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
}
`;