schema.graphql 412 B

123456789101112
  1. # import * from '../database/generated/prisma.graphql'
  2. type Query {
  3. users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User]!
  4. me: User!
  5. }
  6. type Mutation {
  7. createUser(name: String!, email: String!, abbreviation: String!, password: String!): User!
  8. userLogin(email: String!, password: String!): User!
  9. userLogout: String!
  10. }