@appwrite.io/console 16.0.0 → 17.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/README.md +5 -6
- package/dist/cjs/package.json +1 -1
- package/dist/cjs/sdk.js +8558 -4805
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/esm/sdk.js +8559 -4806
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +8558 -4805
- package/package.json +59 -50
- package/types/client.d.ts +2 -13
- package/types/enums/{addon.d.ts → addon-key.d.ts} +1 -1
- package/types/enums/authentication-factor.d.ts +2 -1
- package/types/enums/billing-plan-group.d.ts +2 -1
- package/types/enums/build-runtime.d.ts +4 -1
- package/types/enums/cache-database.d.ts +1 -2
- package/types/enums/embedding-model.d.ts +1 -3
- package/types/enums/execution-resource-type.d.ts +4 -0
- package/types/enums/framework.d.ts +1 -0
- package/types/enums/id-token-provider.d.ts +4 -0
- package/types/enums/image-gravity.d.ts +1 -0
- package/types/enums/o-auth-provider.d.ts +5 -0
- package/types/enums/organization-key-scopes.d.ts +2 -4
- package/types/enums/project-email-template-id.d.ts +2 -1
- package/types/enums/project-key-scopes.d.ts +20 -3
- package/types/enums/project-o-auth-provider-id.d.ts +5 -0
- package/types/enums/project-policy-id.d.ts +2 -0
- package/types/enums/query-suggestion-resource.d.ts +2 -3
- package/types/enums/runtime.d.ts +4 -1
- package/types/enums/usage-event-dimension.d.ts +7 -1
- package/types/enums/usage-event-metric.d.ts +55 -0
- package/types/enums/usage-gauge-metric.d.ts +50 -0
- package/types/index.d.ts +11 -6
- package/types/models.d.ts +696 -776
- package/types/services/account.d.ts +124 -36
- package/types/services/apps.d.ts +6 -6
- package/types/services/avatars.d.ts +44 -0
- package/types/services/console.d.ts +2 -2
- package/types/services/databases.d.ts +8 -8
- package/types/services/documents-db.d.ts +13 -7
- package/types/services/domains.d.ts +82 -54
- package/types/services/functions.d.ts +6 -6
- package/types/services/manager.d.ts +14 -14
- package/types/services/messaging.d.ts +80 -6
- package/types/services/mongo.d.ts +17 -23
- package/types/services/mysql.d.ts +17 -23
- package/types/services/organization.d.ts +165 -0
- package/types/services/organizations.d.ts +24 -24
- package/types/services/postgresql.d.ts +17 -23
- package/types/services/project.d.ts +218 -51
- package/types/services/projects.d.ts +0 -94
- package/types/services/sites.d.ts +15 -8
- package/types/services/storage.d.ts +2 -2
- package/types/services/tables-db.d.ts +37 -12
- package/types/services/teams.d.ts +0 -25
- package/types/services/usage.d.ts +23 -14
- package/types/services/users.d.ts +26 -29
- package/types/services/vectors-db.d.ts +15 -9
- package/types/services/waf.d.ts +11 -2
- package/types/enums/project-usage-range.d.ts +0 -4
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Appwrite Console 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)
|
|
8
8
|
|
|
9
|
-
**This SDK
|
|
9
|
+
**This SDK targets Appwrite server version 2.0.x as shipped on Appwrite Cloud.** Self-hosted releases can lag behind Cloud — if you run an older self-hosted build, use a matching older SDK from [previous releases](https://github.com/appwrite/sdk-for-console/releases) when APIs differ.
|
|
10
10
|
|
|
11
11
|
Appwrite is an open-source backend as a service server that abstracts and simplifies complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Console SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ npm install @appwrite.io/console --save
|
|
|
25
25
|
If you're using a bundler (like [Rollup](https://rollupjs.org/) or [webpack](https://webpack.js.org/)), you can import the Appwrite module when you need it:
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
|
-
import { Client, Account } from
|
|
28
|
+
import { Client, Account } from '@appwrite.io/console';
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
### CDN
|
|
@@ -33,10 +33,9 @@ import { Client, Account } from "@appwrite.io/console";
|
|
|
33
33
|
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
|
|
34
34
|
|
|
35
35
|
```html
|
|
36
|
-
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@
|
|
36
|
+
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@17.0.0"></script>
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
|
|
40
39
|
## Getting Started
|
|
41
40
|
|
|
42
41
|
### Add your Web Platform
|
|
@@ -188,4 +187,4 @@ This library is auto-generated by Appwrite custom [SDK Generator](https://github
|
|
|
188
187
|
|
|
189
188
|
## License
|
|
190
189
|
|
|
191
|
-
Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information.
|
|
190
|
+
Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information.
|
package/dist/cjs/package.json
CHANGED