mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Enhance Realtime adapter to support delete action and add corresponding tests
This commit is contained in:
@@ -22,9 +22,9 @@ class Realtime extends MessagingAdapter
|
||||
/**
|
||||
* Action suffixes recognized in channel names. A channel like `documents.create`
|
||||
* is split into base channel `documents` plus action `create`. Add new actions
|
||||
* (e.g. `delete`) here to extend support — no other code change is required.
|
||||
* here to extend support — no other code change is required.
|
||||
*/
|
||||
public const SUPPORTED_ACTIONS = ['create', 'update', 'upsert'];
|
||||
public const SUPPORTED_ACTIONS = ['create', 'update', 'upsert', 'delete'];
|
||||
|
||||
/**
|
||||
* Connection Tree
|
||||
|
||||
Reference in New Issue
Block a user