Skip to main content

service/domain/workflow/workflowitem_created

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

Table of contents#

Interfaces#

Variables#

Functions#

Variables#

schema#

• Const schema: ObjectSchema

Defined in#

src/service/domain/workflow/workflowitem_created.ts:65

Functions#

createEvent#

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

Parameters#

NameType
sourcestring
publisherstring
projectIdstring
subprojectIdstring
workflowitemInitialData
timestring

Returns#

Type<Event>

Defined in#

src/service/domain/workflow/workflowitem_created.ts:75


createFrom#

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

Parameters#

NameType
ctxCtx
eventEvent

Returns#

Type<Workflowitem>

Defined in#

src/service/domain/workflow/workflowitem_created.ts:105


validate#

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

Parameters#

NameType
inputany

Returns#

Type<Event>

Defined in#

src/service/domain/workflow/workflowitem_created.ts:100