···110110111111 The first type parameter indicates the method kind (query/get/changes/set/...),
112112 used for building result references. The second type parameter is the
113113- parsed response type, enabling type-safe parsing via {!parse}. *)
113113+ parsed response type, enabling type-safe parsing via {!val-parse}. *)
114114type (_, _) handle
115115116116val call_id : (_, _) handle -> string
···514514 providing compile-time type safety. *)
515515516516val parse_exn : (_, 'resp) handle -> Jmap_proto.Response.t -> 'resp
517517-(** [parse_exn handle response] is like {!parse} but raises on error. *)
517517+(** [parse_exn handle response] is like {!val-parse} but raises on error. *)
518518519519(** {1 JSON Helpers}
520520
···187187]
188188189189(** A dynamic header property request.
190190- Use {!Mail_header.header_property} for type-safe construction. *)
190190+ Use [Mail_header.header_property] for type-safe construction. *)
191191type header_property = [ `Header of Mail_header.header_property ]
192192193193(** Any Email property - standard or dynamic header. *)
···372372373373(** Extra arguments for Email/get beyond standard /get.
374374375375- Note: The standard [properties] argument from {!Proto_method.get_args}
375375+ Note: The standard [properties] argument from [Proto_method.get_args]
376376 should use {!property} variants converted via {!property_to_string}. *)
377377type get_args_extra = {
378378 body_properties : body_part_property list option;
+2-2
ocaml-jmap/lib/proto/proto_blob.mli
···40404141val expand_download_url : template:string -> download_vars -> string
4242(** [expand_download_url ~template vars] expands the download URL template
4343- with the given variables. Template uses {accountId}, {blobId},
4444- {type}, and {name} placeholders. *)
4343+ with the given variables. Template uses [\{accountId\}], [\{blobId\}],
4444+ [\{type\}], and [\{name\}] placeholders. *)
45454646(** {1 Blob/copy} *)
4747
+3-3
ocaml-jmap/lib/proto/proto_invocation.mli
···3737 result_reference
3838(** [result_reference_of_strings] creates a result reference, parsing
3939 the path string into a JMAP pointer.
4040- @raise Jsont.Error if the path is not a valid JMAP pointer. *)
4040+ @raise Jsont.exception-Error if the path is not a valid JMAP pointer. *)
41414242val result_reference_jsont : result_reference Jsont.t
4343···5959 This is the most common pattern in JMAP where result references are
6060 used to pass IDs between method calls.
61616262- @raise Jsont.Error if resolution fails or the result is not a string list. *)
6262+ @raise Jsont.exception-Error if resolution fails or the result is not a string list. *)
63636464val resolve :
6565 result_reference ->
···6969(** [resolve ref ~responses codec] resolves the result reference and
7070 decodes the extracted value with [codec].
71717272- @raise Jsont.Error if resolution fails or decoding fails. *)
7272+ @raise Jsont.exception-Error if resolution fails or decoding fails. *)
73737474(** {1 Invocations} *)
7575