type Query {
    work(id: ID!): Work
    works(limit: Int, offset: Int, language: String, authorId: ID, categoryId: ID, tagId: ID, search: String): [Work!]
}

type Mutation {
    createWork(input: WorkInput!): Work!
    updateWork(id: ID!, input: WorkInput!): Work!
    deleteWork(id: ID!): Boolean!
}

input WorkInput {
    name: String!
    language: String!
    content: String
}

type Work {
    id: ID!
    name: String!
    language: String!
    content: String
}
