Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgros committed Sep 16, 2024
1 parent c741f9e commit b920ba3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ public class SynapseJavascriptClient {
public static final String DOWNLOAD_LIST_MANIFEST_V2 =
"/download/list/package/";
public static final String FILE_HANDLE_RESTORE = "/fileHandle/restore/";
public static final String AGENT_CHAT = "/agent/chat/";

public static final String ASYNC_START = "/async/start";
public static final String ASYNC_GET = "/async/get/";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.sagebionetworks.web.client.widget.entity.download;

import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
import static org.sagebionetworks.repo.model.util.ModelConstants.VALID_ENTITY_NAME_REGEX;
import static org.sagebionetworks.web.client.ServiceEntryPointUtils.fixServiceEntryPoint;
import static org.sagebionetworks.web.shared.WebConstants.VALID_ENTITY_NAME_REGEX;

import com.google.common.util.concurrent.FutureCallback;
import com.google.gwt.core.client.JavaScriptObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import static org.sagebionetworks.web.client.SynapseJavascriptClient.*;

import com.google.gwt.user.client.rpc.IsSerializable;
import org.sagebionetworks.repo.model.agent.AgentChatRequest;
import org.sagebionetworks.repo.model.agent.AgentChatResponse;
import org.sagebionetworks.repo.model.asynch.AsynchronousRequestBody;
import org.sagebionetworks.repo.model.asynch.AsynchronousResponseBody;
import org.sagebionetworks.repo.model.doi.v2.DoiRequest;
Expand Down Expand Up @@ -123,7 +125,8 @@ public enum AsynchType implements IsSerializable {
FILE_HANDLE_RESTORE,
FileHandleRestoreRequest.class,
FileHandleRestoreResponse.class
);
),
AgentChat(AGENT_CHAT, AgentChatRequest.class, AgentChatResponse.class);

String prefix;
Class<? extends AsynchronousRequestBody> requestClass;
Expand Down

0 comments on commit b920ba3

Please sign in to comment.