Skip to main content

service/domain/workflow/subproject_eventsourcing

Api Code Documentation / Exports / service/domain/workflow/subproject_eventsourcing

Table of contents#

Functions#

Functions#

newSubprojectFromEvent#

newSubprojectFromEvent(ctx, subproject, event): Type<Subproject>

Returns a new subproject with the given event applied, or an error.

Parameters#

NameType
ctxCtx
subprojectSubproject
eventBusinessEvent

Returns#

Type<Subproject>

Defined in#

src/service/domain/workflow/subproject_eventsourcing.ts:130


sourceSubprojects#

sourceSubprojects(ctx, events, origin?): Object

Parameters#

NameType
ctxCtx
eventsBusinessEvent[]
origin?Map<string, Subproject>

Returns#

Object

NameType
errorsError[]
subprojectsSubproject[]

Defined in#

src/service/domain/workflow/subproject_eventsourcing.ts:20