terafoundation / connector-utils
connector-utils
Functions
createClient()
createClient(
name
,moduleConfig
,logger
,options
):Promise
<ConnectorOutput
>
Parameters
Parameter | Type |
---|---|
name | string |
moduleConfig | Record <string , any > |
logger | Logger |
options | Record <string , any > |
Returns
Promise
<ConnectorOutput
>
Source
getConnectorModule()
getConnectorModule<
S
>(name
,reason
):Promise
<Terafoundation.Connector
<S
> |null
>
Type parameters
Type parameter | Value |
---|---|
S | Record <string , any > |
Parameters
Parameter | Type |
---|---|
name | string |
reason | string |
Returns
Promise
<Terafoundation.Connector
<S
> | null
>
Source
getConnectorSchemaAndValFn()
getConnectorSchemaAndValFn<
S
>(name
):Promise
<Terafoundation.Initializers
<S
>>
Type parameters
Type parameter |
---|
S |
Parameters
Parameter | Type |
---|---|
name | string |
Returns
Promise
<Terafoundation.Initializers
<S
>>