@appwrite.io/console 0.0.2-preview-0.0 → 0.1.0-preview-0.1

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 (37) hide show
  1. package/.travis.yml +32 -0
  2. package/README.md +1 -1
  3. package/dist/cjs/sdk.js +602 -15
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +602 -15
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +602 -15
  8. package/docs/examples/databases/create-relationship-attribute.md +18 -0
  9. package/docs/examples/databases/update-boolean-attribute.md +18 -0
  10. package/docs/examples/databases/update-datetime-attribute.md +18 -0
  11. package/docs/examples/databases/update-email-attribute.md +18 -0
  12. package/docs/examples/databases/update-enum-attribute.md +18 -0
  13. package/docs/examples/databases/update-float-attribute.md +18 -0
  14. package/docs/examples/databases/update-integer-attribute.md +18 -0
  15. package/docs/examples/databases/update-ip-attribute.md +18 -0
  16. package/docs/examples/databases/update-relationship-attribute.md +18 -0
  17. package/docs/examples/databases/update-string-attribute.md +18 -0
  18. package/docs/examples/databases/update-url-attribute.md +18 -0
  19. package/docs/examples/functions/create.md +1 -1
  20. package/docs/examples/functions/update.md +1 -1
  21. package/docs/examples/teams/get-prefs.md +18 -0
  22. package/docs/examples/teams/update-name.md +18 -0
  23. package/docs/examples/teams/update-prefs.md +18 -0
  24. package/docs/examples/teams/update.md +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +1 -1
  27. package/src/models.ts +52 -3
  28. package/src/services/account.ts +7 -7
  29. package/src/services/databases.ts +736 -108
  30. package/src/services/functions.ts +3 -11
  31. package/src/services/teams.ts +65 -7
  32. package/types/models.d.ts +52 -3
  33. package/types/services/account.d.ts +7 -7
  34. package/types/services/databases.d.ts +174 -1
  35. package/types/services/functions.d.ts +3 -3
  36. package/types/services/teams.d.ts +31 -7
  37. package/.github/workflows/publish.yml +0 -18
package/.travis.yml ADDED
@@ -0,0 +1,32 @@
1
+ language: node_js
2
+ node_js:
3
+ - "14.16"
4
+
5
+ jobs:
6
+ include:
7
+ - stage: NPM RC Release
8
+ if: tag == *-RC*
9
+ node_js: "14.16"
10
+ script:
11
+ - npm install
12
+ - npm run build
13
+ - echo "Deploying RC to NPM..."
14
+ deploy:
15
+ provider: npm
16
+ email: $NPM_EMAIL
17
+ api_key: $NPM_API_KEY
18
+ tag: next
19
+ - stage: NPM Release
20
+ if: tag != *-RC*
21
+ node_js: "14.16"
22
+ script:
23
+ - npm install
24
+ - npm run build
25
+ - echo "Deploying to NPM..."
26
+ deploy:
27
+ provider: npm
28
+ email: $NPM_EMAIL
29
+ api_key: $NPM_API_KEY
30
+ skip_cleanup: true
31
+ on:
32
+ tags: true
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@0.0.2-preview-0.0"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@0.1.0-preview-0.1"></script>
37
37
  ```
38
38
 
39
39