Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion components/ragie/actions/create-document/create-document.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "ragie-create-document",
name: "Create Document",
description: "Creates a new document in Ragie. [See the documentation](https://docs.ragie.ai/reference/createdocument)",
version: "0.1.0",
version: "0.1.1",
type: "action",
props: {
ragie,
Expand Down Expand Up @@ -48,6 +48,12 @@ export default {
],
optional: true,
},
syncDir: {
type: "dir",
accessMode: "read",
sync: true,
optional: true,
},
},
async run({ $ }) {
const data = new FormData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "ragie-update-document-file",
name: "Update Document File",
description: "Updates an existing document file in Ragie. [See the documentation](https://docs.ragie.ai/reference/updatedocumentfile).",
version: "0.1.0",
version: "0.1.1",
type: "action",
props: {
ragie,
Expand All @@ -29,6 +29,12 @@ export default {
"documentFile",
],
},
syncDir: {
type: "dir",
accessMode: "read",
sync: true,
optional: true,
},
},
async run({ $ }) {
const data = new FormData();
Expand Down
2 changes: 1 addition & 1 deletion components/ragie/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/ragie",
"version": "0.2.0",
"version": "0.2.1",
"description": "Pipedream Ragie Components",
"main": "ragie.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "raindrop-parse-bookmark-file",
name: "Parse HTML Bookmark File",
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)",
version: "1.0.0",
version: "1.0.1",
type: "action",
props: {
raindrop,
Expand All @@ -15,6 +15,12 @@ export default {
label: "File Path or URL",
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`)",
},
syncDir: {
type: "dir",
accessMode: "read",
sync: true,
optional: true,
},
},
async run({ $ }) {
const form = new FormData();
Expand Down
2 changes: 1 addition & 1 deletion components/raindrop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/raindrop",
"version": "0.4.0",
"version": "0.4.1",
"description": "Pipedream Raindrop.io Components",
"main": "raindrop.app.mjs",
"keywords": [
Expand Down
8 changes: 7 additions & 1 deletion components/ramp/actions/upload-receipt/upload-receipt.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "ramp-upload-receipt",
name: "Upload Receipt",
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)",
version: "0.1.0",
version: "0.1.1",
type: "action",
props: {
ramp,
Expand All @@ -27,6 +27,12 @@ export default {
label: "File Path or URL",
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`)",
},
syncDir: {
type: "dir",
accessMode: "read",
sync: true,
optional: true,
},
},
async run({ $ }) {
const boundary = "----WebKitFormBoundary7MA4YWxkTrZu0gW";
Expand Down
2 changes: 1 addition & 1 deletion components/ramp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/ramp",
"version": "0.2.0",
"version": "0.2.1",
"description": "Pipedream Ramp Components",
"main": "ramp.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "ramp_sandbox-upload-receipt",
name: "Upload Receipt",
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)",
version: "0.0.2",
version: "0.0.3",
type: "action",
props: {
ramp,
Expand All @@ -27,5 +27,11 @@ export default {
label: "File Path",
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)",
},
syncDir: {
type: "dir",
accessMode: "read",
sync: true,
optional: true,
},
},
};
2 changes: 1 addition & 1 deletion components/ramp_sandbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/ramp_sandbox",
"version": "0.1.2",
"version": "0.1.3",
"description": "Pipedream Ramp (Sandbox) Components",
"main": "ramp_sandbox.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
name: "Download Project Report",
description: "Download the report for a specific project. [See the documentation](https://rapidurlindexer.com/indexing-api/).",
type: "action",
version: "0.0.1",
version: "0.0.2",
props: {
rapidUrlIndexer,
projectId: {
Expand All @@ -20,6 +20,11 @@ export default {
label: "Filename",
description: "A filename to save the report as in the `/tmp` directory. Include the `.csv` extension",
},
syncDir: {
type: "dir",
accessMode: "write",
sync: true,
},
},
async run({ $ }) {
const response = await this.rapidUrlIndexer.downloadProjectReport({
Expand Down
2 changes: 1 addition & 1 deletion components/rapid_url_indexer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/rapid_url_indexer",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream Rapid URL Indexer Components",
"main": "rapid_url_indexer.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "reform-extract-data-from-document",
name: "Extract Data From Document",
description: "Extract structured data from a document. [See the documentation](https://docs.reformhq.com/synchronous-data-processing/extract)",
version: "0.1.0",
version: "0.1.1",
type: "action",
props: {
reform,
Expand All @@ -23,6 +23,12 @@ export default {
"fields",
],
},
syncDir: {
type: "dir",
accessMode: "read",
sync: true,
optional: true,
},
},
async run({ $ }) {
const fields = utils.parseFields(this.fields);
Expand Down
2 changes: 1 addition & 1 deletion components/reform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/reform",
"version": "0.2.0",
"version": "0.2.1",
"description": "Pipedream Reform Components",
"main": "reform.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
key: "rendi-run-ffmpeg-command",
name: "Run FFmpeg Command",
description: "Submit an FFmpeg command for processing with input and output file specifications. [See the documentation](https://docs.rendi.dev/api-reference/endpoint/run-ffmpeg-command)",
version: "0.0.1",
version: "0.0.2",
type: "action",
props: {
rendi,
Expand Down Expand Up @@ -40,6 +40,11 @@ export default {
optional: true,
reloadProps: true,
},
syncDir: {
type: "dir",
accessMode: "write",
sync: true,
},
},
additionalProps() {
if (this.waitForCompletion) {
Expand Down Expand Up @@ -93,7 +98,8 @@ export default {
responseType: "arraybuffer",
});
const filename = value.storage_url.split("/").pop();
const downloadedFilepath = `/tmp/${filename}`;
const downloadedFilepath =
`${process.env.STASH_DIR || "/tmp"}/${filename}`;
fs.writeFileSync(downloadedFilepath, resp);

response.tmpFiles.push({
Expand Down
2 changes: 1 addition & 1 deletion components/rendi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/rendi",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream Rendi Components",
"main": "rendi.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "ringcentral-download-recording",
name: "Download Recording",
description: "Gets a recording and downloads it to the /tmp directory. [See the documentation](https://developers.ringcentral.com/api-reference/Call-Recordings/readCallRecordingContent)",
version: "0.0.2",
version: "0.0.3",
type: "action",
props: {
ringcentral,
Expand Down Expand Up @@ -46,6 +46,11 @@ export default {
label: "Filename",
description: "Filename for the new file in the /tmp directory",
},
syncDir: {
type: "dir",
accessMode: "write",
sync: true,
},
},
methods: {
getRecording({
Expand Down
2 changes: 1 addition & 1 deletion components/ringcentral/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/ringcentral",
"version": "0.5.0",
"version": "0.5.1",
"description": "Pipedream Ringcentral Components",
"main": "ringcentral.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "roboflow-classify-image",
name: "Classify Image",
description: "Run inference on classification models hosted on Roboflow. [See the documentation](https://docs.roboflow.com/deploy/hosted-api/classification).",
version: "1.0.0",
version: "1.0.1",
type: "action",
props: {
roboflow,
Expand All @@ -30,6 +30,12 @@ export default {
"filePath",
],
},
syncDir: {
type: "dir",
accessMode: "read",
sync: true,
optional: true,
},
},
async run({ $ }) {
const response = await this.roboflow.classifyImage({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "roboflow-detect-object-from-image",
name: "Detect Object From Image",
description: "Run inference on your object detection models hosted on Roboflow. [See the documentation](https://docs.roboflow.com/deploy/hosted-api/object-detection).",
version: "1.0.0",
version: "1.0.1",
type: "action",
props: {
roboflow,
Expand All @@ -30,6 +30,12 @@ export default {
"filePath",
],
},
syncDir: {
type: "dir",
accessMode: "read",
sync: true,
optional: true,
},
},
async run({ $ }) {
const response = await this.roboflow.detectObject({
Expand Down
8 changes: 7 additions & 1 deletion components/roboflow/actions/upload-image/upload-image.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "roboflow-upload-image",
name: "Upload Image",
description: "Upload an image to a project on the Roboflow platform. [See the documentation](https://docs.roboflow.com/datasets/adding-data/upload-api).",
version: "1.0.0",
version: "1.0.1",
type: "action",
props: {
roboflow,
Expand All @@ -29,6 +29,12 @@ export default {
description: "Name of the uploaded file",
optional: true,
},
syncDir: {
type: "dir",
accessMode: "read",
sync: true,
optional: true,
},
},
async run({ $ }) {
const formData = new FormData();
Expand Down
2 changes: 1 addition & 1 deletion components/roboflow/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/roboflow",
"version": "1.0.0",
"version": "1.0.1",
"description": "Pipedream Roboflow Components",
"main": "roboflow.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
key: "salesforce_rest_api-create-attachment",
name: "Create Attachment",
description: `Creates an Attachment on a parent object. [See the documentation](${docsLink})`,
version: "0.5.0",
version: "0.5.1",
type: "action",
props,
async run({ $ }) {
Expand Down
2 changes: 1 addition & 1 deletion components/salesforce_rest_api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/salesforce_rest_api",
"version": "1.6.0",
"version": "1.6.1",
"description": "Pipedream Salesforce (REST API) Components",
"main": "salesforce_rest_api.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "scoredetect-create-timestamp-file",
name: "Create Certificate from File",
description: "Creates a timestamped blockchain certificate using a provided file (local or URL). [See the documentation](https://api.scoredetect.com/docs/routes#create-certificate)",
version: "0.1.0",
version: "0.1.1",
type: "action",
props: {
scoreDetect,
Expand All @@ -15,6 +15,12 @@ export default {
"fileOrUrl",
],
},
syncDir: {
type: "dir",
accessMode: "read",
sync: true,
optional: true,
},
},
async run({ $ }) {
const {
Expand Down
2 changes: 1 addition & 1 deletion components/scoredetect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/scoredetect",
"version": "0.2.0",
"version": "0.2.1",
"description": "Pipedream ScoreDetect Components",
"main": "scoredetect.app.mjs",
"keywords": [
Expand Down
Loading
Loading