UNPKG

@fabric-es/fabric-cqrs

Version:

Hyperledger Fabric middleware for event sourcing and cqrs pattern

74 lines (73 loc) 2.41 kB
export declare const action: { RECONCILE: string; RECONCILE_ERROR: string; RECONCILE_SUCCESS: string; MERGE_COMMIT_BATCH: string; MERGE_ENTITY_BATCH: string; MERGE_COMMIT_BATCH_SUCCESS: string; MERGE_COMMIT_BATCH_ERROR: string; MERGE_ENTITY_BATCH_SUCCESS: string; MERGE_ENTITY_BATCH_ERROR: string; reconcile: (option: { tx_id: string; args: { entityName: string; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; reconcileError: ({ tx_id, error }: { tx_id: string; error: any; }) => import("redux").AnyAction; reconcileSuccess: ({ tx_id, result, args }: { tx_id: string; result: any; args?: any; }) => import("redux").AnyAction; mergeCommitBatch: (option: { tx_id: string; args: { entityName: string; commits: Record<string, import("../..").Commit>; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; mergeCommitBatchError: ({ tx_id, error }: { tx_id: string; error: any; }) => import("redux").AnyAction; mergeCommitBatchSuccess: ({ tx_id, result, args }: { tx_id: string; result: any; args?: any; }) => import("redux").AnyAction; mergeEntityBatch: (option: { tx_id: string; args: { entityName: string; commits: Record<string, import("../..").Commit>; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; mergeEntityBatchError: ({ tx_id, error }: { tx_id: string; error: any; }) => import("redux").AnyAction; mergeEntityBatchSuccess: ({ tx_id, result, args }: { tx_id: string; result: any; args?: any; }) => import("redux").AnyAction; };