/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
integration/graphql-code-first/schema.gql
34 строки
675 B
Kamil Myśliwiec
chore: upgrade apollo, fix integration tests
10 мар 2023, 19:15
Не верифицирован
10 мар 2023, 19:15
e63f5c0
Код
Авторство
О чём код?
# ------------------------------------------------------ # 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! }