text: import { gql } from 'apollo-server-express'
  
  export default gql`
    extend type Mutation {
      createPost(body: String): Post @auth
      updatePost(body: String, postId: ID!): Post @auth
      deletePost(post: ID!): Boolean @auth
      likePost(id: ID!): Post @auth
    }
  
    extend type Query {
      getMyPosts (sort: Int ,limit: Int, skip: Int): [Post] @auth
      getUsersPosts (id: ID! sort: Int ,limit: Int, skip: Int): [Post] @auth
      getPosts (limit: Int, skip: Int, id: ID): [Post] @auth
    }
  
    type Post {
      id: ID!
      body: String!
      createdBy: User!
      comments: [Comment!] # // TODO: consider removing "!"
      likes: [User]
      lastComments: Comment
      createdAt: String!
      updatedAt: String!
    }
  `
  