nestjs / nest
76,370 TypeScriptA progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
nest Specification
Located in integration/graphql-code-first/schema.gql on branch HEAD
Unknown
GRAPHQL
0.7 KB
Raw GRAPHQL Specification
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------
type Recipe {
id: ID!
title: String!
description: String
creationDate: Date!
ingredients: [String!]!
}
"""Date custom scalar type"""
scalar Date
type Query {
recipe(id: String!): Recipe!
recipes(skip: Int! = 0, take: Int! = 25): [Recipe!]!
}
type Mutation {
addRecipe(newRecipeData: NewRecipeInput!): Recipe!
removeRecipe(id: String!): Boolean!
}
input NewRecipeInput {
title: String!
description: String
ingredients: [String!]!
}
type Subscription {
recipeAdded: Recipe!
}