mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: refactor module structure
This commit is contained in:
+1
-1
@@ -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()
|
||||
+1
-1
@@ -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()
|
||||
+1
-1
@@ -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()
|
||||
+1
-1
@@ -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()
|
||||
+1
-1
@@ -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()
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user