Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val from_arg : 'a arg -> 'a Resto.Arg.t
val to_arg : 'a Resto.Arg.t -> 'a arg
val from_path : ('a, 'b) path -> ('a, 'b) Resto.Path.t
val to_path : ('a, 'b) Resto.Path.t -> ('a, 'b) path
and (!'a, !'b) query_fields = ('a, 'b) Resto.Internal.query_fields =
| F0 : ('a0, 'a0) query_fields
| F1 : ('a1, 'b0) query_field
* ('a1, 'c) query_fields -> ('a1, 'b0 -> 'c) query_fields
and (!'a, !'b) query_field = ('a, 'b) Resto.Internal.query_field =
| Single : {
name : string;
description : string option;
ty : 'b0 arg;
default : 'b0;
get : 'a0 -> 'b0;
} -> ('a0, 'b0) query_field
| Opt : {
name : string;
description : string option;
ty : 'b1 arg;
get : 'a1 -> 'b1 option;
} -> ('a1, 'b1 option) query_field
| Flag : {
} -> ('a2, bool) query_field
| Multi : {
name : string;
description : string option;
ty : 'b2 arg;
get : 'a3 -> 'b2 list;
} -> ('a3, 'b2 list) query_field
val from_query : 'a query -> 'a Resto.Query.t
val to_query : 'a Resto.Query.t -> 'a query
val field_name : ('a, 'b) query_field -> string
val field_description : ('a, 'b) query_field -> string option
val field_kind : ('a, 'b) query_field -> Resto.Description.query_kind
type (!'query, !'input, !'output, !'error) types =
('query, 'input, 'output, 'error)
Resto.MakeService(Tezos_rpc__.RPC_encoding).Internal.types =
{
query : 'query Resto.Query.t;
input : 'input input;
output : 'output Data_encoding.t;
error : 'error Data_encoding.t;
}
type (!+'a, !'prefix, !'params, !'query, !'input, !'output, !'error) iservice =
('a, 'prefix, 'params, 'query, 'input, 'output, 'error)
Resto.MakeService(Tezos_rpc__.RPC_encoding).Internal.iservice =
{
description : string option;
meth : 'a;
path : ('prefix, 'params) path;
types : ('query, 'input, 'output, 'error) types;
} constraint 'a = [< Resto.meth ]