Skip to content

Commit 749d99b

Browse files
committed
Added actions
1 parent f0642cc commit 749d99b

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

components/ayrshare/actions/create-user/create-user.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default {
7878
tags: this.tags,
7979
},
8080
});
81-
$.export("$summary", "Successfully created user with the profile Key:" + response.profileKey);
81+
$.export("$summary", "Successfully created user with the profile Key: " + response.profileKey);
8282
return response;
8383
},
8484
};

components/ayrshare/actions/update-user/update-user.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export default {
1919
app,
2020
"title",
2121
],
22+
description: "Unique title of the profile that will be updated",
2223
},
2324
messagingActive: {
2425
propDefinition: [

components/ayrshare/ayrshare.app.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { axios } from "@pipedream/platform";
2+
import constants from "./common/constants.mjs";
23

34
export default {
45
type: "app",
@@ -37,6 +38,7 @@ export default {
3738
type: "string[]",
3839
label: "Disable Social",
3940
description: "List of social platforms to disable for this profile",
41+
options: constants.SOCIAL_NETWORKS,
4042
optional: true,
4143
},
4244
team: {
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
export default {
2+
SOCIAL_NETWORKS: [
3+
"bluesky",
4+
"facebook",
5+
"gmb",
6+
"instagram",
7+
"linkedin",
8+
"pinterest",
9+
"reddit",
10+
"snapchat",
11+
"telegram",
12+
"threads",
13+
"tiktok",
14+
"twitter",
15+
"youtube",
16+
],
17+
};

0 commit comments

Comments
 (0)