schema.graphql 684 B

123456789101112131415
  1. # import * from './database/generated/prisma.graphql'
  2. type Query {
  3. projects(where: ProjectWhereInput, orderBy: ProjectOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Project]!
  4. projectVersions(where: ProjectVersionWhereInput, orderBy: ProjectVersionOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [ProjectVersion]!
  5. uploads: [File]
  6. me: User!
  7. }
  8. type Mutation {
  9. createCharacterization(data: CharacterizationCreateInput!): Characterization!
  10. createUser(name: String!, email: String!, abbreviation: String!, password: String!): User!
  11. userLogin(email: String!, password: String!): User!
  12. userLogout: String!
  13. }