# import * from './database/generated/prisma.graphql' type Query { users( where: UserWhereInput orderBy: UserOrderByInput skip: Int after: String before: String first: Int last: Int ): [User]! trainings( where: TrainingWhereInput orderBy: TrainingOrderByInput skip: Int after: String before: String first: Int last: Int ): [Training]! me: User! } type Mutation { createUser(name: String!, email: String!, password: String!): User! createTraining( title: String! type: TrainingType! content: [Input]! createdAt: DateTime! trainingDate: DateTime! participants: [Input]! ratings: [Input]! published: Boolean! ): Training! login(email: String!, password: String!): User! signup(name: String!, email: String!, password: String!): User! logout: String! }