123456789101112131415161718192021222324252627282930313233343536373839 |
- scalar Upload
- type Query {
- projects: [Project]!
- uploads: [File]
- me: User!
- }
- type Mutation {
- uploadFile(file: Upload!): File!
- createUser(name: String!, email: String!, abbreviation: String!, password: String!): User!
- userLogin(email: String!, password: String!): User!
- userLogout: String!
- }
- type User {
- id: ID!
- email: String!
- name: String!
- abbreviation: String!
- password: String!
- images: [File]!
- }
- type File {
- id: ID!
- path: String!
- filename: String!
- mimetype: String!
- size: Int!
- }
- type Project {
- id: ID!
- name: String!
- abbreviation: String!
- description: String
- images: [File]!
- }
|