Cephalopod_models.Com_Atproto_Label_SubscribeLabels
lexicon "com.atproto.label.subscribeLabels"
type main_msg = [
| `Com_atproto_label_subscribelabels_labels of
Types.com_atproto_label_subscribelabels_labels
| `Com_atproto_label_subscribelabels_info of
Types.com_atproto_label_subscribelabels_info
| `Other of Cephalopod_dasl.Value.t
Non closed union
*) ]
val pp_main_msg :
Ppx_deriving_runtime.Format.formatter ->
main_msg ->
Ppx_deriving_runtime.unit
val show_main_msg : main_msg -> Ppx_deriving_runtime.string
val main_msg_of_value :
type_tag:string ->
main_msg Cephalopod_dasl.Value.Util.conv
val main_msg_to_value : main_msg -> Cephalopod_dasl.Value.t
val pp_main_params :
Ppx_deriving_runtime.Format.formatter ->
main_params ->
Ppx_deriving_runtime.unit
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : ?cursor:int64 -> unit -> main_params
val main_params_of_value : main_params Cephalopod_dasl.Value.Util.conv
val main_params_to_value : main_params -> Cephalopod_dasl.Value.t
val pp_main_error :
Ppx_deriving_runtime.Format.formatter ->
main_error ->
Ppx_deriving_runtime.unit
val show_main_error : main_error -> Ppx_deriving_runtime.string
val main : (main_params, main_msg, main_error) Base.subscription
Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream.
type nonrec labels = Types.com_atproto_label_subscribelabels_labels = {
seq : int64;
labels : Types.com_atproto_label_defs_label list;
}
val labels_of_value :
Types.com_atproto_label_subscribelabels_labels
Cephalopod_dasl.Value.Util.conv
val labels_to_value :
Types.com_atproto_label_subscribelabels_labels ->
Cephalopod_dasl.Value.t
val info_of_value :
Types.com_atproto_label_subscribelabels_info Cephalopod_dasl.Value.Util.conv
val info_to_value :
Types.com_atproto_label_subscribelabels_info ->
Cephalopod_dasl.Value.t