1234567891011121314151617 |
- # import * from './database/generated/prisma.graphql'
- type Query {
- projects(where: ProjectWhereInput, orderBy: ProjectOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Project]!
- projectVersions(where: ProjectVersionWhereInput, orderBy: ProjectVersionOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [ProjectVersion]!
- uploads: [File]
- me: User!
- }
- type Mutation {
- createCharacterization(name: String!, projectVersion: ID!): Characterization!
- createUser(name: String!, email: String!, abbreviation: String!, password: String!): User!
- createProject(name: String!, abbreviation: String!, description: String): Project!
- createProjectVersion(name: String!, date: String!, project: ID!, changes: [String]): ProjectVersion!
- userLogin(email: String!, password: String!): User!
- userLogout: String!
- }
|