package irmin-graphql

  1. Overview
  2. Docs

Module Irmin_graphql.ServerSource

Sourcemodule Schema = Graphql_lwt.Schema
Sourcemodule type S = sig ... end

GraphQL server

Sourcemodule type CONFIG = sig ... end

GraphQL server config

Sourcemodule type CUSTOM_TYPE = sig ... end

Custom GraphQL schema type and argument type for type t.

Sourcemodule type CUSTOM_TYPES = sig ... end

GraphQL types for Irmin concepts (key, metadata, contents, hash and branch).

Sourcemodule Default_types (S : Irmin.Generic_key.S) : CUSTOM_TYPES with type path := S.path and type metadata := S.metadata and type contents := S.contents and type hash := S.hash and type branch := S.branch and type commit_key := S.commit_key and type contents_key := S.contents_key and type node_key := S.node_key

Default GraphQL types for the Irmin store S.

Create a GraphQL server with default GraphQL types for S.

Create a GraphQL server with custom GraphQL types.