Skip to content

Commit a87077c

Browse files
committed
Merge branch 'master' into 17440-lightspeed
2 parents 9296ad9 + cc9213d commit a87077c

File tree

93 files changed

+5079
-1363
lines changed

Some content is hidden

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

93 files changed

+5079
-1363
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export default {
2+
type: "app",
3+
app: "etrusted",
4+
propDefinitions: {},
5+
methods: {
6+
// this.$auth contains connected account data
7+
authKeys() {
8+
console.log(Object.keys(this.$auth));
9+
},
10+
},
11+
};

components/etrusted/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@pipedream/etrusted",
3+
"version": "0.0.1",
4+
"description": "Pipedream eTrusted Components",
5+
"main": "etrusted.app.mjs",
6+
"keywords": [
7+
"pipedream",
8+
"etrusted"
9+
],
10+
"homepage": "https://pipedream.com/apps/etrusted",
11+
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
12+
"publishConfig": {
13+
"access": "public"
14+
}
15+
}

components/financial_data/financial_data.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default {
88
console.log(Object.keys(this.$auth));
99
},
1010
},
11-
};
11+
};

components/gtmetrix/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/gtmetrix",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Pipedream GTmetrix Components",
55
"main": "gtmetrix.app.mjs",
66
"keywords": [
@@ -13,6 +13,6 @@
1313
"access": "public"
1414
},
1515
"dependencies": {
16-
"@pipedream/platform": "^1.5.1"
16+
"@pipedream/platform": "^3.1.0"
1717
}
1818
}

components/gtmetrix/sources/new-test-completed/new-test-completed.mjs

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,25 @@ export default {
55
key: "gtmetrix-new-test-completed",
66
name: "New Test Completed",
77
description: "Emit new event when a test is completed in GTMetrix. [See the documentation](https://gtmetrix.com/api/docs/2.0/#api-test-list)",
8-
version: "0.0.1",
8+
version: "0.0.2",
99
type: "source",
1010
dedupe: "unique",
11+
props: {
12+
...common.props,
13+
testSources: {
14+
type: "string[]",
15+
label: "Test Sources",
16+
description: "The test sources to emit events for",
17+
options: [
18+
"api",
19+
"on-demand",
20+
"monitored",
21+
],
22+
default: [
23+
"api",
24+
],
25+
},
26+
},
1127
methods: {
1228
...common.methods,
1329
getResourceFn() {
@@ -19,6 +35,7 @@ export default {
1935
"sort": "-finished",
2036
"filter[state]": "completed",
2137
"filter[finished:gt]": lastTs,
38+
"filter[source]": this.testSources.join(", "),
2239
},
2340
};
2441
},

components/hubspot/actions/common/common-page-prop.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,16 @@ export default {
7676
],
7777
optional: true,
7878
},
79+
widgetContainers: {
80+
type: "object",
81+
label: "Widget Containers",
82+
description: "A data structure containing the data for all the modules inside the containers for this page",
83+
optional: true,
84+
},
85+
widgets: {
86+
type: "object",
87+
label: "Widgets",
88+
description: "A data structure containing the data for all the modules for this page",
89+
optional: true,
90+
},
7991
};

components/hubspot/actions/create-landing-page/create-landing-page.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "Create Landing Page",
88
description:
99
"Create a landing page in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages#post-%2Fcms%2Fv3%2Fpages%2Flanding-pages)",
10-
version: "0.0.6",
10+
version: "0.0.7",
1111
type: "action",
1212
props: {
1313
hubspot,
@@ -44,6 +44,8 @@ export default {
4444
footerHtml: this.footerHtml,
4545
headHtml: this.headHtml,
4646
templatePath: this.templatePath,
47+
widgetContainers: parseObject(this.widgetContainers),
48+
widgets: parseObject(this.widgets),
4749
},
4850
});
4951

components/hubspot/actions/create-page/create-page.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "Create Page",
88
description:
99
"Create a page in HubSpot. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages#post-%2Fcms%2Fv3%2Fpages%2Fsite-pages)",
10-
version: "0.0.6",
10+
version: "0.0.7",
1111
type: "action",
1212
props: {
1313
hubspot,
@@ -36,6 +36,8 @@ export default {
3636
footerHtml: this.footerHtml,
3737
headHtml: this.headHtml,
3838
templatePath: this.templatePath,
39+
widgetContainers: parseObject(this.widgetContainers),
40+
widgets: parseObject(this.widgets),
3941
},
4042
});
4143

components/hubspot/actions/list-pages/list-pages.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "List Pages",
66
description:
77
"Retrieves a list of site pages. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages)",
8-
version: "0.0.7",
8+
version: "0.0.8",
99
type: "action",
1010
props: {
1111
hubspot,
@@ -79,7 +79,7 @@ export default {
7979
},
8080
},
8181
async run({ $ }) {
82-
const results = [];
82+
const pages = [];
8383
let hasMore,
8484
count = 0;
8585

@@ -105,7 +105,7 @@ export default {
105105
break;
106106
}
107107
for (const item of results) {
108-
results.push(item);
108+
pages.push(item);
109109
count++;
110110
if (count >= this.maxResults) {
111111
break;
@@ -117,10 +117,10 @@ export default {
117117

118118
$.export(
119119
"$summary",
120-
`Found ${results.length} page${results.length === 1
120+
`Found ${pages.length} page${pages.length === 1
121121
? ""
122122
: "s"}`,
123123
);
124-
return results;
124+
return pages;
125125
},
126126
};

components/hubspot/actions/update-landing-page/update-landing-page.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "Update Landing Page",
88
description:
99
"Update a landing page in HubSpot. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages#patch-%2Fcms%2Fv3%2Fpages%2Flanding-pages%2F%7Bobjectid%7D)",
10-
version: "0.0.6",
10+
version: "0.0.7",
1111
type: "action",
1212
props: {
1313
hubspot,
@@ -53,6 +53,8 @@ export default {
5353
footerHtml: this.footerHtml,
5454
headHtml: this.headHtml,
5555
templatePath: this.templatePath,
56+
widgetContainers: parseObject(this.widgetContainers),
57+
widgets: parseObject(this.widgets),
5658
},
5759
});
5860

0 commit comments

Comments
 (0)