UNPKG

@fabric-es/fabric-cqrs

Version:

Hyperledger Fabric middleware for event sourcing and cqrs pattern

265 lines (264 loc) 8.59 kB
export declare const action: { DELETE_COMMIT_BY_ENTITYNAME: string; DELETE_COMMIT_BY_ENTITY_ID: string; DELETE_ERROR: string; DELETE_SUCCESS: string; QUERY_BY_ENTITYNAME: string; QUERY_BY_ENTITY_ID: string; QUERY_ERROR: string; QUERY_SUCCESS: string; MERGE_COMMIT: string; MERGE_COMMIT_ERROR: string; MERGE_COMMIT_SUCCESS: string; MERGE_COMMIT_BATCH: string; MERGE_COMMIT_BATCH_ERROR: string; MERGE_COMMIT_BATCH_SUCCESS: string; CIDX_SEARCH: string; EIDX_SEARCH: string; SEARCH_SUCCESS: string; SEARCH_ERROR: string; GET_NOTIFICATION: string; GET_NOTIFICATIONS: string; GET_NOTI_SUCCESS: string; GET_NOTI_ERROR: string; CLEAR_NOTIFICATION: string; CLEAR_NOTIFICATIONS: string; CLEAR_NOTI_SUCCESS: string; CLEAR_NOTI_ERROR: string; DELETE_ENTITY_BY_ENTITYNAME: string; DELETE_ENTITY_SUCCESS: string; DELETE_ENTITY_ERROR: string; deleteCommitByEntityId: (option: { tx_id: string; args: { entityName: string; id: string; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; deleteCommitByEntityName: (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; mergeCommit: (option: { tx_id: string; args: { commit: import("../..").Commit; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => 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; queryByEntityName: (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; queryByEntityId: (option: { tx_id: string; args: { entityName: string; id: string; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; deleteError: ({ tx_id, error }: { tx_id: string; error: any; }) => import("redux").AnyAction; deleteSuccess: ({ tx_id, result, args }: { tx_id: string; result: any; args?: any; }) => import("redux").AnyAction; queryError: ({ tx_id, error }: { tx_id: string; error: any; }) => import("redux").AnyAction; querySuccess: ({ tx_id, result, args }: { tx_id: string; result: any; args?: any; }) => import("redux").AnyAction; mergeCommitError: ({ tx_id, error }: { tx_id: string; error: any; }) => import("redux").AnyAction; mergeCommitSuccess: ({ tx_id, result, args }: { tx_id: string; result: any; args?: any; }) => 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; cIdxSearch: (option: { tx_id: string; args: { query: string; param?: import("redis-modules-sdk").FTSearchParameters; countTotalOnly?: boolean; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; eIdxSearch: (option: { tx_id: string; args: { entityName: string; query: string; param?: import("redis-modules-sdk").FTSearchParameters; countTotalOnly?: boolean; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; searchSuccess: ({ tx_id, result, args }: { tx_id: string; result: any; args?: any; }) => import("redux").AnyAction; searchError: ({ tx_id, error }: { tx_id: string; error: any; }) => import("redux").AnyAction; getNotification: (option: { tx_id: string; args: { creator: string; commitId: string; entityName: string; id: string; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; getNotifications: (option: { tx_id: string; args: { creator: string; entityName: string; id: string; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; getNotiSuccess: ({ tx_id, result, args }: { tx_id: string; result: any; args?: any; }) => import("redux").AnyAction; getNotiError: ({ tx_id, error }: { tx_id: string; error: any; }) => import("redux").AnyAction; clearNotification: (option: { tx_id: string; args: { creator: string; commitId: string; entityName: string; id: string; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; clearNotifications: (option: { tx_id: string; args: { creator: string; entityName: string; id: string; }; store?: import("redux").Store<any, import("redux").AnyAction>; enrollmentId?: string; channelName?: string; connectionProfile?: string; wallet?: import("fabric-network").Wallet; }) => import("redux").AnyAction; clearNotiSuccess: ({ tx_id, result, args }: { tx_id: string; result: any; args?: any; }) => import("redux").AnyAction; clearNotiError: ({ tx_id, error }: { tx_id: string; error: any; }) => import("redux").AnyAction; deleteEntityByEntityName: (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; deleteEntityByEntityNameSuccess: ({ tx_id, result, args }: { tx_id: string; result: any; args?: any; }) => import("redux").AnyAction; deleteEntityByEntityNameError: ({ tx_id, error }: { tx_id: string; error: any; }) => import("redux").AnyAction; };