Cephalopod_models.Com_Atproto_Repo_ApplyWriteslexicon "com.atproto.repo.applyWrites"
type main_input = {repo : string;The handle or DID of the repo (aka, current account). format: "AtIdentifier"
*)validate : bool option;Can be set to 'false' to skip Lexicon schema validation of record data across all operations, 'true' to require it, or leave unset to validate only for known Lexicons.
*)writes : [ `Com_atproto_repo_applywrites_create of
Types.com_atproto_repo_applywrites_create
| `Com_atproto_repo_applywrites_update of
Types.com_atproto_repo_applywrites_update
| `Com_atproto_repo_applywrites_delete of
Types.com_atproto_repo_applywrites_delete ]
list;swapCommit : string option;If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations. format: "Cid"
*)}val pp_main_input :
Ppx_deriving_runtime.Format.formatter ->
main_input ->
Ppx_deriving_runtime.unitval show_main_input : main_input -> Ppx_deriving_runtime.stringval main_input_of_value : main_input Cephalopod_dasl.Value.Util.convval main_input_to_value : main_input -> Cephalopod_dasl.Value.ttype main_output = {commit : Types.com_atproto_repo_defs_commitmeta option;results : [ `Com_atproto_repo_applywrites_createresult of
Types.com_atproto_repo_applywrites_createresult
| `Com_atproto_repo_applywrites_updateresult of
Types.com_atproto_repo_applywrites_updateresult
| `Com_atproto_repo_applywrites_deleteresult of
Types.com_atproto_repo_applywrites_deleteresult ]
list
option;}val pp_main_output :
Ppx_deriving_runtime.Format.formatter ->
main_output ->
Ppx_deriving_runtime.unitval show_main_output : main_output -> Ppx_deriving_runtime.stringval main_output_of_value : main_output Cephalopod_dasl.Value.Util.convval main_output_to_value : main_output -> Cephalopod_dasl.Value.tval pp_main_error :
Ppx_deriving_runtime.Format.formatter ->
main_error ->
Ppx_deriving_runtime.unitval show_main_error : main_error -> Ppx_deriving_runtime.stringval main : (unit, main_input, main_output, main_error) Base.procedureApply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.
type nonrec create = Types.com_atproto_repo_applywrites_create = {collection : string;format: "Nsid"
*)rkey : string option;NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility. format: "RecordKey" maximum length: 512
*)value : Cephalopod_dasl.Value.t;}val create_of_value :
Types.com_atproto_repo_applywrites_create Cephalopod_dasl.Value.Util.convval create_to_value :
Types.com_atproto_repo_applywrites_create ->
Cephalopod_dasl.Value.ttype nonrec update = Types.com_atproto_repo_applywrites_update = {collection : string;format: "Nsid"
*)rkey : string;format: "RecordKey"
*)value : Cephalopod_dasl.Value.t;}val update_of_value :
Types.com_atproto_repo_applywrites_update Cephalopod_dasl.Value.Util.convval update_to_value :
Types.com_atproto_repo_applywrites_update ->
Cephalopod_dasl.Value.tval delete_of_value :
Types.com_atproto_repo_applywrites_delete Cephalopod_dasl.Value.Util.convval delete_to_value :
Types.com_atproto_repo_applywrites_delete ->
Cephalopod_dasl.Value.ttype nonrec createresult = Types.com_atproto_repo_applywrites_createresult = {uri : string;format: "AtUri"
*)cid : string;format: "Cid"
*)validationStatus : string option;known values: "valid"; "unknown"
}val pp_createresult :
Ppx_deriving_runtime.Format.formatter ->
Types.com_atproto_repo_applywrites_createresult ->
Ppx_deriving_runtime.unitval createresult_of_value :
Types.com_atproto_repo_applywrites_createresult
Cephalopod_dasl.Value.Util.convval createresult_to_value :
Types.com_atproto_repo_applywrites_createresult ->
Cephalopod_dasl.Value.ttype nonrec updateresult = Types.com_atproto_repo_applywrites_updateresult = {uri : string;format: "AtUri"
*)cid : string;format: "Cid"
*)validationStatus : string option;known values: "valid"; "unknown"
}val pp_updateresult :
Ppx_deriving_runtime.Format.formatter ->
Types.com_atproto_repo_applywrites_updateresult ->
Ppx_deriving_runtime.unitval updateresult_of_value :
Types.com_atproto_repo_applywrites_updateresult
Cephalopod_dasl.Value.Util.convval updateresult_to_value :
Types.com_atproto_repo_applywrites_updateresult ->
Cephalopod_dasl.Value.ttype nonrec deleteresult = Types.com_atproto_repo_applywrites_deleteresultval pp_deleteresult :
Ppx_deriving_runtime.Format.formatter ->
Types.com_atproto_repo_applywrites_deleteresult ->
Ppx_deriving_runtime.unitval deleteresult_of_value :
Types.com_atproto_repo_applywrites_deleteresult
Cephalopod_dasl.Value.Util.convval deleteresult_to_value :
Types.com_atproto_repo_applywrites_deleteresult ->
Cephalopod_dasl.Value.t