@corsair-dev/googledrive 0.1.4 → 0.1.5

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.
Files changed (2) hide show
  1. package/README.md +52 -0
  2. package/package.json +9 -3
package/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # @corsair-dev/googledrive
2
+
3
+ Google drive plugin for Corsair.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pnpm add @corsair-dev/googledrive
9
+ ```
10
+
11
+ ## Endpoints
12
+
13
+ | Operation | Operation ID | Risk | Description |
14
+ |-----------|--------------|------|-------------|
15
+ | `files.copy` | `googledrive.api.files.copy` | `write` | Copy a file in Google Drive |
16
+ | `files.createFromText` | `googledrive.api.files.createFromText` | `write` | Create a new Drive file from text content |
17
+ | `files.delete` | `googledrive.api.files.delete` | `destructive` | Permanently delete a file [DESTRUCTIVE · IRREVERSIBLE] |
18
+ | `files.download` | `googledrive.api.files.download` | `read` | Download the content of a file |
19
+ | `files.get` | `googledrive.api.files.get` | `read` | Get metadata for a specific file |
20
+ | `files.list` | `googledrive.api.files.list` | `read` | List files in Google Drive |
21
+ | `files.move` | `googledrive.api.files.move` | `write` | Move a file to a different folder |
22
+ | `files.share` | `googledrive.api.files.share` | `write` | Share a file by granting permissions to users |
23
+ | `files.update` | `googledrive.api.files.update` | `write` | Update the content or metadata of a file |
24
+ | `files.upload` | `googledrive.api.files.upload` | `write` | Upload a file to Google Drive |
25
+ | `folders.create` | `googledrive.api.folders.create` | `write` | Create a new folder |
26
+ | `folders.delete` | `googledrive.api.folders.delete` | `destructive` | Permanently delete a folder and its contents [DESTRUCTIVE · IRREVERSIBLE] |
27
+ | `folders.get` | `googledrive.api.folders.get` | `read` | Get metadata for a specific folder |
28
+ | `folders.list` | `googledrive.api.folders.list` | `read` | List folders in Google Drive |
29
+ | `folders.share` | `googledrive.api.folders.share` | `write` | Share a folder by granting permissions to users |
30
+ | `search.filesAndFolders` | `googledrive.api.search.filesAndFolders` | `read` | Search for files and folders in Google Drive |
31
+ | `sharedDrives.create` | `googledrive.api.sharedDrives.create` | `write` | Create a new shared drive |
32
+ | `sharedDrives.delete` | `googledrive.api.sharedDrives.delete` | `destructive` | Permanently delete a shared drive [DESTRUCTIVE · IRREVERSIBLE] |
33
+ | `sharedDrives.get` | `googledrive.api.sharedDrives.get` | `read` | Get info about a shared drive |
34
+ | `sharedDrives.list` | `googledrive.api.sharedDrives.list` | `read` | List shared drives |
35
+ | `sharedDrives.update` | `googledrive.api.sharedDrives.update` | `write` | Update a shared drive |
36
+ | `storage.getQuota` | `googledrive.api.storage.getQuota` | `read` | Get the user's Google Drive storage quota and usage |
37
+
38
+ ## Auth
39
+
40
+ Auth: OAuth 2.0. Corsair prompts your tenant for credentials on first use.
41
+
42
+ ## Webhooks
43
+
44
+ Handles 1 webhook event. See the reference for payloads and `webhookHooks`.
45
+
46
+ ## Reference
47
+
48
+ Full docs, types, and examples: https://docs.corsair.dev/plugins/googledrive
49
+
50
+ ## License
51
+
52
+ Apache-2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corsair-dev/googledrive",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Google drive plugin for Corsair",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,18 +28,24 @@
28
28
  "typescript": "^5.9.3",
29
29
  "zod": "^4.1.13",
30
30
  "jest": "^29.7.0",
31
- "corsair": "0.1.120"
31
+ "corsair": "0.1.129"
32
32
  },
33
33
  "keywords": [
34
34
  "corsair",
35
35
  "googledrive",
36
36
  "plugin"
37
37
  ],
38
- "author": "",
38
+ "author": "Corsair (https://corsair.dev)",
39
39
  "license": "Apache-2.0",
40
40
  "files": [
41
41
  "dist"
42
42
  ],
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/corsairdev/corsair.git",
46
+ "directory": "packages/googledrive"
47
+ },
48
+ "homepage": "https://docs.corsair.dev/plugins/googledrive",
43
49
  "scripts": {
44
50
  "build": "rm -rf dist && tsc --build --force && tsup",
45
51
  "typecheck": "tsc --noEmit",