This commit is contained in:
Jake Barnby
2025-08-20 01:02:58 +12:00
parent f27ac986fa
commit 2ade66d85e
54 changed files with 67 additions and 81 deletions
Generated
+12 -12
View File
@@ -3857,16 +3857,16 @@
},
{
"name": "utopia-php/framework",
"version": "0.33.20",
"version": "0.33.21",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/http.git",
"reference": "e1c7ab4e0b5b0a9a70256b1e00912e101e76a131"
"reference": "eb0e82e90b8fa493f99b8d131bdd25173422c493"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/http/zipball/e1c7ab4e0b5b0a9a70256b1e00912e101e76a131",
"reference": "e1c7ab4e0b5b0a9a70256b1e00912e101e76a131",
"url": "https://api.github.com/repos/utopia-php/http/zipball/eb0e82e90b8fa493f99b8d131bdd25173422c493",
"reference": "eb0e82e90b8fa493f99b8d131bdd25173422c493",
"shasum": ""
},
"require": {
@@ -3898,9 +3898,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/http/issues",
"source": "https://github.com/utopia-php/http/tree/0.33.20"
"source": "https://github.com/utopia-php/http/tree/0.33.21"
},
"time": "2025-05-18T23:51:21+00:00"
"time": "2025-08-19T10:52:15+00:00"
},
{
"name": "utopia-php/image",
@@ -4922,16 +4922,16 @@
"packages-dev": [
{
"name": "appwrite/sdk-generator",
"version": "0.41.29",
"version": "0.41.30",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
"reference": "4af563f3b0879747efc8434eb8ed8bf97e75039f"
"reference": "14a6e52d0d1075d176f4c80cafde9afe506e7455"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/4af563f3b0879747efc8434eb8ed8bf97e75039f",
"reference": "4af563f3b0879747efc8434eb8ed8bf97e75039f",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/14a6e52d0d1075d176f4c80cafde9afe506e7455",
"reference": "14a6e52d0d1075d176f4c80cafde9afe506e7455",
"shasum": ""
},
"require": {
@@ -4967,9 +4967,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/0.41.29"
"source": "https://github.com/appwrite/sdk-generator/tree/0.41.30"
},
"time": "2025-08-04T04:34:45+00:00"
"time": "2025-08-18T01:39:09+00:00"
},
{
"name": "doctrine/annotations",
@@ -63,7 +63,7 @@ abstract class Action extends UtopiaAction
*/
protected function getSdkNamespace(): string
{
return $this->isCollectionsAPI() ? 'databases' : 'tablesdb';
return $this->isCollectionsAPI() ? 'databases' : 'tablesDb';
}
/**
@@ -76,7 +76,7 @@ abstract class Action extends UtopiaAction
*/
protected function getSdkNamespace(): string
{
return $this->isCollectionsAPI() ? 'databases' : 'tablesdb';
return $this->isCollectionsAPI() ? 'databases' : 'tablesDb';
}
/**
@@ -55,7 +55,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createBooleanColumn',
replaceWith: 'tablesDb.createBooleanColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -56,7 +56,7 @@ class Update extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.updateBooleanColumn',
replaceWith: 'tablesDb.updateBooleanColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -56,7 +56,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createDatetimeColumn',
replaceWith: 'tablesDb.createDatetimeColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -57,7 +57,7 @@ class Delete extends Action
contentType: ContentType::NONE,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.deleteColumn',
replaceWith: 'tablesDb.deleteColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -56,7 +56,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createEmailColumn',
replaceWith: 'tablesDb.createEmailColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -58,7 +58,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createEnumColumn',
replaceWith: 'tablesDb.createEnumColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -58,7 +58,7 @@ class Update extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.updateEnumColumn',
replaceWith: 'tablesDb.updateEnumColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -58,7 +58,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createFloatColumn',
replaceWith: 'tablesDb.createFloatColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -60,7 +60,7 @@ class Get extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.getColumn',
replaceWith: 'tablesDb.getColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -56,7 +56,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createIpColumn',
replaceWith: 'tablesDb.createIpColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -57,7 +57,7 @@ class Update extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.updateIpColumn',
replaceWith: 'tablesDb.updateIpColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -58,7 +58,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createIntegerColumn',
replaceWith: 'tablesDb.createIntegerColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -58,7 +58,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createRelationshipColumn',
replaceWith: 'tablesDb.createRelationshipColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -60,7 +60,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createStringColumn',
replaceWith: 'tablesDb.createStringColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -56,7 +56,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createUrlColumn',
replaceWith: 'tablesDb.createUrlColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -57,7 +57,7 @@ class Update extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.updateUrlColumn',
replaceWith: 'tablesDb.updateUrlColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -54,7 +54,7 @@ class XList extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.listColumns',
replaceWith: 'tablesDb.listColumns',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -65,7 +65,7 @@ class Create extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createTable',
replaceWith: 'tablesDb.createTable',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -55,7 +55,7 @@ class Delete extends Action
contentType: ContentType::NONE,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.deleteTable',
replaceWith: 'tablesDb.deleteTable',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -77,7 +77,7 @@ abstract class Action extends AppwriteAction
*/
protected function getSdkNamespace(): string
{
return $this->isCollectionsAPI() ? 'databases' : 'tablesdb';
return $this->isCollectionsAPI() ? 'databases' : 'tablesDb';
}
/**
@@ -66,7 +66,7 @@ class Decrement extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.decrementRowColumn',
replaceWith: 'tablesDb.decrementRowColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -66,7 +66,7 @@ class Increment extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.incrementRowColumn',
replaceWith: 'tablesDb.incrementRowColumn',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -64,7 +64,7 @@ class Delete extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.deleteRows',
replaceWith: 'tablesDb.deleteRows',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -67,7 +67,7 @@ class Update extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.updateRows',
replaceWith: 'tablesDb.updateRows',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -64,7 +64,7 @@ class Upsert extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.upsertRows',
replaceWith: 'tablesDb.upsertRows',
),
)
])
@@ -85,7 +85,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createRow',
replaceWith: 'tablesDb.createRow',
),
),
new Method(
@@ -109,7 +109,7 @@ class Create extends Action
],
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createRows',
replaceWith: 'tablesDb.createRows',
),
)
])
@@ -65,7 +65,7 @@ class Delete extends Action
contentType: ContentType::NONE,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.deleteRow',
replaceWith: 'tablesDb.deleteRow',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -56,7 +56,7 @@ class Get extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.getRow',
replaceWith: 'tablesDb.getRow',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -62,7 +62,7 @@ class XList extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.listRowLogs',
replaceWith: 'tablesDb.listRowLogs',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -69,7 +69,7 @@ class Update extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.updateRow',
replaceWith: 'tablesDb.updateRow',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -71,7 +71,7 @@ class Upsert extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.upsertRow',
replaceWith: 'tablesDb.upsertRow',
),
),
])
@@ -59,7 +59,7 @@ class XList extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.listRows',
replaceWith: 'tablesDb.listRows',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -50,7 +50,7 @@ class Get extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.getTable',
replaceWith: 'tablesDb.getTable',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -62,7 +62,7 @@ abstract class Action extends UtopiaAction
*/
final protected function getSdkNamespace(): string
{
return $this->isCollectionsAPI() ? 'databases' : 'tablesdb';
return $this->isCollectionsAPI() ? 'databases' : 'tablesDb';
}
/**
@@ -65,7 +65,7 @@ class Create extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createIndex',
replaceWith: 'tablesDb.createIndex',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -60,7 +60,7 @@ class Delete extends Action
contentType: ContentType::NONE,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.deleteIndex',
replaceWith: 'tablesDb.deleteIndex',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -51,7 +51,7 @@ class Get extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.getIndex',
replaceWith: 'tablesDb.getIndex',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -56,7 +56,7 @@ class XList extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.listIndexes',
replaceWith: 'tablesDb.listIndexes',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -62,7 +62,7 @@ class XList extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.listTableLogs',
replaceWith: 'tablesDb.listTableLogs',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -58,7 +58,7 @@ class Update extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.updateTable',
replaceWith: 'tablesDb.updateTable',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -55,7 +55,7 @@ class Get extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.getTableUsage',
replaceWith: 'tablesDb.getTableUsage',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -57,7 +57,7 @@ class XList extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.listTables',
replaceWith: 'tablesDb.listTables',
),
))
->param('databaseId', '', new UID(), 'Database ID.')
@@ -60,7 +60,7 @@ class Create extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.createDatabase',
replaceWith: 'tablesDb.createDatabase',
)
)
])
@@ -51,7 +51,7 @@ class Delete extends Action
contentType: ContentType::NONE,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.delete',
replaceWith: 'tablesDb.delete',
)
),
])
@@ -46,7 +46,7 @@ class Get extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.get',
replaceWith: 'tablesDb.get',
)
),
])
@@ -58,23 +58,9 @@ class XList extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.listDatabaseLogs',
replaceWith: 'tablesDb.listDatabaseLogs',
)
),
new Method(
namespace: 'tablesdb',
group: 'logs',
name: 'listDatabaseLogs',
description: '/docs/references/tablesdb/list-database-logs.md',
auth: [AuthType::ADMIN],
responses: [
new SDKResponse(
code: SwooleResponse::STATUS_CODE_OK,
model: UtopiaResponse::MODEL_LOG_LIST,
)
],
contentType: ContentType::JSON
),
])
->param('databaseId', '', new UID(), 'Database ID.')
->param('queries', [], new Queries([new Limit(), new Offset()]), 'Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset', true)
@@ -52,7 +52,7 @@ class Update extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.update',
replaceWith: 'tablesDb.update',
)
),
])
@@ -51,7 +51,7 @@ class Get extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.getUsage'
replaceWith: 'tablesDb.getUsage'
)
)
])
@@ -49,7 +49,7 @@ class XList extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.listUsage'
replaceWith: 'tablesDb.listUsage'
)
),
])
@@ -52,7 +52,7 @@ class XList extends Action
contentType: ContentType::JSON,
deprecated: new Deprecated(
since: '1.8.0',
replaceWith: 'tablesdb.list',
replaceWith: 'tablesDb.list',
)
),
])
+2 -2
View File
@@ -207,7 +207,7 @@ abstract class Format
}
}
break;
case 'tablesdb':
case 'tablesDb':
switch ($method) {
case 'getUsage':
case 'listUsage':
@@ -487,7 +487,7 @@ abstract class Format
return ['Twenty Four Hours', 'Thirty Days', 'Ninety Days'];
}
break;
case 'tablesdb':
case 'tablesDb':
switch ($method) {
case 'getUsage':
case 'listUsage':