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.
- package/CHANGELOG.md +14 -0
- package/README.md +3 -3
- package/cli.ts +2 -0
- package/dist/bundle-win-arm64.mjs +1387 -1087
- package/dist/cli.cjs +1331 -1031
- package/dist/index.cjs +987 -943
- package/dist/index.js +1043 -999
- package/dist/lib/commands/generators/typescript/databases.d.ts +5 -0
- package/dist/lib/commands/generators/typescript/databases.d.ts.map +1 -1
- package/dist/lib/commands/pull.d.ts.map +1 -1
- package/dist/lib/commands/services/functions.d.ts.map +1 -1
- package/dist/lib/commands/services/sites.d.ts.map +1 -1
- package/dist/lib/commands/services/storage.d.ts.map +1 -1
- package/dist/lib/commands/services/webhooks.d.ts +3 -0
- package/dist/lib/commands/services/webhooks.d.ts.map +1 -0
- package/dist/lib/commands/utils/deployment.d.ts +5 -0
- package/dist/lib/commands/utils/deployment.d.ts.map +1 -1
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/parser.d.ts.map +1 -1
- package/docs/examples/webhooks/create.md +7 -0
- package/docs/examples/webhooks/delete.md +4 -0
- package/docs/examples/webhooks/get.md +4 -0
- package/docs/examples/webhooks/list.md +3 -0
- package/docs/examples/webhooks/update-signature.md +4 -0
- package/docs/examples/webhooks/update.md +7 -0
- package/install.ps1 +2 -2
- package/install.sh +1 -1
- package/lib/commands/generators/typescript/databases.ts +36 -6
- package/lib/commands/pull.ts +30 -12
- package/lib/commands/services/functions.ts +2 -1
- package/lib/commands/services/projects.ts +0 -100
- package/lib/commands/services/sites.ts +2 -1
- package/lib/commands/services/storage.ts +2 -1
- package/lib/commands/services/webhooks.ts +134 -0
- package/lib/commands/utils/deployment.ts +31 -7
- package/lib/constants.ts +1 -1
- package/lib/parser.ts +1 -0
- package/package.json +2 -2
- package/scoop/appwrite.config.json +3 -3
- package/docs/examples/projects/create-webhook.md +0 -8
- package/docs/examples/projects/delete-webhook.md +0 -5
- package/docs/examples/projects/get-webhook.md +0 -5
- package/docs/examples/projects/list-webhooks.md +0 -4
- package/docs/examples/projects/update-webhook-signature.md +0 -5
- 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
|

|
|
4
|
-

|
|
5
5
|
[](https://travis-ci.com/appwrite/sdk-generator)
|
|
6
6
|
[](https://twitter.com/appwrite)
|
|
7
7
|
[](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
|
-
|
|
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
|
-
|
|
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
|
|