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
<any
>
Defined in
src/service/domain/workflow/workflowitem_created.ts:74
Functions
createEvent
▸ createEvent(source
, publisher
, projectId
, subprojectId
, workflowitem
, time?
, metadata?
): Type
<Event
>
Parameters
Name | Type |
---|---|
source | string |
publisher | string |
projectId | string |
subprojectId | string |
workflowitem | InitialData |
time | string |
metadata? | UserMetadata |
Returns
Defined in
src/service/domain/workflow/workflowitem_created.ts:85
createFrom
▸ createFrom(ctx
, event
): Type
<Workflowitem
>
Parameters
Name | Type |
---|---|
ctx | Ctx |
event | Event |
Returns
Defined in
src/service/domain/workflow/workflowitem_created.ts:117
validate
▸ validate(input
): Type
<Event
>
Parameters
Name | Type |
---|---|
input | any |