Skip to main content

service/domain/document/document_shared

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

Table of contents#

Interfaces#

Variables#

Functions#

Variables#

schema#

Const schema: ObjectSchema

Defined in#

src/service/domain/document/document_shared.ts:26

Functions#

createEvent#

createEvent(source, publisher, docId, organization, encryptedSecret, time?): Type<Event>

Parameters#

NameType
sourcestring
publisherstring
docIdstring
organizationstring
encryptedSecretstring
timestring

Returns#

Type<Event>

Defined in#

src/service/domain/document/document_shared.ts:41


validate#

validate(input): Type<Event>

Parameters#

NameType
inputany

Returns#

Type<Event>

Defined in#

src/service/domain/document/document_shared.ts:36


validateSecret#

validateSecret(input): Type<SecretPublished>

Parameters#

NameType
inputany

Returns#

Type<SecretPublished>

Defined in#

src/service/domain/document/document_shared.ts:74