Merge branch '1.8.x' into chore-beautify-certificate-logs

This commit is contained in:
Khushboo Verma 2025-09-10 12:44:37 +05:30 committed by GitHub
commit 2c7472d5ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
324 changed files with 3788 additions and 319 deletions

View file

@ -245,6 +245,7 @@ return [
'exclude' => [
'services' => [
['name' => 'assistant'],
['name' => 'avatars'],
],
],
],
@ -277,25 +278,6 @@ return [
'gitBranch' => 'dev',
'changelog' => \realpath(__DIR__ . '/../../docs/sdks/nodejs/CHANGELOG.md'),
],
[
'key' => 'deno',
'name' => 'Deno',
'version' => '16.0.0',
'url' => 'https://github.com/appwrite/sdk-for-deno',
'package' => 'https://deno.land/x/appwrite',
'enabled' => true,
'beta' => false,
'dev' => false,
'hidden' => false,
'family' => APP_PLATFORM_SERVER,
'prism' => 'typescript',
'source' => \realpath(__DIR__ . '/../sdks/server-deno'),
'gitUrl' => 'git@github.com:appwrite/sdk-for-deno.git',
'gitRepoName' => 'sdk-for-deno',
'gitUserName' => 'appwrite',
'gitBranch' => 'dev',
'changelog' => \realpath(__DIR__ . '/../../docs/sdks/deno/CHANGELOG.md'),
],
[
'key' => 'php',
'name' => 'PHP',

View file

@ -7860,7 +7860,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -7977,7 +7977,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -8094,7 +8094,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -8211,7 +8211,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -8328,7 +8328,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -8445,7 +8445,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -35364,7 +35364,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -35480,7 +35480,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -35596,7 +35596,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -35712,7 +35712,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -35828,7 +35828,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -35944,7 +35944,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{

View file

@ -7323,7 +7323,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -7441,7 +7441,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -7559,7 +7559,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -7677,7 +7677,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -7795,7 +7795,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -7913,7 +7913,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -25798,7 +25798,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -25915,7 +25915,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -26032,7 +26032,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -26149,7 +26149,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -26266,7 +26266,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -26383,7 +26383,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{

View file

@ -7860,7 +7860,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -7977,7 +7977,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -8094,7 +8094,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -8211,7 +8211,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -8328,7 +8328,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -8445,7 +8445,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -35364,7 +35364,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -35480,7 +35480,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -35596,7 +35596,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -35712,7 +35712,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -35828,7 +35828,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -35944,7 +35944,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{

View file

@ -7323,7 +7323,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -7441,7 +7441,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -7559,7 +7559,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -7677,7 +7677,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -7795,7 +7795,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -7913,7 +7913,7 @@
"default": {
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -25798,7 +25798,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -25915,7 +25915,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"items": {
"oneOf": [
{
@ -26032,7 +26032,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -26149,7 +26149,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"items": {
"oneOf": [
{
@ -26266,7 +26266,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{
@ -26383,7 +26383,7 @@
"default": {
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"items": {
"oneOf": [
{

View file

@ -7998,7 +7998,7 @@
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
}
},
@ -8104,7 +8104,7 @@
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
},
"newKey": {
@ -8214,7 +8214,7 @@
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
}
},
@ -8320,7 +8320,7 @@
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
},
"newKey": {
@ -8430,7 +8430,7 @@
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
}
},
@ -8536,7 +8536,7 @@
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
},
"newKey": {
@ -35470,7 +35470,7 @@
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
}
},
@ -35575,7 +35575,7 @@
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
},
"newKey": {
@ -35684,7 +35684,7 @@
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
}
},
@ -35789,7 +35789,7 @@
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
},
"newKey": {
@ -35898,7 +35898,7 @@
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
}
},
@ -36003,7 +36003,7 @@
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
},
"newKey": {

View file

@ -7451,7 +7451,7 @@
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
}
},
@ -7558,7 +7558,7 @@
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
},
"newKey": {
@ -7669,7 +7669,7 @@
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
}
},
@ -7776,7 +7776,7 @@
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
},
"newKey": {
@ -7887,7 +7887,7 @@
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
}
},
@ -7994,7 +7994,7 @@
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
},
"newKey": {
@ -25959,7 +25959,7 @@
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
}
},
@ -26065,7 +26065,7 @@
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
},
"newKey": {
@ -26175,7 +26175,7 @@
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
}
},
@ -26281,7 +26281,7 @@
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
},
"newKey": {
@ -26391,7 +26391,7 @@
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
}
},
@ -26497,7 +26497,7 @@
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
},
"newKey": {

View file

@ -7998,7 +7998,7 @@
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
}
},
@ -8104,7 +8104,7 @@
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
},
"newKey": {
@ -8214,7 +8214,7 @@
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
}
},
@ -8320,7 +8320,7 @@
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
},
"newKey": {
@ -8430,7 +8430,7 @@
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
}
},
@ -8536,7 +8536,7 @@
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
},
"newKey": {
@ -35470,7 +35470,7 @@
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
}
},
@ -35575,7 +35575,7 @@
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
},
"newKey": {
@ -35684,7 +35684,7 @@
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
}
},
@ -35789,7 +35789,7 @@
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
},
"newKey": {
@ -35898,7 +35898,7 @@
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
}
},
@ -36003,7 +36003,7 @@
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
},
"newKey": {

View file

@ -7451,7 +7451,7 @@
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
}
},
@ -7558,7 +7558,7 @@
"type": "array",
"description": "Default value for attribute when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
},
"newKey": {
@ -7669,7 +7669,7 @@
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
}
},
@ -7776,7 +7776,7 @@
"type": "array",
"description": "Default value for attribute when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
},
"newKey": {
@ -7887,7 +7887,7 @@
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
}
},
@ -7994,7 +7994,7 @@
"type": "array",
"description": "Default value for attribute when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when attribute is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
},
"newKey": {
@ -25959,7 +25959,7 @@
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
}
},
@ -26065,7 +26065,7 @@
"type": "array",
"description": "Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], \u2026], listing the vertices of the line in order. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[1, 2], [3, 4], [5, 6]]",
"x-nullable": true
},
"newKey": {
@ -26175,7 +26175,7 @@
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
}
},
@ -26281,7 +26281,7 @@
"type": "array",
"description": "Default value for column when not provided, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[1, 2]",
"x-nullable": true
},
"newKey": {
@ -26391,7 +26391,7 @@
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
}
},
@ -26497,7 +26497,7 @@
"type": "array",
"description": "Default value for column when not provided, three-dimensional array where the outer array holds one or more linear rings, [[[longitude, latitude], \u2026], \u2026], the first ring is the exterior boundary, any additional rings are interior holes, and each ring must start and end with the same coordinate pair. Cannot be set when column is required.",
"default": null,
"x-example": "[[1,2], [3, 4]]",
"x-example": "[[[1, 2], [3, 4], [5, 6], [1, 2]]]",
"x-nullable": true
},
"newKey": {

View file

@ -1535,22 +1535,22 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect')
*/
$isVerified = $oauth2->isEmailVerified($accessToken);
$userWithEmail = $dbForProject->findOne('users', [
Query::equal('email', [$email]),
$identity = $dbForProject->findOne('identities', [
Query::equal('provider', [$provider]),
Query::equal('providerUid', [$oauth2ID]),
]);
if (!$userWithEmail->isEmpty()) {
$user->setAttributes($userWithEmail->getArrayCopy());
if (!$identity->isEmpty()) {
$user = $dbForProject->getDocument('users', $identity->getAttribute('userId'));
}
// If user is not found, check if there is an identity with the same provider user ID
if ($user === false || $user->isEmpty()) {
$identity = $dbForProject->findOne('identities', [
Query::equal('provider', [$provider]),
Query::equal('providerUid', [$oauth2ID]),
$userWithEmail = $dbForProject->findOne('users', [
Query::equal('email', [$email]),
]);
if (!$identity->isEmpty()) {
$user = $dbForProject->getDocument('users', $identity->getAttribute('userId'));
if (!$userWithEmail->isEmpty()) {
$user->setAttributes($userWithEmail->getArrayCopy());
}
}

36
composer.lock generated
View file

@ -3638,16 +3638,16 @@
},
{
"name": "utopia-php/database",
"version": "1.4.1",
"version": "1.4.4",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/database.git",
"reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4"
"reference": "16f96e5d9784dae87d4f6b864e87da8e3be15507"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/database/zipball/b5ea4d133a1a4e747b7522e61e072289129a06f4",
"reference": "b5ea4d133a1a4e747b7522e61e072289129a06f4",
"url": "https://api.github.com/repos/utopia-php/database/zipball/16f96e5d9784dae87d4f6b864e87da8e3be15507",
"reference": "16f96e5d9784dae87d4f6b864e87da8e3be15507",
"shasum": ""
},
"require": {
@ -3688,9 +3688,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/database/issues",
"source": "https://github.com/utopia-php/database/tree/1.4.1"
"source": "https://github.com/utopia-php/database/tree/1.4.4"
},
"time": "2025-09-05T13:23:52+00:00"
"time": "2025-09-10T00:50:05+00:00"
},
{
"name": "utopia-php/detector",
@ -4190,16 +4190,16 @@
},
{
"name": "utopia-php/migration",
"version": "1.0.1",
"version": "1.1.1",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/migration.git",
"reference": "38171023efd3abe650d2abc5ac65f5df52311da6"
"reference": "c42935a6a4ee3701c68d24244e82ecb39e945ec4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/migration/zipball/38171023efd3abe650d2abc5ac65f5df52311da6",
"reference": "38171023efd3abe650d2abc5ac65f5df52311da6",
"url": "https://api.github.com/repos/utopia-php/migration/zipball/c42935a6a4ee3701c68d24244e82ecb39e945ec4",
"reference": "c42935a6a4ee3701c68d24244e82ecb39e945ec4",
"shasum": ""
},
"require": {
@ -4240,9 +4240,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/migration/issues",
"source": "https://github.com/utopia-php/migration/tree/1.0.1"
"source": "https://github.com/utopia-php/migration/tree/1.1.1"
},
"time": "2025-08-28T13:41:25+00:00"
"time": "2025-09-10T06:17:20+00:00"
},
{
"name": "utopia-php/orchestration",
@ -5007,16 +5007,16 @@
"packages-dev": [
{
"name": "appwrite/sdk-generator",
"version": "1.3.2",
"version": "1.3.4",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
"reference": "375a6c9b168db6fdf58fbe0d49d2261d80700b4a"
"reference": "d3b420dced42f1eec1f6d0aa98b7bbf8de4042ac"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/375a6c9b168db6fdf58fbe0d49d2261d80700b4a",
"reference": "375a6c9b168db6fdf58fbe0d49d2261d80700b4a",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/d3b420dced42f1eec1f6d0aa98b7bbf8de4042ac",
"reference": "d3b420dced42f1eec1f6d0aa98b7bbf8de4042ac",
"shasum": ""
},
"require": {
@ -5052,9 +5052,9 @@
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"support": {
"issues": "https://github.com/appwrite/sdk-generator/issues",
"source": "https://github.com/appwrite/sdk-generator/tree/1.3.2"
"source": "https://github.com/appwrite/sdk-generator/tree/1.3.4"
},
"time": "2025-09-05T15:50:35+00:00"
"time": "2025-09-08T11:56:04+00:00"
},
{
"name": "doctrine/annotations",

View file

@ -9,7 +9,11 @@ Client client = new Client(context)
Account account = new Account(client);
account.updatePrefs(
mapOf( "a" to "b" ), // prefs
mapOf(
"language" to "en",
"timezone" to "UTC",
"darkTheme" to true
), // prefs
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();

View file

@ -12,7 +12,13 @@ databases.createDocument(
"<DATABASE_ID>", // databaseId
"<COLLECTION_ID>", // collectionId
"<DOCUMENT_ID>", // documentId
mapOf( "a" to "b" ), // data
mapOf(
"username" to "walter.obrien",
"email" to "walter.obrien@example.com",
"fullName" to "Walter O'Brien",
"age" to 30,
"isAdmin" to false
), // data
listOf("read("any")"), // permissions (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {

View file

@ -12,7 +12,13 @@ tablesDB.createRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // rowId
mapOf( "a" to "b" ), // data
mapOf(
"username" to "walter.obrien",
"email" to "walter.obrien@example.com",
"fullName" to "Walter O'Brien",
"age" to 30,
"isAdmin" to false
), // data
listOf("read("any")"), // permissions (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {

View file

@ -9,5 +9,9 @@ val client = Client(context)
val account = Account(client)
val result = account.updatePrefs(
prefs = mapOf( "a" to "b" ),
prefs = mapOf(
"language" to "en",
"timezone" to "UTC",
"darkTheme" to true
),
)

View file

@ -12,6 +12,12 @@ val result = databases.createDocument(
databaseId = "<DATABASE_ID>",
collectionId = "<COLLECTION_ID>",
documentId = "<DOCUMENT_ID>",
data = mapOf( "a" to "b" ),
data = mapOf(
"username" to "walter.obrien",
"email" to "walter.obrien@example.com",
"fullName" to "Walter O'Brien",
"age" to 30,
"isAdmin" to false
),
permissions = listOf("read("any")"), // (optional)
)

View file

@ -12,6 +12,12 @@ val result = tablesDB.createRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
data = mapOf( "a" to "b" ),
data = mapOf(
"username" to "walter.obrien",
"email" to "walter.obrien@example.com",
"fullName" to "Walter O'Brien",
"age" to 30,
"isAdmin" to false
),
permissions = listOf("read("any")"), // (optional)
)

View file

@ -7,6 +7,10 @@ let client = Client()
let account = Account(client)
let user = try await account.updatePrefs(
prefs: [:]
prefs: [
"language": "en",
"timezone": "UTC",
"darkTheme": true
]
)

View file

@ -10,7 +10,13 @@ let document = try await databases.createDocument(
databaseId: "<DATABASE_ID>",
collectionId: "<COLLECTION_ID>",
documentId: "<DOCUMENT_ID>",
data: [:],
data: [
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
],
permissions: ["read("any")"] // optional
)

View file

@ -10,7 +10,13 @@ let row = try await tablesDB.createRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
data: [:],
data: [
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
],
permissions: ["read("any")"] // optional
)

View file

@ -7,5 +7,9 @@ Client client = Client()
Account account = Account(client);
User result = await account.updatePrefs(
prefs: {},
prefs: {
"language": "en",
"timezone": "UTC",
"darkTheme": true
},
);

View file

@ -10,6 +10,12 @@ Document result = await databases.createDocument(
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
documentId: '<DOCUMENT_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"], // optional
);

View file

@ -10,6 +10,12 @@ Row result = await tablesDB.createRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"], // optional
);

View file

@ -1,6 +1,6 @@
mutation {
accountUpdatePrefs(
prefs: "{}"
prefs: "{\"language\":\"en\",\"timezone\":\"UTC\",\"darkTheme\":true}"
) {
_id
_createdAt

View file

@ -3,7 +3,7 @@ mutation {
databaseId: "<DATABASE_ID>",
collectionId: "<COLLECTION_ID>",
documentId: "<DOCUMENT_ID>",
data: "{}",
data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}",
permissions: ["read("any")"]
) {
_id

View file

@ -3,7 +3,7 @@ mutation {
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
data: "{}",
data: "{\"username\":\"walter.obrien\",\"email\":\"walter.obrien@example.com\",\"fullName\":\"Walter O'Brien\",\"age\":30,\"isAdmin\":false}",
permissions: ["read("any")"]
) {
_id

View file

@ -7,7 +7,11 @@ const client = new Client()
const account = new Account(client);
const result = await account.updatePrefs({
prefs: {}
prefs: {
"language": "en",
"timezone": "UTC",
"darkTheme": true
}
});
console.log(result);

View file

@ -10,7 +10,13 @@ const result = await databases.createDocument({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
documentId: '<DOCUMENT_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"] // optional
});

View file

@ -11,8 +11,8 @@ const result = await databases.decrementDocumentAttribute({
collectionId: '<COLLECTION_ID>',
documentId: '<DOCUMENT_ID>',
attribute: '',
value: null, // optional
min: null // optional
value: 0, // optional
min: 0 // optional
});
console.log(result);

View file

@ -11,8 +11,8 @@ const result = await databases.incrementDocumentAttribute({
collectionId: '<COLLECTION_ID>',
documentId: '<DOCUMENT_ID>',
attribute: '',
value: null, // optional
max: null // optional
value: 0, // optional
max: 0 // optional
});
console.log(result);

View file

@ -9,7 +9,7 @@ const storage = new Storage(client);
const result = await storage.createFile({
bucketId: '<BUCKET_ID>',
fileId: '<FILE_ID>',
file: await pickSingle(),
file: InputFile.fromPath('/path/to/file', 'filename'),
permissions: ["read("any")"] // optional
});

View file

@ -10,7 +10,13 @@ const result = await tablesDB.createRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"] // optional
});

View file

@ -11,8 +11,8 @@ const result = await tablesDB.decrementRowColumn({
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
column: '',
value: null, // optional
min: null // optional
value: 0, // optional
min: 0 // optional
});
console.log(result);

View file

@ -11,8 +11,8 @@ const result = await tablesDB.incrementRowColumn({
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
column: '',
value: null, // optional
max: null // optional
value: 0, // optional
max: 0 // optional
});
console.log(result);

View file

@ -7,6 +7,6 @@ X-Appwrite-Project: <YOUR_PROJECT_ID>
{
"userId": "<USER_ID>",
"email": "email@example.com",
"password": ,
"password": "",
"name": "<NAME>"
}

View file

@ -7,6 +7,6 @@ X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>
{
"password": ,
"password": "",
"oldPassword": "password"
}

View file

@ -7,5 +7,9 @@ X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>
{
"prefs": {}
"prefs": {
"language": "en",
"timezone": "UTC",
"darkTheme": true
}
}

View file

@ -9,5 +9,5 @@ X-Appwrite-JWT: <YOUR_JWT>
{
"userId": "<USER_ID>",
"secret": "<SECRET>",
"password":
"password": ""
}

View file

@ -8,6 +8,12 @@ X-Appwrite-JWT: <YOUR_JWT>
{
"documentId": "<DOCUMENT_ID>",
"data": {},
"data": {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
"permissions": ["read(\"any\")"]
}

View file

@ -15,8 +15,7 @@ Content-Disposition: form-data; name="fileId"
--cec8e8123c05ba25
Content-Disposition: form-data; name="file"
cf 94 84 24 8d c4 91 10 0f dc 54 26 6c 8e 4b bc
e8 ee 55 94 29 e7 94 89 19 26 28 01 26 29 3f 16...
cf 94 84 24 8d c4 91 10 0f dc 54 26 6c 8e 4b bc e8 ee 55 94 29 e7 94 89 19 26 28 01 26 29 3f 16...
--cec8e8123c05ba25
Content-Disposition: form-data; name="permissions[]"

View file

@ -8,6 +8,12 @@ X-Appwrite-JWT: <YOUR_JWT>
{
"rowId": "<ROW_ID>",
"data": {},
"data": {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
"permissions": ["read(\"any\")"]
}

View file

@ -7,7 +7,11 @@ const client = new Client()
const account = new Account(client);
const result = await account.updatePrefs({
prefs: {}
prefs: {
"language": "en",
"timezone": "UTC",
"darkTheme": true
}
});
console.log(result);

View file

@ -10,7 +10,13 @@ const result = await databases.createDocument({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
documentId: '<DOCUMENT_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"] // optional
});

View file

@ -10,7 +10,13 @@ const result = await tablesDB.createRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"] // optional
});

View file

@ -7,7 +7,11 @@ const client = new Client()
const account = new Account(client);
const result = await account.updatePrefs({
prefs: {}
prefs: {
"language": "en",
"timezone": "UTC",
"darkTheme": true
}
});
console.log(result);

View file

@ -10,7 +10,13 @@ const result = await databases.createDocument({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
documentId: '<DOCUMENT_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"] // optional
});

View file

@ -0,0 +1,17 @@
import { Client, Databases } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const databases = new Databases(client);
const result = await databases.createLineAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '' // optional
});
console.log(result);

View file

@ -0,0 +1,17 @@
import { Client, Databases } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const databases = new Databases(client);
const result = await databases.createPointAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '' // optional
});
console.log(result);

View file

@ -0,0 +1,17 @@
import { Client, Databases } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const databases = new Databases(client);
const result = await databases.createPolygonAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '' // optional
});
console.log(result);

View file

@ -0,0 +1,18 @@
import { Client, Databases } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const databases = new Databases(client);
const result = await databases.updateLineAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});
console.log(result);

View file

@ -0,0 +1,18 @@
import { Client, Databases } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const databases = new Databases(client);
const result = await databases.updatePointAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});
console.log(result);

View file

@ -0,0 +1,18 @@
import { Client, Databases } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const databases = new Databases(client);
const result = await databases.updatePolygonAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});
console.log(result);

View file

@ -0,0 +1,17 @@
import { Client, TablesDB } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDB = new TablesDB(client);
const result = await tablesDB.createLineColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '' // optional
});
console.log(result);

View file

@ -0,0 +1,17 @@
import { Client, TablesDB } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDB = new TablesDB(client);
const result = await tablesDB.createPointColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '' // optional
});
console.log(result);

View file

@ -0,0 +1,17 @@
import { Client, TablesDB } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDB = new TablesDB(client);
const result = await tablesDB.createPolygonColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '' // optional
});
console.log(result);

View file

@ -10,7 +10,13 @@ const result = await tablesDB.createRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"] // optional
});

View file

@ -0,0 +1,18 @@
import { Client, TablesDB } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDB = new TablesDB(client);
const result = await tablesDB.updateLineColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});
console.log(result);

View file

@ -0,0 +1,18 @@
import { Client, TablesDB } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDB = new TablesDB(client);
const result = await tablesDB.updatePointColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});
console.log(result);

View file

@ -0,0 +1,18 @@
import { Client, TablesDB } from "@appwrite.io/console";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDB = new TablesDB(client);
const result = await tablesDB.updatePolygonColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});
console.log(result);

View file

@ -8,5 +8,9 @@ Client client = Client()
Account account = Account(client);
User result = await account.updatePrefs(
prefs: {},
prefs: {
"language": "en",
"timezone": "UTC",
"darkTheme": true
},
);

View file

@ -11,6 +11,12 @@ Document result = await databases.createDocument(
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
documentId: '<DOCUMENT_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"], // (optional)
);

View file

@ -0,0 +1,16 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
Databases databases = Databases(client);
AttributeLine result = await databases.createLineAttribute(
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
);

View file

@ -0,0 +1,16 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
Databases databases = Databases(client);
AttributePoint result = await databases.createPointAttribute(
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
);

View file

@ -0,0 +1,16 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
Databases databases = Databases(client);
AttributePolygon result = await databases.createPolygonAttribute(
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
);

View file

@ -0,0 +1,17 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
Databases databases = Databases(client);
AttributeLine result = await databases.updateLineAttribute(
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
newKey: '', // (optional)
);

View file

@ -0,0 +1,17 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
Databases databases = Databases(client);
AttributePoint result = await databases.updatePointAttribute(
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
newKey: '', // (optional)
);

View file

@ -0,0 +1,17 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
Databases databases = Databases(client);
AttributePolygon result = await databases.updatePolygonAttribute(
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
newKey: '', // (optional)
);

View file

@ -0,0 +1,16 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
TablesDB tablesDB = TablesDB(client);
ColumnLine result = await tablesDB.createLineColumn(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
);

View file

@ -0,0 +1,16 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
TablesDB tablesDB = TablesDB(client);
ColumnPoint result = await tablesDB.createPointColumn(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
);

View file

@ -0,0 +1,16 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
TablesDB tablesDB = TablesDB(client);
ColumnPolygon result = await tablesDB.createPolygonColumn(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
);

View file

@ -11,6 +11,12 @@ Row result = await tablesDB.createRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"], // (optional)
);

View file

@ -0,0 +1,17 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
TablesDB tablesDB = TablesDB(client);
ColumnLine result = await tablesDB.updateLineColumn(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
newKey: '', // (optional)
);

View file

@ -0,0 +1,17 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
TablesDB tablesDB = TablesDB(client);
ColumnPoint result = await tablesDB.updatePointColumn(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
newKey: '', // (optional)
);

View file

@ -0,0 +1,17 @@
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = 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
TablesDB tablesDB = TablesDB(client);
ColumnPolygon result = await tablesDB.updatePolygonColumn(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
xrequired: false,
xdefault: '', // (optional)
newKey: '', // (optional)
);

View file

@ -8,5 +8,9 @@ const client = new Client()
const account = new Account(client);
const response = await account.updatePrefs({
prefs: {}
prefs: {
"language": "en",
"timezone": "UTC",
"darkTheme": true
}
});

View file

@ -11,6 +11,12 @@ const response = await databases.createDocument({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
documentId: '<DOCUMENT_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"] // optional
});

View file

@ -0,0 +1,16 @@
import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 databases = new Databases(client);
const response = await databases.createLineAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '' // optional
});

View file

@ -0,0 +1,16 @@
import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 databases = new Databases(client);
const response = await databases.createPointAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '' // optional
});

View file

@ -0,0 +1,16 @@
import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 databases = new Databases(client);
const response = await databases.createPolygonAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '' // optional
});

View file

@ -0,0 +1,17 @@
import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 databases = new Databases(client);
const response = await databases.updateLineAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});

View file

@ -0,0 +1,17 @@
import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 databases = new Databases(client);
const response = await databases.updatePointAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});

View file

@ -0,0 +1,17 @@
import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 databases = new Databases(client);
const response = await databases.updatePolygonAttribute({
databaseId: '<DATABASE_ID>',
collectionId: '<COLLECTION_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});

View file

@ -0,0 +1,16 @@
import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 tablesDB = new TablesDB(client);
const response = await tablesDB.createLineColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '' // optional
});

View file

@ -0,0 +1,16 @@
import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 tablesDB = new TablesDB(client);
const response = await tablesDB.createPointColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '' // optional
});

View file

@ -0,0 +1,16 @@
import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 tablesDB = new TablesDB(client);
const response = await tablesDB.createPolygonColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '' // optional
});

View file

@ -11,6 +11,12 @@ const response = await tablesDB.createRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
data: {},
data: {
"username": "walter.obrien",
"email": "walter.obrien@example.com",
"fullName": "Walter O'Brien",
"age": 30,
"isAdmin": false
},
permissions: ["read("any")"] // optional
});

View file

@ -0,0 +1,17 @@
import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 tablesDB = new TablesDB(client);
const response = await tablesDB.updateLineColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});

View file

@ -0,0 +1,17 @@
import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 tablesDB = new TablesDB(client);
const response = await tablesDB.updatePointColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});

View file

@ -0,0 +1,17 @@
import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts";
const client = new 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 tablesDB = new TablesDB(client);
const response = await tablesDB.updatePolygonColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
required: false,
default: '', // optional
newKey: '' // optional
});

View file

@ -10,5 +10,9 @@ Client client = new Client()
Account account = new Account(client);
User result = await account.UpdatePrefs(
prefs: [object]
prefs: new {
language = "en",
timezone = "UTC",
darkTheme = true
}
);

View file

@ -13,6 +13,12 @@ Document result = await databases.CreateDocument(
databaseId: "<DATABASE_ID>",
collectionId: "<COLLECTION_ID>",
documentId: "<DOCUMENT_ID>",
data: [object],
data: new {
username = "walter.obrien",
email = "walter.obrien@example.com",
fullName = "Walter O'Brien",
age = 30,
isAdmin = false
},
permissions: ["read("any")"] // optional
);

View file

@ -0,0 +1,18 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new 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
Databases databases = new Databases(client);
AttributeLine result = await databases.CreateLineAttribute(
databaseId: "<DATABASE_ID>",
collectionId: "<COLLECTION_ID>",
key: "",
required: false,
default: "" // optional
);

View file

@ -0,0 +1,18 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new 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
Databases databases = new Databases(client);
AttributePoint result = await databases.CreatePointAttribute(
databaseId: "<DATABASE_ID>",
collectionId: "<COLLECTION_ID>",
key: "",
required: false,
default: "" // optional
);

View file

@ -0,0 +1,18 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new 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
Databases databases = new Databases(client);
AttributePolygon result = await databases.CreatePolygonAttribute(
databaseId: "<DATABASE_ID>",
collectionId: "<COLLECTION_ID>",
key: "",
required: false,
default: "" // optional
);

View file

@ -0,0 +1,19 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new 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
Databases databases = new Databases(client);
AttributeLine result = await databases.UpdateLineAttribute(
databaseId: "<DATABASE_ID>",
collectionId: "<COLLECTION_ID>",
key: "",
required: false,
default: "", // optional
newKey: "" // optional
);

View file

@ -0,0 +1,19 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new 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
Databases databases = new Databases(client);
AttributePoint result = await databases.UpdatePointAttribute(
databaseId: "<DATABASE_ID>",
collectionId: "<COLLECTION_ID>",
key: "",
required: false,
default: "", // optional
newKey: "" // optional
);

View file

@ -0,0 +1,19 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new 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
Databases databases = new Databases(client);
AttributePolygon result = await databases.UpdatePolygonAttribute(
databaseId: "<DATABASE_ID>",
collectionId: "<COLLECTION_ID>",
key: "",
required: false,
default: "", // optional
newKey: "" // optional
);

View file

@ -0,0 +1,18 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new 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
TablesDB tablesDB = new TablesDB(client);
ColumnLine result = await tablesDB.CreateLineColumn(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
key: "",
required: false,
default: "" // optional
);

View file

@ -0,0 +1,18 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new 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
TablesDB tablesDB = new TablesDB(client);
ColumnPoint result = await tablesDB.CreatePointColumn(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
key: "",
required: false,
default: "" // optional
);

View file

@ -0,0 +1,18 @@
using Appwrite;
using Appwrite.Models;
using Appwrite.Services;
Client client = new 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
TablesDB tablesDB = new TablesDB(client);
ColumnPolygon result = await tablesDB.CreatePolygonColumn(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
key: "",
required: false,
default: "" // optional
);

Some files were not shown because too many files have changed in this diff Show more