Skip to content

Commit 68a3ffe

Browse files
authored
Configure file stash sync: Ragie-Zoho WorkDrive (#17375)
The 'dir' prop indicates that a stash ID should be passed when running these actions via the Connect API. This allows files written to the ephemeral /tmp directory in one action to be read by another, separately executed action since both can sync /tmp with the same File Stash directory.
1 parent df8a3b7 commit 68a3ffe

File tree

118 files changed

+534
-126
lines changed

Some content is hidden

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

118 files changed

+534
-126
lines changed

components/ragie/actions/create-document/create-document.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "ragie-create-document",
77
name: "Create Document",
88
description: "Creates a new document in Ragie. [See the documentation](https://docs.ragie.ai/reference/createdocument)",
9-
version: "0.1.0",
9+
version: "0.1.1",
1010
type: "action",
1111
props: {
1212
ragie,
@@ -48,6 +48,12 @@ export default {
4848
],
4949
optional: true,
5050
},
51+
syncDir: {
52+
type: "dir",
53+
accessMode: "read",
54+
sync: true,
55+
optional: true,
56+
},
5157
},
5258
async run({ $ }) {
5359
const data = new FormData();

components/ragie/actions/update-document-file/update-document-file.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "ragie-update-document-file",
77
name: "Update Document File",
88
description: "Updates an existing document file in Ragie. [See the documentation](https://docs.ragie.ai/reference/updatedocumentfile).",
9-
version: "0.1.0",
9+
version: "0.1.1",
1010
type: "action",
1111
props: {
1212
ragie,
@@ -29,6 +29,12 @@ export default {
2929
"documentFile",
3030
],
3131
},
32+
syncDir: {
33+
type: "dir",
34+
accessMode: "read",
35+
sync: true,
36+
optional: true,
37+
},
3238
},
3339
async run({ $ }) {
3440
const data = new FormData();

components/ragie/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/ragie",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Pipedream Ragie Components",
55
"main": "ragie.app.mjs",
66
"keywords": [

components/raindrop/actions/parse-bookmark-file/parse-bookmark-file.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "raindrop-parse-bookmark-file",
77
name: "Parse HTML Bookmark File",
88
description: "Convert an HTML bookmark file to JSON. Supports Nestcape, Pocket and Instapaper file formats. [See the documentation](https://developer.raindrop.io/v1/import#parse-html-import-file)",
9-
version: "1.0.0",
9+
version: "1.0.1",
1010
type: "action",
1111
props: {
1212
raindrop,
@@ -15,6 +15,12 @@ export default {
1515
label: "File Path or URL",
1616
description: "The file to parse. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/bookmarks.html`)",
1717
},
18+
syncDir: {
19+
type: "dir",
20+
accessMode: "read",
21+
sync: true,
22+
optional: true,
23+
},
1824
},
1925
async run({ $ }) {
2026
const form = new FormData();

components/raindrop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/raindrop",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Pipedream Raindrop.io Components",
55
"main": "raindrop.app.mjs",
66
"keywords": [

components/ramp/actions/upload-receipt/upload-receipt.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "ramp-upload-receipt",
77
name: "Upload Receipt",
88
description: "Uploads a receipt for a given transaction and user. [See the documentation](https://docs.ramp.com/developer-api/v1/reference/rest/receipts#post-developer-v1-receipts)",
9-
version: "0.1.0",
9+
version: "0.1.1",
1010
type: "action",
1111
props: {
1212
ramp,
@@ -27,6 +27,12 @@ export default {
2727
label: "File Path or URL",
2828
description: "The file to upload. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.txt`)",
2929
},
30+
syncDir: {
31+
type: "dir",
32+
accessMode: "read",
33+
sync: true,
34+
optional: true,
35+
},
3036
},
3137
async run({ $ }) {
3238
const boundary = "----WebKitFormBoundary7MA4YWxkTrZu0gW";

components/ramp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/ramp",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Pipedream Ramp Components",
55
"main": "ramp.app.mjs",
66
"keywords": [

components/ramp_sandbox/actions/upload-receipt/upload-receipt.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "ramp_sandbox-upload-receipt",
77
name: "Upload Receipt",
88
description: "Uploads a receipt for a given transaction and user. [See the documentation](https://docs.ramp.com/developer-api/v1/reference/rest/receipts#post-developer-v1-receipts)",
9-
version: "0.0.2",
9+
version: "0.0.3",
1010
type: "action",
1111
props: {
1212
ramp,
@@ -27,5 +27,11 @@ export default {
2727
label: "File Path",
2828
description: "The path to a file in the `/tmp` directory. [See the documentation on working with files](https://pipedream.com/docs/code/nodejs/working-with-files/#writing-a-file-to-tmp)",
2929
},
30+
syncDir: {
31+
type: "dir",
32+
accessMode: "read",
33+
sync: true,
34+
optional: true,
35+
},
3036
},
3137
};

components/ramp_sandbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/ramp_sandbox",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Pipedream Ramp (Sandbox) Components",
55
"main": "ramp_sandbox.app.mjs",
66
"keywords": [

components/rapid_url_indexer/actions/download-project-report/download-project-report.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
name: "Download Project Report",
77
description: "Download the report for a specific project. [See the documentation](https://rapidurlindexer.com/indexing-api/).",
88
type: "action",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
props: {
1111
rapidUrlIndexer,
1212
projectId: {
@@ -20,6 +20,11 @@ export default {
2020
label: "Filename",
2121
description: "A filename to save the report as in the `/tmp` directory. Include the `.csv` extension",
2222
},
23+
syncDir: {
24+
type: "dir",
25+
accessMode: "write",
26+
sync: true,
27+
},
2328
},
2429
async run({ $ }) {
2530
const response = await this.rapidUrlIndexer.downloadProjectReport({

0 commit comments

Comments
 (0)