Skip to content

Commit a13d124

Browse files
authored
Merge branch 'master' into issue-17860
2 parents 50c656f + 1ab9200 commit a13d124

File tree

332 files changed

+11149
-1723
lines changed

Some content is hidden

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

332 files changed

+11149
-1723
lines changed

components/acelle_mail/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/acelle_mail",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Pipedream Acelle Mail Components",
55
"main": "acelle_mail.app.mjs",
66
"keywords": [
@@ -11,5 +11,8 @@
1111
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
1212
"publishConfig": {
1313
"access": "public"
14+
},
15+
"dependencies": {
16+
"@pipedream/platform": "^3.1.0"
1417
}
1518
}

components/affinda/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/affinda",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Pipedream Affinda Components",
55
"main": "affinda.app.mjs",
66
"keywords": [
@@ -11,5 +11,8 @@
1111
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
1212
"publishConfig": {
1313
"access": "public"
14+
},
15+
"dependencies": {
16+
"@pipedream/platform": "^3.1.0"
1417
}
1518
}

components/aircall/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/aircall",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Pipedream Aircall Components",
55
"main": "aircall.app.mjs",
66
"keywords": [
@@ -11,5 +11,8 @@
1111
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
1212
"publishConfig": {
1313
"access": "public"
14+
},
15+
"dependencies": {
16+
"@pipedream/platform": "^3.1.0"
1417
}
1518
}

components/amplenote/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/amplenote",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Pipedream Amplenote Components",
55
"main": "dist/app/amplenote.app.mjs",
66
"keywords": [
@@ -16,6 +16,9 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@pipedream/platform": "^1.1.1"
19+
"@pipedream/platform": "^3.1.0"
20+
},
21+
"devDependencies": {
22+
"@pipedream/types": "^0.3.2"
2023
}
2124
}

components/apitemplate_io/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/apitemplate_io",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "Pipedream APITemplate.io Components",
55
"main": "dist/app/apitemplate_io.app.mjs",
66
"keywords": [
@@ -16,6 +16,9 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@pipedream/platform": "^1.1.1"
19+
"@pipedream/platform": "^3.1.0"
20+
},
21+
"devDependencies": {
22+
"@pipedream/types": "^0.3.2"
2023
}
2124
}

components/azure_storage/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/azure_storage",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "Pipedream Azure Storage Components",
55
"main": "azure_storage.app.mjs",
66
"keywords": [
@@ -14,6 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@pipedream/platform": "^3.1.0",
17-
"mime-types": "^2.1.35"
17+
"mime-types": "^2.1.35",
18+
"fast-xml-parser": "^4.2.5"
1819
}
1920
}

components/baserow/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/baserow",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Pipedream Baserow Components",
55
"main": "dist/app/baserow.app.mjs",
66
"keywords": [
@@ -16,7 +16,9 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@pipedream/platform": "^1.2.1",
20-
"@pipedream/types": "^0.1.4"
19+
"@pipedream/platform": "^3.1.0"
20+
},
21+
"devDependencies": {
22+
"@pipedream/types": "^0.3.2"
2123
}
2224
}

components/beanstalkapp/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/beanstalkapp",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Pipedream Beanstalk Components",
55
"main": "beanstalkapp.app.mjs",
66
"keywords": [
@@ -11,5 +11,8 @@
1111
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
1212
"publishConfig": {
1313
"access": "public"
14+
},
15+
"dependencies": {
16+
"@pipedream/platform": "^3.1.0"
1417
}
1518
}

components/beehiiv/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/beehiiv",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "Pipedream Beehiiv Components",
55
"main": "dist/app/beehiiv.app.mjs",
66
"keywords": [
@@ -16,7 +16,9 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@pipedream/platform": "^1.1.1",
20-
"@pipedream/types": "^0.1.4"
19+
"@pipedream/platform": "^3.1.0"
20+
},
21+
"devDependencies": {
22+
"@pipedream/types": "^0.3.2"
2123
}
2224
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
import app from "../../brave_search_api.app.mjs";
2+
3+
export default {
4+
key: "brave_search_api-web-search",
5+
name: "Web Search",
6+
description: "Query Brave Search and get back search results from the web. [See the documentation](https://api-dashboard.search.brave.com/app/documentation/web-search/get-started)",
7+
version: "0.0.1",
8+
type: "action",
9+
props: {
10+
app,
11+
q: {
12+
propDefinition: [
13+
app,
14+
"q",
15+
],
16+
},
17+
country: {
18+
propDefinition: [
19+
app,
20+
"country",
21+
],
22+
},
23+
searchLang: {
24+
propDefinition: [
25+
app,
26+
"searchLang",
27+
],
28+
},
29+
uiLang: {
30+
propDefinition: [
31+
app,
32+
"uiLang",
33+
],
34+
},
35+
safesearch: {
36+
propDefinition: [
37+
app,
38+
"safesearch",
39+
],
40+
},
41+
},
42+
async run({ $ }) {
43+
const allResults = [];
44+
const count = 20;
45+
for (let offset = 0; offset < 5; offset++) {
46+
const response = await this.app.webSearch({
47+
$,
48+
params: {
49+
q: this.q,
50+
country: this.country,
51+
search_lang: this.searchLang,
52+
ui_lang: this.uiLang,
53+
safesearch: this.safesearch,
54+
count,
55+
offset,
56+
},
57+
});
58+
59+
const results = response.web?.results;
60+
allResults.push(...results);
61+
62+
if (results.length < count) {
63+
break;
64+
}
65+
}
66+
67+
$.export("$summary", `Retrieved ${allResults.length} results`);
68+
return {
69+
allResults,
70+
};
71+
},
72+
};

0 commit comments

Comments
 (0)