feat(notifications): add alerts queries validator

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jake Barnby
2026-05-06 13:42:23 +12:00
co-authored by Claude Opus 4.7
parent 0ce3978f2c
commit 2c2e920a1a
@@ -0,0 +1,23 @@
<?php
namespace Appwrite\Utopia\Database\Validator\Queries;
class Alerts extends Base
{
public const ALLOWED_ATTRIBUTES = [
'read',
'type',
'channel',
'messageId',
'projectId',
];
/**
* Expression constructor
*
*/
public function __construct()
{
parent::__construct('alerts', self::ALLOWED_ATTRIBUTES);
}
}