schema.gql 843 Bytes
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------

input CreateMyInput {
  name: String!
  type: String
}

input CreatePostInput {
  category: String!
  content: String!
  title: String!
}

input GetPostInput {
  author: String
  category: String
  id: Float
}

type Mutation {
  createMyPage(createMyInput: CreateMyInput!): MyPage!
  createPost(input: CreatePostInput!): Post!
}

type MyPage {
  id: Int!
  name: String!
  type: String
}

type Post {
  author: String!
  category: String!
  content: String!
  created_date: String!
  id: Int!
  title: String!
  updated_date: String
}

type Query {
  getAllPosts: [Post!]!
  getPost(id: Float!): Post!
  getSomePosts(input: GetPostInput!): [Post!]!
  myPage: [MyPage!]!
}