ApplyWritesRequest

constructor(repo: AtIdentifier, validate: Boolean? = null, writes: ReadOnlyList<ApplyWritesRequestWriteUnion>, swapCommit: Cid? = null)

Parameters

repo

The handle or DID of the repo (aka, current account).

validate

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.

swapCommit

If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations.