@appwrite.io/console 15.3.0-rc.1 → 15.4.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 (39) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/sdk.js +2524 -2066
  3. package/dist/cjs/sdk.js.map +1 -1
  4. package/dist/esm/sdk.js +2524 -2066
  5. package/dist/esm/sdk.js.map +1 -1
  6. package/dist/iife/sdk.js +2524 -2066
  7. package/package.json +4 -4
  8. package/types/enums/database-status.d.ts +12 -1
  9. package/types/enums/database-type.d.ts +4 -1
  10. package/types/enums/o-auth-provider.d.ts +1 -0
  11. package/types/enums/project-key-scopes.d.ts +5 -2
  12. package/types/enums/project-o-auth-provider-id.d.ts +1 -0
  13. package/types/enums/query-suggestion-resource.d.ts +6 -1
  14. package/types/enums/waf-rule-action.d.ts +7 -0
  15. package/types/index.d.ts +3 -5
  16. package/types/models.d.ts +3260 -3404
  17. package/types/services/account.d.ts +133 -4
  18. package/types/services/apps.d.ts +39 -10
  19. package/types/services/backups.d.ts +17 -8
  20. package/types/services/databases.d.ts +0 -70
  21. package/types/services/documents-db.d.ts +75 -2
  22. package/types/services/functions.d.ts +4 -43
  23. package/types/services/locale.d.ts +2 -2
  24. package/types/services/migrations.d.ts +30 -18
  25. package/types/services/mongo.d.ts +13 -4
  26. package/types/services/mysql.d.ts +13 -4
  27. package/types/services/oauth-2.d.ts +119 -15
  28. package/types/services/postgresql.d.ts +13 -4
  29. package/types/services/project.d.ts +29 -1
  30. package/types/services/sites.d.ts +4 -43
  31. package/types/services/storage.d.ts +0 -46
  32. package/types/services/tables-db.d.ts +75 -69
  33. package/types/services/usage.d.ts +10 -10
  34. package/types/services/vectors-db.d.ts +75 -2
  35. package/types/services/waf.d.ts +435 -0
  36. package/types/enums/health-antivirus-status.d.ts +0 -5
  37. package/types/enums/health-check-status.d.ts +0 -4
  38. package/types/enums/health-queue-name.d.ts +0 -16
  39. package/types/services/health.d.ts +0 -483
package/README.md CHANGED
@@ -33,7 +33,7 @@ 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@15.2.0"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@15.4.0"></script>
37
37
  ```
38
38
 
39
39
 
@@ -54,7 +54,7 @@ Initialize your SDK with your Appwrite server API endpoint and project ID which
54
54
  const client = new Client();
55
55
 
56
56
  client
57
- .setEndpoint('http://localhost:9520/v1') // Your Appwrite Endpoint
57
+ .setEndpoint('http://localhost/v1') // Your Appwrite Endpoint
58
58
  .setProject('455x34dfkj') // Your project ID
59
59
  ;
60
60
  ```
@@ -83,7 +83,7 @@ account.create(ID.unique(), "email@example.com", "password", "Walter O'Brien")
83
83
  const client = new Client();
84
84
 
85
85
  client
86
- .setEndpoint('http://localhost:9520/v1') // Your Appwrite Endpoint
86
+ .setEndpoint('http://localhost/v1') // Your Appwrite Endpoint
87
87
  .setProject('455x34dfkj')
88
88
  ;
89
89