service/domain/document/document
Api Code Documentation / Exports / service/domain/document/document
#
Table of contents#
Interfaces#
Variables#
Functions#
Variables#
documentReferenceSchema• Const
documentReferenceSchema: ObjectSchema
#
Defined insrc/service/domain/document/document.ts:28
#
storedDocumentSchema• Const
storedDocumentSchema: ObjectSchema
#
Defined insrc/service/domain/document/document.ts:14
#
uploadedDocumentSchema• Const
uploadedDocumentSchema: ObjectSchema
#
Defined insrc/service/domain/document/document.ts:41
#
Functions#
hashDocumentâ–¸ hashDocument(document
): Promise
<Type
<DocumentReference
>>
#
ParametersName | Type |
---|---|
document | UploadedDocument |
#
ReturnsPromise
<Type
<DocumentReference
>>
#
Defined insrc/service/domain/document/document.ts:54
#
hashDocumentsâ–¸ hashDocuments(documents
): Promise
<Type
<DocumentReference
[]>>
#
ParametersName | Type |
---|---|
documents | UploadedDocument [] |
#
ReturnsPromise
<Type
<DocumentReference
[]>>
#
Defined insrc/service/domain/document/document.ts:65
#
validateâ–¸ validate(input
): Type
<UploadedDocument
>
#
ParametersName | Type |
---|---|
input | any |