schema.graphql 872 B

1234567891011121314151617
  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(name: String!, projectVersion: ID!): Characterization!
  10. createUser(name: String!, email: String!, abbreviation: String!, password: String!): User!
  11. createProject(name: String!, abbreviation: String!, description: String): Project!
  12. createProjectVersion(name: String!, date: String!, project: ID!, changes: [String]): ProjectVersion!
  13. userLogin(email: String!, password: String!): User!
  14. userLogout: String!
  15. }