Skip to main content

service/domain/workflow/subproject_created

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

Table of contents#

Interfaces#

Variables#

Functions#

Variables#

schema#

• Const schema: ObjectSchema

Defined in#

src/service/domain/workflow/subproject_created.ts:57

Functions#

createEvent#

â–¸ createEvent(source, publisher, projectId, subproject, time?): Type<Event>

Parameters#

NameType
sourcestring
publisherstring
projectIdstring
subprojectInitialData
timestring

Returns#

Type<Event>

Defined in#

src/service/domain/workflow/subproject_created.ts:66


createFrom#

â–¸ createFrom(ctx, event): Type<Subproject>

Parameters#

NameType
ctxCtx
eventEvent

Returns#

Type<Subproject>

Defined in#

src/service/domain/workflow/subproject_created.ts:95


validate#

â–¸ validate(input): Type<Event>

Parameters#

NameType
inputany

Returns#

Type<Event>

Defined in#

src/service/domain/workflow/subproject_created.ts:90