UNPKG

@fabric-es/fabric-cqrs

Version:

Hyperledger Fabric middleware for event sourcing and cqrs pattern

6 lines (5 loc) 390 B
import type { FabricResponse, Commit, BaseEvent } from '../types'; export declare const isCommitRecord: (input: Record<string, any>) => input is Record<string, Commit>; export declare const isCommit: (value: any) => value is Commit; export declare const isFabricResponse: (input: any) => input is FabricResponse; export declare const isBaseEventArray: (input: any) => input is BaseEvent[];