Added comprehensive GraphQL mutations for CRUD operations on markdown files and schemas. Key features: - Complete mutation schema with structured payload types - Markdown file mutations: add, update with front matter support - Schema mutations: add, update, delete with JSON validation - CLI integration with `graphql-mutate` command - Comprehensive error handling and validation - Full test coverage with 24 test cases - Updated documentation with mutation examples and API usage Resolves issue #10: Expose a GraphQL Write Interface 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
No EOL
378 B
Python
12 lines
No EOL
378 B
Python
"""
|
|
GraphQL interface for MarkiTect - Issue #9
|
|
|
|
This package provides a GraphQL read interface for querying MarkiTect's
|
|
database content including Markdown files, ASTs, and schemas.
|
|
"""
|
|
|
|
from .schema import schema
|
|
from .server import GraphQLServer, GraphQLClient
|
|
from .resolvers import Query, Mutation
|
|
|
|
__all__ = ['schema', 'GraphQLServer', 'GraphQLClient', 'Query', 'Mutation'] |