-
Notifications
You must be signed in to change notification settings - Fork 47
Updates: sync as per latest cloud specs #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
0c80658
25dccf9
390b296
20e12cf
58e8f55
8309f03
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,18 @@ | ||
| # Change Log | ||
|
|
||
| ## 21.1.1 | ||
|
|
||
| * Update SDK as per latest server specs | ||
|
|
||
|
Comment on lines
+3
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: # Read the CHANGELOG.md file to examine the actual structure and indentation
head -50 CHANGELOG.mdRepository: appwrite/sdk-for-node Length of output: 1706 🏁 Script executed: # Check for markdown linting configuration files
fd -e json -e yaml -e yml | xargs grep -l "markdownlint\|MD007" 2>/dev/null || echo "No linting config found with grep"
ls -la | grep -E "markdownlint|eslint"Repository: appwrite/sdk-for-node Length of output: 182 🏁 Script executed: # Look for any documentation about versioning
fd -e md | xargs grep -l "semver\|semantic.*version\|breaking.*change" 2>/dev/null | head -10Repository: appwrite/sdk-for-node Length of output: 77 🏁 Script executed: # Read the markdownlint configuration
cat coderabbit.markdownlint-cli2.jsoncRepository: appwrite/sdk-for-node Length of output: 543 🏁 Script executed: # Check if there's any semver or release documentation
fd -e md | xargs grep -i "breaking\|semver\|version" 2>/dev/null | grep -v node_modules | head -20Repository: appwrite/sdk-for-node Length of output: 1084 🏁 Script executed: # Look at more context around version releases to understand versioning strategy
grep -A 5 "^## [0-9]" CHANGELOG.md | head -80Repository: appwrite/sdk-for-node Length of output: 2485 Fix MD007 list indentation and correct version bump for breaking change. The nested bullets under 21.1.1 use 4-space indentation, which violates MD007 (default rule requires 2-space). Additionally, the changelog explicitly documents a breaking change ( Proposed formatting fix ## 21.1.1
-
-* Update SDK as per latest server specs, these include -
- * Updates to Runtime enums
- * `Output` is now renamed to `ImageFormat` - Note that this is a breaking change
- * Introduces Backups module for managing Database backups
- * Introduces Organization module
+* Update SDK as per latest server specs, these include:
+ * Updates to Runtime enums
+ * `Output` is now renamed to `ImageFormat` - Note that this is a breaking change
+ * Introduces Backups module for managing Database backups
+ * Introduces Organization module🧰 Tools🪛 markdownlint-cli2 (0.18.1)6-6: Unordered list indentation (MD007, ul-indent) 7-7: Unordered list indentation (MD007, ul-indent) 8-8: Unordered list indentation (MD007, ul-indent) 9-9: Unordered list indentation (MD007, ul-indent) 🤖 Prompt for AI Agents |
||
| ## 21.1.0 | ||
|
|
||
| * Added ability to create columns and indexes synchronously while creating a table | ||
|
|
||
| ## 21.0.0 | ||
|
|
||
| * Rename `VCSDeploymentType` enum to `VCSReferenceType` | ||
| * Change `createTemplateDeployment` method signature: replace `version` parameter with `type` (TemplateReferenceType) and `reference` parameters | ||
| * Change `createTemplateDeployment` method signature: replace `version` parameter with `type` (TemplateReferenceType) | ||
| and `reference` parameters | ||
| * Add `getScreenshot` method to `Avatars` service | ||
| * Add `Theme`, `Timezone` and `Output` enums | ||
|
|
||
|
|
@@ -54,7 +59,8 @@ | |
| ## 16.0.0 | ||
|
|
||
| * Fix: remove content-type from GET requests | ||
| * Update (breaking): min and max params are now optional in `updateFloatAttribute` and `updateIntegerAttribute` methods (changes their positioning in method definition) | ||
| * Update (breaking): min and max params are now optional in `updateFloatAttribute` and `updateIntegerAttribute` | ||
| methods (changes their positioning in method definition) | ||
|
|
||
| ## 15.0.1 | ||
|
|
||
|
|
@@ -96,4 +102,5 @@ | |
| * Rename `templateBranch` to `templateVersion` in `createFunction()`. | ||
| * Rename `downloadDeployment()` to `getDeploymentDownload()` | ||
|
|
||
| > You can find the new syntax for breaking changes in the [Appwrite API references](https://appwrite.io/docs/references). Select version `1.6.x`. | ||
| > You can find the new syntax for breaking changes in | ||
| > the [Appwrite API references](https://appwrite.io/docs/references). Select version `1.6.x`. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.createArchive({ | ||
| services: [], | ||
| resourceId: '<RESOURCE_ID>' // optional | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.createPolicy({ | ||
| policyId: '<POLICY_ID>', | ||
| services: [], | ||
| retention: 1, | ||
| schedule: '', | ||
| name: '<NAME>', // optional | ||
| resourceId: '<RESOURCE_ID>', // optional | ||
| enabled: false // optional | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.createRestoration({ | ||
| archiveId: '<ARCHIVE_ID>', | ||
| services: [], | ||
| newResourceId: '<NEW_RESOURCE_ID>', // optional | ||
| newResourceName: '<NEW_RESOURCE_NAME>' // optional | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.deleteArchive({ | ||
| archiveId: '<ARCHIVE_ID>' | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.deletePolicy({ | ||
| policyId: '<POLICY_ID>' | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.getArchive({ | ||
| archiveId: '<ARCHIVE_ID>' | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.getPolicy({ | ||
| policyId: '<POLICY_ID>' | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.getRestoration({ | ||
| restorationId: '<RESTORATION_ID>' | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.listArchives({ | ||
| queries: [] // optional | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.listPolicies({ | ||
| queries: [] // optional | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.listRestorations({ | ||
| queries: [] // optional | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const backups = new sdk.Backups(client); | ||
|
|
||
| const result = await backups.updatePolicy({ | ||
| policyId: '<POLICY_ID>', | ||
| name: '<NAME>', // optional | ||
| retention: 1, // optional | ||
| schedule: '', // optional | ||
| enabled: false // optional | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const health = new sdk.Health(client); | ||
|
|
||
| const result = await health.getQueueBillingProjectAggregation({ | ||
| threshold: null // optional | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const health = new sdk.Health(client); | ||
|
|
||
| const result = await health.getQueueBillingTeamAggregation({ | ||
| threshold: null // optional | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const health = new sdk.Health(client); | ||
|
|
||
| const result = await health.getQueuePriorityBuilds({ | ||
| threshold: null // optional | ||
| }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| const sdk = require('node-appwrite'); | ||
|
|
||
| const client = new sdk.Client() | ||
| .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint | ||
| .setProject('<YOUR_PROJECT_ID>') // Your project ID | ||
| .setKey('<YOUR_API_KEY>'); // Your secret API key | ||
|
|
||
| const health = new sdk.Health(client); | ||
|
|
||
| const result = await health.getQueueRegionManager({ | ||
| threshold: null // optional | ||
| }); |
Uh oh!
There was an error while loading. Please reload this page.