tercul-backend/internal/adapters/graphql/schema/author.graphqls
Damir Mukimov d7390053b9
feat: Apply Jules AI changes - Search service implementation and refactoring
- Implement full-text search service with Weaviate integration
- Remove Bleve search implementation
- Add GraphQL schema files for search, work, author, and translation
- Refactor search domain interfaces
- Update Weaviate wrapper with integration tests
- Clean up unused search client files
2025-11-30 03:15:35 +01:00

22 lines
412 B
GraphQL

type Query {
author(id: ID!): Author
authors(limit: Int, offset: Int, search: String, countryId: ID): [Author!]
}
type Mutation {
createAuthor(input: AuthorInput!): Author!
updateAuthor(id: ID!, input: AuthorInput!): Author!
deleteAuthor(id: ID!): Boolean!
}
input AuthorInput {
name: String!
}
type Author {
id: ID!
name: String!
language: String!
biography: String
}