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<any>

Defined in

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

Functions

createEvent

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

Parameters

NameType
sourcestring
publisherstring
docIdstring
organizationstring
encryptedSecretstring
timestring
metadata?UserMetadata

Returns

Type<Event>

Defined in

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


validate

validate(input): Type<Event>

Parameters

NameType
inputany

Returns

Type<Event>

Defined in

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


validateSecret

validateSecret(input): Type<SecretPublished>

Parameters

NameType
inputany

Returns

Type<SecretPublished>

Defined in

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