Module Add_peers.Add_peers_inner

module Raw : sig ... end
type t_addPeers = {
host : string;
libp2pPort : int;
peerId : string;
}
type t = {
addPeers : t_addPeers array;
}
type t_variables = {
peers : Graphql_ppx_runtime.Json.t array;
seed : bool option;
}
and t_variables_NetworkPeer = {
libp2pPort : int;
host : string;
peerId : string;
}
val query : string

The GraphQL query

val parse : Raw.t -> t

Parse the JSON-compatible GraphQL data to ReasonML data types

val serialize : t -> Raw.t

Serialize the ReasonML GraphQL data that was parsed using the parse function back to the original JSON compatible data

val serializeVariables : t_variables -> Raw.t_variables
val serializeInputObjectNetworkPeer : t_variables_NetworkPeer -> Raw.t_variables_NetworkPeer
val makeVariables : peers:Encoders.NetworkPeer.input list -> ?seed:bool -> unit -> t_variables
val makeInputObjectNetworkPeer : libp2pPort:int -> host:string -> peerId:string -> unit -> t_variables_NetworkPeer
val unsafe_fromJson : Graphql_ppx_runtime.Json.t -> Raw.t
val toJson : Raw.t -> Graphql_ppx_runtime.Json.t
val variablesToJson : Raw.t_variables -> Graphql_ppx_runtime.Json.t