1
0
Fork 0
mirror of synced 2024-06-14 08:44:49 +12:00
appwrite/src/Appwrite/Platform/Services/Workers.php

43 lines
1.5 KiB
PHP
Raw Normal View History

2023-05-30 01:58:45 +12:00
<?php
namespace Appwrite\Platform\Services;
use Utopia\Platform\Service;
use Appwrite\Platform\Workers\Audits;
2023-05-30 03:03:09 +12:00
use Appwrite\Platform\Workers\Webhooks;
use Appwrite\Platform\Workers\Mails;
2023-05-30 04:32:33 +12:00
use Appwrite\Platform\Workers\Messaging;
2023-06-05 04:25:56 +12:00
use Appwrite\Platform\Workers\Certificates;
use Appwrite\Platform\Workers\Databases;
2023-06-06 04:13:00 +12:00
use Appwrite\Platform\Workers\Functions;
use Appwrite\Platform\Workers\Builds;
use Appwrite\Platform\Workers\Deletes;
2023-11-28 23:19:55 +13:00
use Appwrite\Platform\Workers\Hamster;
2023-10-25 20:39:59 +13:00
use Appwrite\Platform\Workers\Usage;
2024-01-28 22:28:59 +13:00
use Appwrite\Platform\Workers\UsageDump;
2023-10-02 06:39:26 +13:00
use Appwrite\Platform\Workers\Migrations;
2023-05-30 01:58:45 +12:00
class Workers extends Service
{
public function __construct()
{
$this->type = self::TYPE_WORKER;
$this
->addAction(Audits::getName(), new Audits())
2024-01-11 16:08:40 +13:00
->addAction(Builds::getName(), new Builds())
2023-06-05 04:25:56 +12:00
->addAction(Certificates::getName(), new Certificates())
->addAction(Databases::getName(), new Databases())
2023-06-06 04:13:00 +12:00
->addAction(Deletes::getName(), new Deletes())
2024-01-11 16:08:40 +13:00
->addAction(Functions::getName(), new Functions())
->addAction(Mails::getName(), new Mails())
->addAction(Messaging::getName(), new Messaging())
->addAction(Webhooks::getName(), new Webhooks())
2023-11-28 23:19:55 +13:00
->addAction(Hamster::getName(), new Hamster())
2024-01-28 22:28:59 +13:00
->addAction(UsageDump::getName(), new UsageDump())
2023-10-25 20:39:59 +13:00
->addAction(Usage::getName(), new Usage())
2023-10-02 07:06:25 +13:00
->addAction(Migrations::getName(), new Migrations())
2023-07-10 20:03:59 +12:00
2023-05-30 01:58:45 +12:00
;
}
}