UNPKG

@fabric-es/fabric-cqrs

Version:

Hyperledger Fabric middleware for event sourcing and cqrs pattern

12 lines (11 loc) 398 B
import { Wallet } from 'fabric-network'; import { Store } from 'redux'; import { Logger } from 'winston'; import type { Commit, RepoFcn_Id } from '../types'; export declare const commandGetByEntityId: (entityName: string, isPrivateData: boolean, option: { channelName: string; logger: Logger; connectionProfile: string; wallet: Wallet; store: Store; }) => RepoFcn_Id<Commit[]>;