Skip to main content

service/domain/workflow/project_created

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

Table of contents#

Interfaces#

Variables#

Functions#

Variables#

schema#

Const schema: ObjectSchema

Defined in#

src/service/domain/workflow/project_created.ts:51

Functions#

createEvent#

createEvent(source, publisher, project, time?): Type<Event>

Parameters#

NameType
sourcestring
publisherstring
projectInitialData
timestring

Returns#

Type<Event>

Defined in#

src/service/domain/workflow/project_created.ts:59


createFrom#

createFrom(ctx, event): Type<Project>

Parameters#

NameType
ctxCtx
eventEvent

Returns#

Type<Project>

Defined in#

src/service/domain/workflow/project_created.ts:86


validate#

validate(input): Type<Event>

Parameters#

NameType
inputany

Returns#

Type<Event>

Defined in#

src/service/domain/workflow/project_created.ts:81