Skip to content

Commit 47e27e3

Browse files
committed
Merge branch 'master' into 13056-zoom-new-action
2 parents 37b2ed2 + 1261174 commit 47e27e3

File tree

71 files changed

+623
-71
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+623
-71
lines changed

components/azure_sql/actions/execute-query/execute-query.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Execute Query",
66
description: "Executes a SQL query and returns the results. [See the documentation](https://learn.microsoft.com/en-us/sql/t-sql/queries/select-transact-sql?view=azuresqldb-current)",
77
type: "action",
8-
version: "0.0.4",
8+
version: "0.0.5",
99
props: {
1010
app,
1111
query: {

components/azure_sql/actions/execute-raw-query/execute-raw-query.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Execute SQL Query",
66
description: "Execute a custom SQL query. See [our docs](https://pipedream.com/docs/databases/working-with-sql) to learn more about working with SQL in Pipedream.",
77
type: "action",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
props: {
1010
app,
1111
// eslint-disable-next-line pipedream/props-description

components/azure_sql/actions/insert-row/insert-row.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "azure_sql-insert-row",
55
name: "Insert Row",
66
description: "Inserts a new row in a table. [See the documentation](https://learn.microsoft.com/en-us/sql/t-sql/statements/insert-transact-sql?view=azuresqldb-current)",
7-
version: "0.0.4",
7+
version: "0.0.5",
88
type: "action",
99
props: {
1010
app,

components/azure_sql/azure_sql.app.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export default {
5151
options: {
5252
encrypt: true,
5353
port: Number(port),
54+
requestTimeout: 60000,
5455
},
5556
};
5657
},

components/azure_sql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/azure_sql",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Pipedream Microsoft Azure SQL Database Components",
55
"main": "azure_sql.app.mjs",
66
"keywords": [

components/azure_sql/sources/new-column/new-column.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "New Column",
88
description: "Triggers when a new column is added to a table.",
99
type: "source",
10-
version: "0.0.4",
10+
version: "0.0.5",
1111
dedupe: "unique",
1212
props: {
1313
...common.props,

components/azure_sql/sources/new-or-updated-row/new-or-updated-row.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "New or Updated Row",
88
description: "Triggers when a new row is added or an existing row is updated.",
99
type: "source",
10-
version: "0.0.4",
10+
version: "0.0.5",
1111
dedupe: "unique",
1212
props: {
1313
...common.props,

components/box/actions/download-file/download-file.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "Download File",
88
description: "Downloads a file from Box to your workflow's `/tmp` directory. [See the documentation](https://developer.box.com/reference/get-files-id-content/)",
99
key: "box-download-file",
10-
version: "0.0.2",
10+
version: "0.0.3",
1111
type: "action",
1212
props: {
1313
app,
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
import app from "../../box.app.mjs";
2+
import utils from "../../common/utils.mjs";
3+
4+
export default {
5+
name: "Get Comments",
6+
description: "Fetches comments for a file. [See the documentation](https://developer.box.com/reference/get-files-id-comments/).",
7+
key: "box-get-comments",
8+
version: "0.0.1",
9+
type: "action",
10+
props: {
11+
app,
12+
folderId: {
13+
propDefinition: [
14+
app,
15+
"parentId",
16+
],
17+
label: "Parent Folder",
18+
description: "Use this option to select your File ID from a dropdown list.",
19+
},
20+
fileId: {
21+
propDefinition: [
22+
app,
23+
"fileId",
24+
(c) => ({
25+
folderId: c.folderId,
26+
}),
27+
],
28+
label: "File ID",
29+
description: "The file ID to get comments from. Use a custom expression to reference a file from your workflow or select it from the dropdown list.",
30+
},
31+
},
32+
async run({ $ }) {
33+
const results = [];
34+
const resourcesStream = utils.getResourcesStream({
35+
resourceFn: this.app.getComments,
36+
resourceFnArgs: {
37+
$,
38+
fileId: this.fileId,
39+
},
40+
});
41+
for await (const resource of resourcesStream) {
42+
results.push(resource);
43+
}
44+
// eslint-disable-next-line multiline-ternary
45+
$.export("$summary", results.length ? `Successfully fetched ${results.length} comment${results.length === 1 ? "" : "s"}.` : "No comments found.");
46+
return results;
47+
},
48+
};

components/box/actions/search-content/search-content.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "Search Content",
77
description: "Searches for files, folders, web links, and shared files across the users content or across the entire enterprise. [See the documentation](https://developer.box.com/reference/get-search/).",
88
key: "box-search-content",
9-
version: "0.0.3",
9+
version: "0.0.4",
1010
type: "action",
1111
props: {
1212
app,

0 commit comments

Comments
 (0)