terafoundation / connector-utils
connector-utils
Functions
createClient()
createClient(
name
,moduleConfig
,logger
,options
):Promise
<ConnectorOutput
>
Defined in: connector-utils.ts:153
Parameters
Parameter | Type |
---|---|
name | string |
moduleConfig | Record <string , any > |
logger | Logger |
options | Record <string , any > |
Returns
Promise
<ConnectorOutput
>
getConnectorModule()
getConnectorModule<
S
>(name
,reason
):Promise
<null
|Connector
<S
>>
Defined in: connector-utils.ts:90
Type Parameters
Type Parameter | Default type |
---|---|
S | Record <string , any > |
Parameters
Parameter | Type |
---|---|
name | string |
reason | string |
Returns
Promise
<null
| Connector
<S
>>
getConnectorSchemaAndValFn()
getConnectorSchemaAndValFn<
S
>(name
):Promise
<Initializers
<S
>>
Defined in: connector-utils.ts:138
Type Parameters
Type Parameter |
---|
S |
Parameters
Parameter | Type |
---|---|
name | string |
Returns
Promise
<Initializers
<S
>>