UNPKG

@fabric-es/fabric-cqrs

Version:

Hyperledger Fabric middleware for event sourcing and cqrs pattern

21 lines (20 loc) 408 B
import { Commit } from '../../types'; export interface MergeEntityAction { type: string; payload?: { tx_id: string; args: { commit: Commit; }; }; } export interface MergeEntityBatchAction { type: string; payload?: { tx_id: string; args: { entityName: string; commits: Record<string, Commit>; }; }; }