Fix service refs

This commit is contained in:
Jake Barnby 2025-08-20 01:56:12 +12:00
parent d899ed9b68
commit e3807366a9
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
6 changed files with 16 additions and 17 deletions

View file

@ -66,15 +66,15 @@ return [
'optional' => true,
'icon' => '/images/services/databases.png',
],
'tables' => [
'key' => 'tables',
'name' => 'Tables',
'subtitle' => 'The Tables service allows you to create structured tables of rows, query and filter lists of rows',
'description' => '/docs/services/tables.md',
'tablesdb' => [
'key' => 'tablesdb',
'name' => 'TablesDB',
'subtitle' => 'The TablesDB service allows you to create structured tables of columns, query and filter lists of rows',
'description' => '/docs/services/tablesdb.md',
'controller' => '', // Uses modules
'sdk' => true,
'docs' => true,
'docsUrl' => 'https://appwrite.io/docs/client/tables',
'docsUrl' => 'https://appwrite.io/docs/client/tablesdb',
'tests' => false,
'optional' => true,
'icon' => '/images/services/databases.png',

View file

@ -1,7 +0,0 @@
The Tables service allows you to create structured tables of rows, query and filter lists of rows, and manage an advanced set of read and write access permissions.
All data returned by the Tables service are represented as structured JSON objects.
The Tables service can contain multiple databases, each database can contain multiple tables. A table is a group of similarly structured rows. The accepted structure of rows is defined by [table columns](https://appwrite.io/docs/databases#columns). The table columns help you ensure all your user-submitted data is validated and stored according to the table structure.
Using Appwrite permissions architecture, you can assign read or write access to each table or row in your project for either a specific user, team, user role, or even grant it with public access (`any`). You can learn more about [how Appwrite handles permissions and access control](https://appwrite.io/docs/permissions).

View file

@ -0,0 +1,7 @@
The TablesDB service allows you to create structured tables of rows, query and filter lists of rows, and manage an advanced set of read and write access permissions.
All data returned by the TablesDB service are represented as structured JSON objects.
The TablesDB service can contain multiple databases, each database can contain multiple tables. A table is a group of similarly structured rows. The accepted structure of rows is defined by [table columns](https://appwrite.io/docs/databases#columns). The table columns help you ensure all your user-submitted data is validated and stored according to the table structure.
Using Appwrite permissions architecture, you can assign read or write access to each table or row in your project for either a specific user, team, user role, or even grant it with public access (`any`). You can learn more about [how Appwrite handles permissions and access control](https://appwrite.io/docs/permissions).

View file

@ -39,7 +39,7 @@ class Get extends Action
new Method(
namespace: 'databases',
group: null,
name: self::getName(),
name: 'getUsage',
description: '/docs/references/databases/get-database-usage.md',
auth: [AuthType::ADMIN],
responses: [

View file

@ -37,7 +37,7 @@ class XList extends Action
new Method(
namespace: 'databases',
group: null,
name: self::getName(),
name: 'listUsage',
description: '/docs/references/databases/list-usage.md',
auth: [AuthType::ADMIN],
responses: [

View file

@ -479,10 +479,9 @@ abstract class Format
break;
case 'databases':
switch ($method) {
/*case 'getUsage':*/
case 'getUsage':
case 'listUsage':
case 'getCollectionUsage':
case 'getDatabaseUsage':
// Range Enum Keys
return ['Twenty Four Hours', 'Thirty Days', 'Ninety Days'];
}