Module Mina_graphql.Schema

type !'a enum_value = 'a Graphql_wrapper.Make(Graphql_async.Schema).enum_value = {
as_string : string;
value : 'a;
enum_value : 'a Graphql_async.Schema.enum_value;
}
val enum_value : ?doc:string -> ?deprecated:Graphql_async.Schema.deprecated -> string -> value:'a -> 'a enum_value
module Arg : sig ... end
module Fields : sig ... end
module Abstract_fields : sig ... end
module Subscription_fields : sig ... end
val field : ?doc:string -> ?deprecated:Graphql_async.Schema.deprecated -> string -> typ:( 'a, 'b ) Graphql_async.Schema.typ -> args:( 'c, 'b, 'd, 'e, 'f ) Arg.args -> resolve:( 'a Graphql_async.Schema.resolve_info -> 'g -> 'd ) -> ( 'a, 'g ) Graphql_async.Schema.field
val io_field : ?doc:string -> ?deprecated:Graphql_async.Schema.deprecated -> string -> typ:( 'a, 'b ) Graphql_async.Schema.typ -> args: ( 'c, ( 'b, Graphql_async.Schema.field_error ) Stdlib.result Graphql_async.Schema.Io.t, 'd, 'e, 'f ) Arg.args -> resolve:( 'a Graphql_async.Schema.resolve_info -> 'g -> 'd ) -> ( 'a, 'g ) Graphql_async.Schema.field
val subscription_field : ?doc:string -> ?deprecated:Graphql_async.Schema.deprecated -> string -> typ:( 'a, 'b ) Graphql_async.Schema.typ -> args: ( 'c, ( 'b Graphql_async.Schema.Io.Stream.t, Graphql_async.Schema.field_error ) Stdlib.result Graphql_async.Schema.Io.t, 'd, 'e, 'f ) Arg.args -> resolve:( 'a Graphql_async.Schema.resolve_info -> 'd ) -> 'a Graphql_async.Schema.subscription_field
val abstract_field : ?doc:string -> ?deprecated:Graphql_async.Schema.deprecated -> string -> typ:( 'a, 'b ) Graphql_async.Schema.typ -> args:( 'c, 'b, 'd, 'e, 'f ) Arg.args -> Graphql_async.Schema.abstract_field
val enum : ?doc:string -> string -> values:'a enum_value list -> ( 'b, 'a option ) Graphql_async.Schema.typ
module Propagated : sig ... end
val obj : ?doc:string -> string -> fields: ( ( 'a, 'b option ) Graphql_async.Schema.typ -> ( 'a, 'b ) Graphql_async.Schema.field list ) -> ( 'a, 'b option ) Graphql_async.Schema.typ
val schema : ?mutation_name:string -> ?mutations:( 'a, unit ) Graphql_async.Schema.field list -> ?subscription_name:string -> ?subscriptions:'a Graphql_async.Schema.subscription_field list -> ?query_name:string -> ( 'a, unit ) Graphql_async.Schema.field list -> 'a Graphql_async.Schema.schema
val interface : ?doc:string -> string -> fields: ( ( 'a, 'b ) Graphql_async.Schema.abstract_typ -> Graphql_async.Schema.abstract_field list ) -> ( 'a, 'b ) Graphql_async.Schema.abstract_typ
val non_null : ( 'a, 'b option ) Graphql_async.Schema.typ -> ( 'a, 'b ) Graphql_async.Schema.typ
val string : ( 'a, string option ) Graphql_async.Schema.typ
val list : ( 'a, 'b ) Graphql_async.Schema.typ -> ( 'a, 'b list option ) Graphql_async.Schema.typ
val bool : ( 'a, bool option ) Graphql_async.Schema.typ
val int : ( 'a, int option ) Graphql_async.Schema.typ
type ('a, 'b) typ = ( 'a, 'b ) Graphql_async.Schema.typ
val scalar : ?doc:string -> string -> coerce:( 'a -> Yojson.Basic.json ) -> ( 'b, 'a option ) Graphql_async.Schema.typ
type ('a, 'b) abstract_value = ( 'a, 'b ) Graphql_async.Schema.abstract_value
val guid : ( 'a, string option ) Graphql_async.Schema.typ
val add_type : ( 'a, 'b ) Graphql_async.Schema.abstract_typ -> ( 'a, 'c option ) Graphql_async.Schema.typ -> 'c -> ( 'a, 'b ) Graphql_async.Schema.abstract_value
val float : ( 'a, float option ) Graphql_async.Schema.typ
type !'ctx resolve_info = 'ctx Graphql_async.Schema.resolve_info = {
ctx : 'ctx;
field : Graphql_parser.field;
fragments : Graphql_async.Schema.fragment_map;
variables : Graphql_async.Schema.variable_map;
}
type 'a schema = 'a Graphql_async.Schema.schema
type ('a, 'b) field = ( 'a, 'b ) Graphql_async.Schema.field
type 'a subscription_field = 'a Graphql_async.Schema.subscription_field
type deprecated = Graphql_async.Schema.deprecated
type variable_map = Graphql_async.Schema.variable_map
type fragment_map = Graphql_async.Schema.fragment_map
val execute : 'a Graphql_async.Schema.schema -> 'a -> ?variables:Graphql_async.Schema.variables -> ?operation_name:string -> Graphql_parser.document -> [ `Response of Yojson.Basic.json | `Stream of Yojson.Basic.json Graphql_async.Schema.response Graphql_async.Schema.Io.Stream.t ] Graphql_async.Schema.response Graphql_async.Schema.Io.t
type !'a response = 'a Graphql_async.Schema.response
type variables = (string * Graphql_parser.const_value) list
type abstract_field = Graphql_async.Schema.abstract_field
val union : ?doc:string -> string -> ( 'a, 'b ) Graphql_async.Schema.abstract_typ
type ('a, 'b) abstract_typ = ( 'a, 'b ) Graphql_async.Schema.abstract_typ
module StringMap = Propagated.StringMap
module Io = Propagated.Io