# Work domain operations
query GetWork($id: ID!) {
  work(id: $id) {
    id
    name
    language
    createdAt
    updatedAt
  }
}

query Works($limit: Int, $offset: Int, $language: String, $authorId: ID, $tagId: ID, $search: String) {
  works(limit: $limit, offset: $offset, language: $language, authorId: $authorId, tagId: $tagId, search: $search) {
    id
    name
    language
    createdAt
  }
}

mutation CreateWork($input: WorkInput!) {
  createWork(input: $input) {
    id
    name
    language
    createdAt
  }
}
