package org.realityforge.replicant.shared.json;

/**
 * Constants used to build up JSON payload transmitted to the client.
 */
public interface TransportConstants
{
  String LAST_CHANGE_SET_ID = "last_id";
  String REQUEST_ID = "request_id";
  String ETAG = "etag";
  String CHANGES = "changes";
  String ENTITY_ID = "id";
  String TYPE_ID = "type";
  String DATA = "data";
  String CHANNEL_ACTIONS = "channel_actions";
  String ACTION = "action";
  String ACTION_ADD = "add";
  String ACTION_REMOVE = "remove";
  String CHANNELS = "channels";
  String CHANNEL_ID = "cid";
  String SUBCHANNEL_ID = "scid";
}

@@ -501,24 +501,59 @@
 = %22remove%22;%0A
+  String ACTION_UPDATE = %22update%22;%0A
   String CHA
@@ -634,10 +634,46 @@
 %22scid%22;%0A
+  String CHANNEL_FILTER = %22filter%22;%0A
 %7D%0A

Add constants used to transport "channel" update messages, inclduing the new filter