Merge branch '1.8.x' into feat-apps-module-dl

This commit is contained in:
Damodar Lohani 2025-09-10 12:48:44 +05:45 committed by GitHub
commit d8e769ef1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 132 additions and 118 deletions

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": {

12
composer.lock generated
View file

@ -4245,16 +4245,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": {
@ -4295,9 +4295,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",

View file

@ -9,8 +9,10 @@ use Appwrite\SDK\Response;
use Appwrite\SDK\Specification\Format;
use Appwrite\Template\Template;
use Appwrite\Utopia\Response\Model;
use Utopia\Database\Database;
use Utopia\Database\Helpers\Permission;
use Utopia\Database\Helpers\Role;
use Utopia\Database\Validator\Spatial;
use Utopia\Validator;
use Utopia\Validator\ArrayList;
use Utopia\Validator\Nullable;
@ -448,13 +450,18 @@ class OpenAPI3 extends Format
];
break;
case 'Utopia\Database\Validator\Spatial':
/** @var Spatial $validator */
$node['schema']['type'] = 'array';
$node['schema']['items'] = [
'oneOf' => [
['type' => 'array']
]
];
$node['schema']['x-example'] = '[[1,2], [3, 4]]';
$node['schema']['x-example'] = match ($validator->getSpatialType()) {
Database::VAR_POINT => '[1, 2]',
Database::VAR_LINESTRING => '[[1, 2], [3, 4], [5, 6]]',
Database::VAR_POLYGON => '[[[1, 2], [3, 4], [5, 6], [1, 2]]]',
};
break;
case 'Appwrite\Utopia\Database\Validator\Queries\Columns':
case 'Appwrite\Utopia\Database\Validator\Queries\Attributes':

View file

@ -9,8 +9,10 @@ use Appwrite\SDK\Response;
use Appwrite\SDK\Specification\Format;
use Appwrite\Template\Template;
use Appwrite\Utopia\Response\Model;
use Utopia\Database\Database;
use Utopia\Database\Helpers\Permission;
use Utopia\Database\Helpers\Role;
use Utopia\Database\Validator\Spatial;
use Utopia\Route;
use Utopia\Validator;
use Utopia\Validator\ArrayList;
@ -463,13 +465,18 @@ class Swagger2 extends Format
];
break;
case 'Utopia\Database\Validator\Spatial':
/** @var Spatial $validator */
$node['type'] = 'array';
$node['schema']['items'] = [
'oneOf' => [
['type' => 'array']
]
];
$node['x-example'] = '[[1,2], [3, 4]]';
$node['x-example'] = match ($validator->getSpatialType()) {
Database::VAR_POINT => '[1, 2]',
Database::VAR_LINESTRING => '[[1, 2], [3, 4], [5, 6]]',
Database::VAR_POLYGON => '[[[1, 2], [3, 4], [5, 6], [1, 2]]]',
};
break;
case 'Utopia\Validator\JSON':
case 'Utopia\Validator\Mock':

View file

@ -6790,7 +6790,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::intersects('polyAttr', [[5.0, 5.0]])->toString()]
'queries' => [Query::intersects('polyAttr', [5.0, 5.0])->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(1, $response['body']['total']);
@ -6801,7 +6801,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::notIntersects('polyAttr', [[60.0, 60.0]])->toString()]
'queries' => [Query::notIntersects('polyAttr', [60.0, 60.0])->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(3, $response['body']['total']);
@ -6812,7 +6812,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::overlaps('polyAttr', [$overlapPoly])->toString()]
'queries' => [Query::overlaps('polyAttr', $overlapPoly)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(1, $response['body']['total']);
@ -6824,7 +6824,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::notOverlaps('polyAttr', [$noOverlapPoly])->toString()]
'queries' => [Query::notOverlaps('polyAttr', $noOverlapPoly)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(3, $response['body']['total']);
@ -6876,7 +6876,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::crosses('lineAttr', [$crossLine])->toString()]
'queries' => [Query::crosses('lineAttr', $crossLine)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(1, $response['body']['total']);
@ -6888,7 +6888,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::notCrosses('lineAttr', [$nonCrossLine])->toString()]
'queries' => [Query::notCrosses('lineAttr', $nonCrossLine)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(3, $response['body']['total']);
@ -6899,7 +6899,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::touches('polyAttr', [$touchPoly])->toString()]
'queries' => [Query::touches('polyAttr', $touchPoly)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(2, $response['body']['total']);
@ -6911,7 +6911,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::notTouches('polyAttr', [$farPoly])->toString()]
'queries' => [Query::notTouches('polyAttr', $farPoly)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(3, $response['body']['total']);

View file

@ -8273,7 +8273,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::overlaps('polyAttr', [$overlapPoly])->toString()]
'queries' => [Query::overlaps('polyAttr', $overlapPoly)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(1, $response['body']['total']);
@ -8285,7 +8285,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::notOverlaps('polyAttr', [$noOverlapPoly])->toString()]
'queries' => [Query::notOverlaps('polyAttr', $noOverlapPoly)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(3, $response['body']['total']);
@ -8337,7 +8337,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::crosses('lineAttr', [$crossLine])->toString()]
'queries' => [Query::crosses('lineAttr', $crossLine)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(1, $response['body']['total']);
@ -8349,7 +8349,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::notCrosses('lineAttr', [$nonCrossLine])->toString()]
'queries' => [Query::notCrosses('lineAttr', $nonCrossLine)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(3, $response['body']['total']);
@ -8360,7 +8360,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::touches('polyAttr', [$touchPoly])->toString()]
'queries' => [Query::touches('polyAttr', $touchPoly)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(2, $response['body']['total']);
@ -8372,7 +8372,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => [Query::notTouches('polyAttr', [$farPoly])->toString()]
'queries' => [Query::notTouches('polyAttr', $farPoly)->toString()]
]);
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals(3, $response['body']['total']);