service/domain/document/secret_get
Api Code Documentation / Exports / service/domain/document/secret_get
Table of contents
Functions
Functions
getAllSecrets
▸ getAllSecrets(ctx
, repository
): Promise
<Type
<SecretPublished
[]>>
Parameters
Name | Type |
---|---|
ctx | Ctx |
repository | Repository |
Returns
Promise
<Type
<SecretPublished
[]>>
Defined in
src/service/domain/document/secret_get.ts:16
getSecret
▸ getSecret(ctx
, docId
, organization
, repository
): Promise
<Type
<SecretPublished
>>
Parameters
Name | Type |
---|---|
ctx | Ctx |
docId | string |
organization | string |
repository | Repository |
Returns
Promise
<Type
<SecretPublished
>>
Defined in
src/service/domain/document/secret_get.ts:29
secretAlreadyExists
▸ secretAlreadyExists(ctx
, docId
, organization
, repository
): Promise
<Type
<boolean
>>
Parameters
Name | Type |
---|---|
ctx | Ctx |
docId | string |
organization | string |
repository | Repository |
Returns
Promise
<Type
<boolean
>>