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<any>
Defined in
src/service/domain/workflow/subproject_created.ts:63
Functions
createEvent
▸ createEvent(source, publisher, projectId, subproject, time?, metadata?): Type<Event>
Parameters
| Name | Type |
|---|---|
source | string |
publisher | string |
projectId | string |
subproject | InitialData |
time | string |
metadata? | UserMetadata |
Returns
Defined in
src/service/domain/workflow/subproject_created.ts:73
createFrom
▸ createFrom(ctx, event): Type<Subproject>
Parameters
| Name | Type |
|---|---|
ctx | Ctx |
event | Event |
Returns
Defined in
src/service/domain/workflow/subproject_created.ts:104
validate
▸ validate(input): Type<Event>
Parameters
| Name | Type |
|---|---|
input | any |