module Schema = Graphql_lwt.Schema
module type S = sig ... end
GraphQL server
module type CONFIG = sig ... end
GraphQL server config
module type CUSTOM_TYPE = sig ... end
Custom GraphQL schema type and argument type for type t
.
module type CUSTOM_TYPES = sig ... end
GraphQL types for Irmin concepts (key, metadata, contents, hash and branch).
module Default_types : functor (S : Irmin.S) -> CUSTOM_TYPES with type key := S.key and type metadata := S.metadata and type contents := S.contents and type hash := S.hash and type branch := S.branch
Default GraphQL types for the Irmin store S
.
module Make : functor (Server : Cohttp_lwt.S.Server) -> functor (Config : CONFIG) -> functor (Store : Irmin.S) -> S with type repo = Store.repo and type server = Server.t
Create a GraphQL server with default GraphQL types for S
.
module Make_ext : functor (Server : Cohttp_lwt.S.Server) -> functor (Config : CONFIG) -> functor (Store : Irmin.S) -> functor (Types : CUSTOM_TYPES with type key := Store.key and type metadata := Store.metadata and type contents := Store.contents and type hash := Store.hash and type branch := Store.branch) -> S with type repo = Store.repo and type server = Server.t
Create a GraphQL server with custom GraphQL types.