mirror of
https://github.com/appwrite/appwrite
synced 2026-05-21 07:58:55 +00:00
chore: refactor module structure
This commit is contained in:
parent
cea308ef71
commit
4aa3a51ef0
6 changed files with 10 additions and 10 deletions
|
|
@ -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()
|
||||
|
|
@ -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()
|
||||
|
|
@ -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()
|
||||
|
|
@ -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()
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue