chore: add more deprecations

This commit is contained in:
Chirag Aggarwal
2025-06-24 16:42:28 +05:30
parent c7c198fa2e
commit 7d15d25773
15 changed files with 123 additions and 50 deletions
+22 -11
View File
@@ -4961,7 +4961,7 @@
"weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/list-collections.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md",
"rate-limit": 0,
@@ -4972,6 +4972,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.listTables",
"auth": {
"Project": []
}
@@ -5044,7 +5045,7 @@
"weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/create-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md",
"rate-limit": 0,
@@ -5055,6 +5056,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.createTable",
"auth": {
"Project": []
}
@@ -5148,7 +5150,7 @@
"weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/get-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md",
"rate-limit": 0,
@@ -5159,6 +5161,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.getTable",
"auth": {
"Project": []
}
@@ -5217,7 +5220,7 @@
"weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/update-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md",
"rate-limit": 0,
@@ -5228,6 +5231,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.updateTable",
"auth": {
"Project": []
}
@@ -5316,7 +5320,7 @@
"weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/delete-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md",
"rate-limit": 0,
@@ -5327,6 +5331,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.deleteTable",
"auth": {
"Project": []
}
@@ -9219,7 +9224,7 @@
"weight": 370,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/list-indexes.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md",
"rate-limit": 0,
@@ -9230,6 +9235,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.listColumnIndexes",
"auth": {
"Project": []
}
@@ -9301,7 +9307,7 @@
"weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/create-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md",
"rate-limit": 0,
@@ -9312,6 +9318,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.createColumnIndex",
"auth": {
"Project": []
}
@@ -9429,7 +9436,7 @@
"weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/get-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md",
"rate-limit": 0,
@@ -9440,6 +9447,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.getColumnIndex",
"auth": {
"Project": []
}
@@ -9500,7 +9508,7 @@
"weight": 369,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/delete-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md",
"rate-limit": 0,
@@ -9511,6 +9519,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.deleteColumnIndex",
"auth": {
"Project": []
}
@@ -9580,7 +9589,7 @@
"weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/list-collection-logs.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md",
"rate-limit": 0,
@@ -9591,6 +9600,7 @@
"console"
],
"packaging": false,
"replaceWith": "tables.listTableLogs",
"auth": {
"Project": []
}
@@ -9663,7 +9673,7 @@
"weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/get-collection-usage.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-usage.md",
"rate-limit": 0,
@@ -9674,6 +9684,7 @@
"console"
],
"packaging": false,
"replaceWith": "tables.getTableUsage",
"auth": {
"Project": []
}
+18 -9
View File
@@ -4416,7 +4416,7 @@
"weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/list-collections.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md",
"rate-limit": 0,
@@ -4427,6 +4427,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.listTables",
"auth": {
"Project": [],
"Key": []
@@ -4500,7 +4501,7 @@
"weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/create-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md",
"rate-limit": 0,
@@ -4511,6 +4512,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.createTable",
"auth": {
"Project": [],
"Key": []
@@ -4605,7 +4607,7 @@
"weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/get-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md",
"rate-limit": 0,
@@ -4616,6 +4618,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.getTable",
"auth": {
"Project": [],
"Key": []
@@ -4675,7 +4678,7 @@
"weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/update-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md",
"rate-limit": 0,
@@ -4686,6 +4689,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.updateTable",
"auth": {
"Project": [],
"Key": []
@@ -4775,7 +4779,7 @@
"weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/delete-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md",
"rate-limit": 0,
@@ -4786,6 +4790,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.deleteTable",
"auth": {
"Project": [],
"Key": []
@@ -8626,7 +8631,7 @@
"weight": 370,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/list-indexes.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md",
"rate-limit": 0,
@@ -8637,6 +8642,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.listColumnIndexes",
"auth": {
"Project": [],
"Key": []
@@ -8709,7 +8715,7 @@
"weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/create-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md",
"rate-limit": 0,
@@ -8720,6 +8726,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.createColumnIndex",
"auth": {
"Project": [],
"Key": []
@@ -8838,7 +8845,7 @@
"weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/get-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md",
"rate-limit": 0,
@@ -8849,6 +8856,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.getColumnIndex",
"auth": {
"Project": [],
"Key": []
@@ -8910,7 +8918,7 @@
"weight": 369,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/delete-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md",
"rate-limit": 0,
@@ -8921,6 +8929,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.deleteColumnIndex",
"auth": {
"Project": [],
"Key": []
+22 -11
View File
@@ -5128,7 +5128,7 @@
"weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/list-collections.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md",
"rate-limit": 0,
@@ -5139,6 +5139,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.listTables",
"auth": {
"Project": []
}
@@ -5208,7 +5209,7 @@
"weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/create-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md",
"rate-limit": 0,
@@ -5219,6 +5220,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.createTable",
"auth": {
"Project": []
}
@@ -5313,7 +5315,7 @@
"weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/get-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md",
"rate-limit": 0,
@@ -5324,6 +5326,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.getTable",
"auth": {
"Project": []
}
@@ -5380,7 +5383,7 @@
"weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/update-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md",
"rate-limit": 0,
@@ -5391,6 +5394,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.updateTable",
"auth": {
"Project": []
}
@@ -5481,7 +5485,7 @@
"weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/delete-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md",
"rate-limit": 0,
@@ -5492,6 +5496,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.deleteTable",
"auth": {
"Project": []
}
@@ -9302,7 +9307,7 @@
"weight": 370,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/list-indexes.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md",
"rate-limit": 0,
@@ -9313,6 +9318,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.listColumnIndexes",
"auth": {
"Project": []
}
@@ -9381,7 +9387,7 @@
"weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/create-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md",
"rate-limit": 0,
@@ -9392,6 +9398,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.createColumnIndex",
"auth": {
"Project": []
}
@@ -9508,7 +9515,7 @@
"weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/get-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md",
"rate-limit": 0,
@@ -9519,6 +9526,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.getColumnIndex",
"auth": {
"Project": []
}
@@ -9577,7 +9585,7 @@
"weight": 369,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/delete-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md",
"rate-limit": 0,
@@ -9588,6 +9596,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.deleteColumnIndex",
"auth": {
"Project": []
}
@@ -9651,7 +9660,7 @@
"weight": 330,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/list-collection-logs.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md",
"rate-limit": 0,
@@ -9662,6 +9671,7 @@
"console"
],
"packaging": false,
"replaceWith": "tables.listTableLogs",
"auth": {
"Project": []
}
@@ -9729,7 +9739,7 @@
"weight": 331,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/get-collection-usage.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-usage.md",
"rate-limit": 0,
@@ -9740,6 +9750,7 @@
"console"
],
"packaging": false,
"replaceWith": "tables.getTableUsage",
"auth": {
"Project": []
}
+18 -9
View File
@@ -4573,7 +4573,7 @@
"weight": 329,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/list-collections.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md",
"rate-limit": 0,
@@ -4584,6 +4584,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.listTables",
"auth": {
"Project": [],
"Key": []
@@ -4654,7 +4655,7 @@
"weight": 325,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/create-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md",
"rate-limit": 0,
@@ -4665,6 +4666,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.createTable",
"auth": {
"Project": [],
"Key": []
@@ -4760,7 +4762,7 @@
"weight": 326,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/get-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md",
"rate-limit": 0,
@@ -4771,6 +4773,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.getTable",
"auth": {
"Project": [],
"Key": []
@@ -4828,7 +4831,7 @@
"weight": 327,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/update-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md",
"rate-limit": 0,
@@ -4839,6 +4842,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.updateTable",
"auth": {
"Project": [],
"Key": []
@@ -4930,7 +4934,7 @@
"weight": 328,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/delete-collection.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md",
"rate-limit": 0,
@@ -4941,6 +4945,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.deleteTable",
"auth": {
"Project": [],
"Key": []
@@ -8706,7 +8711,7 @@
"weight": 370,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/list-indexes.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md",
"rate-limit": 0,
@@ -8717,6 +8722,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.listColumnIndexes",
"auth": {
"Project": [],
"Key": []
@@ -8786,7 +8792,7 @@
"weight": 367,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/create-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md",
"rate-limit": 0,
@@ -8797,6 +8803,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.createColumnIndex",
"auth": {
"Project": [],
"Key": []
@@ -8914,7 +8921,7 @@
"weight": 368,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/get-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md",
"rate-limit": 0,
@@ -8925,6 +8932,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.getColumnIndex",
"auth": {
"Project": [],
"Key": []
@@ -8984,7 +8992,7 @@
"weight": 369,
"cookies": false,
"type": "",
"deprecated": false,
"deprecated": true,
"demo": "databases\/delete-index.md",
"edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md",
"rate-limit": 0,
@@ -8995,6 +9003,7 @@
"server"
],
"packaging": false,
"replaceWith": "tables.deleteColumnIndex",
"auth": {
"Project": [],
"Key": []
@@ -61,7 +61,10 @@ class Create extends Action
model: $this->getResponseModel(),
)
],
contentType: ContentType::JSON
contentType: ContentType::JSON,
deprecated: [
'replaceWith' => 'tables.createTable',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('collectionId', '', new CustomId(), 'Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.')
@@ -51,7 +51,10 @@ class Delete extends Action
model: UtopiaResponse::MODEL_NONE,
)
],
contentType: ContentType::NONE
contentType: ContentType::NONE,
deprecated: [
'replaceWith' => 'tables.deleteTable',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('collectionId', '', new UID(), 'Collection ID.')
@@ -46,7 +46,10 @@ class Get extends Action
model: $this->getResponseModel(),
)
],
contentType: ContentType::JSON
contentType: ContentType::JSON,
deprecated: [
'replaceWith' => 'tables.getTable',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('collectionId', '', new UID(), 'Collection ID.')
@@ -61,7 +61,10 @@ class Create extends Action
model: $this->getResponseModel(),
)
],
contentType: ContentType::JSON
contentType: ContentType::JSON,
deprecated: [
'replaceWith' => 'tables.createColumnIndex',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).')
@@ -56,7 +56,10 @@ class Delete extends Action
model: UtopiaResponse::MODEL_NONE,
)
],
contentType: ContentType::NONE
contentType: ContentType::NONE,
deprecated: [
'replaceWith' => 'tables.deleteColumnIndex',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).')
@@ -47,7 +47,10 @@ class Get extends Action
model: $this->getResponseModel(),
)
],
contentType: ContentType::JSON
contentType: ContentType::JSON,
deprecated: [
'replaceWith' => 'tables.getColumnIndex',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).')
@@ -52,7 +52,10 @@ class XList extends Action
model: $this->getResponseModel(),
)
],
contentType: ContentType::JSON
contentType: ContentType::JSON,
deprecated: [
'replaceWith' => 'tables.listColumnIndexes',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('collectionId', '', new UID(), 'Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).')
@@ -58,7 +58,10 @@ class XList extends Action
model: $this->getResponseModel(),
)
],
contentType: ContentType::JSON
contentType: ContentType::JSON,
deprecated: [
'replaceWith' => 'tables.listTableLogs',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('collectionId', '', new UID(), 'Collection ID.')
@@ -54,7 +54,10 @@ class Update extends Action
model: $this->getResponseModel(),
)
],
contentType: ContentType::JSON
contentType: ContentType::JSON,
deprecated: [
'replaceWith' => 'tables.updateTable',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('collectionId', '', new UID(), 'Collection ID.')
@@ -52,6 +52,9 @@ class Get extends Action
)
],
contentType: ContentType::JSON,
deprecated: [
'replaceWith' => 'tables.getTableUsage',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('range', '30d', new WhiteList(['24h', '30d', '90d'], true), 'Date range.', true)
@@ -53,7 +53,10 @@ class XList extends Action
model: $this->getResponseModel(),
)
],
contentType: ContentType::JSON
contentType: ContentType::JSON,
deprecated: [
'replaceWith' => 'tables.listTables',
],
))
->param('databaseId', '', new UID(), 'Database ID.')
->param('queries', [], new Collections(), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long. You may filter on the following attributes: ' . implode(', ', Collections::ALLOWED_ATTRIBUTES), true)