Skip to main content

service/domain/document/document_validate

Api Code Documentation / Exports / service/domain/document/document_validate

Table of contents​

Functions​

Functions​

documentValidate​

▸ documentValidate(isDocumentValid, documentId, ctx, issuer, projectId, subprojectId, workflowitemId, repository): Promise<Type<{ newEvents: BusinessEvent[] ; workflowitem: Workflowitem }>>

Parameters​

NameType
isDocumentValidboolean
documentIdstring
ctxCtx
issuerServiceUser
projectIdstring
subprojectIdstring
workflowitemIdstring
repositoryRepository

Returns​

Promise<Type<{ newEvents: BusinessEvent[] ; workflowitem: Workflowitem }>>

Defined in​

src/service/domain/document/document_validate.ts:34