Skip to main content

Interface: RepoOp

Defined in: src/types/interfaces/event-stream.interface.ts:125

Repository operation (create, update, delete).

Remarks​

Represents a single operation within a commit event.

Properties​

action​

readonly action: "create" | "update" | "delete"

Defined in: src/types/interfaces/event-stream.interface.ts:129

Operation type.


cid?​

readonly optional cid: CID

Defined in: src/types/interfaces/event-stream.interface.ts:145

New record CID (for create/update).

Remarks​

Absent for delete operations.


path​

readonly path: string

Defined in: src/types/interfaces/event-stream.interface.ts:137

Record path in repository.

Remarks​

Format: "collection/rkey" (e.g., "pub.chive.eprint.submission/abc123")