sdk.AWF_IC_REGISTRY
Constructors
constructor
new AWF_IC_REGISTRY(log
, gql
, auth
, settings
, globalChannel
, web3
, ipfs
)
Parameters
Name | Type |
---|---|
log | Logging |
gql | Gql |
auth | AWF_Auth |
settings | Settings |
globalChannel | EventBus |
web3 | Web3Connector |
ipfs | AWF_IpfsConnector |
Defined in
sdk/src/registry/icRegistry.ts:44
Properties
INTEGRATION_REGISTRY_ADDRESS
Readonly
INTEGRATION_REGISTRY_ADDRESS: string
Defined in
sdk/src/registry/icRegistry.ts:41
MANIFEST_FILE
Readonly
MANIFEST_FILE: "manifest.json"
Defined in
sdk/src/registry/icRegistry.ts:42
Methods
_normalizeIDs
_normalizeIDs(opt
): string
[]
Parameters
Name | Type |
---|---|
opt | { id? : string ; name? : string }[] |
Returns
string
[]
Defined in
sdk/src/registry/icRegistry.ts:188
getAllIntegrationReleaseIds
getAllIntegrationReleaseIds(integrationName
, offset?
): Promise
<{ data
: { nextIndex
: any
= data.next; releaseIds
: any
} }>
Parameters
Name | Type | Default value |
---|---|---|
integrationName | string | undefined |
offset | number | 0 |
Returns
Promise
<{ data
: { nextIndex
: any
= data.next; releaseIds
: any
} }>
Defined in
sdk/src/registry/icRegistry.ts:167
getAllIntegrationsIds
getAllIntegrationsIds(offset?
): Promise
<{ data
: { integrationIds
: any
; nextIndex
: any
= data.next } }>
Parameters
Name | Type | Default value |
---|---|---|
offset | number | 0 |
Returns
Promise
<{ data
: { integrationIds
: any
; nextIndex
: any
= data.next } }>
Defined in
sdk/src/registry/icRegistry.ts:157
getContracts
getContracts(): Object
Returns
Object
Name | Type |
---|---|
IntegrationRegistryInstance | any |
Defined in
sdk/src/registry/icRegistry.ts:208
getIntegrationId
getIntegrationId(name
): Promise
<{ data
: { id
: string
= data } }>
Parameters
Name | Type |
---|---|
name | string |
Returns
Promise
<{ data
: { id
: string
= data } }>
Defined in
sdk/src/registry/icRegistry.ts:177
getIntegrationInfo
getIntegrationInfo(integrationId
): Promise
<IntegrationInfo
>
Parameters
Name | Type |
---|---|
integrationId | string |
Returns
Promise
<IntegrationInfo
>
Defined in
sdk/src/registry/icRegistry.ts:75
getIntegrationReleaseId
getIntegrationReleaseId(name
, version
): Promise
<{ data
: { id
: string
= data } }>
Parameters
Name | Type |
---|---|
name | string |
version | string |
Returns
Promise
<{ data
: { id
: string
= data } }>
Defined in
sdk/src/registry/icRegistry.ts:182
getIntegrationReleaseInfo
getIntegrationReleaseInfo(releaseId
, integrationId?
): Promise
<ReleaseInfo
>
Parameters
Name | Type |
---|---|
releaseId | string |
integrationId? | string |
Returns
Promise
<ReleaseInfo
>
Defined in
sdk/src/registry/icRegistry.ts:89
getIntegrationsCount
getIntegrationsCount(): Promise
<{ data
: { totalCount
: any
= data.totalCount } }>
Returns
Promise
<{ data
: { totalCount
: any
= data.totalCount } }>
Defined in
sdk/src/registry/icRegistry.ts:149
getIntegrationsInfo
getIntegrationsInfo(opt
): Promise
<GetIntegrationInfoQuery
>
Parameters
Name | Type |
---|---|
opt | { id? : string ; name? : string }[] |
Returns
Promise
<GetIntegrationInfoQuery
>
Defined in
sdk/src/registry/icRegistry.ts:197
getLatestReleaseInfo
getLatestReleaseInfo(opt
): Promise
<GetLatestReleaseQuery
>
Parameters
Name | Type |
---|---|
opt | { id? : string ; name? : string }[] |
Returns
Promise
<GetLatestReleaseQuery
>
Defined in
sdk/src/registry/icRegistry.ts:202
getLatestVersionInfo
getLatestVersionInfo(integration
): Promise
<ReleaseInfo
>
Parameters
Name | Type |
---|---|
integration | Object |
integration.id? | string |
integration.name? | string |
Returns
Promise
<ReleaseInfo
>