mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Remove the following because queries on arrays/JSON are not supported: - topics - users - targets - deliveryErrors - data Remove the following because they don't exist: - providerId - deliveredTo Add the following as an allowed attribute so it can be queried on the Console: - scheduledAt - deliveredTotal - providerType
24 lines
445 B
PHP
24 lines
445 B
PHP
<?php
|
|
|
|
namespace Appwrite\Utopia\Database\Validator\Queries;
|
|
|
|
class Messages extends Base
|
|
{
|
|
public const ALLOWED_ATTRIBUTES = [
|
|
'scheduledAt',
|
|
'deliveredAt',
|
|
'deliveredTotal',
|
|
'status',
|
|
'description',
|
|
'providerType',
|
|
];
|
|
|
|
/**
|
|
* Expression constructor
|
|
*
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct('messages', self::ALLOWED_ATTRIBUTES);
|
|
}
|
|
}
|