Cephalopod_models.App_Bsky_Labeler_Service
lexicon "app.bsky.labeler.service"
type main = {
policies : Types.app_bsky_labeler_defs_labelerpolicies;
labels : [ `Com_atproto_label_defs_selflabels of
Types.com_atproto_label_defs_selflabels
| `Other of Cephalopod_dasl.Value.t ]
option;
createdAt : string;
format: "Datetime"
*)reasonTypes : Types.com_atproto_moderation_defs_reasontype list option;
The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.
*)subjectTypes : Types.com_atproto_moderation_defs_subjecttype list option;
The set of subject types (account, record, etc) this service accepts reports on.
*)subjectCollections : string list option;
Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.
*)}
A declaration of the existence of labeler service.
val pp_main :
Ppx_deriving_runtime.Format.formatter ->
main ->
Ppx_deriving_runtime.unit
val show_main : main -> Ppx_deriving_runtime.string
val make_main :
policies:Types.app_bsky_labeler_defs_labelerpolicies ->
?labels:
[ `Com_atproto_label_defs_selflabels of
Types.com_atproto_label_defs_selflabels
| `Other of Cephalopod_dasl.Value.t ] ->
createdAt:string ->
?reasonTypes:Types.com_atproto_moderation_defs_reasontype list ->
?subjectTypes:Types.com_atproto_moderation_defs_subjecttype list ->
?subjectCollections:string list ->
unit ->
main
val main_of_value : main Cephalopod_dasl.Value.Util.conv
val main_to_value : main -> Cephalopod_dasl.Value.t
val main : main Base.record_def