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<any>

Defined in

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

Functions

createEvent

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

Parameters

NameType
sourcestring
publisherstring
projectInitialData
timestring
metadata?UserMetadata

Returns

Type<Event>

Defined in

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


createFrom

createFrom(ctx, event): Type<Project>

Parameters

NameType
ctxCtx
eventEvent

Returns

Type<Project>

Defined in

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


validate

validate(input): Type<Event>

Parameters

NameType
inputany

Returns

Type<Event>

Defined in

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