✅ 1. GraphQL 스키마와 타입 시스템

🧱 1.1 기본 타입 (type)

type Ability {
  id: Long!
  name: String!
  description: String
  createdTime: DateTime!
}


✏️ 1.2 입력 타입 (input)

input PageInput {
  page: Int!
  size: Int!
}


✅ 2. 쿼리와 뮤테이션

📥 2.1 쿼리 정의

query GetAbilityPageInWorkspace(
  $pageInput: PageInput!
  $workspaceId: Long!
  $filterInput: AbilityPageFilterInput!
) {
  abilityPageInWorkspace(
    pageInput: $pageInput
    workspaceId: $workspaceId
    filterInput: $filterInput
  ) {
    data {
      id
      name
    }
    page {
      ...PageFragment
    }
  }
}


🔁 2.2 뮤테이션 정의

mutation {
  createUser(input: { name: "영서", email: "[email protected]" }) {
    id
    name
  }
}