mirror of
https://github.com/SamyRai/tercul-backend.git
synced 2025-12-27 05:11:34 +00:00
- 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
22 lines
412 B
GraphQL
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
|
|
}
|