@pipedream/wordpress_org 0.3.7 → 0.3.8

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.
@@ -3,8 +3,8 @@ import wordpress from "../../wordpress_org.app.mjs";
3
3
  export default {
4
4
  key: "wordpress_org-create-post",
5
5
  name: "Create Post",
6
- description: "Creates a post. [See the docs here](https://developer.wordpress.org/rest-api/reference/posts/#create-a-post)",
7
- version: "0.0.2",
6
+ description: "Creates a post. [See the documentation](https://developer.wordpress.org/rest-api/reference/posts/#create-a-post)",
7
+ version: "0.0.3",
8
8
  type: "action",
9
9
  props: {
10
10
  wordpress,
@@ -3,8 +3,8 @@ import wordpress from "../../wordpress_org.app.mjs";
3
3
  export default {
4
4
  key: "wordpress_org-create-user",
5
5
  name: "Create User",
6
- description: "Creates a user. [See the docs here](https://developer.wordpress.org/rest-api/reference/users/#create-a-user)",
7
- version: "0.0.3",
6
+ description: "Creates a user. [See the documentation](https://developer.wordpress.org/rest-api/reference/users/#create-a-user)",
7
+ version: "0.0.4",
8
8
  type: "action",
9
9
  props: {
10
10
  wordpress,
@@ -3,8 +3,8 @@ import wordpress from "../../wordpress_org.app.mjs";
3
3
  export default {
4
4
  key: "wordpress_org-get-user",
5
5
  name: "Get User",
6
- description: "Retrieves information for a user. [See the docs here](https://developer.wordpress.org/rest-api/reference/users/#retrieve-a-user-2)",
7
- version: "0.0.1",
6
+ description: "Retrieves information for a user. [See the documentation](https://developer.wordpress.org/rest-api/reference/users/#retrieve-a-user-2)",
7
+ version: "0.0.2",
8
8
  type: "action",
9
9
  props: {
10
10
  wordpress,
@@ -3,8 +3,8 @@ import wordpress from "../../wordpress_org.app.mjs";
3
3
  export default {
4
4
  key: "wordpress_org-search-posts",
5
5
  name: "Search Posts",
6
- description: "Searches for specific posts. [See the docs here](https://developer.wordpress.org/rest-api/reference/posts/#list-posts)",
7
- version: "0.0.2",
6
+ description: "Searches for specific posts. [See the documentation](https://developer.wordpress.org/rest-api/reference/posts/#list-posts)",
7
+ version: "0.0.3",
8
8
  type: "action",
9
9
  props: {
10
10
  wordpress,
@@ -3,8 +3,8 @@ import wordpress from "../../wordpress_org.app.mjs";
3
3
  export default {
4
4
  key: "wordpress_org-update-post",
5
5
  name: "Update Post",
6
- description: "Updates a post specified by its ID. [See the docs here](https://developer.wordpress.org/rest-api/reference/posts/#update-a-post)",
7
- version: "0.0.2",
6
+ description: "Updates a post specified by its ID. [See the documentation](https://developer.wordpress.org/rest-api/reference/posts/#update-a-post)",
7
+ version: "0.0.3",
8
8
  type: "action",
9
9
  props: {
10
10
  wordpress,
@@ -4,8 +4,8 @@ import pickBy from "lodash.pickby";
4
4
  export default {
5
5
  key: "wordpress_org-update-user",
6
6
  name: "Update User",
7
- description: "Updates the information of a user. [See the docs here](https://developer.wordpress.org/rest-api/reference/users/#update-a-user-2)",
8
- version: "0.0.1",
7
+ description: "Updates the information of a user. [See the documentation](https://developer.wordpress.org/rest-api/reference/users/#update-a-user-2)",
8
+ version: "0.0.2",
9
9
  type: "action",
10
10
  props: {
11
11
  wordpress,
@@ -6,4 +6,8 @@ export default {
6
6
  "editor",
7
7
  "administrator",
8
8
  ],
9
+ COMMENT_STATUS: [
10
+ "open",
11
+ "closed",
12
+ ],
9
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/wordpress_org",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Pipedream Wordpress.org Components",
5
5
  "main": "wordpress_org.app.mjs",
6
6
  "keywords": [
@@ -29,9 +29,10 @@ export default {
29
29
  optional: true,
30
30
  },
31
31
  commentStatus: {
32
- type: "boolean",
32
+ type: "string",
33
33
  label: "Comment Status",
34
34
  description: "Whether or not comments are allowed on the post",
35
+ options: constants.COMMENT_STATUS,
35
36
  optional: true,
36
37
  },
37
38
  username: {