🐳 Added graphql deps

This commit is contained in:
2025-07-14 11:58:42 -04:00
parent b332d9d75a
commit 136a7f494f
5 changed files with 1065 additions and 122 deletions

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

@@ -0,0 +1,24 @@
import { gql } from "graphql-tag";
export const typeDefs = gql`
type Query {
comic(id: ID!): Comic
comics(limit: Int = 10): [Comic]
}
type Comic {
id: ID!
title: String
volume: Int
issueNumber: String
publicationDate: String
coverUrl: String
creators: [Creator]
source: String
}
type Creator {
name: String
role: String
}
`;