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
Name | Type |
---|---|
source | string |
publisher | string |
docId | string |
organization | string |
encryptedSecret | string |
time | string |
metadata? | UserMetadata |
Returns
Defined in
src/service/domain/document/document_shared.ts:45
validate
▸ validate(input
): Type
<Event
>
Parameters
Name | Type |
---|---|
input | any |
Returns
Defined in
src/service/domain/document/document_shared.ts:40
validateSecret
▸ validateSecret(input
): Type
<SecretPublished
>
Parameters
Name | Type |
---|---|
input | any |