appwrite-cli 15.0.0 → 16.0.0

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 (45) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +3 -3
  3. package/cli.ts +2 -0
  4. package/dist/bundle-win-arm64.mjs +1387 -1087
  5. package/dist/cli.cjs +1331 -1031
  6. package/dist/index.cjs +987 -943
  7. package/dist/index.js +1043 -999
  8. package/dist/lib/commands/generators/typescript/databases.d.ts +5 -0
  9. package/dist/lib/commands/generators/typescript/databases.d.ts.map +1 -1
  10. package/dist/lib/commands/pull.d.ts.map +1 -1
  11. package/dist/lib/commands/services/functions.d.ts.map +1 -1
  12. package/dist/lib/commands/services/sites.d.ts.map +1 -1
  13. package/dist/lib/commands/services/storage.d.ts.map +1 -1
  14. package/dist/lib/commands/services/webhooks.d.ts +3 -0
  15. package/dist/lib/commands/services/webhooks.d.ts.map +1 -0
  16. package/dist/lib/commands/utils/deployment.d.ts +5 -0
  17. package/dist/lib/commands/utils/deployment.d.ts.map +1 -1
  18. package/dist/lib/constants.d.ts +1 -1
  19. package/dist/lib/parser.d.ts.map +1 -1
  20. package/docs/examples/webhooks/create.md +7 -0
  21. package/docs/examples/webhooks/delete.md +4 -0
  22. package/docs/examples/webhooks/get.md +4 -0
  23. package/docs/examples/webhooks/list.md +3 -0
  24. package/docs/examples/webhooks/update-signature.md +4 -0
  25. package/docs/examples/webhooks/update.md +7 -0
  26. package/install.ps1 +2 -2
  27. package/install.sh +1 -1
  28. package/lib/commands/generators/typescript/databases.ts +36 -6
  29. package/lib/commands/pull.ts +30 -12
  30. package/lib/commands/services/functions.ts +2 -1
  31. package/lib/commands/services/projects.ts +0 -100
  32. package/lib/commands/services/sites.ts +2 -1
  33. package/lib/commands/services/storage.ts +2 -1
  34. package/lib/commands/services/webhooks.ts +134 -0
  35. package/lib/commands/utils/deployment.ts +31 -7
  36. package/lib/constants.ts +1 -1
  37. package/lib/parser.ts +1 -0
  38. package/package.json +2 -2
  39. package/scoop/appwrite.config.json +3 -3
  40. package/docs/examples/projects/create-webhook.md +0 -8
  41. package/docs/examples/projects/delete-webhook.md +0 -5
  42. package/docs/examples/projects/get-webhook.md +0 -5
  43. package/docs/examples/projects/list-webhooks.md +0 -4
  44. package/docs/examples/projects/update-webhook-signature.md +0 -5
  45. package/docs/examples/projects/update-webhook.md +0 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 16.0.0
4
+
5
+ * Breaking: Moved webhook commands from `projects` to new `webhooks` service.
6
+
7
+ ## 15.1.0
8
+
9
+ * Added `resolveFileParam` to convert file or directory paths into `File` objects and tar.gz packages
10
+
3
11
  ## 15.0.0
4
12
 
5
13
  * Breaking: Separated `specification` with `buildSpecification` and `runtimeSpecification`; added `deploymentRetention` to both functions and sites
@@ -7,6 +15,12 @@
7
15
  * Updated `init sites` prompts to select `buildSpecification` and `runtimeSpecification`
8
16
  * Improved unauthorized error messages
9
17
 
18
+ ## 14.0.1
19
+
20
+ * Fixed `push tables` not passing `encrypt` parameter for varchar, text, mediumtext, and longtext string types
21
+ * Fixed NVM installation path not being detected by `update` command
22
+ * Updated `tar` dependency to v7.4.3
23
+
10
24
  ## 14.0.0
11
25
 
12
26
  * Breaking: Changed createDeployment signature; activate option now optional with default true; parameter order updated
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Appwrite Command Line SDK
2
2
 
3
3
  ![License](https://img.shields.io/github/license/appwrite/sdk-for-cli.svg?style=flat-square)
4
- ![Version](https://img.shields.io/badge/api%20version-1.8.1-blue.svg?style=flat-square)
4
+ ![Version](https://img.shields.io/badge/api%20version-1.8.2-blue.svg?style=flat-square)
5
5
  [![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
6
6
  [![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
7
7
  [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
29
29
 
30
30
  ```sh
31
31
  $ appwrite -v
32
- 15.0.0
32
+ 16.0.0
33
33
  ```
34
34
 
35
35
  ### Install using prebuilt binaries
@@ -60,7 +60,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
60
60
  Once the installation completes, you can verify your install using
61
61
  ```
62
62
  $ appwrite -v
63
- 15.0.0
63
+ 16.0.0
64
64
  ```
65
65
 
66
66
  ## Getting Started
package/cli.ts CHANGED
@@ -44,6 +44,7 @@ import { teams } from './lib/commands/services/teams.js';
44
44
  import { tokens } from './lib/commands/services/tokens.js';
45
45
  import { users } from './lib/commands/services/users.js';
46
46
  import { vcs } from './lib/commands/services/vcs.js';
47
+ import { webhooks } from './lib/commands/services/webhooks.js';
47
48
 
48
49
  const { version } = packageJson;
49
50
  inquirer.registerPrompt('search-list', inquirerSearchList);
@@ -154,6 +155,7 @@ if (process.argv.includes('-v') || process.argv.includes('--version')) {
154
155
  .addCommand(tokens)
155
156
  .addCommand(users)
156
157
  .addCommand(vcs)
158
+ .addCommand(webhooks)
157
159
  .addCommand(client)
158
160
  .parse(process.argv);
159
161