SubscribeReposRepoOp

data class SubscribeReposRepoOp(val action: SubscribeReposAction, val path: String, val cid: ByteArray? = null, val prev: ByteArray? = null)

A repo operation, ie a mutation of a single record.

Parameters

cid

For creates and updates, the new record CID. For deletions, null.

prev

For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined.

Constructors

Link copied to clipboard
constructor(action: SubscribeReposAction, path: String, cid: ByteArray? = null, prev: ByteArray? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val cid: ByteArray? = null

For creates and updates, the new record CID. For deletions, null.

Link copied to clipboard
Link copied to clipboard
val prev: ByteArray? = null

For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined.