tercul-backend/internal/adapters/graphql/schema/work.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

24 lines
470 B
GraphQL

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
}