service/domain/document/document_eventsourcing
Api Code Documentation / Exports / service/domain/document/document_eventsourcing
Table of contents
Functions
Functions
processDocumentEvents
▸ processDocumentEvents(ctx
, events
): Object
Parameters
Name | Type |
---|---|
ctx | Ctx |
events | BusinessEvent [] |
Returns
Object
Name | Type |
---|---|
documents | StoredDocument [] |
errors | Error [] |
Defined in
src/service/domain/document/document_eventsourcing.ts:13
sourceSecrets
▸ sourceSecrets(ctx
, events
): Object
Parameters
Name | Type |
---|---|
ctx | Ctx |
events | BusinessEvent [] |
Returns
Object
Name | Type |
---|---|
errors | Error [] |
secrets | SecretPublished [] |