mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Enhance Realtime adapter to support delete action and add corresponding tests
This commit is contained in:
1 parent
d2423a5bb5
commit
3aee54747c
3 files changed
+103
-13
No files matched your search
@@ -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