Module Set_snark_worker.Set_snark_worker_inner

module Raw : sig ... end
type t_setSnarkWorker = {
lastSnarkWorker : Graphql_lib.Scalars.PublicKey.t option;
}
type t = {
setSnarkWorker : t_setSnarkWorker;
}
type t_variables = {
public_key : Graphql_ppx_runtime.Json.t option;
}
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 makeVariables : ?public_key:Encoders.PublicKey.input -> unit -> t_variables
val makeDefaultVariables : unit -> t_variables
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