@activepieces/piece-connections 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -7,4 +7,4 @@ Use this piece if you are unsure which connection to use beforehand, such as whe
|
|
|
7
7
|
- You can retrieve the external ID from the connection settings page by hovering over the connection name.
|
|
8
8
|
- Use this action to retrieve connection values by their external IDs from this project.
|
|
9
9
|
- After testing the step, you can use the dynamic value in the piece by clicking (X) and referring to this step.
|
|
10
|
-
`,ho=fn({audience:"
|
|
10
|
+
`,ho=fn({audience:"human",name:"read_connection",displayName:"Read Connection",description:"Fetch connection by name",props:{info:pt.MarkDown({value:Wa}),connection_name:pt.ShortText({displayName:"Connection External ID",description:void 0,required:!0})},async run(e){let t=await e.connections.get(e.propsValue.connection_name);if(pe(t))throw new Error(JSON.stringify({message:"Connection not found",connectionName:e.propsValue.connection_name}));return t}});var Ga=lo({displayName:"Connections",description:"Read connections dynamically",minimumSupportedRelease:"0.36.1",logoUrl:"https://cdn.activepieces.com/pieces/new-core/connections.svg",categories:["CORE"],auth:Kt.None(),authors:["kishanprmr","AbdulTheActivePiecer","khaledmashaly","abuaboud"],actions:[ho],triggers:[]});0&&(module.exports={connections});
|