# Author domain operations
query GetAuthor($id: ID!) {
  author(id: $id) {
    id
    name
    biography
    createdAt
    updatedAt
  }
}

query Authors($limit: Int, $offset: Int, $search: String, $countryId: ID) {
  authors(limit: $limit, offset: $offset, search: $search, countryId: $countryId) {
    id
    name
    createdAt
  }
}

mutation CreateAuthor($input: AuthorInput!) {
  createAuthor(input: $input) {
    id
    name
    createdAt
  }
}
