mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
wip
This commit is contained in:
@@ -86,6 +86,7 @@ const DELETE_TYPE_EXECUTIONS = 'executions';
|
||||
const DELETE_TYPE_AUDIT = 'audit';
|
||||
const DELETE_TYPE_ABUSE = 'abuse';
|
||||
const DELETE_TYPE_CERTIFICATES = 'certificates';
|
||||
const DELETE_TYPE_BUCKETS = 'buckets';
|
||||
// Auth Types
|
||||
const APP_AUTH_TYPE_SESSION = 'Session';
|
||||
const APP_AUTH_TYPE_JWT = 'JWT';
|
||||
|
||||
+11
-1
@@ -76,7 +76,12 @@ class DeletesV1 extends Worker
|
||||
$document = new Document($this->args['document']);
|
||||
$this->deleteCertificates($document);
|
||||
break;
|
||||
|
||||
|
||||
case DELETE_TYPE_BUCKETS:
|
||||
$bucket = new Document($this->args['document']);
|
||||
$this->deleteBucket($bucket, $projectId);
|
||||
break;
|
||||
|
||||
default:
|
||||
Console::error('No delete operation for type: '.$type);
|
||||
break;
|
||||
@@ -351,6 +356,11 @@ class DeletesV1 extends Worker
|
||||
Console::info("No certificate files found for {$domain}");
|
||||
}
|
||||
}
|
||||
|
||||
protected function deleteBucket(Document $document, string $projectId)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $projectId
|
||||
|
||||
Reference in New Issue
Block a user