This commit is contained in:
fogelito
2026-01-22 16:15:52 +02:00
parent 82032ac60a
commit b1915fa20c
@@ -4,20 +4,18 @@ namespace Appwrite\Utopia\Database\Validator\Queries;
class Projects extends Base
{
// public const ALLOWED_ATTRIBUTES = [
// 'name',
// 'teamId',
// 'labels',
// 'search'
// ];
protected array $allowed = [
public const ALLOWED_ATTRIBUTES = [
'name',
'teamId',
'labels',
'search',
];
/**
* @var array<string>
*/
protected array $allowed = self::ALLOWED_ATTRIBUTES;
/**
* Expression constructor
*
@@ -31,4 +29,9 @@ class Projects extends Base
{
return true;
}
public function getAllowedAttributes(): array
{
return $this->allowed;
}
}