service/domain/workflow/subproject_update
Api Code Documentation / Exports / service/domain/workflow/subproject_update
Table of contents
Type Aliases
Variables
Functions
Type Aliases
RequestData
Ƭ RequestData: UpdatedData
Defined in
src/service/domain/workflow/subproject_update.ts:22
Variables
requestDataSchema
• Const
requestDataSchema: ObjectSchema
<any
> = SubprojectUpdated.updatedDataSchema
Defined in
src/service/domain/workflow/subproject_update.ts:23
Functions
updateSubproject
▸ updateSubproject(ctx
, issuer
, projectId
, subprojectId
, data
, repository
): Promise
<Type
<BusinessEvent
[]>>
Parameters
Name | Type |
---|---|
ctx | Ctx |
issuer | ServiceUser |
projectId | string |
subprojectId | string |
data | UpdatedData |
repository | Repository |
Returns
Promise
<Type
<BusinessEvent
[]>>
Defined in
src/service/domain/workflow/subproject_update.ts:38
validate
▸ validate(input
): Type
<RequestData
>
Parameters
Name | Type |
---|---|
input | any |