@pipedream/dropbox 0.3.5 → 0.3.6

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.
File without changes
@@ -1,12 +1,12 @@
1
1
  import dropbox from "../../dropbox.app.mjs";
2
- import common from "../common.mjs";
2
+ import common from "../common/common.mjs";
3
3
 
4
4
  export default {
5
5
  ...common,
6
6
  name: "Create a Text File",
7
7
  description: "Creates a brand new text file from plain text content you specify. [See docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesUpload__anchor)",
8
8
  key: "dropbox-create-a-text-file",
9
- version: "0.0.3",
9
+ version: "0.0.4",
10
10
  type: "action",
11
11
  props: {
12
12
  dropbox,
@@ -1,12 +1,12 @@
1
1
  import dropbox from "../../dropbox.app.mjs";
2
- import common from "../common.mjs";
2
+ import common from "../common/common.mjs";
3
3
 
4
4
  export default {
5
5
  ...common,
6
6
  name: "Create folder",
7
7
  description: "Create a folder. [See docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesCreateFolderV2__anchor)",
8
8
  key: "dropbox-create-folder",
9
- version: "0.0.3",
9
+ version: "0.0.4",
10
10
  type: "action",
11
11
  props: {
12
12
  dropbox,
@@ -1,11 +1,11 @@
1
1
  import dropbox from "../../dropbox.app.mjs";
2
- import common from "../common.mjs";
2
+ import common from "../common/common.mjs";
3
3
 
4
4
  export default {
5
5
  name: "Create or Append to a Text File",
6
6
  description: "Adds a new line to an existing text file, or creates a file if it doesn't exist. [See docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesUpload__anchor)",
7
7
  key: "dropbox-create-or-append-to-a-text-file",
8
- version: "0.0.3",
8
+ version: "0.0.4",
9
9
  type: "action",
10
10
  props: {
11
11
  dropbox,
@@ -1,11 +1,11 @@
1
1
  import dropbox from "../../dropbox.app.mjs";
2
- import consts from "../../consts.mjs";
2
+ import consts from "../../common/consts.mjs";
3
3
 
4
4
  export default {
5
5
  name: "Create/Update a Share Link",
6
6
  description: "Creates or updates a public share link to the file or folder (It allows to share the file or folder with anyone). [See docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#sharingCreateSharedLinkWithSettings__anchor)",
7
- key: "dropbox-create-update-update-a-share-link",
8
- version: "0.0.3",
7
+ key: "dropbox-create-update-share-link",
8
+ version: "0.0.4",
9
9
  type: "action",
10
10
  props: {
11
11
  dropbox,
@@ -3,8 +3,8 @@ import dropbox from "../../dropbox.app.mjs";
3
3
  export default {
4
4
  name: "Delete a File/Folder",
5
5
  description: "Permanently removes a file/folder from the server. [See docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDeleteV2__anchor)",
6
- key: "dropbox-delete-a-file-folder",
7
- version: "0.0.3",
6
+ key: "dropbox-delete-file-folder",
7
+ version: "0.0.4",
8
8
  type: "action",
9
9
  props: {
10
10
  dropbox,
@@ -4,7 +4,7 @@ export default {
4
4
  name: "List All Files/Subfolders in a Folder",
5
5
  description: "Retrieves a list of files or subfolders in a specified folder [See the docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolder__anchor)",
6
6
  key: "dropbox-list-file-folders-in-a-folder",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
8
  type: "action",
9
9
  props: {
10
10
  dropbox,
@@ -1,11 +1,11 @@
1
- import consts from "../../consts.mjs";
1
+ import consts from "../../common/consts.mjs";
2
2
  import dropbox from "../../dropbox.app.mjs";
3
3
 
4
4
  export default {
5
5
  name: "List File Revisions",
6
6
  description: "Retrieves a list of file revisions needed to recover previous content. [See docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListRevisions__anchor)",
7
7
  key: "dropbox-list-file-revisions",
8
- version: "0.0.3",
8
+ version: "0.0.4",
9
9
  type: "action",
10
10
  props: {
11
11
  dropbox,
@@ -4,7 +4,7 @@ export default {
4
4
  name: "Move a File/Folder",
5
5
  description: "Moves a file or folder to a different location in the user's Dropbox [See the docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesMoveV2__anchor)",
6
6
  key: "dropbox-move-file-folder",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
8
  type: "action",
9
9
  props: {
10
10
  dropbox,
@@ -4,7 +4,7 @@ export default {
4
4
  name: "Rename a File/Folder",
5
5
  description: "Renames a file or folder in the user's Dropbox [See the docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesMoveV2__anchor)",
6
6
  key: "dropbox-rename-file-folder",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
8
  type: "action",
9
9
  props: {
10
10
  dropbox,
@@ -4,7 +4,7 @@ export default {
4
4
  name: "Restore a File",
5
5
  description: "Restores a previous file version. [See docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesRestore__anchor)",
6
6
  key: "dropbox-restore-a-file",
7
- version: "0.0.3",
7
+ version: "0.0.4",
8
8
  type: "action",
9
9
  props: {
10
10
  dropbox,
@@ -1,13 +1,13 @@
1
1
  import dropbox from "../../dropbox.app.mjs";
2
2
  import isNil from "lodash/isNil.js";
3
3
  import get from "lodash/get.js";
4
- import consts from "../../consts.mjs";
4
+ import consts from "../../common/consts.mjs";
5
5
 
6
6
  export default {
7
7
  name: "Search files and folders",
8
8
  description: "Searches for files and folders by name. [See the docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesSearchV2__anchor)",
9
9
  key: "dropbox-search-files-folders",
10
- version: "0.0.3",
10
+ version: "0.0.4",
11
11
  type: "action",
12
12
  props: {
13
13
  dropbox,
@@ -1,15 +1,15 @@
1
1
  import dropbox from "../../dropbox.app.mjs";
2
- import consts from "../../consts.mjs";
2
+ import consts from "../../common/consts.mjs";
3
3
  import fs from "fs";
4
4
  import got from "got";
5
- import common from "../common.mjs";
5
+ import common from "../common/common.mjs";
6
6
 
7
7
  export default {
8
8
  ...common,
9
9
  name: "Upload a File",
10
10
  description: "Uploads a file to a selected folder. [See docs here](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesUpload__anchor)",
11
- key: "dropbox-upload-a-file",
12
- version: "0.0.4",
11
+ key: "dropbox-upload-file",
12
+ version: "0.0.5",
13
13
  type: "action",
14
14
  props: {
15
15
  dropbox,
File without changes
File without changes
package/dropbox.app.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import dropbox from "dropbox";
2
2
  import fetch from "isomorphic-fetch";
3
3
  import get from "lodash/get.js";
4
- import config from "./config.mjs";
4
+ import config from "./common/config.mjs";
5
5
  import isString from "lodash/isString.js";
6
6
  import isEmpty from "lodash/isEmpty.js";
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/dropbox",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Pipedream Dropbox Components",
5
5
  "main": "dropbox.app.js",
6
6
  "keywords": [
@@ -1,4 +1,4 @@
1
- import common from "../common.mjs";
1
+ import common from "../common/common.mjs";
2
2
 
3
3
  export default {
4
4
  ...common,
@@ -6,7 +6,7 @@ export default {
6
6
  type: "source",
7
7
  key: "dropbox-all-updates",
8
8
  name: "New or Modified File or Folder",
9
- version: "0.0.8",
9
+ version: "0.0.9",
10
10
  description: "Emit new event when a file or folder is added or modified. Make sure the number of files/folders in the watched folder does not exceed 4000.",
11
11
  props: {
12
12
  ...common.props,
File without changes
@@ -1,4 +1,4 @@
1
- import common from "../common.mjs";
1
+ import common from "../common/common.mjs";
2
2
 
3
3
  export default {
4
4
  ...common,
@@ -6,7 +6,7 @@ export default {
6
6
  type: "source",
7
7
  key: "dropbox-new-file",
8
8
  name: "New File",
9
- version: "0.0.8",
9
+ version: "0.0.9",
10
10
  description: "Emit new event when a new file is added to your account or a specific folder. Make sure the number of files/folders in the watched folder does not exceed 4000.",
11
11
  props: {
12
12
  ...common.props,
@@ -1,4 +1,4 @@
1
- import common from "../common.mjs";
1
+ import common from "../common/common.mjs";
2
2
 
3
3
  export default {
4
4
  ...common,
@@ -6,7 +6,7 @@ export default {
6
6
  type: "source",
7
7
  key: "dropbox-new-folder",
8
8
  name: "New Folder",
9
- version: "0.0.8",
9
+ version: "0.0.9",
10
10
  description: "Emit new event when a new folder is created. Make sure the number of files/folders in the watched folder does not exceed 4000.",
11
11
  hooks: {
12
12
  async activate() {