chore: refactor module structure

This commit is contained in:
Chirag Aggarwal 2025-02-05 09:52:43 +00:00
parent cea308ef71
commit 4aa3a51ef0
6 changed files with 10 additions and 10 deletions

View file

@ -19,7 +19,7 @@ use Utopia\Platform\Action;
use Utopia\Platform\Scope\HTTP;
use Utopia\Validator\Text;
class CreateDevKey extends Action
class Create extends Action
{
use HTTP;
public static function getName()

View file

@ -14,7 +14,7 @@ use Utopia\Database\Validator\UID;
use Utopia\Platform\Action;
use Utopia\Platform\Scope\HTTP;
class DeleteDevKey extends Action
class Delete extends Action
{
use HTTP;
public static function getName()

View file

@ -14,7 +14,7 @@ use Utopia\Database\Validator\UID;
use Utopia\Platform\Action;
use Utopia\Platform\Scope\HTTP;
class GetDevKey extends Action
class Get extends Action
{
use HTTP;
public static function getName()

View file

@ -16,7 +16,7 @@ use Utopia\Platform\Action;
use Utopia\Platform\Scope\HTTP;
use Utopia\Validator\Text;
class UpdateDevKey extends Action
class Update extends Action
{
use HTTP;
public static function getName()

View file

@ -15,7 +15,7 @@ use Utopia\Database\Validator\UID;
use Utopia\Platform\Action;
use Utopia\Platform\Scope\HTTP;
class ListDevKeys extends Action
class XList extends Action
{
use HTTP;
public static function getName()

View file

@ -2,11 +2,11 @@
namespace Appwrite\Platform\Modules\Projects\Services;
use Appwrite\Platform\Modules\Projects\Http\DevKeys\CreateDevKey;
use Appwrite\Platform\Modules\Projects\Http\DevKeys\DeleteDevKey;
use Appwrite\Platform\Modules\Projects\Http\DevKeys\GetDevKey;
use Appwrite\Platform\Modules\Projects\Http\DevKeys\ListDevKeys;
use Appwrite\Platform\Modules\Projects\Http\DevKeys\UpdateDevKey;
use Appwrite\Platform\Modules\Projects\Http\DevKeys\Create as CreateDevKey;
use Appwrite\Platform\Modules\Projects\Http\DevKeys\Delete as DeleteDevKey;
use Appwrite\Platform\Modules\Projects\Http\DevKeys\Get as GetDevKey;
use Appwrite\Platform\Modules\Projects\Http\DevKeys\Update as UpdateDevKey;
use Appwrite\Platform\Modules\Projects\Http\DevKeys\XList as ListDevKeys;
use Utopia\Platform\Service;
class Http extends Service