@pipedream/peerdom 0.1.0 → 0.3.0

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.
@@ -4,7 +4,12 @@ export default {
4
4
  key: "peerdom-assign-member-to-role",
5
5
  name: "Assign Member to Role",
6
6
  description: "Assigns a member to a role within a circle using the Peerdom API. [See the documentation](https://api.peerdom.org/v1/docs)",
7
- version: "0.0.1",
7
+ version: "0.0.2",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  peerdom,
@@ -6,7 +6,12 @@ export default {
6
6
  key: "peerdom-create-role",
7
7
  name: "Create Role",
8
8
  description: "Create a new role within a specified circle. [See the documentation](https://api.peerdom.org/v1/docs)",
9
- version: "0.0.1",
9
+ version: "0.0.2",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  peerdom,
@@ -0,0 +1,24 @@
1
+ import peerdom from "../../peerdom.app.mjs";
2
+
3
+ export default {
4
+ key: "peerdom-list-group-id-options",
5
+ name: "List Group ID Options",
6
+ description: "Retrieves available options for the Group ID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ peerdom,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await peerdom.propDefinitions.groupId.options.call(this.peerdom);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -0,0 +1,24 @@
1
+ import peerdom from "../../peerdom.app.mjs";
2
+
3
+ export default {
4
+ key: "peerdom-list-map-id-options",
5
+ name: "List Map ID Options",
6
+ description: "Retrieves available options for the Map ID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ peerdom,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await peerdom.propDefinitions.mapId.options.call(this.peerdom);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -0,0 +1,26 @@
1
+ import peerdom from "../../peerdom.app.mjs";
2
+
3
+ export default {
4
+ key: "peerdom-list-member-id-options",
5
+ name: "List Member ID Options",
6
+ description: "Retrieves available options for the Member ID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ peerdom,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await peerdom.propDefinitions.memberId.options.call(this.peerdom, {});
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${
20
+ options.length === 1
21
+ ? ""
22
+ : "s"
23
+ }`);
24
+ return options;
25
+ },
26
+ };
@@ -0,0 +1,26 @@
1
+ import peerdom from "../../peerdom.app.mjs";
2
+
3
+ export default {
4
+ key: "peerdom-list-role-id-options",
5
+ name: "List Role ID Options",
6
+ description: "Retrieves available options for the Role ID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ peerdom,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await peerdom.propDefinitions.roleId.options.call(this.peerdom, {});
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${
20
+ options.length === 1
21
+ ? ""
22
+ : "s"
23
+ }`);
24
+ return options;
25
+ },
26
+ };
@@ -6,7 +6,12 @@ export default {
6
6
  key: "peerdom-update-role",
7
7
  name: "Update Role",
8
8
  description: "Update an existing role's attributes such as name, description, or linked domains. [See the documentation](https://api.peerdom.org/v1/docs)",
9
- version: "0.0.1",
9
+ version: "0.0.2",
10
+ annotations: {
11
+ destructiveHint: true,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  peerdom,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/peerdom",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Pipedream Peerdom Components",
5
5
  "main": "peerdom.app.mjs",
6
6
  "keywords": [
@@ -13,6 +13,6 @@
13
13
  "access": "public"
14
14
  },
15
15
  "dependencies": {
16
- "@pipedream/platform": "^3.0.3"
16
+ "@pipedream/platform": "^3.1.1"
17
17
  }
18
18
  }