@pipedream/wordpress_org 0.4.1 → 0.4.2
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.
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "wordpress_org-upload-media",
|
|
7
7
|
name: "Upload Media",
|
|
8
8
|
description: "Upload a media item to your WordPress media library. Returns a media ID to be used in creating or updating posts.[See the documentation](https://www.npmjs.com/package/wpapi#uploading-media)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
wordpress,
|
|
@@ -37,6 +37,12 @@ export default {
|
|
|
37
37
|
description: "Description of the media item",
|
|
38
38
|
optional: true,
|
|
39
39
|
},
|
|
40
|
+
syncDir: {
|
|
41
|
+
type: "dir",
|
|
42
|
+
accessMode: "read",
|
|
43
|
+
sync: true,
|
|
44
|
+
optional: true,
|
|
45
|
+
},
|
|
40
46
|
},
|
|
41
47
|
async run({ $ }) {
|
|
42
48
|
const content = await getFileStream(this.filePath);
|