@pipedream/google_drive 0.6.3 → 0.6.4

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.
package/README.md CHANGED
@@ -8,5 +8,3 @@ Using the Google Drive API, you can build applications that:
8
8
  - Search for files
9
9
  - Track changes to files
10
10
  - And much more!
11
-
12
- Pipedream's use and transfer of information received from Google APIs to any other app will adhere to the [Google API Services User Data Policy](https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes), including the Limited Use requirements.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/google_drive",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "Pipedream Google_drive Components",
5
5
  "main": "google_drive.app.mjs",
6
6
  "keywords": [
@@ -8,6 +8,7 @@
8
8
  // 2) A timer that runs on regular intervals, renewing the notification channel as needed
9
9
 
10
10
  import common from "../common-webhook.mjs";
11
+ import sampleEmit from "./test-event.mjs";
11
12
 
12
13
  import {
13
14
  GOOGLE_DRIVE_NOTIFICATION_CHANGE,
@@ -25,7 +26,7 @@ export default {
25
26
  key: "google_drive-changes-to-specific-files-shared-drive",
26
27
  name: "Changes to Specific Files (Shared Drive)",
27
28
  description: "Watches for changes to specific files in a shared drive, emitting an event any time a change is made to one of those files",
28
- version: "0.1.1",
29
+ version: "0.1.2",
29
30
  type: "source",
30
31
  // Dedupe events based on the "x-goog-message-number" header for the target channel:
31
32
  // https://developers.google.com/drive/api/v3/push#making-watch-requests
@@ -127,4 +128,5 @@ export default {
127
128
  }
128
129
  },
129
130
  },
131
+ sampleEmit,
130
132
  };
@@ -0,0 +1,14 @@
1
+ export default {
2
+ "file": {
3
+ "kind": "drive#file",
4
+ "driveId": "0AFCnJoxuNGGQUk9PVB",
5
+ "mimeType": "application/vnd.google-apps.spreadsheet",
6
+ "id": "2L9kO_uClch7L7T2s7yDxwR9tnJYmsKkXdwHIP-gSi2d",
7
+ "name": "Document in shared drive",
8
+ "teamDriveId": "0AFCnJoxuNGGQUk9PVB"
9
+ },
10
+ "change": {
11
+ "state": "modify",
12
+ "resourceURI": "https://www.googleapis.com/drive/v3/changes?alt=json&driveId=0AFCnJoxuNGGQUk9PVB&includeItemsFromAllDrives=true&pageToken=57&supportsAllDrives=true"
13
+ }
14
+ }