appwrite-cli 13.5.0 → 13.6.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 +10 -0
- package/README.md +2 -2
- package/cli.ts +4 -2
- package/dist/bundle-win-arm64.mjs +658 -52
- package/dist/cli.cjs +658 -52
- package/dist/index.cjs +33 -14
- package/dist/index.js +33 -14
- package/dist/lib/commands/schema.d.ts.map +1 -1
- package/dist/lib/commands/services/activities.d.ts +3 -0
- package/dist/lib/commands/services/activities.d.ts.map +1 -0
- package/dist/lib/commands/services/backups.d.ts +3 -0
- package/dist/lib/commands/services/backups.d.ts.map +1 -0
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/json.d.ts.map +1 -1
- package/docs/examples/account/create-key.md +5 -0
- package/docs/examples/account/delete-key.md +4 -0
- package/docs/examples/account/get-key.md +4 -0
- package/docs/examples/account/list-keys.md +3 -0
- package/docs/examples/account/update-key.md +6 -0
- package/docs/examples/activities/get-event.md +4 -0
- package/docs/examples/activities/list-events.md +3 -0
- package/docs/examples/backups/create-archive.md +4 -0
- package/docs/examples/backups/create-policy.md +7 -0
- package/docs/examples/backups/create-restoration.md +5 -0
- package/docs/examples/backups/delete-archive.md +4 -0
- package/docs/examples/backups/delete-policy.md +4 -0
- package/docs/examples/backups/get-archive.md +4 -0
- package/docs/examples/backups/get-policy.md +4 -0
- package/docs/examples/backups/get-restoration.md +4 -0
- package/docs/examples/backups/list-archives.md +3 -0
- package/docs/examples/backups/list-policies.md +3 -0
- package/docs/examples/backups/list-restorations.md +3 -0
- package/docs/examples/backups/update-policy.md +4 -0
- package/install.ps1 +2 -2
- package/install.sh +1 -1
- package/lib/commands/schema.ts +1 -3
- package/lib/commands/services/account.ts +234 -0
- package/lib/commands/services/activities.ts +51 -0
- package/lib/commands/services/backups.ts +184 -0
- package/lib/commands/services/health.ts +55 -0
- package/lib/commands/services/projects.ts +1 -1
- package/lib/commands/services/storage.ts +2 -2
- package/lib/constants.ts +1 -1
- package/lib/json.ts +6 -1
- package/package.json +2 -2
- package/scoop/appwrite.config.json +3 -3
- package/dist/lib/commands/services/console.d.ts +0 -3
- package/dist/lib/commands/services/console.d.ts.map +0 -1
- package/docs/examples/console/get-resource.md +0 -5
- package/docs/examples/console/variables.md +0 -3
- package/lib/commands/services/console.ts +0 -49
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 13.6.0
|
|
4
|
+
|
|
5
|
+
* Fix large double values (e.g. `1.7976931348623157e+308`) being expanded into huge integer literals.
|
|
6
|
+
* Added `activities` command with `list-events` and `get-event`.
|
|
7
|
+
* Added `backups` command with full support for archives, policies, and restorations.
|
|
8
|
+
* Added account billing commands (addresses, coupons, invoices).
|
|
9
|
+
* Added account API key management commands.
|
|
10
|
+
* Added account payment method management commands (including provider and mandate updates).
|
|
11
|
+
|
|
3
12
|
## 13.5.0
|
|
4
13
|
|
|
5
14
|
* New: Added CLI commands under projects: `list-schedules`, `create-schedule`, and `get-schedule` for managing project schedules.
|
|
@@ -9,6 +18,7 @@
|
|
|
9
18
|
|
|
10
19
|
* Add `--queries` option to `list-keys` command
|
|
11
20
|
* Add `--key-id` option to `create-key` command
|
|
21
|
+
* Add support for the new `Backups` service
|
|
12
22
|
* Add `encrypt` param support to new string type attributes
|
|
13
23
|
* Fix `bignumber.js` bundler conflict by removing direct dependency in favor of transitive dependency from `json-bigint`
|
|
14
24
|
* Fix missing region in console failUrl for failed deployments
|
package/README.md
CHANGED
|
@@ -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
|
-
13.
|
|
32
|
+
13.6.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
|
-
13.
|
|
63
|
+
13.6.0
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
## Getting Started
|
package/cli.ts
CHANGED
|
@@ -25,7 +25,8 @@ import { update } from './lib/commands/update.js';
|
|
|
25
25
|
import { generate } from './lib/commands/generate.js';
|
|
26
26
|
|
|
27
27
|
import { account } from './lib/commands/services/account.js';
|
|
28
|
-
import {
|
|
28
|
+
import { activities } from './lib/commands/services/activities.js';
|
|
29
|
+
import { backups } from './lib/commands/services/backups.js';
|
|
29
30
|
import { databases } from './lib/commands/services/databases.js';
|
|
30
31
|
import { functions } from './lib/commands/services/functions.js';
|
|
31
32
|
import { graphql } from './lib/commands/services/graphql.js';
|
|
@@ -134,7 +135,8 @@ if (process.argv.includes('-v') || process.argv.includes('--version')) {
|
|
|
134
135
|
.addCommand(generate)
|
|
135
136
|
.addCommand(logout)
|
|
136
137
|
.addCommand(account)
|
|
137
|
-
.addCommand(
|
|
138
|
+
.addCommand(activities)
|
|
139
|
+
.addCommand(backups)
|
|
138
140
|
.addCommand(databases)
|
|
139
141
|
.addCommand(functions)
|
|
140
142
|
.addCommand(graphql)
|